Search found 82 matches

by rpr
Tue Oct 29, 2019 12:49 am
Forum: ESP32 boards
Topic: [SOLVED]Cannot erase flash, ESP32
Replies: 15
Views: 1788

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: 1178

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: 1087

Re: Can build and flash, doesn't boot

Have you tried just flashing the mainline available stable builds first?
by rpr
Sun Oct 13, 2019 4:53 pm
Forum: Other Boards
Topic: STM32F103C8T6 Data Acquisition board
Replies: 3
Views: 726

Re: STM32F103C8T6 Data Acquisition board

Many thank for the response. I suspected as much that this was the limitation. I like the compact size and all in one solution if that board. Will see if I can rig up something with a an esp32, a proto board, and some terminal blocks.
by rpr
Sat Oct 12, 2019 10:39 pm
Forum: Other Boards
Topic: STM32F103C8T6 Data Acquisition board
Replies: 3
Views: 726

STM32F103C8T6 Data Acquisition board

For some simple data acquisition, I'm planning to get one of these STM32F103C8T6 boards: https://www.aliexpress.com/item/32965348225.html. Is it possible to get MicroPython to work on these? Thanks.

Image
by rpr
Tue Oct 08, 2019 12:37 am
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 1675

Re: ESP32 access via Ipad

I just tried from an android phone to conenct to webrepl on my esp32. The webpage loads and asks for the password. However the webrepl connection fails with the following: Access denied Disconnected message from the phone browser. The message on the ESP32 console/repl is dupterm: EOF received, deact...
by rpr
Sat Oct 05, 2019 10:27 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 1675

Re: ESP32 access via Ipad

Indeed, I use webrepl on my esp32. Works just fine. There is no way around setting it up the first time using a direct USB/serial connection.

Edit to add: there is also telnet server for micropython. Not much experience with it.
by rpr
Fri Oct 04, 2019 11:01 pm
Forum: General Discussion and Questions
Topic: ESP32 access via Ipad
Replies: 13
Views: 1675

Re: ESP32 access via Ipad

AFAIK, the initial install of micropython on a bare esp32 and the initial webrepl setup can only be done via a direct serial/usb connnection. On linux this is usually /dev/ttyUSB0. On a Mac it could be something like /dev/cu.SLAB_USBtoUART or such. After Micropython is installed, again over the same...
by rpr
Wed Sep 25, 2019 6:28 pm
Forum: General Discussion and Questions
Topic: Converting given Epoch / Unix timestamp to GMT
Replies: 7
Views: 885

Re: Converting given Epoch / Unix timestamp to GMT

iotmar wrote:
Wed Sep 25, 2019 4:29 pm
I had no idea you could manipulate the outcome of the timestamp this way.
With Python, you can do anything. :)

Image

https://xkcd.com/353/
by rpr
Wed Sep 25, 2019 4:01 pm
Forum: General Discussion and Questions
Topic: Converting given Epoch / Unix timestamp to GMT
Replies: 7
Views: 885

Re: Converting given Epoch / Unix timestamp to GMT

Try:

Code: Select all

x = time.localtime(data_when["request"]["datetime"] - 946684800)