Skip to content

things-nyc/nyc-duino

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages