Free 186 More Best Homemade Tools eBook:  
Get 2,000+ tool plans, full site access, and more.

User Tag List

Results 1 to 2 of 2

Thread: Special function thermostat with Arduino Mini Pro + DS1820

  1. #1
    Supporting Member ruxu's Avatar
    Join Date
    May 2017
    Location
    Southern Finland
    Posts
    18
    Thanks
    1
    Thanked 128 Times in 14 Posts

    ruxu's Tools

    Special function thermostat with Arduino Mini Pro + DS1820

    In order to prevent unwanted heating water flow in our combined ground/solar/wood heating I needed a special function thermostat that would activate flow valves at 45 degrees C and keep them activated until the temperature drops below 40 degrees C. The ones I found commercially were very expensive Jumo thermostats - so it was time to dig in the electronic projects junk box.

    Suitable parts I found was,
    - a Arduino Mini Pro microcontroller
    - a Dallas DS1820 temperature sensor
    - a optocoupled 5V SPDT relay
    - a 4,7kohm resistor
    - a used iPhone 5W charger
    - some connectors, wires and cables

    The only thing I had to buy was a DIN rail enclosure. Welleman had a D2MG closure for under 5 euros.

    Special function thermostat with Arduino Mini Pro + DS1820-thermostatinternals.jpg

    Here is a picture of the wired internal parts of the thermostat. The Arduino has the FTDI pins fitted so it is possible to reprogram it even when it is fitted in the enclosure. In order to be able to fit the iPhone charger the wall plug pins had to be shortened and the width of the charger filed from 35mm to 33mm. The relay board is mounted on the charger with double sided tape.

    Special function thermostat with Arduino Mini Pro + DS1820-thermostatenclosure.jpg

    The Welleman D2MG enclosure.

    Special function thermostat with Arduino Mini Pro + DS1820-thermostatandsensor.jpg

    The assembled thermostat and sensor cabling.

    And finally here is the Arduino code if someone would need a similar thermostat. My_DS1820Thermostat.ino.txt Remove the .txt extension and put the file in a folder named My_DS1820Thermostat

    186 More Best Homemade Tools eBook
    Last edited by ruxu; Feb 19, 2022 at 06:00 AM.

  2. The Following 3 Users Say Thank You to ruxu For This Useful Post:

    mwmkravchenko (Feb 27, 2022), nova_robotics (Feb 21, 2022), odd one (Feb 22, 2022)

  3. #2
    Supporting Member mwmkravchenko's Avatar
    Join Date
    Nov 2017
    Location
    Perth Ontario Canada
    Posts
    1,013
    Thanks
    5,097
    Thanked 377 Times in 266 Posts
    Very nice. And not very expensive. Guessing there are a few solenoid valves in play.

    2000 Tool Plans

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •