Debugging and troubleshooting
Ok. Let's assume something went wrong. how do you go about debugging?
There are a few steps that are you should take before posting to the forum. This is taken from a DIY thread on muffwiggler.com:
"- 1st i try to think about it: WHAT does not work.
- if nothing does work it might be power related,
- if certain functions don't work i take a look at the schematics and check all related parts/values/wiring/solder joints.. i call this greenlining: take out the schematics and use a green pen for marking all connections/values you checked - any color will work, though ;-P
- this might involve some analysis, since sometimes you have more than one error in a function block, or several errors across the module make it hard to localize the error." (by fonik)
The general advice is: check for continuity first, BEFORE connecting power:
"A very valuable preliminary step that I learned from AndrewF is to use a meter across the power rails/pins (+ and -, + and 0, - and 0) to check for shorts on the board. If you get 0R reading, then there is a short somewhere. If you get some other (usually fairly high) value, then you should be good. This has saved me a TON of time looking for shorts manually. There could still be bridges or other defects, but it at least rules out the major ones." (j3rk)
and I have to absoluetey agree with him:
"After a while you get to a point where things just work right first time, most of the time. Don't worry, if it started happening to me, it can happen to you!
However, rule one for me is: don't panic. It's fixable. Quite often the first order of business is to just put it down and go get a decent night of sleep. Chances are the first thing you look at in the morning will be the big stupid thing you forgot or did wrong. Usually wiring problems, although I can pretty much say that I've had every single error happen to me by now. My favorite was the mankato - I was painstaking about getting every little detail right, and then it didn't work at all. The next morning I saw that I had wired the output backwards - ground to tip, tip to ground, completely fubared. An easy mistake to make, easier to fix. My most common mistake is missing a pin when soldering in IC sockets - did that on my latest thing even." (sduck)
"1. check to make sure all components are correct and soldered properly
2. look for solder bridges/bad connections
3. check ic sockets for proper power
4. replace ic's
5. ???"
"re: #4 replace ic's
barring some power supply disaster, it is very rarely the chips.
tho it is tempting to swap them out, better to exhaust all other possibilities 1st.
Chips are not really that fragile, most can take a fair bit of punishment before shitting themselves."
Then Ray of MFOS has a great read on the subject:
http://www.musicfromouterspace.com/analogsynth_new/ELECTRONICS/troubleshooting.html