Thursday, September 29, 2016

Arduino Nano as a ISP programmer

So, rather than buying a programmer, I decided to make my own using an Arduino Nano, altogether I was able to save about.. 1 euro.. and only invested several hours.. :)

I mostly followed this awesome tutorial

With minor changes:
(1) I used a single RGB led with a 1 KOhm resistor. The RGB led is interesting because since different colors have different resistance you have a sort of priority of colors. In this case:
If Red is on, then it will show Red independently of Green or Blue status.
If Red is off and Green is on, it will show Green independently of Blue status.
If Red and Green are off and Blue is on it will (duh) show Blue.

This is awesome since I can use blue for the watchdog, green for write and red for error, all with just one led.

(2) I've removed the external crystal by adapting the "minimal setup" shown here.

I still need to  wait for my ZIF to arrive and then design/printout the casing + do the soldering, but after many hours I'll be happy because I saved about 1 euro if at all. :)

In the casing, I'll probably add slots so that I can easily plug-in the clock and capacitors in the future.

The capacitor shown of the left of the Nano is required for most cheap ones and must be removed when programming the nano itself, so my casing will also have a "Program Arduino/Program Atmega" switch that disables the capacitor when programming the arduino directly.

Wednesday, September 28, 2016


As a way for me to keep up, here is a list of my current on-going pet projects.

Task clock - A countdown timer capable of holding multiple countdowns for independent tasks.
Its an hardware fun project, involves soldering and 3d printing. Most of it is planned in my mind and plenty of parts have been bought and are its way. Currently I'm trying to get an Arduino Nano to program an atmega328p which will be the micro-controller used. 

Still not sure:
- how I'll be able to upload new tasks (if possible at all)
- whether or not I'll have support for batteries (requires a power booster for the LCD and battery charging circuits)

Board Charts - Trying to extract line/circles information from a picture and overlaying that information as a way to make it look more professional.

MOonRails - Making programming for micro-controllers easier by merging code conventions and communication standards. That's all I can say for now ;)