Search found 147 matches

by liudr
Sun Nov 24, 2019 6:17 pm
Forum: ESP32 boards
Topic: Reset circuitry clarification
Replies: 2
Views: 494

Re: Reset circuitry clarification

Thanks Roberth! So my guess was right and the logic was meant for a dev board to start when its console serial port is opened by a typical terminal emulator.
by liudr
Sun Nov 24, 2019 7:21 am
Forum: ESP32 boards
Topic: Reset circuitry clarification
Replies: 2
Views: 494

Reset circuitry clarification

I have some thought about the two transistor/resistor reset circuitry. I grabbed the reset sequence with a logic analyzer. If esptool.py can control DTR and RTS individually, as shown on the logic analyzer and expected from pyserial module, then why not directly connecting DTR and RTS to GPIO0 and R...
by liudr
Sun Oct 06, 2019 5:31 pm
Forum: ESP32 boards
Topic: Does MicroPython support asyncio on ESP32?
Replies: 3
Views: 961

Re: Does MicroPython support asyncio on ESP32?

The MicroPython implementation is uasyncio and it works well on ESP32. There is information about it here including a tutorial. tl;dr It can be installed using upip . Thanks pythoncoder, as always. I've not used MP for a while. I would humbly ask for a pointer to use upip.py. Do I just place it in ...
by liudr
Sun Oct 06, 2019 4:13 pm
Forum: ESP32 boards
Topic: Does MicroPython support asyncio on ESP32?
Replies: 3
Views: 961

Does MicroPython support asyncio on ESP32?

I'm considering porting the azure python sdk (preview) to ESP32 but the first thing I saw in the code was this asyncio module that supports concurrency. Is this currently supported in MicroPython for ESP32? How well is it support, if I may ask? Thanks.
by liudr
Sun Sep 22, 2019 6:01 pm
Forum: ESP32 boards
Topic: ESP32 flashing Arduino via SPI pins?
Replies: 2
Views: 459

Re: ESP32 flashing Arduino via SPI pins?

Thanks. I need to investigate it a bit more. Used ESP32 for a while with MicroPython, which is great, but never tried doing SPI with it, fearing it would be too slow. I'll post what I find on this subject.
by liudr
Thu Sep 19, 2019 8:51 pm
Forum: ESP32 boards
Topic: ESP32 flashing Arduino via SPI pins?
Replies: 2
Views: 459

ESP32 flashing Arduino via SPI pins?

I use a version of avrdude to upload .hex files to arduino via SPI ins on raspberry pi 0w. I wish to move to ESP32 due to the lack of supplies of raspberry pi 0w. I wonder if anyone has done this already, on ESP32 in MicroPython, uploading intel .hex files to arduino via spi. Thanks. I'm fairly comf...
by liudr
Wed Dec 19, 2018 7:22 pm
Forum: General Discussion and Questions
Topic: New user with questions about documentation
Replies: 2
Views: 637

Re: New user with questions about documentation

Hi, I agree with you that the ADC should be documented. The name analog-to-digital-converter really means nothing to those not knowing what it does. I'd rather call it voltage input. The 0-4095 to 0-3.3V mapping should probably be mentioned in the doc. The 3.3V supply may not be exactly 3.3V. If you...
by liudr
Mon Sep 10, 2018 9:48 pm
Forum: ESP32 boards
Topic: Serial port multiplexing
Replies: 3
Views: 905

Re: Serial port multiplexing

Thanks! I was able to understand the code, which uses uart_set_pin() to set pins. I couldn't find uart_set_pin() in the repo. Could you help? Anyway, it doesn't seem to handle past pins, such as setting them to I or T with pull-down. I guess I'll have to do that myself right before switching the pin...
by liudr
Mon Sep 10, 2018 4:49 am
Forum: ESP32 boards
Topic: Serial port multiplexing
Replies: 3
Views: 905

Serial port multiplexing

I am thinking about this scenario where I need more than 2 serial ports, (not gonna touch the one running REPL). I've done this on a dev board, activate a serial port with machine.UART() one a pair of pins. Then activate the port on another two pins. It works. However, I'm trying to do it safely. Wh...
by liudr
Mon Sep 10, 2018 4:41 am
Forum: ESP32 boards
Topic: how to receive integer from uart 1
Replies: 3
Views: 858

Re: how to receive integer from uart 1

I usually implement an end-of-message character and send my numbers by plain ASCII string. This way I can more easily decode the message. Another thing you can try is to use json format (still send it in with an end-of-message character such as \n). On PC side, use json module to serialize your data...