Notifications
Clear all

LILYGO TTGO T-Beam Meshtastic


huckOhio
(@huckohio)
Estimable Member
Joined: 3 years ago
Posts: 223
Topic starter  

Earlier this year I purchased a few of these T-Beam radios from Aliexpress.  When they arrived I noticed that I ordered the wrong frequency for the US.  When I tried to return them, LILYGO support suggested I order the correct antenna (at a nice discount) and then I could upload the new code to the T-Beam.  They provided this link for the Arduino code: https://github.com/LilyGO/TTGO-T-Beam/tree/T-BEAM-915

I recently started playing with the T-Beams and the first thing I noticed was that Mastastic was already loaded.  When I went to the github site I found two sketches: "OLED_LoRa_Receive" and "OLED_LoRa_Sender".  I opened both files and they are setting the band to 915MHz (#define BAND 915E6).  I am confused by these sketches.  I though this unit was a transceiver, and should handle both message sending and receiving.  This appears that you can only set up the unit as a Sender or Received.

image

This is my first experience with LoRa/T-Beam/Meshtastic and frankly I am not sure how to proceed.  My questions is: Has anyone uploaded the software to change the operating band?  I've searched YouTube and Google and have found examples on updating the firmware and loading Meshtastic, but nothing on changing the Band frequency.  

Thanks


Quote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 2755
 

All I know about this is if I wanted to research LORA, I would go to the Swiss Guy's YT channel, I see him talking about it often.

It is considered poor judgement to traverse a chasm in 2 leaps.


ReplyQuote
MadMisha
(@madmisha)
Reputable Member
Joined: 2 years ago
Posts: 345
 

I have reuploaded/updated LuaNode32 before. Your not loading the INO files. I would assume that when it compiles, it will include those INO files in the firmware but you are really uploading from the firmware folder BIN file via ESP32 Download Tool. It probably has the instructions needed to include them.

 

Mine was not that advanced and I didn't need to make any changes there.

 

Edit: Here is the documentation for the tool.

 

Actually, I'm thinking those are examples. If you look at the top of the Git page, you can select a dropdown and the 2 listed I believe are the frequencies(915 and 932). I believe the firmware is already set up for you. I would confirm that is the correct one for your country first.


ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 3 years ago
Posts: 223
Topic starter  

@madmisha Thank you for the replay and suggestion.  I never would have thought to upload the .bin file.  I'll try that tomorrow.


ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 3 years ago
Posts: 223
Topic starter  

@madmisha I downloaded the ESP32 Download tool.  When I add the bin file to the tool, I get a red box to the right that is looking for a hex value (based on some examples I've found).  Should this automatically get filled in?  If not, then I have no idea what to put into this field...a memory address for the files?

image

I also tried esphome-flasher.  When I select Flash ESP I receive the error: Unexpected error: The firmware binary is invalid (magic byte=FF, should be E9)

image

Any other suggestions?  


ReplyQuote
MadMisha
(@madmisha)
Reputable Member
Joined: 2 years ago
Posts: 345
 

@huckohio 

In the Factory Firmware folder there is an image.

SETTING

I would copy that. I know you can put different .bin files to different locations and I believe that is how you do that. But yours is simple and that is not needed.

 

Its been so long since I had done this to an ESP32. I do not remember shorting anything out for this so you should be good to go.


huckOhio liked
ReplyQuote
huckOhio
(@huckohio)
Estimable Member
Joined: 3 years ago
Posts: 223
Topic starter  

@madmisha Thank you!  I wasn't sure what hex address to use, so I followed your example and added '0' into the field and it work.  But the unit I was trying to flash was fried.  I couldn't write to it.  I used another unit that I needed to update the frequency and it worked.  Thanks Again.


MadMisha liked
ReplyQuote