Wearable LoRaWAN Muscle SpikerShield
From Hackteria Wiki
Made by @tamberg during Medizintechnik DIY, 02.2018
Contents
Idea
Use the Muscle SpikerShield together with a Dragino LoRaWAN shield to transmit, e.g., step count derived from muscle activity via TheThingsNetwork.
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.
- 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):
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 p.55
- https://bitbucket.org/tamberg/iotworkshop/src/tip/Arduino/DraginoTtnAbpTxInt/DraginoTtnAbpTxInt.ino
Hardware
- Arduino Masskrug Adapter https://www.thingiverse.com/thing:157538 which works fine as an upper arm adapter.
- Beta version of https://www.hackteria.org/wiki/Backyard_Brains_Fablab_Luzern_KresseShield was used to cover the top.
Resources
- 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/