Archive

Archive for the ‘Projects’ Category

Xbee/Zigbee notes

December 25th, 2009 Andrew 4 comments

I’ve been using the XBee and the XBee Pro over the last couple of weeks and I’d thought I would share my notes on them:

1. The maximum “recommended” baud rate is 115200 baud.  The specifications says that the max baud rate is 250000, but that is for RF transmission. You can set nonstandard baud rates and even go higher than 115200 using the API or AT commands, but it could lead to corrupt data and lost packets.

2. Hardware “Flow Control” is a MUST. Always check the CTS (Cear to Send) line to see if the XBee is even ready to send a new packet. If you don’t, the Xbee’s send buffer will fill up quickly and packets will be lost.

3. You can actually use two different baud rates on both sides. Lets say you have a device (such as a USART camera) that communicates at 9600 baud. You can configure the Xbee to run at 9600bps , and send it to another Xbee that is configured to say 38400 baud. Sending to a device with a higher baud rate is usually not a problem, but sending to a lower baud rate device can lead to packet loss if you don’t use flow control.

Read more…

Categories: Projects, Technology Tags:

Blinder Progress Report

December 15th, 2009 Andrew No comments

So, to continue with my obsession with lighting, I wanted to design my own high brightness wall washer. It had to be overkill though, that’s just how I roll! My project is named the “Blinder,” for obvious reasons. One unit has 8 high brightness 3W multicolor LED’s mounted to a long aluminum backplating. The system pulls approximately 8.4 amps at 5V (42 watts) during full brightness. Since I am cheap, I’m using a 300w ATX power supply I ripped from an old computer. I can control the unit wirelessly using Xbee which talks to an AVR microcontroller which controls the LEDs via an LED Driver (Texas Instrument’s TLC5947). All of these components are mounted onto a custom-designed PCB I had manufactured at Gold Phoneix PCB. To top all of the insanity, I’m making 3 of these! Yea, you’re right.. I just cranked it to 11.

The build is currently a work in progress. I have only started to finish one of them. Since it is final’s week, I haven’t had much time to work on them. I will post the full source code, schematics, and videos sometime after Christmas break. Until then, enjoy the timelapse footage of me building the LED drivers one at a time with a short video of one set running the demo software.



So far I would like to thank TNTech’s Baja Team (specifically Frank Smith) for letting me use their shop and helping me with the metal forming. Mwhaha

Edit: I found a bug in my firmware used in testing that reduces the brightness by a half (I needed one more bit shift!) – so the video at the end of the timelapse doesn’t do much justice anymore!

Categories: Programming, Projects Tags: