Same as the others - connect a small length of wire to the "RX" pin on your ESP8266, then it will transmit SF7 LoRa messages at 904.1MHz.
But this, has the code in main() to send frames to thethings.network as valid LoRaWAN frames.
On thethings.network,
- Generate a new app.
- Register a new device.
- Select
Enter end device specifics manually
- Select US Plan 902-928, FSB2 (Used by TTN)
- LoRaWAN Specification 1.0.0
- TS001 Technical Specificaiton 1.0.0
- "Show Advanced activation, LoRaWAN class and cluster settings"
- Activation by Personalization
- No addtional LoRaWAN class capabilities (class A only)
- Use Network's default MAC settings.
- Generate new EUI.
- Generate new Device ID.
Add the device, it may make sense to back out to the menu so you can copy the LSB for the address, and the code for MSB for keys.
Replace the payload_key
, network_skey
, and devaddress
in main.c