Search found 99 matches

by rpr
Mon Jun 01, 2020 10:41 pm
Forum: General Discussion and Questions
Topic: Can import random, but can't call randint
Replies: 4
Views: 4126

Re: Can import random, but can't call randint

On my esp32 running MicroPython v1.12-421-g4371c971e, randint works. MicroPython v1.12-421-g4371c971e on 2020-05-30; ESP32 module with ESP32 Type "help()" for more information. >>> import random >>> help(random) object <module 'urandom'> is of type module __name__ -- urandom getrandbits -- <function...
by rpr
Thu May 21, 2020 1:40 am
Forum: General Discussion and Questions
Topic: Season of Docs : MicroPython
Replies: 23
Views: 13526

Re: Season of Docs : MicroPython

Let me first start by thanking both Matty and Jim on creating the Project Ideas documentation. I am in full agreement with the list of areas mentioned in the Ideas Summary Section. I think that list is in order of need and should be followed as much as possible. Once you guys have a more defined pla...
by rpr
Sat May 16, 2020 7:17 am
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 12040

Re: ESP32 ADC voltage drop after some hours

I'm curious about this behavior. I have hooked up a precision voltage reference AD584 chip set to output 2.5 V. This is connected to one of the adc inputs of the ESP32 (set to 12 bit width and atten_11db). Taking adc data every 1 second which is published via MQTT (using the mqtt_as) to a broker. A ...
by rpr
Sat Apr 11, 2020 3:40 pm
Forum: General Discussion and Questions
Topic: Interfacing with industrial PLC and HMI
Replies: 3
Views: 3797

Re: Interfacing with industrial PLC and HMI

I have been using the Advantech ADAM-xxxx series of PLCs which use modbus. Most of the ones I have used are networked over wired Ethernet so can be accessed by any computer over the network. They provide Windows GUI and other software and also Linux drivers. But most can be used directly via Python ...
by rpr
Sun Nov 03, 2019 8:50 pm
Forum: ESP8266 boards
Topic: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Replies: 9
Views: 103222

Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?

I too have been looking for a solution using a Chromebook using crostini/Linux. Unfortunately it is not possible as of right now as USB support for such serial devices is not present in chrome. Maybe it will change in the future.

For Arduino, there appears to be some sort of web app and ide.
by rpr
Sun Nov 03, 2019 7:30 pm
Forum: ESP32 boards
Topic: Web-Scraping (with BeautifulSoup4?) on ESP32
Replies: 1
Views: 2750

Re: Web-Scraping (with BeautifulSoup4?) on ESP32

Not sure about bs4 but a quick Google search shows that there are available APIs for weather data, for example, openweathermap Haven't used them but using requests module they should return json that should be figurable with the micropython json module.
by rpr
Wed Oct 30, 2019 11:12 pm
Forum: ESP32 boards
Topic: ESP32 Camera (ESP32 Cam) Library
Replies: 12
Views: 44692

Re: ESP32 Camera (ESP32 Cam) Library

Thanks very much. I will check this out.
by rpr
Tue Oct 29, 2019 12:49 am
Forum: ESP32 boards
Topic: [SOLVED]Cannot erase flash, ESP32
Replies: 15
Views: 17229

Re: Cannot erase flash, ESP32

Can you add the --chip=esp32 to the erase_flash option? These are the commands I . usually use: esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z 0x1000 esp32-20190125-v1.10.bin It is possible that the download of the fir...
by rpr
Fri Oct 18, 2019 2:19 pm
Forum: ESP8266 boards
Topic: ntp time
Replies: 10
Views: 6204

Re: ntp time

0 = Monday.
by rpr
Thu Oct 17, 2019 1:41 am
Forum: ESP8266 boards
Topic: Can build and flash, doesn't boot
Replies: 9
Views: 6049

Re: Can build and flash, doesn't boot

Have you tried just flashing the mainline available stable builds first?