markqvist / RNode_Firmware

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
145 stars 52 forks source link

Initial support for TTGO LORA SX1278 ESP32 0.96 OLED 32Mbit (4MB) 433Mhz v1.0 #35

Closed mrmx closed 1 year ago

mrmx commented 1 year ago

Added initial support for TTGO LORA SX1278 ESP32 0.96 OLED 32Mbit (4MB) 433Mhz v1.0 Although I need to review it throughly because it does not work (oled black)

mrmx commented 1 year ago

This is work in progress, needs revision and fix in its branch prior final merge approval with master.

markqvist commented 1 year ago

Thank you! Really appreciate this effort. It will be a little time before I can get to testing this, but I will get there :) Thanks for the patience ;)

raytechnical commented 1 year ago

Added initial support for TTGO LORA SX1278 ESP32 0.96 OLED 32Mbit (4MB) 433Mhz v1.0 Although I need to review it throughly because it does not work (oled black)

Have a look at GPIO pin 21 as this may be the issue with the display not working. Active low, powers the oled display and the lora antenna boost?

mrmx commented 1 year ago

Now the OLED is working (needed I2C Wire.begin call) and all pins are set up, although HW Failure is shown, but reading the code seems to be missing provisioning (add ROM.h product/model) but need guidance from @markqvist as how to proceed.. ;-)

mrmx commented 1 year ago

Added initial support for TTGO LORA SX1278 ESP32 0.96 OLED 32Mbit (4MB) 433Mhz v1.0 Although I need to review it throughly because it does not work (oled black)

Have a look at GPIO pin 21 as this may be the issue with the display not working. Active low, powers the oled display and the lora antenna boost?

It was a matter of i2c initialization after reset

markqvist commented 1 year ago

Yeah, we need to assign proper model/board codes for it, and these need to be added to rnodeconf too. I am currently away from my computer, but will look at this in a few days or so, when I am back.

markqvist commented 1 year ago

Actually, I'll just merge this now, and fix the remaining few minor things, so we can get it tested out :)

markqvist commented 1 year ago

Ok, there should be support for flashing v1.0 boards from rnodeconf now, but you will need to use the one in the master github repo until v0.5.1 is released. Could you let me know if it works for you? I don't have any v1.0 boards to test this on ;)

mrmx commented 1 year ago

The latest rnodeconf now sucessfully installs on the v1.0 TTGO LoRa!!