This is my first electronics project. I'm familiar with programming and have lots of experience with low-voltage controls used in HVAC equipment, and now I'd like to combine the two interests. The idea is to control a heater for a fishtank using a Raspberry Pi. I've got a USB temperature sensor and worked out a program to turn on a GPIO pin when the temperature drops, but after reading lots of warnings about what you can (and can't) control with the Pi's 3.3v GPIO pins, I'd really appreciate someone checking what I'm doing.
I do know that I can't control my relay directly. I thought I'd control the relay through a radioshack TIP3055 transistor, but I found a discussion that said that transistor shouldn't be used directly with the Pi. Instead, the author recommended using a smaller transistor to power the TIP3055, and then the TIP3055 powers the relay coil, and the relay's contacts will switch the line voltage for the heaters.
So to start with, I found a BF494 transistor and made a small test circuit to power a LED light. Would someone look this over and see if I missed something that might end up damaging my Raspberry Pi? My next step will be to take the LED out and put the TIP3055 in its place. I'll need to power a 12vdc relay coil (75mA) by means of that transistor, so I'll need to add a power source in addition to the Raspberry Pi. That's fine, but how do I work that in to the circuit?
I do know that I can't control my relay directly. I thought I'd control the relay through a radioshack TIP3055 transistor, but I found a discussion that said that transistor shouldn't be used directly with the Pi. Instead, the author recommended using a smaller transistor to power the TIP3055, and then the TIP3055 powers the relay coil, and the relay's contacts will switch the line voltage for the heaters.
So to start with, I found a BF494 transistor and made a small test circuit to power a LED light. Would someone look this over and see if I missed something that might end up damaging my Raspberry Pi? My next step will be to take the LED out and put the TIP3055 in its place. I'll need to power a 12vdc relay coil (75mA) by means of that transistor, so I'll need to add a power source in addition to the Raspberry Pi. That's fine, but how do I work that in to the circuit?
Attachments
-
15 KB Views: 61