Then I found some automative 12V power relay rated at 20A. And made a simple driver with n-channel mosfet to swith relay from 3.3V and it works ok, relay just gets warm.
This driver done as a shield for TI LaunchPad kit on prototype perfboard, you can see mosfet driver shield picture in the twitter.
Now it's time to write firmware. What I want is to save my battery from over discharge it means not more than 5.5 hours of heater overall runtime. Turn heater on when temperature is 5C lower than needed. Status indication with leds on launchpad board. Manual mode switch with button. External wire with temperature sensor, because relay is getting warm and shield is too close to mcu then internal sensor is not sutable for temperature reading.
Project code repository: code.avrnoob.com/thermostat
Hey this is almost exactly what I am trying to do.. Do you have a photo or a circuit diagram. I need to control a 12 v fan system to keep some things cool instead of hot, but the idea is the same. How can I get in touch with you?ReplyDelete
Hi, do you need information how to turn relay on? It's easy with transistor and diode, check out this urls: http://www.kpsec.freeuk.com/trancirc.htm and http://www.electronics-tutorials.ws/transistor/tran_7.htmlReplyDelete
I made this as a shield for TI LaunchPad, if you need a picture I'll post it.