I scaled the value from 1 to 0,1 by dividing it, so it lets me change the temperature by 0.1. On changing the value it writes into the EEprom memory, and then reads it from there. For changing the temperature I used the block for Encoder wheel. The hysteresis is 0.4 ☌ and the last set temperature is saved, even if electricity shuts down.įirst of all we get the inputs from sensors, then convert them into TEXT (string) for showing on display, set the position and add some constants (set, C, t=, RH). This is how my setup looks like right now: And I want it to have a color display with more settings.Įverything I want I can do now, and FLProg will help me a lot with that. Also I want to make it wireless via Radio or WiFi modules. I could also add a GSM board, and set it to send me a message containing the boiler state when I am away. For example my thoughts about upgrading my device are: I can install a gas sensor, to shut everything off in case of a gas leak. And the advantage is that I can modify and update the hardware and the software whenever I want. Potentiometer – for modifying the brightness on the displayįor all of the above I spent around – 25$.Relay 5v – for switching the on-off output.Encoder wheel – for switching the temperature.And of course I want to be able to control it. So I decided to make my own.įirst of all my thoughts were – what do I want from this device? I wanted it to show the real temperature on display, the currently set temperature, humidity in the room. My first experience to buy a new one, was a failure. For best randament, flexible setting and to maintain a stable temperature it requires a Thermostat to be installed. After that you can configure them.Īt home I have a gas boiler for heating. All the blocks are placed by a simple Drag and Drop. This is how a very simple sketch programmed in FBD (Function Block Diagram) looks like. This software has a big variety of predefined blocks, which are enough for creating whatever you want, but it also allows you to create your own blocks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |