456
edits
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 141: | Line 141: | ||
Above: The finished Motor mechanism, attached to the Umbrella. | Above: The finished Motor mechanism, attached to the Umbrella. | ||
Below: The circuit on the breadboard, DRV8825 Driver for the motor. | Below: The circuit on the breadboard, DRV8825 Driver for the motor. | ||
Line 150: | Line 151: | ||
So I aborted this design process and instead bought a Arduino Proto-shield to solder my circuit to. | So I aborted this design process and instead bought a Arduino Proto-shield to solder my circuit to. | ||
[[File:Proto_example.jpg]] | [[File:Proto_example.jpg]] | ||
Line 174: | Line 176: | ||
long stepTime; | long stepTime; | ||
int dir; | int dir; | ||
long target; | long target; | ||
long curPos; | long curPos; | ||
Line 201: | Line 202: | ||
} | } | ||
Here is a short video of the First Functioning moment. I am using a Potentiometer to control the Umbrella. Later this will be replaced by the Breathing Sensor. | |||
https://www.youtube.com/embed/Sn_Zn28_QuY | |||
Breathing Sensor Version 1: | Breathing Sensor Version 1: | ||
[[File:Breathing_sensor_v1.jpg]] | [[File:Breathing_sensor_v1.jpg]] | ||
Above: Magnet sensor and a magnet attached to a latex glove, which you strap around your upper rib cage (Chest). when your Chest contracts and expends, the magnet is moved closer and further from the sensor, creating a changing value. This is used to control the Umbrella. The Arduino code for this is above. |
edits