• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

esp32 LoRa sensor monitoring

Q&A Forum › Category: ESP32 › esp32 LoRa sensor monitoring
0 Vote Up Vote Down
Tiziano Sambo asked 5 years ago

I purchased the “esp32 course” because I am very interested in the LoRa module.
I saw your tutorial on Lilygo’s LoRa, which is the same one I use, but in your course you use another model. Can you help me understand how to configure my model too? Or how to send and receive the inputs?
Thank you Tiziano

Question Tags: LORA
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
Do you have this model? https://randomnerdtutorials.com/ttgo-lora32-sx1276-arduino-ide/
You just need to take into account the pinout of the board.
You need to define the pins of your LoRa module:

//define the pins used by the LoRa transceiver module
#define SCK 5
#define MISO 19
#define MOSI 27
#define SS 18
#define RST 14
#define DIO0 26

And then, include these lines to initialize the module with those pins:

//SPI LoRa pins
SPI.begin(SCK, MISO, MOSI, SS);
//setup LoRa transceiver module
LoRa.setPins(SS, RST, DIO0);

I hope this helps.
Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.