Kuschelig: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Zur Navigation springen Zur Suche springen
Zeile 40: Zeile 40:
< OK
< OK
</pre>
</pre>
===Problems===
The device is powered from the 1-wire bus supply, this removes the necessity to replace the batteries once a year. However, resets of the device have to be detected and handled properly to ensure proper functionality.
==Setting the Set Point==
==Setting the Set Point==
===Spacemaster Bot===
===Spacemaster Bot===

Version vom 12. Dezember 2011, 12:13 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

Problems

The device is powered from the 1-wire bus supply, this removes the necessity to replace the batteries once a year. However, resets of the device have to be detected and handled properly to ensure proper functionality.

Setting the Set Point

Spacemaster Bot

One of the ideas to set the Set Point is the spacemaster bot. Setting this value already remotely falls into the scope of the spacemaster and this this matches. Currently, two coarse commands have been implemented:

Marvin: help
cccgoelock@jabber.ccc.de: Available commands: restart, topic, kuschelig, cold

Kuschelig sets the temperature to 25 degrees celsius, cold to 5 degrees celsius. (Just for fun, of course. Those values and commands may be adjusted afterwards.) The values are written into on the bot server and delivered to the control script running on the space router via HTTP.

Space Control Panel

This is just an idea: One could build some panels which control basic functions of the hackerspace.