Search found 5 matches

by lvx_xvl
Wed Mar 09, 2022 7:55 pm
Forum: ESP8266 boards
Topic: Print to uart1 only
Replies: 0
Views: 10140

Print to uart1 only

Hi all, Although the title of this topic may sound simple, I cannot find a clear explanation on how this should work. A print() command in the MicroPyhton code can end up on several places: REPL, WebREPL, Tx/Rx pins. But how to prevent a print output to any of these locations? I'm a bit lost on this...
by lvx_xvl
Mon Feb 07, 2022 7:25 pm
Forum: General Discussion and Questions
Topic: bit banging code example
Replies: 2
Views: 2956

Re: bit banging code example

Just wanted to add my current exploration details to solve this problem. I found that the hardware SPI pins MISO and MOSI are 12 and 13, which seems to be a method of utilising the raw (potential) speed. Is it possible to provided bytes to a buffer directly and let the hardware deal with sending the...
by lvx_xvl
Sat Feb 05, 2022 6:58 pm
Forum: General Discussion and Questions
Topic: bit banging code example
Replies: 2
Views: 2956

bit banging code example

Hi All, I'm trying to setup a four way communication, as a gateway, between two devices. I'm using an ESP8266 (Wemos D1 mini) with MicroPython 1.18. This device receives and forwards communication too and from the other devices. To be precise, the other two devices are OpenTherm devices, and I'm try...
by lvx_xvl
Mon May 24, 2021 7:42 am
Forum: ESP8266 boards
Topic: IRQ interrupt callback runs multiple times
Replies: 3
Views: 3130

Re: IRQ interrupt callback runs multiple times

Hi Roberthh, Thanks for the swift response, and for pointing to a solution. I wasn't aware that the espressif chips had this problem, too bad. Just one more question, is the 4N35 opto causing this slow/uncontrolled edge of the signal, or is the sensor already causing this? I tried looking via a mult...
by lvx_xvl
Sun May 23, 2021 11:35 am
Forum: ESP8266 boards
Topic: IRQ interrupt callback runs multiple times
Replies: 3
Views: 3130

IRQ interrupt callback runs multiple times

Hi all, I was debugging my inductive proximity sensor code because the counter registers more revolutions than expected. My device is a Wemos D1 mini with the latest Micropython on it: "esp8266-20210418-v1.15", and the sensor is the DFRobot FIT0658, connected via a 4N35 optocoupler. I read that it i...