LILYGO TTGO T-Beam ...
 
Notifications
Clear all

LILYGO TTGO T-Beam Meshtastic

7 Posts
3 Users
2 Reactions
2,008 Views
huckOhio
(@huckohio)
Member
Joined: 5 years ago
Posts: 180
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)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7105
 

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.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
 

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)
Member
Joined: 5 years ago
Posts: 180
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)
Member
Joined: 5 years ago
Posts: 180
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)
Member
Joined: 4 years ago
Posts: 340
 

@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 reacted
ReplyQuote
huckOhio
(@huckohio)
Member
Joined: 5 years ago
Posts: 180
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 reacted
ReplyQuote