Search found 42 matches

by crizeo
Wed Aug 07, 2019 8:42 pm
Forum: ESP8266 boards
Topic: UART not working anymore in current version
Replies: 4
Views: 834

Re: UART not working anymore in current version

Today I wanted to upgrade to version 1.11, but unfortunately the problem still exists. I am currently using MicroPython v1.9.4 -29-g1b7487e, where I modified uart.c minimally, so that the "CTRL+C"-byte does not cause an interrupt. My objective: ESP8266 talking to another device using UART (REPL and ...
by crizeo
Thu May 09, 2019 1:04 pm
Forum: ESP8266 boards
Topic: Two ESP8266 talking to each other
Replies: 6
Views: 1243

Re: Two ESP8266 talking to each other

For those coming around this post searching for a very basic TCP client/server example for MicroPython: Simply run the following code on both of your ESPs. It will connect the ESPs using your router. Alternatively, you could also connect the ESPs directly by setting up one as AP and then connecting ...
by crizeo
Tue Mar 19, 2019 10:15 pm
Forum: ESP8266 boards
Topic: Repl not Responding
Replies: 6
Views: 1171

Re: Repl not Responding

Just for those coming across this post: I had the same problem, checked my setup (bare ESP8266 module) 100+ times and it definitely was correct. I could flash the ESP most of the times, but could not connect afterwards. Problem had something to do with my breadboard/wiring; bad junctions (maybe beca...
by crizeo
Tue Mar 19, 2019 10:14 pm
Forum: ESP8266 boards
Topic: Cannot start REPL after successful flash
Replies: 9
Views: 5618

Re: Cannot start REPL after successful flash

Just for those coming across this post: I had the same problem, checked my setup (bare ESP8266 module) 100+ times and it definitely was correct. I could flash the ESP most of the times, but could not connect afterwards. Problem had something to do with my breadboard/wiring; bad junctions (maybe beca...
by crizeo
Sun Jul 15, 2018 8:48 pm
Forum: ESP8266 boards
Topic: Deepsleep not working anymore
Replies: 2
Views: 1057

Deepsleep not working anymore

Unfortunatly I updated to the newest micropython firmware and esp-open-sdk. After doing this, many things are not working anymore. How can I enter deepsleep mode and register WAKE pin to wake the device? Previously I used this code, that made the ESP sleep forever (no 71min timelimit as I read on th...
by crizeo
Sun Jul 15, 2018 6:48 pm
Forum: ESP8266 boards
Topic: UART not working anymore in current version
Replies: 4
Views: 834

Re: UART not working anymore in current version

Thanks for the hint! I changed the size of uart_ringbuf_array to 256, as this seems to be the value in the previous version (where the buffer is called input_buf ). Additionally I disabled interrupts (as I did in the previous version) by commenting the lines 180 to 188, apart from: ringbuf_put(&uart...
by crizeo
Sat Jul 14, 2018 1:47 pm
Forum: ESP8266 boards
Topic: Library to deep sleep for days for esp8366
Replies: 13
Views: 4706

Re: Library to deep sleep for days for esp8366

Does anyone know if long sleeping times are a problem even if you are not setting rtc.alarm ? So e.g. if you run this code to put the ESP8266 to deepsleep mode, will it wakeup automatically after some time (e.g. 71 min) without connecting RST to GND/Pin16 ? import machine rtc = machine.RTC() rtc.irq...
by crizeo
Thu Jun 21, 2018 4:25 pm
Forum: ESP8266 boards
Topic: UART not working anymore in current version
Replies: 4
Views: 834

UART not working anymore in current version

Does anyone know what they changed in the UART class so it doesn't work correctly anymore? In version 1.9.3 I could simply read and write data but in the current version, I am losing the last byte on RX all the time... So when I expect 20 bytes as an example, I can read 19 without any problems but a...
by crizeo
Wed Jun 20, 2018 4:30 pm
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 29
Views: 17791

Re: So you want to use the UART...

I updated the link, there you go: firmware186-softuart.bin But note that this is still based on MicroPython version 1.8.6. Someone would have to do the changes listed here to the current version. Interrupts (CTRL+C) are enabled in this version, so this is basically version 1.8.6 with the machine.Sof...
by crizeo
Fri Oct 13, 2017 5:21 pm
Forum: ESP8266 boards
Topic: [SOLVED] Memory upgrade: Expand flash to 32 MB
Replies: 10
Views: 5496

Re: Memory upgrade: Expand flash to 32 MB

Thank you so much for your answers :!: Your driver from flash.py helped me a lot in understanding the SPI interface! For further assistance I used sdcard.py and the Winbond documentation for W25Q32BV and W25Q256FV . Got it working now :D The driver [ winbond.py ]: The following class acts as a simp...