No description, website, or topics provided.
C++ C Objective-C
Clone or download
Kert Ilm Kert Ilm
Latest commit a10ba1c Nov 22, 2017

README.md

			 ___               _                      _                             _
			(  _`\            ( )                    ( )                           ( )
			| (_) )   _ _    _| |   __     __   _ __ | |_      _      _ _  _ __   _| |
			|  _ <' /'_` ) /'_` | /'_ `\ /'__`\( '__)| '_`\  /'_`\  /'_` )( '__)/'_` |
			| (_) )( (_| |( (_| |( (_) |(  ___/| |   | |_) )( (_) )( (_| || |  ( (_| |
		    (____/'`\__,_)`\__,_)`\__  |`\____)(_)   (_,__/'`\___/'`\__,_)(_)  `\__,_)
								 ( )_) |
							 	  \___/'

============================

Table of Contents

Prerequisites

Downloads

General installation

now this file is in downloads folder named Badgerboard-master.zip

  • Open Arduino and include it under Sketch -> Include library -> add .zip library
Mac OS X installation with Git
  • Open "Finder" (Press ⌘+ Space )
  • type in "terminal" and open it
  • type "cd Documents/Arduino/libraries"
  • type "git clone https://github.com/nasys/badgerboard"
  • Now when you open up your Arduino and Badgerboard library should appear under Sketch -> Include library
Windows installation with Git

Coming soon

Badgerboard setup

Test out your Badgerboard

- DO NOT POWER ON WITHOUT ANTENNA! 
  • Make sure Badgerboard power switch is turned ON (button towards USB port)
  • connect Badgerboard to your PC/Mac
  • Open Arduino
  • Open Blink example Files -> Examples -> 01.Basics -> Blink
  • Make sure you have chosen correct board Tools -> Board -> LilyPad Arduino USB and correct port Tools -> Port
  • Change the time(number in milliseconds) inside the brackets after "delay" to change the speed of blinking
  • To upload click on the right pointing arrow on the top-left corner of your Arduino window

In case all of this works then you have successfully uploaded your first program to Badgerboard

LoRa sensor setup

  • Open File -> Examples -> Badgerboard -> LoRa_temp_hum
  • Replace examples devEUI(16 hex char), appEUI(16 hex char) and appKey(32 hex char) with the ones that Your LoRaWAN™ solution provider has assigned.(example 1)
  • Upload Your code to Badgerboard
example 1
In Arduino code your devEUI, appEUI and appKey are represented by char array and should look similar to 
this example

const uint8_t devEUI[8] = {
0x11, 0x11, 0x22, 0x22,
0x33, 0x33, 0x44, 0x44
};

const uint8_t appKey[16] = {
0x11, 0x11, 0x11, 0x11,
0x11, 0x11, 0x22, 0x22,
0x22, 0x22, 0x22, 0x22,
0x33, 0x33, 0x33, 0x33
};

const uint8_t appEUI[8] = {
0x11, 0x22, 0x33, 0x44,
0x55, 0x66, 0x77, 0x88
};

Debugging

To see Debugging messages open Serial Monitor Tools -> Serial Monitor

Known issues

  • Take a look under troubleshooting page
  • Works only with Arduino version 1.6.10 and later

Version log

Version 0.0.3

* Added a quickfix related to SF not changeing
* Added _mod to library names to avoid issues if libraries are already installed

Version 0.0.2

📆06.12.2016

* Changed spreading factor changing to automatic
* Added liquid detection example 

Version 0.0.1

📆01.11.2016

Initial version of Badgerboard library

Used libraries

Licences

All of the source files are distributed under the beerware license except where specified otherwise (i.e. external libraries)

Contacts

In case you found the instructions incomplete or have any questions regarding Badgerboard library You can :