bitconnector / ttn_mapper_t-beam

23 stars 11 forks source link

changes for old v1.0 TTGO-T-Beam #9

Open chgerwig opened 2 years ago

chgerwig commented 2 years ago

I cloned the repository to find out what have to be changed in order to be able to use this code for TTGO-T-Beam v1.0 I found already the GPS pins, but what give me headaches is how to remove the AXP deep sleep. Can you please give me some hints where it is sitting and what have to be removed. I am also wondering how to disable geofencing. btw. I always get a warning of the compiled that the variable geofencing is not used. But I have not changed the location.h file.

bitconnector commented 2 years ago
bitconnector commented 2 years ago

Oh OK now I can see the problem. The project doesn't compile anymore :/

Right now I'm busy with other things but next week I will look into it

JMyrng commented 2 years ago

next week I will look into it

Any updates on this topic?

bitconnector commented 2 years ago

I'm sorry I've got a lot to work right now but if you would specify more of your issues I can give you some advice

Since I don't have a TTGO-T-Beam v1.0 I can only guess :/

T-Beam v1.0

It seems that it also has the AXP192 Chip for power management so you have to include that like in my original program(I'm sorry I haven't looked at the board before I just knew the older ones dont have this power management chip so I just guessed based on your first comment). You have to speak to this chip in order to tell him to power up the GPS. Ohterwise It won't work

Also only the pinout of SDA and SCL seems to have changed(probably to make it easyer to solder on a display)

Have you tried to run my original Programm with just the credentials changed? because I cant see the reason for not working from my first glance

Also worth a note from personal experience: The the NEO-6M GPS with its little antenna takes ages to get a fix, expeccialy if it was never used before. So just let it sit outside for a day or more. I also thought the GPS on one of my boards was dead but suprisingly it started working