Hi guys, I ordered a hat module to raspberry pico, but I don't have it. So I want to connect it to ESP32. How do I do it(pinout, code)?
Here's link: https://www.waveshare.com/wiki/Pico-LoRa-SX1262#Setup_Environment
Hi guys, I ordered a hat module to raspberry pico, but I don't have it. So I want to connect it to ESP32. How do I do it(pinout, code)?
Here's link: https://www.waveshare.com/wiki/Pico-LoRa-SX1262#Setup_Environment
Read the pinned post re 'How to get the most from the forum'. We are not a free design and/or code site. You need to do your project, and when you run into trouble, we can, for instance, look at your inputs and outputs and make some recommendations.
the link in post 1 gives you the pinout of the RPi HAT
try example programs from RadioLib library
for LoRa P2P File>Examples>RadioLib>SX126x>SX126x_Transmit_Interrupt and Receive_Interrupt
for LoRaWAN File>Examples>RadioLib>LoRaWAN>LoRaWAN_Starter
connect the SX1262 SPI pins to the default ESP32 VSPI and the other SX1262 pins to suitable GPIO pins
e.g. for a HT_62
// HT_62 SX1262 has the following connections:
// NSS pin: 5
// DIO1 pin: 14
// NRST pin: 12
// BUSY pin: 13
SX1262 radio = new Module(5, 14, 12, 13);
check the VCC requirement - I would expect 3.3V
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.