Close

Prototyping

A project log for Alien Die

a pocket fidget cube, puzzle, board game aide, and messenger

andrey-kalmatskiyAndrey Kalmatskiy 01/15/2022 at 18:310 Comments

I got a piece of advice from my friends to always prototype schematics on breadboards. This is the way you can connect and reconnect everything, add or remove components, change controller pins and check everything with an oscillograph".

My controller is small. It's just a 4 mm square.

In order to connect it to a breadboard I needed a QFN-20 0.5mm adapter like this.

I easily found mine on eBay and if it is not the case for your footprint you can always create it as a separate PCB. So I soldered my controller to the adapter with soldering paste and a heat gun. And then I soldered the pins headers:

So this is all breakouts I have so far:

ModelCPUSpeed
MHz
RAM
Program
Memory
 USB PINsPrice
$
Teensy 4.0ARM6001Mb2Mbmicro4020
Teensy 2.0AVR162Kb32Kbmini2516
MineAVR1128 bytes2Kb-172

I spent lots of time trying to make the Arduino-based programmer work with my microcontroller. I almost gave up but soon I found out that the factory ISP programmer is available and it's only $20. When I gave it a try, it connected to my controller in no time and made it work right at the bat.

Then I replicated my schematics on two connected breadboards:

With the help of this mesh of wires and components I managed to write and debug my firmware that can be found here.

Discussions