Difference between revisions of "Wearable LoRaWAN Muscle SpikerShield"

From Hackteria Wiki
Jump to: navigation, search
(Code)
(Code)
Line 17: Line 17:
 
[[File:38488278110_4d73e24f73_z.jpg]]
 
[[File:38488278110_4d73e24f73_z.jpg]]
 
===Code===
 
===Code===
 +
Sending an int read from analog input A0 can be done with
 
* Sending numbers with Arduino Uno and the Dragino LoRa shield [http://www.tamberg.org/chopen/2017/LoRaWANIoTWorkshop.pdf http://www.tamberg.org/chopen/2017/LoRaWANIoTWorkshop.pdf] p.55
 
* Sending numbers with Arduino Uno and the Dragino LoRa shield [http://www.tamberg.org/chopen/2017/LoRaWANIoTWorkshop.pdf http://www.tamberg.org/chopen/2017/LoRaWANIoTWorkshop.pdf] p.55
 
* https://bitbucket.org/tamberg/iotworkshop/src/tip/Arduino/DraginoTtnAbpTxInt/DraginoTtnAbpTxInt.ino
 
* https://bitbucket.org/tamberg/iotworkshop/src/tip/Arduino/DraginoTtnAbpTxInt/DraginoTtnAbpTxInt.ino

Revision as of 14:30, 16 February 2018

Made by @tamberg during Medizintechnik DIY, 02.2018

Idea

Use the Muscle SpikerShield together with a Dragino LoRaWAN shield to transmit, e.g., step count derived from muscle activity via TheThingsNetwork.

25426705257 93f687ff93 z.jpg 25426703157 6c479ebbc8 z.jpg

Conflicting Pins

It's not entirely clear from the data sheets, but pin 9 and 12 of the Muscle SpikerShield interfere with the Dragino LoRa Shield.

Here's one way to debug (unplug pins one by one) and fix this (bend conflicting pins):

39586367354 d506194eda z.jpg 38488278110 4d73e24f73 z.jpg

Code

Sending an int read from analog input A0 can be done with

Resources