- - - - - - - - - - - - - - - LAVENDER TESSMER

Embedded Programming

Troubleshooting


This week I picked up where I left off at the end of electronics design week with continuing to troubleshoot whatever had gone wrong when I was building my circuit board. Initially, I thought the problem was limited to just one short caused by the elbow of the 2x3 header touching one of its nearby traces.

SVG file from KiCAD sent to MODS for milling my board; red circles show the areas that caused problems
Toolpath generated by MODS, showing the areas that became incorrectly attached
Board with problem areas: I had already identified what I thought was the only problem at this point, and removed the material between the traces with a knife.
Looking back at my KiCAD layout, can see the issues now

Upon closer inspection, I realized that there were more problems; together, they were all caused by inadequate distance between traces in my original SVG file. Since the file looked fine, I didn’t realize that some of the traces and footprints had merged together when converted into a milling tool path, I assume since the spaces between some of the items on my board were not large enough to accommodate the width of the 1/64 end mill.

I originally thought this was caused by the part touching the trace
One of the problems detected on the multimeter

After milling, I identified one of these problems and cut out the incorrect connections with an x-acto before assembling my board. However, troubleshooting with a multimeter later revealed there was a short between two of the pins on the 2x3 header; I removed this component, fixed the traces, and reattached it, only to discover that there was an additional problem.

Problem is revealed after removing the ATTiny
Finally

This required removing the ATTiny and performing another repair. Looking back on my earlier process in KiCAD and the SVG file I generated, the three problems are I had are fairly obvious. After everything was reattached, everything appears to be ok.

Programming


After all of the troubleshooting, I was finally able to run the Arduino "Blink" sketch on my board.

Press the button, green light turns off!
Arduino blink sketch