Go Down

Topic: Looking for a complete labeled Lilypad diagram (Read 4 times) previous topic - next topic

James Britt

Hi there.  I've just started working with an Arduino  Lilypad and have done a few simple tutorials.

I'm now trying to connect a BlueSMirf Gold shield to the Lilypad.  However, various instructions I've found are lacking details.

For example, this one, by Leah Buechley, is most often referenced, but shows an older version of the Lilypad.

thehighlowtech.com/LilyPad/extend.html

It says nothing about how to power the set up, and (most significant for me) does not say how the pins described map to the hardware.

Theres just a picture of an older board (the current Lilypad, and the BlueSmirf, have six header pins, not four), and this description:

"Attach 5v to PWR, - to GND, tx to RX - I, and rx to TX - O. "

I've found other Web pages describing how to connect things to the Lilypad and they all seem a to assume the reader knows exactly where to find 5v or 3.3v or TX or whatever.  

There's nothing on the Lilypad though that indicates what any of the header pins are.  So I have no idea what pin is 5v, or tx, etc.

I searched around for this info and have found assorted documents and schematics that may have the info I'm looking for, but it's not in a format I can understand.

The closest thing I found was a Lilypad diagram here:

oreilly.com/web-development/excerpts/programming-interactivity/physical-feedback.html

It's an excerpt from the book Programming Interactivity.

The specific image is

figures.oreilly.com/tagoreillycom20090710oreillybooks308088I_book_d1e1/figs/I_mediaobject5_d1e21363-web.png

It's *almost* perfect, but it does not say what the header pins are for (the pins where you would attach a USB link cable).

Does anyone know of such a diagram, something that clearly explains what each and every pin or connector on the Lilypad is for, using a picture or simple drawing of the board itself?


Thanks very much.




fdufnews

#1
Apr 20, 2010, 10:34 am Last Edit: Apr 20, 2010, 10:43 am by fdufnews Reason: 1
There are no labels for the download cable but on the picture you gave the link you can identify what is connected to by reading the labels on the FT232.
For the board on O'Reilly's it is (from top to bottom)
GND
RX
TX
3.3V

If your board has a 6 pins header you can look at the schematic here http://arduino.cc/en/Main/ArduinoBoardLilyPad

James Britt

Thanks for the reply.

I've looked at the schematics but could not make heads or tails of it.

There is section that looks sort of like this:


[font=Courier]
         -----------
        |
DTR   ----*  DTR
TXO   ----*  RXI
RXI   ----*  TXO
VCC   ----*  VCC
GND   ----*  CTS
GND   ----*  GND
        |
         ---------
           JP2
[/font]


And late last night I found this:

www.arduino.cc/en/Main/ArduinoBoardPro

It has, I believe,  the same header pins as the Lilypad, but labeled.

So I'm thinking that in the schematic the values on the left are the Lilypad pins themselves.  I do not know what the values on the right are.

In particular, I see there are two pins labeled GND, but they seem to have different roles.

cr0sh

I -think- this is how things are, based on the image and the schematic:

Starting from 12 o'clock on the LilyPad image, the first pad is Pin 0-RX/D0. Moving counter-clockwise are:

Pin 1 - TX/D1
Pins 2,3,4 - D2, D3, D4
Pin 5 - GND or "-" (ground)
Pin 6 - VCC or "+" (power)
Pins 7,8,9,10,11,12,13,14,15 - D5 thru D13
Pins 16,17,18,19,20,21 - A0 thru A5 (analog pins)

J2, viewing the pins as oriented in the photo, is more tricky - I am basing this pinout on the fact that pin 6 appears to be connected to some SMT part, which I think is a decoupling cap on the schematic (to ground), so pin 1 on J2 would be on the left hand side of that photo:

Pin 1 - DTR
Pin 2 - RX1
Pin 3 - TX0
Pin 4 - VCC
Pin 5 - CTS (pulled LOW to ground)
Pin 6 - GND

Once again, this is all an "educated" guess based on what I can see in the diagram and the photo; take it for what it is worth, which isn't much (if I had one in hand, or a larger photo front and back of the board, it would be easier).

Hope this helps - double check everything I wrote above before using (I really don't trust my guess due to lack of information and not having ever used a LilyPad). Maybe someone else can verify this guess?

:)
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

James Britt

Thanks for the info.  I'm going to see what I can do to verify the details I have; it may involve learning how to read schematics. :)

Go Up