project F:Realisation-f
From student
(Difference between revisions)
(→Pseudocode for controlling the air valves) |
(→Arduino development) |
||
Line 17: | Line 17: | ||
[[project_F:Arduino/Movement_AirPressure| See the arduino code]] | [[project_F:Arduino/Movement_AirPressure| See the arduino code]] | ||
+ | |||
+ | = Pressure sensors = | ||
+ | |||
+ | [http://www.instructables.com/id/Stickytape-Sensors/ Pressure / Bend] | ||
+ | |||
+ | [http://www.kobakant.at/DIY/?p=1781 Stretch] |
Revision as of 12:53, 12 January 2012
Design Realisation Relationships
Design Execution Prototype Validation Arduino development 1:1 Prototype
Arduino development
Pseudocode for controlling the air valves
Light sensor is in the place of motion sensor. Green led is the air OUT valve, the red is air IN. Air pressure is not measured, but it is a variable, that is changed by "letting air in / out".
Yellow led in the middle represents the air pressure. Bright: high pressure (cushion filled with air). Dim: low pressure (minimum pressure in the cushion).
When there is movement (light on the sensor), more air is pumped in (red led on). Otherwise the other valve starts to let air out (green led on).