Close

DIY DRO for Mini Mill

Having settled on some Igaging linear scales and Yuriy Krushelnytskiy’s DIY DRO for Android as mentioned in my Mini Mill posting I set about making the board itself a cheaper prospect.

I am not a big fan of the Arduino boards and their associated shields, as they use a non-standard pin spacing from one side to the other, which is incompatible with 0.1″ perfboard or stripboard, simply so distributors can charge a premium for the boards and shields, many of which do not contain more than a few pennies worth of components.

I can understand the convenience factor and the “plug and play” nature of the shields, however personally I am not willing to pay the premium for them. I would rather spend a little more time on a breadboard or with Eagle designing a more minimalist solution that only uses the components actually required.

At least the Launchpad platform from Texas Instruments is almost compatible with standard 0.1″ perfboard (it does fit, but the pins will be at a little bit of an angle).

Both solutions proposed by Yuriy make use of a 20 pin chip – ATmega328P on the Arduino Uno/Duemilanove/whatever and a MSP430G2553 for the Launchpad, now considering that only 5 I/O pins are actually being used (6 if you connect RX and TX from the bluetooth module), this is a little overkill.

A better choice of chips would be the 14 pin ATtiny24/44/84 from Atmel or the MSP430G2231/MSP430G2211 from Texas Instruments, you are still wasting half the I/O pins, but going smaller still does not really have enough pins.

I have chosen to draw up the circuits with the additional battery, diodes and smoothing capacitor as mentioned in one of Yuriy’s other posts.

ATtiny version:

Single sided board layout with earth plane 45mm x 40mm (1.75″ x 1.6″):
The MSP430G version does not require all of the other resistors as it has built in pull-up/down resistors:
Single sided board with earth plane 40mm (1.6″) square:
Perfboard version drawn using DIY Layout Creator, The battery used here is a 3V CR1220 (bottom middle connections):
In all cases the bluetooth module sits over the top of the battery saving yet more space.
Turning the board 90 degrees, is possibly a better layout it would even be possible to use Female USB type A connectors, that way no cables would need to be cut (£1.93 for 10 and free shipping from ebay).
I have several of each of these various chips, the ATtiny44 chips cost me £1.13 each from RS, the MSP430G2211 cost me $12.90 for 3 x launchpad kits each of which came with a MSP430G2211 and a MSP430G2231 chip, so almost free if you assume $4.90 for the Launchpad  and one chip (now $9.99), or you could simply order some free samples from Texas Instruments.
The board, capacitors and diodes cost pennies, the most expensive part is the bluetooth module at around £4.80 – they pretty much all work on 3.3V or 5V, or any voltage in-between (as do the micro-controllers).

Leave a Reply