WS 2016/17 - RIOT im Internet of Things - Bachelor Project of Computer Science and Electrical Engineering
Hop And Found is a burglar alarm for crowded places like concerts. It is made to help the user monitor items he does not want to be stolen, like his valuables. A component is placed on the item to monitor and the user carries a component which tells him when the item is being stolen.
Hop And Found consists of three types of components:
- monitor: Component with a display which the user carries. It signals the user if the device is lost.
- monitored item: Component which is placed with the item that is monitored.
- node: Stationary component which is placed at known positions in an area for forwarding messages.
In "src/include/global.h":
- Netif channel can be changed.
- Signal strength can be adjusted.
- Debug settings can be toggled.
- Max number of nodes can be set.
-
Connect the Nokia pcd8544 display (display -> board):
-
GND -> GND1
-
VCC -> P5V_USB
-
CLK -> D13 (PTC5)
-
DIN -> D11 (PTC6)
-
D/C -> D6 (PTA2)
-
CS --> D10 (PTC4)
-
RST -> D7 (PTA1)
-
LED -> P3V3
-
Go into "src/monitor/" and compile and flash.
- Set monitored item ID in "src/include/globals.h".
- Go into "src/monitored_item/" and compile and flash.
- Put the monitor and monitored item close to each other and press the user button on the monitored item to link it with the monitor.
- Set node ID in "src/include/globals.h".
- Go into "src/node/" and compile and flash.
- The nodes should be set up in a way that they reach at least two other nodes. To help achieve this the user button of the node may be used. When pressed, the LED of the nodes which are in range will blink blue.