Soon after Pokeman Go released, the safety issues of playing this game outdoor have drawn a lot of attentions. Players run on the street without watching traffic,even one of them fell down from bridge. It is difficult to be aware of surroundings through a camera lens while playing the game. To avoid potential hazards, I decide to make a Pokemon safety badge to trigger motor when the distance between wearer and any object is less than one meter.
It takes 5 minutes to make this project including assembling parts and uploading the code. Zero hardware background is required. Pikachu~
Here are 4 parts we used in this project. The main parts are an ultrasonic or infrared sensor to detect object, and a vibration motor to trigger action. After gathering all the parts, assemble them together. Thanks to the plug and play feature, these parts from Grove system require no soldering for your circuit.
A. Ultrasonic sensor
I used an ultrasonic sensor to detect whether there is any obstacle in front. We can adjust the distant from 3cm to 4m. In this project, we set 1 meter which will be demonstrated in the code.
B. Vibration motor
This tiny motor is the same material of phone vibration.
C. Grove Joint
Grove Joint is an Arduino-based controlled. If you have not heard of Arduino, it is an 8-bit little computer that could interfaces with the physical worlds by sensing the environment and triggering actions.Theoretically any board compatible with Arduino UNO would do the trick, such as Xadow Duino specially for wearable project.
D. 3.7 V battery
This is how you power the badge.