Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

nyc-duino

A simple demo board for the TTN NYC Hardware Office Hours!

Soldering (optional)

Simple introduction to soldering by attaching the DHT11/22 and a 10k thru-hole pullup resistor. Male or female header can also be added to support Arduino shields.

Arduino

Installing

https://www.arduino.cc/en/Main/Software

Libraries Needed

Sketch -> Include Library -> Manage Libraries

  • Adafruit Unified Sensor - by Adafruit
  • DHT sensor library - by Adafruit
  • TheThingsNetwork - by The Things Network
  • CayenneLPP - by The Things Network

The Things Network

The Things Network is our LoRaWAN network server.

Create Account

Create Application

Add Cayenne Integration

Also choose Cayenne LPP from Payload Formats tab.

Add Device

Upload DeviceInfo sketch from TheThingsNetwork library to get DevEUI.

Firmware

Download nycDuino-demo.ino from this repo.

Use the AppEUI and AppKey from TTN dashboard to personalize the Arduino sketch on lines 6 and 7.

Tools -> Board -> Arduino Leonardo

Upload.

Cayenne

Create Account

Add Device

LoRa -> The Things Network -> Cayenne LPP

Bonus Round

  • Don't use delay() to time transmissions
  • Use downlink to set onboard LED state
  • Lower power by using sleep and idle

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages