Search found 27 matches

by cable134
Sun Apr 22, 2018 11:18 am
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

Testing 2nd board: VIN power on the module is +4.88v. Voltage on the module's LDO is also +3.3V Testing thread mode with dumb code # stat = my_gps.update(chr(x)) _k = chr(ord(chr(x))) # dumb code Result $GPRMC,110531.00,A,6033.13001,N,03028.34188,E,0.052,,220418,,,D* n:1200 Mem free:059440/-03024 70...
by cable134
Sun Apr 22, 2018 10:41 am
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

My checks. I've tested on two different boards. 1st board. DoIt.am ESP32 Devboard V1 (from Bangood) like this one https://github.com/Nicholas3388/LuaNode 2nd board ESP32-devboard Ublox module was connected directly by cable w/o breadboard. Please see attached photos. Testing 1st board : VIN power on...
by cable134
Sat Apr 21, 2018 9:41 pm
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

Thank you. I understand that garbage in data is the reason. I'm powering my module from VIN pin (about +4.7V). Ublox Neo-6M has a voltage regulator onboard. Anyway, I will certainly check the voltage. As for me, strange, that I do not have any garbage data if I do not call stat = my_gps.update(chr(x...
by cable134
Sat Apr 21, 2018 7:40 pm
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

Just tested your code with a small modification. I'd like to check what was read from UART. from machine import UART from micropyGPS import MicropyGPS import utime, gc, _thread uart = UART(2, rx=13, tx=12, baudrate=9600, bits=8, parity=None, stop=1, timeout=200, buffer_size=256, lineend='\r\n') my_g...
by cable134
Sat Apr 21, 2018 5:21 pm
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

Dear Loboris, I've done some tests on the latest firmware. (60 commits) I mentioned that I got a lot of GPS parsing CRC errors. I think its due to heavy micropyGPS procedures. If I disable GPS parsing, I will have a good working UART reading code. Following code works fine even without threading. de...
by cable134
Tue Apr 17, 2018 8:31 am
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

Dear loboris, thank you for a quick response and great support. Your trick works fine. Now I'm testing my Ublox with the connected antenna. Thus, I have a reals GPS data for my tests. I get rid of GURU errors. Just got acouple errors like this: ########################################## Task watchdo...
by cable134
Mon Apr 16, 2018 8:28 am
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

Re: micropyGPS crashes my ESP32

I suggest you raise this in the Loboris forum . It might be instructive to remove the GPS parsing to see if the UART driver is working: Thank you for your advice. I will post it to Lobo's forum. And I already checked UART. It works fine. I tested the same code on another ESP32 board. The result is ...
by cable134
Sun Apr 15, 2018 11:36 pm
Forum: ESP32 boards
Topic: micropyGPS crashes my ESP32
Replies: 20
Views: 4149

micropyGPS crashes my ESP32

Dear folks, could you please provide an advice how to handle the following issue? I've connected Ublox NEO-6M module to my Chinese ESP32 WROOM (like this https://github.com/Nicholas3388/LuaNode ) Then I flashed my ESP32 by latest Loboris firmware. Everything works fine until I tried to get GPS coord...
by cable134
Mon Oct 16, 2017 10:25 pm
Forum: ESP32 boards
Topic: I2C pins on Laboris fw
Replies: 6
Views: 1665

Re: I2C pins on Laboris fw

Update

I have a ESP32-WROOM dev board with the wrong text marks on some pins.
That was the point.

I changed Pin numbers and now it works fine.

BTW Also I changed Pull-up registers from 4.7K to 10K and now my I2C devices work fine with 3.3 VCC.
by cable134
Mon Oct 16, 2017 9:16 pm
Forum: ESP32 boards
Topic: I2C pins on Laboris fw
Replies: 6
Views: 1665

I2C pins on Laboris fw

Hi mates, I'm trying to figure out which pins are available for the I2C with the help of the following script >>> import machine >>> i2c=machine.I2C(sda=machine.Pin(25), scl=machine.Pin(23), freq=100000) D (6073) intr_alloc: Connected src 49 to int 9 (cpu 1) >>> i2c.scan() [] As you see, i2c.scan() ...