Git Product home page Git Product logo

ttgo-lora32-oled_test's Introduction

Testing Code for TTGO LoRa Series

I forked this repository as the tester for TTGO LoRa32 v1.0 board. In case another version, please verify the setting inside board_def.h.

Just the LoRa transceiver and OLED that is tested, for other parts of the module, I discard the code.

TTGO LoRa32 OLED V1.0

Boards' pins

Name V1.0 V1.2(T-Fox) V1.6 V2.0
OLED RST 16 N/A N/A N/A
OLED SDA 4 21 21 21
OLED SCL 15 22 22 22
SDCard CS N/A N/A 13 13
SDCard MOSI N/A N/A 15 15
SDCard MISO N/A N/A 2 2
SDCard SCLK N/A N/A 14 14
DS3231 SDA N/A 21 N/A N/A
DS3231 SCL N/A 22 N/A N/A
LORA MOSI 27 27 27 27
LORA MISO 19 19 19 19
LORA SCLK 5 5 5 5
LORA CS 18 18 18 18
LORA RST 14 23 23 23
LORA DIO0 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 to 1.

    #define LORA_V1_0_OLED  0
    #define LORA_V1_2_OLED  0
    #define LORA_V1_6_OLED  0
    #define LORA_V2_0_OLED  1
    
  • 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:

Other references

ttgo-lora32-oled_test's People

Contributors

gfnord avatar ipas avatar lewisxhe avatar

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.