My own microcontroller PCB
I
thought "Myduino" would be a really creative name for my microcontrolle
PCB, but it turns out everyone else also thought about that... so, I
called it, simply, "My own microcontroller PCB", or "MOMPCB".
I chose to do it from scratch, using an ATTiny45. This was
my schematic design:
And this was the PCB design:
I
milled the PCB on the Roland Mill MX-40. After I milled the traces, I
punctured the holes manually, controlling the mill via the computer, as
you can see below:
Then, I soldered the components:
I
know that jumper looks really ugly, but hey, if it's stupid but it
works, it's not stupid! Sadly, as I found out later, it did not work,
so it's just stupid...
Anyway, this is the "final" product, with all the pins labeled:
It
was only upon completion that I noticed a mistake: the pins on the
programmer head were mirrored! Looking at the picure above, the
leftmost pins should be, top to bottom, RST, SCK and MISO, instead of
GND, MOSI and VCC.
I pondered for a while and came to the
conclusion that it would be easier to invert the wires on the
programmer cable. This is the before:
And this is the after:
To test this board, I tried to turn a single LED on and off:
As
I plugged it to my computer, Windows warned about a power surge on the
USB port. So, I chose to power the PCB with an external source, instead
of providing the power via USB.
And... it did not work.
* UPDATE *
So, now that I have finished my final project, it's time to solve pendencies