20 dBm
20 dBm
-137 dBm
128x160 pixels
Supports 16-bit color depth
Built-in backlight for low-power consumption
Supports battery-powered operation
Onboard voltage regulator for efficient power management
| Low-power consumption | < 100mA (typical) |
2x 20-pin GPIO headers for peripheral connections
1x Micro-USB port for programming and debugging
1x U.FL antenna connector for LoRaWAN communication
-20C to 85C (-4F to 185F)
-40C to 125C (-40F to 257F)
Applications
| The Elecrow LoRaWAN RA-08H Development Board is suitable for a wide range of IoT applications, including |
Elecrow LoRaWAN RA-08H Development Board Integrated RP2040 with 1.8 LCDOverviewThe Elecrow LoRaWAN RA-08H Development Board is a highly integrated board that combines the Raspberry Pi RP2040 microcontroller with a 1.8-inch LCD display and a LoRaWAN transceiver operating at 868MHz or 915MHz frequencies. This board is ideal for IoT projects that require long-range communication, display capabilities, and microcontroller-based processing.Key FeaturesRaspberry Pi RP2040 microcontroller
1.8-inch LCD display with 128x160 resolution
LoRaWAN transceiver (868MHz or 915MHz)
Supports LoRaWAN Class A and Class C
UART, SPI, I2C, and I2S interfaces
Micro-USB interface for programming and debugging
Powered by USB or external power sourceHardware ComponentsElecrow LoRaWAN RA-08H Development Board
Micro-USB cable
Power source (optional)
Antenna (optional)Software RequirementsRaspberry Pi Pico SDK
LoRaWAN library (optional)
C/C++ programming languageCode Examples### Example 1: LoRaWAN Sending and Receiving DataThis example demonstrates how to use the Elecrow LoRaWAN RA-08H Development Board to send and receive data using LoRaWAN protocol.
```c
#include "lora.h"#define LORA_FREQ 868E6 // Frequency in Hz (868MHz or 915MHz)int main() {
// Initialize LoRaWAN module
lora_init(LORA_FREQ);// Set LoRaWAN device address and keys
lora_set_dev_addr("01020304");
lora_set_nws_key("0102030405060708");
lora_set_apps_key("0102030405060708");// Send a message using LoRaWAN
char message[] = "Hello, LoRaWAN!";
lora_send(message, sizeof(message));// Receive a message using LoRaWAN
char receive_buffer[256];
int received_size = lora_receive(receive_buffer, sizeof(receive_buffer));
if (received_size > 0) {
printf("Received message: %s
", receive_buffer);
}return 0;
}
```
### Example 2: Displaying Sensor Data on LCDThis example demonstrates how to use the Elecrow LoRaWAN RA-08H Development Board to display sensor data on the 1.8-inch LCD display.
```c
#include "lcd.h"
#include "sensor.h"int main() {
// Initialize LCD display
lcd_init();// Initialize sensor (e.g., temperature sensor)
sensor_init();while (1) {
// Read sensor data
int temperature = sensor_read();// Display sensor data on LCD
char buffer[16];
sprintf(buffer, "Temp: %dC", temperature);
lcd_display_string(0, 0, buffer);// Wait for a short period of time before updating again
delay(1000);
}return 0;
}
```
NotesMake sure to modify the LoRaWAN frequency and device address according to your specific setup.
In Example 2, replace the `sensor_init()` and `sensor_read()` functions with your own implementation for reading sensor data.
These examples are for illustration purposes only and may require modifications to work with your specific use case.TroubleshootingEnsure that the micro-USB cable is properly connected and the board is powered.
Check the LoRaWAN frequency and device address settings.
Verify that the LCD display is properly initialized and configured.ResourcesElecrow LoRaWAN RA-08H Development Board datasheet
Raspberry Pi Pico SDK documentation
LoRaWAN library documentation (optional)I hope this documentation helps! Let me know if you have any questions or need further clarification.