S A M C H I N

how to make almost anything | fall 2017

Week 6 | Embedded Electronics

I am beginning on my solenoid driving circuit for my final project.
I first designed a schematic by hand and then in Eagle.

I milled the board, soldered it and made some hand-wound solenoids.

I used Atmel Studio and an ICE to program. Voltage good, ISP connection good. It programs! My code is as follows:

Unfortunately, although the board programmed, the solenoids did not work. I completely forgot about biasing them properly. Otherwise, the board worked correctly.