-
1Prerequisites
Hardware: ArduinoLoRa Rev 1.0 board, 18650 battery, LoRa antenna, USB‑C cable, sensor(s).
- Software: Arduino IDE or Arduino CLI, STM32 board support (if required), ArduLora library (or your library).
- Services: LoRaWAN gateway credentials if using OTAA/ABP (AppEUI, DevEUI, AppKey).
-
2Hardware Assembly
- Insert battery: Place the 18650 cell in the holder with correct polarity and ensure firm contact.
- Attach antenna: Screw the LoRa antenna onto the SMA connector; keep it clear of metal.
- Connect sensors: Use screw terminals or headers to wire I2C, UART, or GPIO sensors.
- Power check: Connect USB and open Serial Monitor at 115200 to confirm the board boots and prints initialization logs.
-
3Wiring Guide
- I2C: SDA → SDA pin; SCL → SCL pin; 3.3V → VCC; GND → GND.
- UART: Sensor TX → board RX; sensor RX → board TX; common GND.
- Power: 18650 supplies Vbat; USB should auto‑switch when connected.
- Antenna: Keep antenna upright and away from metal enclosures.
-
4Software Setup
Install Arduino IDE or Arduino CLI.
- Install STM32 board support via Board Manager if required.
- Install ArduLora library via Library Manager or copy into
libraries/. - Open example sketch: File → Examples → ArduLora → field_example (or equivalent).
- Configure sketch: set frequency, power, radio profile, and LoRaWAN credentials if applicable.
-
5Flashing Firmware
Using Arduino IDE
- Select board: Tools → Board → ArduinoLoRa Rev 1.0 (or STM32 variant).
- Select port: Tools → Port → COMx.
- Click Upload.
namnam
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.