sudomesh/disaster-radio

Tidy up hardware support

samuk opened this issue · 8 comments

samuk commented

It would be good to tidy up
https://github.com/sudomesh/disaster-radio/blob/master/firmware/esp32/config.h

To properly support at least the boards listed here:
https://github.com/sudomesh/disaster-radio/wiki/Devices--&-Hardware

I think the pin definitions needed can be found in these files:
https://github.com/cyberman54/ESP32-Paxcounter/tree/master/src/hal​​

Good

As mentioned in #33 I have tested with the TTGO T-Beam V07 and I would consider that board to now be fully-supported. There's still some work to be done on actual implementation of the GPS client.

I believe that the T-Beam referenced in the config.h file is the V10, not V07 because it has pins for the OLED screen which is only on V10. I'm also unsure why the LoRa pin definitions are commented out. We should make a point of differentiating between the V07 and V10.

I have a LoPy4 that I am hoping to test soon. After that, I only know of anecdotal claims for the Heltec V2, Sparkfun 1 channel, and TTGO V1. I'm not sure the status of development on the latest DisasterRadio board.

ok i'm new here but i will be following and i find this question of the oled display very interesting i believe that really only in the last version

FYI, #74 included an update to config.h for heltec-v2.

#ifdef HELTEC
#define LORA_IRQ 26
#define LORA_IO1 35
#define LORA_IO2 34
#define LORA_SCK 5
#define LORA_MISO 19
#define LORA_MOSI 27
#define LORA_RST 14
#define LORA_CS 18
#define OLED_SDA 4
#define OLED_SCL 15
#define OLED_RST 16
#define OLED_WIDTH 128
#define OLED_HEIGHT 64
#endif

Not clear if that closes this issue.

I just made some edits to the wiki that bring it up to date. I think we can close this issue unless @samuk has an objection.

It should also be noted here that most of the pin definitions needed for LoRa and OLED related stuff are defined here https://github.com/espressif/arduino-esp32/tree/master/variants. Which is why the T-Beam pins are commented out and the TTGO-v2 pins are not included in our config.h.

samuk commented

Great. This ticket was for someone who volunteered to do some hardware support stuff. They never materialised to do any work, so happy to close now.

Cool, that's good to know. This is probably the best place to stay in the loop on firmware related stuff. I'm not that active on SSB, though I've also been meaning to get back into it. (I always run into problems like that with SSB too and get discouraged quickly).