Messing with the lilygo ‐Sophie - OtagoPolytechnic/Cloudy-with-a-Chance-of-LoRa GitHub Wiki

Setting up TTN

creating a TTN account

Adding stuff to TTN

Step 1 - Creating an application

  • Create an application

image

  • give it an Application ID it must be unique, and give it and application name. and hit Create application

{6AEEA208-2CCC-416F-BDC4-C9DD6507A40A}

Step 2 - Adding end device (lilygo)

  • After you have created the application you will automatically be in it, if not head to application and click on the one you have just made
  • It should look like this

{2470B576-765C-4BFD-BCFD-9C2C21EC5FE8}

  • Click on " + Register end device"
  • You will now see this

{E7D2A8D0-F6BA-4197-BE2C-6D7F72E7088C}

  • Under end device type select "enter ed device specifics manually"

image

  • After that you will see

{5EC7FA46-546C-4194-8F08-4556671A9C3A}

  • Select the following

Frequency plan : Australia 915-928 MHz, FSB 2 (used by TTN)

LoRaWAN : LoRaWAN Specification 1.1.0

Regional Parameters version : RP001 Regional Parameters 1.1 revision A

{CF4FB720-6CA8-4690-97E4-9A08D038E34B}

  • Once that is done this should pop up

{58854B6B-0C4A-42D4-98F9-6D0B2CEC2A8D}

  • Enter 00 00 00 00 00 00 00 00 and hit confirm

{9227567D-2A49-45F0-90EF-8B145CD795F2}

  • This will then pop up

{6AB2EF6F-0CE4-4BE9-9281-3B2E8650421D}

  • Hit Generate on DevEUI, AppKey, NwkKey. A bunch of numbers all pop up. COPY THOSE AND PUT IN NOTES OR SOMTING YOU WILL NEED FOR THE CODE.

  • Give end device Id

image

  • Reregister end device

image

  • End device is now Created and connected to application.