Botboarduino/SSC-32

Hi!

I try to send some information from my botboarduino to my SSC-32.
I use the Tx, Rx and Gnd PINs of my botboarduino and I connect them to the SSC-32.
But when I look what I send on an hyperterminal, I don’t have the good things…
Do I need something to do the link as a max232 for example?

Thank you very much!

You should probably post a pix of your wiring. Terminals normally use RS-232. What are you connecting the the BB and the SSC-32 with to be able to watch from terminal?

Alan KM6VV

Check your baudrate settings

This might help…

Why you use pins 12 and 13 for the connection and don’t use the TX/RX/GND PIN?

RX and TX are connected to the USB port. If there is anything connected to them you can not program the board without removing the connections. It also prevent using the hardware serial debugging…

It should be a problem, with a XBee shield.

You can use the Xbee shield with the BotBoarduino. Yes it will connect the Xbee to the UART. Yes this will prevent the board from being programmed while the shield is plugged in. No it will not stop it from working.

Excuse me, if I understand, to use at the same time a XBee shield and the SSC-32 I’ve to connect the SSC-32 at the pins 12-13, it’s right?

In this case whel I use the Serial class, I refer to the XBee or o the SSC-32?

Excuse me but I’m confuse about this double data trasmission.

Thanks!

While using the Xbee shield you will be refering to the Xbee with Serial. As for the SSC-32 you’ll need to use the Software Serial library.

Here’s an example:

#include <SoftwareSerial.h>

SoftwareSerial SSC(12, 13); //Serial object that represents the SSC-32

void setup()
{
   SSC.begin(38400);
   Serial.begin(115200);
}

void loop()
{
   //Code goes here
}

I would actually use a define statement to make my code easier to understand…

#define Xbee Serial

This line makes “Xbee” interchangeable with “Serial”.

That way you could do this:

Xbee.begin(115200); Xbee.print("Hello"); etc...

Thank you!

:wink: