-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatible with board 1.1 ?? #21
Comments
otaa is not working |
so have to use only the ABP mode ? but i'll work in this way properly with v 1.1 of the board ? Thanks |
Hum oki tested on my v1.1 board but it doesn't work at all (never joins the TTN network unless I'm in a covered area) and the OLED display is not working too :( |
The oled display is an option of the newest boards and is not supported at the moment. There is some code I need to change to support version V1.1 - and V1.0 - for instance the pinout of the GPS serial port changed - see https://github.com/Xinyuan-LilyGO/LilyGO-T-Beam#Pinout |
Hi .. I too was getting 'No gps Fix' on the serial monitor using two different T-Beam V1.1 units. I had changed the TX and RX pin numbers in gps.h as suggested although there are two versions floating around. I have settled on (below) as being the correct version for the V1.1 T-Beam. I then decided that noppingen was probably right in issue #19 suggesting that I needed to add the code that supported the AXP192 programmable power supply that is fitted to the V1.1 T-Beam. So I added that code as described. All I can say is that installing that code led me down a rabbit hole from whence I have only just re-emerged after several days. I had managed to locate a version of the AXP20x library at this github site. https://github.com/lixy123/TTGO_T_Watch_Baidu/ but turns out that this version of the library does not work with this sketch. After a further search I found another version from the same author (lewis he) and that works fine. It compiles without errors and my gps now gets a fix after about 1 minute or so if I am outdoors. (no fix indoors) . I also noticed that the blue 'chg' led flashes now, whereas it did not before. The correct AXP20X library can be found at https://github.com/lewisxhe/AXP202X_Library The instructions from noppingen are repeated below: Quick fix for v1.0 (v10) board: In gps.h change the GPIOs for GPS to the changed ones, 12 & 34: #define GPS_TX 34 In the main .ino file add support for the AXP20X power controller to switch on the voltages: After #include <esp_sleep.h> add #include "axp20x.h" and initialise / switch on the power controller in setup() right after Serial.println(F("TTN Mapper")); by adding: /* Start power controller */ Cheers |
Warning: The pin out for a T-Beam T22_V1.1 as shown at https://github.com/Xinyuan-LilyGO/LilyGO-T-Beam#Pinout appears to be incorrect for the GPS_RX_PIN and GPS_TX_PIN settings. The image immediately below is incorrect. TX 12 and RX 34 The correct settings, at least for my T22_V1.1 board with a Neo 6M GPS module is shown below: TX 34 and RX 12 |
Hum looks like you have similar issues than me, still killing my head to succeed to get that board to join TTN :-1: |
Any news on getting the v1.1 up and running? |
It works for my T-Beam V1.1, I used the same setting than @ianziot I was initially confused because for some unknown reason I had to wait near of 10 minutes before getting a GPS Fix. I joined TTN application over APB. |
in gps.cpp uncomment the debug-println's at the end of the file. So you can see why your fix is taking so long. |
Thanks for you help I was also able to use OTAA and I can go outside to begin a coverage test at SF7 of my GW. |
Did you use any trick to get OTAA working? |
No, So i went back, tried LMIC library example with APB, then OTAA, that worked, The only problem is that sometime the connection is blocked on "EV_JOINING". |
Hi
I have the 1.1 version of that board and I'd like to use your sketch on it. Is it compatible ? or need some tweaks to get it working properly ?
Thanks
Vincèn
The text was updated successfully, but these errors were encountered: