Kuschelig: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Wechseln zu: Navigation, Suche
Zeile 12: Zeile 12:
 
* After a startup: The controller has to be configured. To do this, the boost button has to be pressed five times. Then the controller starts to learn how far to move the motor to open or close the valve. Then the controller enters 'automatic' mode.
 
* After a startup: The controller has to be configured. To do this, the boost button has to be pressed five times. Then the controller starts to learn how far to move the motor to open or close the valve. Then the controller enters 'automatic' mode.
 
* Once in automatic mode, pressing the boost button results in the valve being opened for the next 300 seconds. Pressing the boost button again, within these 300 seconds stops the boost mode and the valve is closed. Pressing boost again results in the same behaviour, the valve is again opened for the next 300 seconds.
 
* Once in automatic mode, pressing the boost button results in the valve being opened for the next 300 seconds. Pressing the boost button again, within these 300 seconds stops the boost mode and the valve is closed. Pressing boost again results in the same behaviour, the valve is again opened for the next 300 seconds.
 +
 +
This boost button is hooked up to a DS2413, which is a switch with a onewire interface. Thus it is possible to press the boost button remotely with two onewire commands. Here is an example with the ethersex onewire master:
 +
<pre>
 +
brickme:~# ./temp.pl boost
 +
Command: 'boost'
 +
Connecting...
 +
Connected.
 +
> 1w list
 +
< 1039db0002080097
 +
< 10f965010208006a
 +
< 100d17d001080040
 +
< 10cfe181010800dc
 +
< 285e7cc70100007b
 +
< 28f15bc7010000aa
 +
< 3a8220010000006c
 +
< OK
 +
Ignoring sensor 1039db0002080097
 +
Ignoring sensor 10f965010208006a
 +
Ignoring sensor 100d17d001080040
 +
Ignoring sensor 10cfe181010800dc
 +
Ignoring sensor 285e7cc70100007b
 +
Ignoring sensor 28f15bc7010000aa
 +
Toggling DS2413: 3a8220010000006c
 +
> 1w ds2413 set 3a8220010000006c 00
 +
< OK
 +
> 1w ds2413 set 3a8220010000006c 11
 +
< OK
 +
</pre>
  
 
[[Category:Space]]
 
[[Category:Space]]
 
[[Category:Projekte]]
 
[[Category:Projekte]]

Version vom 11. Dezember 2011, 16:33 Uhr

Kuschelig is the environment control system of the CCC Goettingen. Here are some pictures:

Ideas to Control the Valve

The valve is hooked up to a temperature controller. This temperature controller has a 'Boost' button which completely opens the valve for 300 seconds. In detail the controller behaves like this:

  • After a startup: The controller has to be configured. To do this, the boost button has to be pressed five times. Then the controller starts to learn how far to move the motor to open or close the valve. Then the controller enters 'automatic' mode.
  • Once in automatic mode, pressing the boost button results in the valve being opened for the next 300 seconds. Pressing the boost button again, within these 300 seconds stops the boost mode and the valve is closed. Pressing boost again results in the same behaviour, the valve is again opened for the next 300 seconds.

This boost button is hooked up to a DS2413, which is a switch with a onewire interface. Thus it is possible to press the boost button remotely with two onewire commands. Here is an example with the ethersex onewire master:

brickme:~# ./temp.pl boost
Command: 'boost'
Connecting...
Connected. 
> 1w list
< 1039db0002080097
< 10f965010208006a
< 100d17d001080040
< 10cfe181010800dc
< 285e7cc70100007b
< 28f15bc7010000aa
< 3a8220010000006c
< OK
Ignoring sensor 1039db0002080097
Ignoring sensor 10f965010208006a
Ignoring sensor 100d17d001080040
Ignoring sensor 10cfe181010800dc
Ignoring sensor 285e7cc70100007b
Ignoring sensor 28f15bc7010000aa
Toggling DS2413: 3a8220010000006c
> 1w ds2413 set 3a8220010000006c 00
< OK
> 1w ds2413 set 3a8220010000006c 11
< OK