Wearable LoRaWAN Muscle SpikerShield

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.



Source Code

 * Sending numbers with Arduino Uno and the Dragino LoRa shield http://www.tamberg.org/chopen/2017/LoRaWANIoTWorkshop.pdf p.55
 * https://bitbucket.org/tamberg/iotworkshop/src/tip/Arduino/DraginoTtnAbpTxInt/DraginoTtnAbpTxInt.ino

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


 * https://backyardbrains.com/products/files/Muscle%20SpikerShield.SMD.V2.6.pdf
 * http://wiki.dragino.com/index.php?title=Lora_Shield#Pin_Mapping_and_Unused_Pins

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



Hardware

 * Arduino Uno https://store.arduino.cc/arduino-uno-rev3
 * Muscle SpikerShield https://backyardbrains.com/products/muscleSpikerShield
 * Dragino v1.4 LoRa shield http://www.dragino.com/products/lora/item/102-lora-shield.html
 * Arduino Masskrug Adapter https://www.thingiverse.com/thing:157538 which works fine as an upper arm adapter.
 * Beta version of @dusjagr's https://www.hackteria.org/wiki/Backyard_Brains_Fablab_Luzern_KresseShield was used to cover the top.
 * 9V battery and adapter
 * Red bandage

LoRaWAN
Category:MedTech-DIY
 * What is LoRaWAN? https://www.lora-alliance.org/technology
 * TheThingsNetwork open source LoRaWAN project https://www.thethingsnetwork.org/
 * Map of TheThingsNetwork coverage around HSLU https://www.thethingsnetwork.org/community/Zentralschweiz/