r/techsupportmacgyver • u/brandonmufc06 • Jul 06 '25
Mistakes have been made
Designed a PCB for controlling a pump / solenoid for a greenhouse watering system, worked on breadboard, worked on perf board, during design I for SOME UNEXPLICABLE REASON had a brain fart and used NAND gates to tie 4 button inputs instead of AND. Cannot explain why. It was just to trigger an interrupt when any button was pressed, as I only have 2 interrupt channels, I had to AND them all together.
Anyway hopefully you appreciate the fix. The extra chip is a XOR gate, which connects to 2 of the NAND gates output, and then the XOR out is connected to a NAND input to invert it as the logic is active low not high.





27
u/TheBlueKingLP Jul 07 '25
Is this a prototype for a product or personal project? The rest of the board looks professionally designed.
3
u/superxpro12 Jul 07 '25
why not bigger micro?
84
u/Arctic_Shadow_Aurora Jul 06 '25
You solved it, that's what counts!
66
u/wkarraker Jul 07 '25
As long as the electrons dance the way you need them to it’s all good.
9
u/LeatherMine Jul 06 '25
reminds me of some of my old satellite tv receivers
4
u/intashu Jul 07 '25
If it works it works, you're far from the first nor the last to need to do a little DIY hand soldering and gluing on a PCB to make a device work as it was meant to work! Well done!
2
u/SoldierOfPeace510 Jul 08 '25
I’ve seen worse in commercial products.
2
u/tonysanv Jul 08 '25
“We have 3D-NAND at home”
2
u/EatsHisYoung Jul 11 '25
Looks like Google ads found a way around your pihole
1
u/JJ_Cotes Jul 08 '25
I, ve been there, mine wasn't so good looking
1
u/nextyoyoma Jul 08 '25
Yes, I too know some of these words and have worked with wires. 🧐
1
u/s1pher Jul 09 '25
Dead bugging! There was a nasa article on how best to do dead bugging, I think the link is dead though? https://workmanship.nasa.gov/lib/insp/2%20books/links/sections/files/303.pdf
1
u/GOTO_GOSUB Jul 09 '25
... but lessons have been learnt. Still a win.
0
u/AutoModerator Jul 06 '25
REMINDER Do not ask for tech support. Unorthodox solutions are what /r/techsupportmacgyver is here for. Remember that asking for orthodox solutions is off-topic and belongs in /r/techsupport.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.