Tuesday, January 25, 2011

Meccano is Great

Meccano/Erector is a great prototyping and one-off construction tool.
Here's a device sitting on my desk that I use almost every day.

The mount is resizeable so that any ipod case can slide in and out and be held in place only by friction. This allows me to quickly insert/remove the Ipod before I head home from work.
The back also has a vertical slider so that the viewing angle can be changed.


I enjoy the look of the newer, more industrial looking meccano pieces.

Wednesday, February 24, 2010

Lego RC with Xbee


I've had a conundrum for a while. How to control my RC projects with a ready-made, swappable controller and power board. Many of my recent projects are Lego based, but some are not. My objectives were:

CONTROLLER:
Dual Analog
Dials
Buttons
Toggle
Extra outputs to allow expansion (serial to LCD screen)
Vibration
9V Powered

MOTOR SHIELD:
More outputs than other motor shields
Use XBee devices.
No tunneling
Hot swappable without reconfiguration
Make as an Arduino shield (to avoid reprogramming)
Servo Outputs
PWM (analog motor) outputs
Digital Outputs
Outputs should be amplified
Integrated trimpots and switches for easy configuration
Technics (Lego) hole compatibility

I set off designing the controller board first. I ordered some components from Sparkfun and got the rest from my local electronics store (Elliot Electronics for those of you in Tucson). Some of the components are from DigiKey as well

I based this design on the atmega 328 surface mount board. I built it from the ground up as a non-shield design, but it's basically an arduino without the USB interface.

Normally I use BatchPCB available through Sparkfun.com to make my PCBs, but this time I tried PCB-Pool. That's why the board looks different.

The output from this board (over XBee) will always be the same. Short packets sent out in API mode to whatever remote device is attached to the other Xbee unit. For convenience sake, I used the Xbee API mode library located here : http://code.google.com/p/xbee-arduino/
Thanks Andrew!!!!


After I got the code working all Peachy-like. I started on the other end of the project. The motor shield



I figured by using some clever programming, i could leverage the existing servo and PWM outputs into a ton more. Using a shift register and some switch logic, I expanded the outputs enough to get:
4 PWM Motor Ports
4 Digital Output Ports
4 Servo Ports
TX and RX unaffected on pins 0 and 1
an enable port (pin 13) to avoid startup jittering

So far I haven't had a chance to mount it into an actual project, but I've got a couple projects at the house waiting to be powered up. As you can see in the video, though. The outputs work great, and using the Power Functions Kit and some Servo brackets (mindsensors.com). I can get more devices attached than by using NXT!

Sunday, November 8, 2009

FreePoint SMT Video

I took a video of the surface mounting of a Freepoint Micro board. It's amazing how fast I work...

Several of the pads are for unnecessary components, which is why they're not filled in.

Sunday, August 2, 2009

Rocket Chute Deployment

I have a friend who does model rockets as a hobby. He was looking at getting an off-the-shelf deployment module for adding a parachute to his project. I mentioned that we could do it with an arduino and some sensors.
I had him check digikey.com for a cheap altimeter, and we found one for $7, but the lead time was too long. He's moving pretty soon, so we needed an immediate solution. I decided that we could use an accelerometer, and when it reads 0-Gs on the vertical axis, we'd know it was free-falling. (or had ended acceleration)

We set up a timer that would deploy the parachute a given time after the acceleration ends.


The red and blue wires arm the device. These get twisted together after you get the rocket set up. so it won't go off unexpectedly. The device also monitors the nichrome ignition wires. If one of the wires gets broken, you can tell from the LED indicators on the bottom.

Here's the underside of the board. I drew it up in EAGLE and etched it in the shop at work. You can see it's a little on the hablich side, needs a dose of alcohol and it could also use a small redesign. I noticed after I got the software running that a couple of the outputs were configured wrong in the hardware. If I ever make a V2.0, it'll be a little more attractive.

Hopefully we'll be able to test it out next week after I get back from Mexico.

Friday, May 29, 2009

Agitation

I've been etching numerous PCBs at work for various little projects, and one of the annoying parts of etching is the actual etch process. The copper clad board is immersed in Ferrocloric acid in order to etch away the exposed portions of the board. During the etch, the liquid should be agitated in order to achieve maximum saturation. I got tired of jiggling the tupperware around for 20 minutes, so I built an agitator!


You can see that this project uses the make controller as well as an erector set. I used a HiTec 645MG servo for the agitation.


Here's the video. Rated PG-13 for intense battle sequences and some scary images:

I didn't have anything to etch at the moment, so the video shows the tub with Mountain Dew in it instead. Maybe that would be good for etching designs in teeth...

As you can see, the servo oscillates above and below the horizontal. This ensures that the acid flows both ways.

I made a circuit board for a device we're calling FreePoint. This is the prototype design that's made to plug in as an arduino shield. The final version will be standalone.