Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / [Lilypad] General Questions on: October 08, 2010, 12:53:08 am
Hello all,

I'm working on a project that will be wearable and I stumbled upon the Lilypad, the conducting thread, and the Lilypad vibe board.

For the lilypad, can normal wires with the insulated outsides be used with it?

For the conducting thread, I'm assuming its not insulated at all (not that 5V is really a problem), but are there any problems with it? Does it transfer essentially all 5V if applied from the board?

For the lilypad vibe board, does anyone know the range it operates in and how effective it is compared to  http://www.sparkfun.com/commerce/product_info.php?products_id=8449? i'm looking in using the PWM outputs on the board.

Any help is appreciated.

Alvin
2  Forum 2005-2010 (read only) / Troubleshooting / Arduino Duemilanove, connecting a digital compass on: December 22, 2009, 06:03:43 pm
I have an Arduino Duemilanove board as well as an Oceanserver OS5000S digital compass. I have blunt cut wires for the compass that provide for an RS232 connection, and am connecting the Arduino board via USB. Does this mean I can't use digital ports 0 and 1 for the compass? Anybody have any suggestions on which ports to use or if I can even use this board? Thanks

ahuwaa
3  Forum 2005-2010 (read only) / Interfacing / Re: new software serial library problems on: March 18, 2010, 10:13:44 pm
Sorry I forgot to mention that I set the baud rate to 4800 connecting the compass directly to a computer and programming it from there. It should remember the settings even after the power is lost. Any other suggestions? Thnanks!
4  Forum 2005-2010 (read only) / Interfacing / new software serial library problems on: March 16, 2010, 05:43:26 pm
So I've been trying to use this new software serial software library but I'm getting the wrong output. I'm trying to connect an OS-5000S digital compass using the software serial port. I'm pretty sure my pin configuration is correct, and the compass outputs comma delimited data as a string of characters it seems: e.g. 192.6, 193.5, 196.4...
This is my current code:
#include <NewSoftSerial.h>

#define rxPin 4
#define txPin 5
NewSoftSerial CompassSerial(rxPin, txPin);
int compass;
int test;
int i = 0;
int j = 0;
void setup() {
  
  pinMode(txPin, OUTPUT);
  pinMode(rxPin, INPUT);
  CompassSerial.begin(4800);
  Serial.begin(38400);  
}

void loop() {
  if(CompassSerial.available()) {
    //if(CompassSerial.read()==46) {
    //for(i = 0; i<6; i++) {
    compass = CompassSerial.read();
    
    Serial.println(compass);
    //}
    //}
  }
//   if(CompassSerial.available()) {
//     Serial.println("Hello");
//     if(CompassSerial.read() == 10) {
//       Serial.println("Hello There");
//       while(1) {
//       compass = CompassSerial.read();
//       if(compass == ',') {
//         break;
//       }
//       i++;
//      }
//     }
//     Serial.println("Hello There2");
//   }
//   for(j = 0; j < 6; j++) {
//     Serial.println("Hello There3");
//     CompassSerial.print(compass[j]);
//   }
}
 
So basically I'm just printing out whatever I get, which is:

×
§
·
Û
×
«
¯
·
·
Û
ß
«
Ó
·
ß
ß
§
¯
÷
ï
Û
ß
×
«
×
·
·
Û
×
«
×
·
·
Û
ß
§
Ó
·
ß
ß
«
¯
÷
ï
Û
ß
×
«
ß
·
·
Û
×
§
×
·
·
ß
ß
«
Ó
·
Û
ß
«
¯
÷
ï
Û
ß
×
§
Ó
·
·
Û
×
«
×
·
·
Û
ß
«
×
·
Û
ß
«
¯
÷
ï
Û
¤
I
%
$
$
$
$
$
$
$
%
$
$
$
$
$
$
v


which seems to be junk....can anyone help??
Thanks in advnce
5  Forum 2005-2010 (read only) / Interfacing / Arduino Duemilanove, connecting a digital compass on: December 23, 2009, 11:09:18 am
I have an Arduino Duemilanove board as well as an Oceanserver OS5000S digital compass. I have blunt cut wires for the compass that provide for an RS232 connection, and am connecting the Arduino board via USB. Does this mean I can't use digital ports 0 and 1 for the compass? Anybody have any suggestions on which ports to use or if I can even use this board? Thanks

ahuwaa
Pages: [1]