Git Product home page Git Product logo

ttgo-t-beam's Introduction

TTGO-T-Beam

image

ttgo-t-beam's People

Contributors

lilygo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ttgo-t-beam's Issues

SPI Pins

Hi
Please can you advice where the SPI pins are.

On the PCB it has printed SCK=io5, MOSI=io27, MISO=io19

How do I physically connect to these pins? I can't see any pin outs on the board with these io numbers.

Thanks in advance for any help.

Johnathan

Charging 18650

Hi,

sorry for that newbie question but is it possible to charge the 18650 via the micro USB port?

Thanks

Poor GPS performance with Rev1.1 20210222 boards

Hi,

I own a few Rev 1.1 20191212 T-Beams. The GPS works great, getting a lock with 6-9 satellites, even from inside my house. They routinely got 10-12 satellites if I set it out in my yard. I recently purchased a few more. They are Rev 1.1 20210222 boards. The GPS performance is markedly poorer. They rarely if ever get a lock from within my home, and even out in the open in my front yard, they only get about 5 satellites. That takes a long time.

The newer boards shipped with some wonky code that disabled NMEA, with those settings saved to non-volatile RAM. I dug up the commands and turned on NMEA again. That seems OK, but perhaps they saved some other whacky receiver settings that negatively impact things? I've spent a bunch of hours on this, and I'm not really getting anywhere. At this point, I'm reluctant to buy more T-Beams, as it's beginning to feel like a hardware problem.

Has anyone else seen poor performance of the GPS on the Rev 1.1 20210222 boards?

Mike

Pinout diagram corrections

Hi

The pinout diagram should be updated to reflect that pins 32 and 33 are only capable of output (GPO), and pins 34, 35, 36 and 39 are only capable of input (GPI).

See this official Espressif document here:
http://esp32.net/images/Espressif/ESP-WROOM-03/Espressif_ESP-WROOM-03_Pinout.pdf

Also, touch inputs T1 (pin 0 - USB serial chip) and T6 (pin 14 - LED) have resistors connected to them on the T-Beam and won't work for touch, so those labels should be removed.

Here is a file you could use
image

Missing & multiple libs

Cannot find axp20x.h
Compilation terminates with 'multiple libraries found for WiFi.h'

Another waste of time.

OLED_LoRa_Receive code

when I use OLED_LoRa_Receive code sometimes I receive data from the sender but usually, I don't receive and the OLED is just black ..... any help??

gotenna.com

Is possible using it similar gotenna? but open source?
I would like to using ssh trough tit

Burnt Board?

I tried to connect an ssd1306 display to my board. Apparently VCC and GND where inverted on my ssd1306 display & battery switch was on (by mistake) and seen smoke coming up.

I can flash my board and green/red led turn on when plugged to USB, however when I try to power it on the blue led flashes an that's it.

Arduino serial console outputs the attached. I'm guessing there is some simple component that has been fried. any help would be appreciated.

image

Inturrupt triggered without reason

We use a TBeam v1.1 board, and have trouble with interrupt.
Interrupt are triggered without reason.

==> Our setup
We have setup a pin(25) as INPUT_PULLUP to a micro switch plugged to GND.
Pin 13 is connected to a relay, (and so pin3.3 and pin GND)
The relay control a 220v LED (connected to sector)

==> What happend ?

Sometime, the interrupt on pin 25 is triggered automatically, without any reason. We have soldered pin 25 to GND, but this doesnt change anything. Like 3-4 time each second, we have the intterupt called.

    pinMode(DOOR_SWITCH_PIN, INPUT_PULLUP);
    attachInterrupt(digitalPinToInterrupt(DOOR_SWITCH_PIN),
                    DoorOpenning_InterruptHandler,
                    RISING);
static void IRAM_ATTR DoorOpenning_InterruptHandler()
{
    debugPrintln("===> EMERGENCY");

==> What have we tried ?

  • 3 differents relay
  • 2 different TTGO brand new
  • 2 different LED.
  • Plug the TTGO to USB
  • Plug with USB to WALL adapter
  • Try different pins....
  • Burn some incense to invoke satan

Does someone have an explanation or tell us what we are doing wrong ?

Neo6 RF_IN wiring is incorrect.

Hardware: T-Beam T22_V06 20180706
Firmware: SoftRF 1.0-rc4+
ttgo aug272018
ublox wiring

R33 is shown as a 22uh choke going between the center pin of the ipx connector and RF_IN. A choke in this position would not be useful in passing the 1575 mhz satellite signals from the patch antenna to the RF input of the Ublox Neo6 gps. A capacitor could work to block the dc to the antenna input but in my board this item measured .6 ohms and when taken off measured 17uh on my meter, so it was in fact an inductor
normal ublox wiring
. The normal Ublox wiring has a choke in the line from the antenna connector pin through a limiting resistor to the VCC_RF that powers the patch antenna. The existing wiring does work, but is improved by removing the choke and putting it in series with the 22 ohm resistor R28. The wiring from the RF_IN was then jumped to the center pin of the ipx connector . In my case this improved the number of satellites tracked by 1 or 2 and improved the position error. I suggest this change me made to the pcb before the next production run.

David VE3KCL

Board loses power

Dears,

I left mij V1.1 charging overnight, but put in sleep mode.

When I returned in the morning, I was not able to get the module out sleep mode. I pulled the battery and reseated. (Battery voltage : 4V).

The red led on IO4 burns for 1 second, then goes out. During this 1 second the board works. But when the light goes out, I loose the ESP connection, also not able to connect over serial.

What can I do to revive the board? The 1 second is also too short to reflash something, I tried, but always looses power at around 14%.

Tried also long pressing the buttons or button combinations, no luck, always after 1 sec everything goes dark :-(

Thanks!

Can't get GPS data

Hi, I have a TTGO T22_V07 board and it's not receiving gps data. I'm running this code in Arduino IDE. I already tried to upload with these boards: TTGO Lora32-OLED V1, TTGO T1 and ESP32 Dev Module.

The GPS blue red is always turn on but the red led never flashes. I already tried to test in the window outside my house but nothing changes.

Issue running GPS code

Super handy library, the LoRa stuff works great.
Trying to read off the GPS, I am getting:

Archiving built core (caching) in: /var/folders/fs/yrrtd9hn7p1bsz8n_57_69cc0000gn/T/arduino_cache_893081/core/core_esp32_esp32_ttgo-lora32-v1_FlashFreq_80,UploadSpeed_921600,DebugLevel_none_279fa844f13a7dc74d194a5db99730eb.a
arduino.ar(HardwareSerial.cpp.o):(.bss.Serial1+0x0): multiple definition of `Serial1'
sketch/GPS.ino.cpp.o:(.bss.Serial1+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board TTGO LoRa32-OLED V1.

I added the TinyGPS++ library to my Arduino IDE to get to this point. I'm a long time mobile dev doing my first dabbles into Arduino stuff so forgive me if this is a basic thing! Thanks

My GPS can't receive data. Is it on sleep mode?

I am using TTGO-TBEAM-T22_V1.1. The GPS Module model is : NEO 6M-0-001.

I am trying to get my current location with example codes in TinyGPS++. But i only receive this message ;
09:33:21.877 -> No GPS data received: check wiring
09:33:21.877 -> Latitude : 0.00000
09:33:21.877 -> Longitude : 0.0000
09:33:21.877 -> Satellites: 0
09:33:21.877 -> Altitude : 0.00M
09:33:21.877 -> Time : 0:0:0
09:33:21.877 -> Speed : 0.00
09:33:21.877 -> **********************

And i heard that GPS can go in SLEEP mode if you were not use it about 2 weeks.

Dead Board?

Hi, i have 2 ttgo t-beam lora32 868Mhz boards.

They worked fine for 5 months or so, but since today
one board, stop working.
What's not happening:

  • not recognized by computer (using platform.io)
  • the LED 1014 is not turning on anymore once the switch is set to ON.
  • instead of 3.3V output on the board, i got 0.42V
  • when a 18650 is installed and usb powered, no more red led showing charging

All i got is, once powered on USB, is a green led as per the picture:
https://imgur.com/a/IgGZHNV
I tried resetting it, nothing happened.

Is it dead or you would recommend me some things to try before throwing it, i have a multimeter but no schematic.

Thanks a lot

Schematic for recent T-BEAM

Hello,
I need the schematic diagram for my T-BEAM (T22 V07 20180711)
Here can I find it?
I've found a few schematics on the net but they seem to be from an older version as some things don't match.

regards.

About OLED Sender.ino

When I upload the OLED Sender.ino, it said something wrong with directory about LoRa.h. Should I download some other library besides ESP32 or should I choose the correct board name?

Thank you.

Add partition options to the t-beam build menu

I've added the following to the "boards.txt" for the T-beam so that I can select different partition options for the ESP32.

t-beam.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
t-beam.menu.PartitionScheme.default.build.partitions=default
t-beam.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
t-beam.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
t-beam.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
t-beam.menu.PartitionScheme.minimal.build.partitions=minimal
t-beam.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
t-beam.menu.PartitionScheme.no_ota.build.partitions=no_ota
t-beam.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
t-beam.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
t-beam.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
t-beam.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
t-beam.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
t-beam.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
t-beam.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
t-beam.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
t-beam.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
t-beam.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
t-beam.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
t-beam.menu.PartitionScheme.huge_app.build.partitions=huge_app
t-beam.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
t-beam.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
t-beam.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
t-beam.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080

image

What is the LoRaWAN version (MAC) supported by TTGO T-Beam?

Hello!

I'm making a migration from TheThingsNetwork v2 to their new v3 infrastructure. There's a new dropdown selection when registering a new device:
image

According to the TTN reference (https://www.thethingsindustries.com/docs/reference/glossary/#lorawan-version) the version selection is:

"The LoRaWAN version is the LoRa Alliance LoRaWAN specification your device conforms to, which defines which Media Access Control features it supports."

What's that version currently supported by T-Beam board revision 0.7, board revision V1.0, and board revision V1.1?

Board fails to power down when LiPo voltage falls. (Kills LiPo battery)

Board fails to power down when LiPo voltage falls.

A watchdog needs to monitor the voltage, and issue deep-sleep to the components and then deep-sleep the MCU when battery damage becomes imminent.

The MCU still operates below 2 volts I noticed - so it definitely has this capability. Other components give up before then, so the power-down probably needs to be issued while those components are still functional enough to obey the deep-sleep message.

GND Pin Thermal Relief

Can we get thermal relief on the GND and 3.3V pins in the future? They are basically impossible to solder and desolder as it is.

I2C issues on board V07

Hi,

I have a T-Beam version T22_V07 (20180711).
GPS and LoRa work great, but I can't connect to a barometric sensor on either I2C bus - the device is not found on 1st I2C bus (2/13) nor 2nd I2C bus (21/22).

I have followed the advice posted on lyusupov/SoftRF#32, but no luck.
The sensor and code work with an Arduino Uno. The code is here:
https://github.com/bluerobotics/BlueRobotics_MS5837_Library/tree/master/examples/MS5837_Example

Any ideas how to get I2C to work on V07?

Cheers!

GNSS fix not working

In SoftRF (Version 1.0-rc4+ ESP32) I can not get an GNSS fix.

Sattelites 0
Latitude 0.0000
Longitude 0.0000
Altitude 0.0

softrf

although the red LED is blinking (indicating a GPS fix):
neo-6m-0-001 klein

I tried updating the firmware to Version 1.0-rc5 but this failed.
update-fail

How can I get a valid GNSS fix within SoftRF?

Libraries for the code

There are many libraries available for LoRa and dds1306 what are the ones you suggest? I am doing a WeMos ESP32 with LoRa and GPS developing.

Miso mosi Cs

Trying to use a TFT LCD screen with the board but the miso mosi pins are hidden and used for the lora ..

Is there a example sketch showing how to rig one up ? Iv tried a re map but no luck, and looked at the multiplex but there are no clear instructions on this for the board.

I still need to use the GPS and lora too so any advise would be great...

This is the screen I'm trying to run, just to not I have the screen working on other boards just not the t beam

https://www.amazon.co.uk/dp/B07YKN1C2Z/ref=cm_sw_r_cp_apa_glt_fabc_XDV06EFNSYSE2SEZJ42R

Version T22 V1.0: LED Built-in GPIO

I have tested the blink sketch from the examples folder in the new version T22 V1.0 but it doesn't work with GPIO14.
Anyone has the right IO?

jtag (pin 12 )

Why is pin12 used for UART to the GPS?
pins 12, 13, 14 and 15 are the pins used by JTAG (to do hardware debugging on the device) and this cannot be changed,
The UARTs of the ESP32 can be configured on any pin of the ESP32.

Can you please make a new version of the board with all the JTAG pins exposed to the user so that we can do proper development on the board?

GPS Sleep/Off

How do I put the GPS into sleep mode or turn it off? It draws a lot of power when the device is in sleep mode.

second u.fl connector

Can anyone tell me if this second u.fl connector is for the LoRa radio? Can I use this instead of the SMA connector?
Screen Shot 2020-07-24 at 10 02 59 am

issue gps code

Hi!
Happy new year!
What gps library for ttgo-beam?
what code in replacement please?
makes conflicts.
Thanks

Modulation Mode

There are many modulation modes listed in this WeMos product, I have not seen the typical LoRa modulation mode CSS (Chirp Spread Spectrum) in the list. What is the default modulation mode for this product?
How to select modulation mode from programming? I have no knowledge for this WeMos LoRa chip.

Ports are displayed in wrong order on V1.0

Hello LilyGo,

this is a really nice product.
the pinout picture shows Port 21 and 22 in right order.
Picture and module writing is the same.

https://github.com/kizniche/ttgo-tbeam-ttn-tracker/blob/master/img/T-BEAM-Rev1-01.jpg

I am not really sure if this picture is done by LilyGo.
But the style looks similar to the picture for the earlier version.

On this picture the module ordering 21 and 22 is the same but the writing right next to it display it in different order. 22 and 21 as also SDA and SCL are changed to the earlier version and pictures.
It may make a complictaed difference if somone doesn´t check more then twice and just relay to the picture.

Thanks for this nice and good stuffed product.

regards
image

How to turn the power off when there is a 18650 battery installed?

Hello, I have a simple generic sketch running on the TTGo T-Beam (board revision v1.1, 20191212). The sketch displays an image on OLED and that's about it.

When T-Beam is only powered by USB, I can turn the board off by pressing the power button for ~6.5 seconds. However, this does not turn the board off when the board is only powered by a 18650 cell.

So how does the power button work when there's a battery installed?

T-Beam Program Download Erratic

I have several t-beam boards and have successfully downloaded applications such as SoftRf and ESP-sc-gway.

these applications run well and I am pleased with the operation.

However, I have continued to have problems downloaded compiled code using both the Arduino IDE and ESP Download Tool V3.6.4.

Usually I get the error message "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"

Has anyone else had a similar problem.

If so have you found a solution.

Thanks for the help.

Charley

Repetitive brownout reset upon power-on when battery is not connected

Hardware: T-Beam T22_V06 20180706
Firmware: SoftRF 1.0-rc4+
Power is supplied from 2A rated 5V power source.
18650 battery is not connected.

The board does not start well.
UART log contains repetitive lines:

EEPROM version: 91
SX1276 RFIC is detected.
WARNING! Barometric pressure sensor is NOT detected.
INFO: TTGO T-Beam GPS module is detected.
WiFi config changed.
new SSID:
Hostname: SoftRF-c5d804
Wait for WiFi connection.
.....
Brownout detector was triggered

"+5V" supply voltage been measured at power switch point with assistance of a DSO shows significant
drop, quite similar to this picture:


I had quite similar issue with my own ESP32-based design. I've resolved it by additional 1000uF capacitance. Please, read this issue for details.


Solution for this issue is full up to you !
I would just suggest you to try to increase value of C47:

t-beam-tp5400-issue

Range?

I have two TTGO boards one is TTGO - T Beam and TTGO OLED V2
I have connected two boards with sample LoRa sender receiver which works fine.

But after like 150m it starts to drops packet.

Can anyone tell me is it the maxmimum range of it or i am doing something wrong?
What should i have to do for improving range?

Thanks

Uploading sketch issue

Hi there,
uploading the sketch to T-Beam in Arduino IDE 1.8.12 throws me the classic ESP32 error: Failed to connect to ESP32: Timed out waiting for packet header. The classic solution for the other ESP32 boards is to place a 10uF capacitor between the EN PIN and GND. But T-Beam doesn't have the EN pin! How can I solve it?
I am very thankfull for your help.
Greetings, Pedro from Chile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.