richonguzman / LoRa_APRS_iGate

LoRa APRS iGATE for ESP32 Based Board with Rx + Tx capabilities
MIT License
208 stars 65 forks source link

Support for Lillygo Ver1 boards #141

Open raytechnical opened 2 months ago

raytechnical commented 2 months ago

I have several LILYGO TTGO Ver1 boards which would could be utilised as I Gates, would it be possible to add support for these please?

richonguzman commented 2 months ago

Are these boards v1.6??

raytechnical commented 2 months ago

The boards are version 1 boards exactly like this https://meshtastic.org/docs/hardware/devices/lora/?t-lora=v1

The OLED pin outs are different from the later versions of this board but the LoRa pin outs appear to be the same?

richonguzman commented 2 months ago

So I will need your help to add this:

Can you provide the pinout list needed for this to work?

DonJaume commented 2 months ago

Jugué con 2 placas 868 Mhz de este modelo (ahora no los tengo a mano). Los pines OLED se corresponden al modelo de pines del "HELTEC_V2". Faltaría comprobar el pin de Batería para ver donde está.

En su día, lo programé como si fuera un "TGO_T_LORA32_V2_1_915" pero cambié en el código los pines OLED igual que el "HELTEC_V2". Todo funcionó bien, después me di cuenta que las lecturas de voltaje eran incorrectas, pero no le dediqué mas tiempo.

richonguzman commented 2 months ago

Pero lo demás funciona con heltec v2 ?

Porque no intentas con Lora32_915?

raytechnical commented 2 months ago

Here is the pin out diagram:- lilygo ver1

DonJaume commented 2 months ago

Pero lo demás funciona con heltec v2 ?

Porque no intentas con Lora32_915?

Buenas tardes, De este modelo solo tengo uno para hacer pruebas (lo tenia escuchando satélites) y no tengo mas para 868 para poder testear al 100%.

Con "heltec-lora32-v2".

Con "Lora32_915" y TGO_T_LORA32_V2_1_915

Sobre la lectura de la batería no encuentro información clara y he probado con todos los ADC por lo que imagino que esta placa no tiene divisor interno para la lectura.

richonguzman commented 2 months ago

there is not much info about the pinouts of V1.0

sadly its not recommended to use with battery in meshtastic at all

raytechnical commented 2 months ago

This is the pin configuration from the Meshtatsic Github https://github.com/meshtastic/firmware/blob/master/variants/tlora_v1/variant.h

I have never used a battery on these devices as per recommendations and have only been powered by the USB port.