So after reading some books, learning how to use Eagle, make some pcb’s and solder it, of course. So after some trial and error, you got your own Arduino based board. You upload “your” blink project: Its alive!
So time to do more serious things, you think. And… here is where the real problem starts.
You try to switch a relay via transistor, and your system resets, hey: More decoupling caps you read elsewhere, after that modification, it resets less…
Isolation! You isolate your transistor, your power supply, your board, your cat…
Hey know you got it! So you connect more things to the board: Leds, LCD, stepper drivers, AC motors… Ouch! AC motors was two much: even with the isolation your Arduino based pcb starts to do weird things, like entering into program places which you didn’t programmed this way. You look to your software for the tenth time: No, software is ok. Then you read this coud happen by some interferences.
Or if you are lucky you just get your micro like a zombie doing a strange thing or just the same things in a loop. No button anwers again until you reset the micro.
Re-ruting cables.
You put more caps, a low pass filter, cap filters to earth… and a Jesus star, just in case…
Now it works!!!But, wait. You don’t know exactly why it works, you’ve done that many things… So you are afraid this situation could be not permanent, waiting for the next reset/zombie state.
Maybe you’ve done the right work, but as you don’t know exactly why, you are afraid why it works.
Maybe some of you could identify in the situation I’m now.
So my question to the more expert people is: Ok, there a ton’s of book of how to build your electronics. But is there any book on how to make/modify your work in order to survive to real world???
I will appreciate it so much.
Thank you very much for your time and reading.