This Instructable will show you how to modify an Altoids tin for a wireless 2Γ16 character display.
Using an Altoids tin was inspired by the need to have a small yet protective enclosure for a pair of Xbee modules recently bought from Sparkfun.Β I purchased the Xbee Pro modules with external antenna for the extended range the setup provides (useful for future projects).Β Then I realised I would need to mount the antenna socket and have a box to house the circuits.
A L T O I D S !
Overall Configuration
There will be a βremoteβ Altoids tin containing Arduino, LCD and Xbee module.
A second Altoids tin containing an Xbee module only. This connects to the PC with a USB to FTDI serial cable.
Data is sent from the PC using a terminal program such as the Arduino βSerial Monitorβ and appears on the Altoids display.
So here are some possible ideas for use with this setup:
(Data flow PC to Wireless Display)
β Email Notifier
β RSS Feeds
β Facebook/Twitter Updates
β Realtime Clock
(Data flow Wireless Display to PC)
β Weather Station
β Speedometer
β Engine Monitoring
β Heart Rate Monitor
β Other realtime data logging
Letβs get started!
Step 1 Components & Tools
So hereβs a list of what youβre going to need for this project:
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Β A)Β Featured P2P Wireless Setup
β (2x) ALTOIDS TIN
β (1x) Arduino Duemilanove
β (1x) 2Γ16 LCD HD44780
β (4x) Hex Posts/Spacers
β (4x) Matching Screws
β Form of sheet insulation (Card / Foam etc.)
β (2x) Xbee Modules (U.FL antenna connector)
β (2x) U.FL to RP-SMA cable connector
β (2x) Adafruit Industries Xbee Adapter Kit
β (2x) RP-SMA 2.4Ghz Duck Antenna
β (1x) USB type A to type B
β (1x) USB to serial FTDI
β Cat5 Cable
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
I realise that the Xbee modules can be quite costly.
If you still want wireless and youβre content with one-way communication then there are alternative radio modules such as these from HopeRF:
http://shop.jeelabs.com/products/rfm12b
I think itβs worth mentioning that this project can still be effective without wireless communication so why not create a neat USB desktop widget?
B) USB Version Only
If you just want to create a USB Altoids Message Display youβre going to need:
β (1x) ALTOIDS TIN
β (1x) Arduino Duemilanove
β (1x) 2Γ16 LCD HD44780
β (4x) Hex Posts
β (4x) Matching screws
β (1x) USB type A to type B
β Cat5 Cable
β Form of sheet insulation (Card / Foam etc.)
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Tools Needed
β Soldering iron & solder
β Needle-nose pliers
β Scissors
β Tin snips
β Marker pen
β Wire strippers
β Cross head screwdriver
β Fine grade sandpaper
β Drill & bits 3mm + 6.5mm
Step 2 Prepare the surfaceβ¦
Take some sandpaper and begin wearing away the top layer of paint.
(The finer the grade of sandpaper, the smoother the finish)
Step 3 Mark & drill holes
You will need to mark out and drill 6x holes in total.
1. Place the the LCD over the top surface and mark 4x holes (3mm)
Alternatively you could create a cardboard template to be more accurate.
2. Use a larger, 6mm drill for the antenna socket.
I chose to mount the socket on the back left on the tin as this would allow the antenna to be folded down parallel to the case for storage.
3. The final 6mm hole (underneath display) will allow the wires from the LCD to pass through to the inside.
NOTE: Be patient when drilling these holes through the metal. I found that the best solution was to use a combination of a high speed setting and slow movement into the material. If youβre too quick, you can easily deform the metal.
Step 4 Attach the Antenna Socket & Posts
1. Push the RP-SMA antenna socket through the case to the outside.
Leave the locking washer on the inside so that it bites into the metal when tightened.
2. Screw in the 4x hex posts.
You may wish to add matching nuts and locking washers if the posts are too loose.
1. Push the RP-SMA antenna socket through the case to the outside.
Leave the locking washer on the inside so that it bites into the metal when tightened.
2. Screw in the 4x hex posts.
You may wish to add matching nuts and locking washers if the posts are too loose.
Step 5 Insulate!
Now, you donβt want to short out any of your Arduino + Xbee circuits.
Make sure the inside of your case is well insulated.
I just used some black card and cut it to the outline profile of the Altoids tin.
You will need three main insulating panels:
1. Bottom of tin
2. Underside of lid
3. Wrap around panel for Xbee module (see page about adding Xbee)
For more Detail: Wireless Altoids Display