LORAWAN Netwerk Eindhoven

IOT-EINDHOVEN WIKI
Basic info sodaq mbili + lorabee Embit (Arduino compatible)

0. OVERVIEW (MBILI + LORABEE): http://thethingsnetwork.org/wiki/Hardware/OverviewNodes/raw

1. INSTALL ARDUINO IDE (DOWNLOAD AND MOVE TO APPLICATIONS) https://www.arduino.cc/en/Main/Software

2A SET PREFERENCES FOR ADDITIONAL BOARDS MANAGER URLS [ARDUINO], [PREFERENCES], ENTER Additional Boards Manager URLs:  http://downloads.sodaq.net/package_sodaq_index.json

2B. INSTALL HARDWARE SUPPORT .. NOTA BENE !! INSTALL VERSION 1.0.0 !!! IN ARDUINO IDE [TOOLS], [BOARD:], [BOARDS MANAGER] [SODAQ AVR BOARDS BY SODAQ 1.0.0]

3. INSTALL JSON LIBRARY: DOWNLOAD ZIP AND INSTALL WITH ARDUINO IDE, [SKETCH], [INCLUDE LIBRARY], [ADD .ZIP LIBRARY] https://github.com/bblanchon/ArduinoJson

4. CLONE LORADUINO MASTER (DOWNLOAD ZIP, UNZIP AND RENAME EMBIT_NEW) https://github.com/TheThingsNetwork/loraduino

5A. Set unique device ID in [EmbitBee.h] search for [NETWORK_ADDRESS] and update `uint8_t Address[4]={0xAA, 0xFF, 0x01, 0x10};`

5B. EDIT AND UPLOAD SKETCH [EMBIT_NEW.INO] TO MBILI AND MONITOR SERIAL
Sodaq Mbili and LoRabee RN2483. Send sensor data to TheThingsNetwork(TTN)

Used for test:

– Sodaq Mbili – http://support.sodaq.com/sodaq-mbili-1284p/
– LoRabee RN2483 – http://shop.sodaq.com/en/lorabee-rn2483.html
– DTH11 – https://arduino-info.wikispaces.com/DHT11-Humidity-TempSensor

1. Verify the steps 1 -2b as described above

– Claim your address space at: http://thethingsnetwork.org/wiki/AddressSpace or use in an address is the following range: 02:01:60:xx (reserved to MAD Space Eindhoven)

2. Download and unzip RN2483_temp_hum.zip (link to be modified), move LoRa.cpp and LoRa.h to the Arduino Libraries folder

– Edit LoRa.cpp and use your own devaddr on Line 47: Serial1.write(“mac set devaddr XXXXXXXX \r\n”);
nwkskey on Line 53: Serial1.write(“mac set nwkskey 2B7E151628AED2A6ABF7158809CF4F3C\r\n”);
appskey on line 59: Serial1.write(“mac set appskey 2B7E151628AED2A6ABF7158809CF4F3C\r\n”);

3. Connect the Sodaq Mbili and LorAbee RN2483 module to the computer. Connect the DTH11 to the “Always On” a4, 3v3, gnd of the Grove connector

4. Start Arduino > Tools > Board: “Sodaq Mbili 1284P 8 mhz using Optiboot at 57600 baud”

– Open RN8283_temp_hum.ino, compile and upload.
– Open in Arduino > Tools > Serial Monitor and watch the output:

Reset: RN2483 0.9.5 Mar 24 2015 14:15:33
Device: RN2483 0.9.5 Mar 24 2015 14:15:33
Battery: 3253
EUI: 0004A30B001AF211
addr: ok
nwkskey: ok
appskey: ok
adr: ok
Pwr: ok
Join: ok
accepted
band: 868
tx freq: 868100000
Humidity: 38.00 % Temperature: 21.00 *C
Sending data to TTN gateway…
Sending: {“node”:”SodaqMbili”,”temperature”:21,”humidity”:38}
RN2483 status:
ok

Check the sensor status on TTN

http://thethingsnetwork.org/api/v0/nodes//

LORAWAN NETWORK EINDHOVEN
basic info Gateways Eindhoven

GATEWAY MADLAB ID: 02 4B 08 06 00 DA [online! – contact: madadmin@hotmail.com of mad@dse.nl – location: Don Boscostraat ]
GATEWAY OSCITY ID: 02 4B 08 06 01 F0 [online! – contact: info@oscity.nl – location: Strijp S / Philipsdorp ]
find gateways on maps

If gateway connected to TheThingsNetwork: http://www.ttnmap.org/ ,http://ttn.lpwan.uk/

If gateway connected to semtech: http://iot.semtech.com/map/
people

Mark van der Net / OSCity.nl – 06 107 12489 – gateway (nabij Strijp-S)
Paul Zuurveeen / MAD emergent art centermadadmin@hotmail.com – gateway (near City Hall Eindhoven)
Sebastiaan van Vliet / sebastiaan.contact@gmail.com
rob van den berg / rob@quilibet.eu
Marco Rudolph /marco_rudolph@hotmail.com
Jeroen Blok / jh.blok@online.nl

temp OSCITY API voor DDW

packages van OSCITY gateway gaan naar: http://iot.oscity.nl
packages op te vragen via API: http://iot.oscity.nl/api
simpele doc:
call: http://iot.oscity.nl/api?node=ABFF0110&gateway=AA555A00080601F0&since=2015-10-17
filter params:
node=node id [ex: ABFF0110]
gateway=gateway id [ex: AA555A00080601F0]
since=YYYY-MM-DD HH:MM:SS [ex: 2015-10-17 18:16:38 or 2015-10-17][NOTE: CET+2 AMSTERDAM TIME]