Search found 28 matches
- Thu Dec 31, 2020 12:37 am
- Forum: Programs, Libraries and Tools
- Topic: Recommended Plugin for Visual Studio Code
- Replies: 2
- Views: 3720
Re: Recommended Plugin for Visual Studio Code
Another one hint. If you have a UART converter with an empty manufacturer field like CH340, add it as unknown manufacturer. Please see below "autoconnect_comport_manufacturers": [ "Silicon Labs", "Pycom", "Pycom Ltd.", "FTDI", "Microsoft", "Microchip Technology, Inc.", "Prolific Technology Inc.", "U...
- Fri Jul 05, 2019 11:59 pm
- Forum: ESP32 boards
- Topic: ESP32 sleep_us periodic fail
- Replies: 2
- Views: 2224
Re: ESP32 sleep_us periodic fail
The secret was in txbuf.
If you are going to send via UART a big array you should increase txbuf to get stable timing.
If you are going to send via UART a big array you should increase txbuf to get stable timing.
- Thu Jul 04, 2019 1:02 pm
- Forum: ESP32 boards
- Topic: ESP32 sleep_us periodic fail
- Replies: 2
- Views: 2224
Re: ESP32 sleep_us periodic fail
An update.
If I comment out (disable) uart.write operation, sleep work fine.
Timings are beautiful.
So seems that UART operation does something wrong with sleep command.
If I comment out (disable) uart.write operation, sleep work fine.
Timings are beautiful.
So seems that UART operation does something wrong with sleep command.
- Tue Jul 02, 2019 12:55 pm
- Forum: ESP32 boards
- Topic: ESP32 sleep_us periodic fail
- Replies: 2
- Views: 2224
ESP32 sleep_us periodic fail
Hi everyone. Hope someone will help me with the problem I face. Now I'm working on Modbus RTU tests and faced that sometimes time.sleep_us provides a wrong sleep period. Please look at code and diagram from my Logic. The idea of the test example is to send via UART 255 symbols and rise up an additio...
- Fri Apr 27, 2018 10:52 pm
- Forum: ESP32 boards
- Topic: micropyGPS crashes my ESP32
- Replies: 20
- Views: 16992
- Wed Apr 25, 2018 8:46 am
- Forum: ESP32 boards
- Topic: micropyGPS crashes my ESP32
- Replies: 20
- Views: 16992
Re: micropyGPS crashes my ESP32
UPDATE I made a new hardware setup with a different GPS module. And also I tried a different code to test. This is a simple code that reads NMEA messages and checks it's CRC. Unfortunately, I still have different errors in the UART and crashes. Sometimes it's from machine import UART import utime, g...
- Sun Apr 22, 2018 10:10 pm
- Forum: ESP32 boards
- Topic: micropyGPS crashes my ESP32
- Replies: 20
- Views: 16992
Re: micropyGPS crashes my ESP32
Also, I tested micropyGPS module on ESP32 themselves.
I recorded NMEA data from my Ublox module to file about 650Kb.
Then, I parsed this file by the module.
It works brilliantly.
I got 0 CRC errors.
Thus, it looks that micropyGPS works on ESP32 fine.
I recorded NMEA data from my Ublox module to file about 650Kb.
Then, I parsed this file by the module.
It works brilliantly.
I got 0 CRC errors.
Thus, it looks that micropyGPS works on ESP32 fine.
- Sun Apr 22, 2018 5:57 pm
- Forum: ESP32 boards
- Topic: micropyGPS crashes my ESP32
- Replies: 20
- Views: 16992
Re: micropyGPS crashes my ESP32
Just tested with +3.3V powering. running via ./BUILD.sh monitor ... stat = my_gps.update(chr(x)) ... testth=_thread.start_new_thread("GPS", test, ()) ... >>> import gps_test >>> ±0.677,6.49,220418,,,A*61 $GPVTG,6.49,T,,M,0.677,N,1.253,K,A*35 $GPGGA,174844.00,6028.12773,N,03028.34096,E,1,07,1.24,229....
- Sun Apr 22, 2018 5:29 pm
- Forum: ESP32 boards
- Topic: micropyGPS crashes my ESP32
- Replies: 20
- Views: 16992
Re: micropyGPS crashes my ESP32
I've used almost the same board (the blue one, couple of passive components different). The only difference is that I've connected GPS board Vcc to 3.3V and pins used for UART were tx=25, rx=26 . Tested on Wemos Lolin 32 Pro . I have run my test progam (from earlier post) for almost 24 hours withou...
- Sun Apr 22, 2018 1:45 pm
- Forum: ESP32 boards
- Topic: Anyone recommending a good IDE?
- Replies: 20
- Views: 25989
Re: Anyone recommending a good IDE?
I'm using PyCharm + with Micropython plugin (https://github.com/vlasovskikh/intellij-micropython) This plugin does not support ESP32 dialect but anyway works fine. It's possible to upload and run files directly from the IDE. I've modified some plugin's scripts to work with Loboris port. For this mom...