Open Vitaliy86 opened 1 month ago
I change in tracker_config.json all pins in "-1" it works now
Hi Vitaliy
I need more context and explanations what are you using, which board? or full diy? tracker firmware or igate firmware
all data needed please
Megváltoztattam a tracker_config.json összes pinjét a "-1"-ben, ez most működik
In Config, the flashlight PIN conflicts with the RST PIN configuration of the lora radio. "-705 timed out while waiting for complete SPI command." -You cannot set the PIN to -1 because: https://github.com/richonguzman/LoRa_APRS_Tracker/blob/e0373dbc156a08747e93e5fe6da0a82c81a1dcee/src/LoRa_APRS_Tracker.cpp#L162 this line should normally be like this: if (Config.notification.ledFlashlight && Config.notification.ledFlashlightPin >= 0 ) pinMode(Config.notification.ledFlashlightPin, OUTPUT); And other similar lines. :)
And RADIO_RXEN also conflicts with the ledmessagePin.
richonguzma this project https://oshwlab.com/GabeH/esp32-lora-aprs
tracker firmware
Szetya yes, but work....
@Vitaliy86 😉
@Vitaliy86
richonguzma this project https://oshwlab.com/GabeH/esp32-lora-aprs
tracker firmware
Szetya yes, but work....
so did you validate all pins from pins_config.h and also the notifications pins from tracker_conf.json to avoid being the same?
@richonguzman Almost all pins are used so you need - 1 option in the tracker_config.json file -1 for the PINs. But -1 can only be without error if the if() structure is as I wrote above. @Vitaliy86 Be careful with the pins_config and tracker_config.json files. I know several people who have ruined their radios because of this. I had a pull request in February about this but withdrew it for lack of progress.
@richonguzman Almost all pins are used so you need - 1 option in the tracker_config.json file -1 for the PINs. But -1 can only be without error if the if() structure is as I wrote above. @Vitaliy86 Be careful with the pins_config and tracker_config.json files. I know several people who have ruined their radios because of this. I had a pull request in February about this but withdrew it for lack of progress.
why don't you add all the info needed for @Vitaliy86 , not just a basic guide?
PS:
I added this validations for -1 values on tracker Fw this morning
PS:
I added this validations for -1 values on tracker Fw this morning @richonguzman Yes, I see. The only problem is that it won't boot when -1. In short: On the BV5DJ board, all the ESP PINs are busy = performs some function. So you need the possibility to replace the PIN for buzzer, ledtx, ledmessage, ledflaslight with a number (-1 is disabled by default) for which nothing happens. So if a value less than 0 is specified, don't use that PIN (even if the corresponding value is enabled) In this case the situation is now even worse than it was before.
well, can you do a map of the pinouts needed and also the config values it needs for this?
PS: I added this validations for -1 values on tracker Fw this morning @richonguzman Yes, I see. The only problem is that it won't boot when -1. In short: On the BV5DJ board, all the ESP PINs are busy = performs some function. So you need the possibility to replace the PIN for buzzer, ledtx, ledmessage, ledflaslight with a number (-1 is disabled by default) for which nothing happens. So if a value less than 0 is specified, don't use that PIN (even if the corresponding value is enabled) In this case the situation is now even worse than it was before.
Nos, meg tudod csinálni a térképet a szükséges pinoutokról és az ehhez szükséges konfigurációs értékekről?
PS: Ma reggel hozzáadtam ezt az érvényesítést a -1 értékekhez az Fw trackerben @richonguzman Igen, látom. Az egyetlen probléma az, hogy nem indul el, ha -1. Röviden: A BV5DJ kártyán az összes ESP PIN-kód foglalt = valamilyen funkciót lát el. Tehát szükség van arra a lehetőségre, hogy a berregő, ledtx, ledmessage, ledflashlight PIN kódját lecserélje egy számra (a -1 alapértelmezés szerint le van tiltva), amelynél nem történik semmi. Tehát ha 0-nál kisebb érték van megadva, ne használja azt a PIN-kódot (még akkor sem, ha a megfelelő érték engedélyezve van). Ebben az esetben a helyzet most még rosszabb, mint korábban volt.
//EXTRA PINS HERE:
Error if send from bluetooth: failed, code -705 Receive not work (len off)
My config
ps work in igate