project F:Realisation-f
(→Arduino development) |
(→Pumps) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
=<span style="color:gray">Arduino development</span>= | =<span style="color:gray">Arduino development</span>= | ||
− | + | == Valves in sync with motion sensing == | |
− | Light sensor is in the place of motion sensor. Green led is the air OUT valve, the red is air IN. | + | In the first video the valves happily click away in the rhythm of the movement in the room. The second video has all the effects; air pump is buzzing in the background, and air is hissing out of the valves in between the clicks. |
+ | |||
+ | <youtube width="530" height="400" left >kXOMyJp_Jcs</youtube> | ||
+ | |||
+ | <youtube width="530" height="400" left >Qv0npf21Kjs</youtube> | ||
+ | |||
+ | == Controlling valves & feeding external power == | ||
+ | The leds blink in sync with the valves opening and closing. External power from single 9V source is feeding the valves, but the operating power is controlled individually with an Arduino. | ||
+ | |||
+ | <youtube width="530" height="400" left >8U1lmQk2ZIo</youtube> | ||
+ | |||
+ | ==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". | ||
+ | |||
+ | <youtube width="530" height="400" left >bXqKIyhWIoI</youtube> | ||
<span style="background:yellow">Yellow</span> led in the middle represents the air pressure. Bright: high pressure (cushion filled with air). Dim: low pressure (minimum pressure in the cushion). | <span style="background:yellow">Yellow</span> 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 (<span style="background:red">red</span> led on). Otherwise the other valve starts to let air out (<span style="background:green">green</span> led on). | When there is movement (light on the sensor), more air is pumped in (<span style="background:red">red</span> led on). Otherwise the other valve starts to let air out (<span style="background:green">green</span> led on). | ||
+ | |||
+ | [[project_F:Arduino/Movement_AirPressure| See the arduino code]] | ||
+ | |||
+ | = Pumps = | ||
+ | |||
+ | Summertime 230V, 2000 liters/minute, 50 Hz, 840W, | ||
+ | |||
+ | compressor 240 liters/minute, 8 bar | ||
+ | |||
+ | |||
+ | Bristol (18e): Elektro-Pumpe HB-135 C, AC 230V - 50 Hz, 95W | ||
+ | |||
+ | = Power sources = | ||
+ | |||
+ | * 9V external adpter (worked with two valves) | ||
+ | * 5V Nokia adapter (worked with two valves) | ||
+ | |||
+ | [http://www.ladyada.net/learn/multimeter/voltage.html Measuring voltage with a multimeter] | ||
+ | |||
+ | = Pressure sensors = | ||
+ | |||
+ | [http://www.kobakant.at/DIY/?p=1781 Stretch] | ||
+ | : conductive thread or wire, or conductive stretching textile | ||
+ | |||
+ | [http://www.kobakant.at/DIY/?p=1836 Stretch (conductive paint)] | ||
+ | : [http://www.kobakant.at/DIY/?p=634 Conductive paints and inks] | ||
+ | : based on resistance difference when the canvas is stretched | ||
+ | |||
+ | [http://www.instructables.com/id/Stickytape-Sensors/ Pressure / Bend] | ||
+ | |||
+ | = Air Flow = | ||
+ | |||
+ | [http://www.convert-me.com/en/convert/flow_rate_volume Flow rate by volume Converter] | ||
+ | |||
+ | Air weight: | ||
+ | in 20oC - Density (ρ)(kg/m3) 1.204 - γ (N/m3) 11.81 | ||
+ | in 25oC - Density (ρ)(kg/m3) 1.184 - γ (N/m3) 11.61 |
Latest revision as of 16:06, 1 February 2012
Design Realisation Relationships
Design Execution Prototype Validation Arduino development 1:1 Prototype
Arduino development
Valves in sync with motion sensing
In the first video the valves happily click away in the rhythm of the movement in the room. The second video has all the effects; air pump is buzzing in the background, and air is hissing out of the valves in between the clicks.
Controlling valves & feeding external power
The leds blink in sync with the valves opening and closing. External power from single 9V source is feeding the valves, but the operating power is controlled individually with an Arduino.
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).
Pumps
Summertime 230V, 2000 liters/minute, 50 Hz, 840W,
compressor 240 liters/minute, 8 bar
Bristol (18e): Elektro-Pumpe HB-135 C, AC 230V - 50 Hz, 95W
Power sources
- 9V external adpter (worked with two valves)
- 5V Nokia adapter (worked with two valves)
Measuring voltage with a multimeter
Pressure sensors
- conductive thread or wire, or conductive stretching textile
- Conductive paints and inks
- based on resistance difference when the canvas is stretched
Air Flow
Air weight: in 20oC - Density (ρ)(kg/m3) 1.204 - γ (N/m3) 11.81 in 25oC - Density (ρ)(kg/m3) 1.184 - γ (N/m3) 11.61