«

»

ATtiny2313 – Based Thermostat Project (part1)

My parents growing their own organic food and they asked me to deal with winter temperatures problem in the storage room. It gets really cold here, in Ukraine. Some winters have even lower temperatures than -30°C (-22°F). So right now I designing a simple thermostat for keeping temperature at about 5-7 degrees C above zero. Plus right now I started to use my garage as a gym, so this thermostat would be handy there too.

Datasheets:

Some of the parts for this project.

And how they would fit in the box.

12V 3VA Transformer.

Just a small heads up about low-power transformers like this one: without load they will give you much higher voltage, than rated.

For example this transformer gives me about 24V with no load at all, and about 15V with 160mA load! So when picking a smoothing capacitor you need to take that into account. In this case capacitor voltage should be at least 35V (50V is better)!

 

15 comments

5 pings

  1. Mike says:

    FINALLY!

    I enjoy your video tutorials, and you have a cool accent.
    I wish you had the time and resources to post something every day.

    1. admin says:

      Making this types of videos takes a lot of time, but I’m gonna try to do text-based blogging mixed with lots of pictures and small videos. That way I will be putting out stuff much more often.

  2. xsid says:

    Excellent, I look forward to continuing

  3. T'Saavik says:

    I’m curious why it appears that you are shorting the NC output of the relay to the input?

    1. admin says:

      No, I didn’t. Those two relay pins are internally connected. It’s A-type relay.
      Take a look in the datasheet: http://jumperone.com/doc/datasheets/BS-901.pdf

  4. raoul says:

    Hi Phil, nice video tutorial.
    Have you thought about using a solid state relay? I tried that once and I was able to put the control voltage pin directly on a microcontroller because it worked with 5V to switch a 230V load on or off. You require less components (7812) and it is energy saving.

    1. admin says:

      Solid-state relays are good, but there is a problem.
      Under high current load (like 20A) they dissipate huge amount of heat. So they need a really big heatsink in order to operate.
      And because of that they are not energy saving in any way! Your average SSR would have 1.5V voltage drop per 1A. So, if to put 10A load, it will dissipate 150W – which is a lot!

      But for relay I don’t need any heatsink. It’s compact and can handle high currents with ease.

  5. paibeg says:

    greattt…..phil…

    can i get code for microcontroller??
    thanks for share…

  6. ールネックレス says:

    The Five MostNuts bag Tips… And The Ways To Utilize them!!

  7. blau Coast Dianna Kleiden (Sehr billig says:

    Amerikanischen Bildungskonzepte haben sich ge盲ndert, wie die Nation von einem Schmelztiegel zu einer pluralistischen Gesellschaft entwickelt. Diese Nation nimmt zu.
    [url=http://www.leejaehak.net/blau-coast-dianna-kleiden-sehr-billig-p-85.html]blau Coast Dianna Kleiden (Sehr billig[/url]
    blau Coast Dianna Kleiden (Sehr billig

  8. red Coast Ceri Drapierte Bleistiftrock (Qualitätsgarantie) says:

    Eine Umgebung wird als eine Menge, die die Gr枚脽e einer zweidimensionalen Form oder Oberfl盲che beschreibt, definiert, und ausserdem es wird in eckigen gemessen.
    red Coast Ceri Drapierte Bleistiftrock (Qualitätsgarantie)

  9. ralph lauren baseball jacket says:

    The quality is not very good, because insole have unstucked and they look not good. I thought it would be better. But seller is good and delivery is fast. And design of shoes is nice and they are very comfortable. I’m happy, thank you!

  10. ralph lauren women polo says:

    I enjoyed just came a little unglued a plastic heel, but otherwise very good product in perfect condition.ABsolutely love these shoes but the buckle is no an actual buckle it just clips on the side which i kinda don’t like. It fits very good but very light which is a good a bad thing i guess.

  11. boys ralph lauren shirts says:

    very soft to the touch, excellent quality also isn’t present any excess threads, there is a light smell but think that will pass over time, and VERY FAST delivery! ! ! ! ! ! ! and this most important

  12. brand louis vuitton says:

    good product, excellent quality, beautiful! I am very happy! Thank you!Comfortably. Size and color correct. The seller’s communication satisfactory. Shirt better than in the pictures. Delivery in 41 days. And those who are actively engaged in running or cycling, that is inflated legs, these jeans should be taken with some reserve. Pockets

  1. DIY thermostat keeps the harsh winter cold at bay - Hack a Day says:

    [...] make storing it a difficult proposition. Since it can drop to -30°C on occasion, they asked him to find a way to keep their storeroom at around 5-7°C above zero. He decided to construct his own programmable thermostat to keep things in check, and has been [...]

  2. DIY thermostat keeps the harsh winter cold at bay | You've been blogged! says:

    [...] make storing it a difficult proposition. Since it can drop to -30°C on occasion, they asked him to find a way to keep their storeroom at around 5-7°C above zero. He decided to construct his own programmable thermostat to keep things in check, and has been [...]

  3. DIY thermostat keeps the harsh winter cold at bay | ro-Stire says:

    [...] make storing it a difficult proposition. Since it can drop to -30°C on occasion, they asked him to find a way to keep their storeroom at around 5-7°C above zero. He decided to construct his own programmable thermostat to keep things in check, and has been [...]

  4. DIY thermostat keeps the harsh winter cold at bay | The Depot of Talk says:

    [...] make storing it a difficult proposition. Since it can drop to -30°C on occasion, they asked him to find a way to keep their storeroom at around 5-7°C above zero. He decided to construct his own programmable thermostat to keep things in check, and has been [...]

  5. Electronics-Lab.com Blog » Blog Archive » ATtiny2313 – Based Thermostat Project says:

    [...] – Based Thermostat Project – [Part1]+[Part2]+[Part3] Tags: ATMEL, ATtiny2313, AVR, DS18B20, thermostat Filed in Test/Measurements [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>