Edit
emitter and collector were swapped, this is correct.
***dang***
good things come in threes... last attempt
View attachment 459525
According to the simulation it will work but I don't think it can simulate a floating input.The 10k resistor (R3 in my schematic) is a pull down resistor for the gate of Q2. Is it ok for the base of the pnp transistor to be pulled to ground also?
According to the simulation it will work but I don't think it can simulate a floating input.
Click on the H to toggle the input.
https://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000015625+10.20027730826997+50+5+43 t+352+192+400+192+0+-1+4.999999999798651+-1.049995645985291e-10+100 f+224+320+304+320+0+1.5+0.02 R+400+112+400+48+0+0+40+5+0+0+0.5 w+400+176+400+112+3 w+352+192+304+192+3 w+400+208+400+256+0 r+304+192+224+192+0+1000 L+224+192+160+192+0+1+false+5+0 r+400+256+400+320+0+470 w+304+304+304+240+0 w+304+240+464+240+0 w+464+240+464+112+3 w+224+192+224+320+0 g+368+384+368+432+0 w+304+336+304+384+0 w+304+384+368+384+0 w+400+320+400+384+3 w+400+384+368+384+0 R+464+112+464+48+0+0+40+12+0+0+0.5 r+224+384+224+320+0+10000 w+224+384+304+384+0 x+412+316+484+319+4+24+buzzer x+311+342+343+345+4+24+Q2 x+175+374+205+377+4+24+R3 x+134+175+164+178+4+24+U4
According to the simulation it will work but I don't think it can simulate a floating input.
Click on the H to toggle the input.
https://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000015625+10.20027730826997+50+5+43 t+352+192+400+192+0+-1+4.999999999798651+-1.049995645985291e-10+100 f+224+320+304+320+0+1.5+0.02 R+400+112+400+48+0+0+40+5+0+0+0.5 w+400+176+400+112+3 w+352+192+304+192+3 w+400+208+400+256+0 r+304+192+224+192+0+1000 L+224+192+160+192+0+1+false+5+0 r+400+256+400+320+0+470 w+304+304+304+240+0 w+304+240+464+240+0 w+464+240+464+112+3 w+224+192+224+320+0 g+368+384+368+432+0 w+304+336+304+384+0 w+304+384+368+384+0 w+400+320+400+384+3 w+400+384+368+384+0 R+464+112+464+48+0+0+40+12+0+0+0.5 r+224+384+224+320+0+10000 w+224+384+304+384+0 x+412+316+484+319+4+24+buzzer x+311+342+343+345+4+24+Q2 x+175+374+205+377+4+24+R3 x+134+175+164+178+4+24+U4
Yes, having the coil powered all the time is not good. Using a PNP transistor or P-channel MOSFET might work but not sure. The pull down resistor on the base/gate made me thinking, a PNP base/gate should be pulled to V+. It would be a task for a breadboard test. Hooking all up and hoping the magic smoke doesn't appear and all works as intended under various conditions. My understanding of electricity is still 50% voodoo, 30% experience (I know it works but not why) and 20% knowledge.I am now thinking I should have just used another mosfet instead of the 12v relay for the pump.
I am also starting to think about whether I could make a whole new controller using a microcontroller like an attiny85 or something like that programmed accordingly. I don't know programming that well at all but I have messed around with arduino before.
Yes, having the coil powered all the time is not good. Using a PNP transistor or P-channel MOSFET might work but not sure. The pull down resistor on the base/gate made me thinking, a PNP base/gate should be pulled to V+. It would be a task for a breadboard test. Hooking all up and hoping the magic smoke doesn't appear and all works as intended under various conditions. My understanding of electricity is still 50% voodoo, 30% experience (I know it works but not why) and 20% knowledge.
Transistors or MOSFET do basically the same thing. So your build is not bad. I think MOSFETs are just better to switch high loads faster and they are more expensive. But for a custom build at this scale, who wants to be a bean counter over a few cents.
Yes, an Arduino Nano would be great. I would just fear it would go out of control and all the sudden you spend days and nights building a full aquarium controller, the Stellex Poseidon. LOL.
Aww, thanks bud. That means a lot coming from my favorite scaper!Absolutely gorgeous. Your tank is looking aboslutely packed! Another year and it'll look like its been running for 5 years. So good to see scorch again! And yeah gotta love the galaxea, feeding them is a bunch of fun. He'll plate out on his own if you let him, but if you put him on the rockwork he'll sort of encrust/bunch like an acan. It looks really cool but I haven't because of the aggression and its been so happy on the sand.
Almost missed seeing this! Oh my, you've touched my heart with your kind words. Thank you Lchi!Dang it, stella, you’re so good at reefing. Your ability to grow things is truly amazing though, seriously. And look at Scorch! Great photos!!!
Thanks Val! I can agree that it looks good, but I definitely don't love my pics. I need a darn camera!!! And... a tripod so I don't have to rely on my shaky hands, lol.It looks so good! I love the pictures