Skip to content

lewisxhe/TTGO-LoRa-Series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTGO LORA Series

BOARD PINS

Name V1.0 V1.2(T-Fox) V1.3 V1.6 V2.0
OLED RST 16 N/A 16 N/A N/A
OLED SDA 4 21 21 21 21
OLED SCL 15 22 22 22 22
SDCard CS N/A N/A N/A 13 13
SDCard MOSI N/A N/A N/A 15 15
SDCard MISO N/A N/A N/A 2 2
SDCard SCLK N/A N/A N/A 14 14
DS3231 SDA N/A 21 N/A N/A N/A
DS3231 SCL N/A 22 N/A N/A N/A
LORA MOSI 27 27 27 27 27
LORA MISO 19 19 19 19 19
LORA SCLK 5 5 5 5 5
LORA CS 18 18 18 18 18
LORA RST 14 23 14 23 23
LORA DIO0 26 26 26 26 26

First

  • For the first time, change the macro definition in board_def.h according to the corresponding layout and screen, and change the version to be used

    #define LORA_V1_0_OLED  
    #define LORA_V1_2_OLED  
    #define LORA_V1_6_OLED  
    #define LORA_V2_0_OLED  
    #define LORA_V1_3_OLED 
    
  • Set the corresponding macro definition according to the lora frequency of the actual module

    #define LORA_PERIOD 433  
    // #define LORA_PERIOD 868  
    // #define LORA_PERIOD 915   
    
    
  • Sender definition LORA_SENDER is 1, 0 is receiving

Install the following dependency library files:

About

TTGO Lora Test code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published