Sunday, February 17, 2013

Programming a LilyPad with a UARTsBee 3.1

The only reason you could possibly want to read this is if you have a UartSBee v3.1 and want to program an Arduino Lilypad with it.

I just got myself an Arduino Lilypad to experiment with some wearable electronics projects, and tried to program the Lilypad with the UartSBee v3.1 that I had lying around at home. If you're new to this, it's just a USB-Serial adapter with a Bee socket.

The Googles don't seem to know much about how to program a Lilypad with a UartSBee. Everyone seems to be using an FTDI breakout board for this. With a UartSBee v4, it's straightforward because you can just use a 6-pin FTDI cable. With the UartSBee v3.1, this is how you can use 5 wires with female connectors attached to the bent pins on the UartSBee and connect them to the bent pins on the LilyPad. Just use the following wiring scheme. Please note that the CTS pin on the LilyPad doesn't need to be connected.

Just wire it up like this, flip the voltage switch on the UartSBee to 5V, and your Arduino IDE should be able to upload your sketches to the Lilypad as you would expect.

No comments: