Putting robotics at your service™

Free shipping on orders over $200

Botboarduino/SSC-32

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 11 posts ]

New ( offline )
Posts: 8
Posted: 2012-06-25 12:09 
 Post subject: 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!


User avatar
Guru ( offline )
Posts: 4118
Posted: 2012-06-25 12:55 
 Post subject: Re: Botboarduino/SSC-32
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

_________________
Visit:
http://groups.yahoo.com/group/SherlineCNC/
http://tech.groups.yahoo.com/group/HexapodRobotIK/


Expert ( offline )
Posts: 265
Posted: 2012-06-25 14:04 
 Post subject: Re: Botboarduino/SSC-32
Check your baudrate settings


User avatar
Guru ( offline )
Posts: 9258
Posted: 2012-06-25 14:16 
 Post subject: Re: Botboarduino/SSC-32
This might help...


_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Rookie ( offline )
Posts: 14
Posted: 2012-06-26 02:01 
 Post subject: Re: Botboarduino/SSC-32
Why you use pins 12 and 13 for the connection and don't use the TX/RX/GND PIN?



User avatar
Guru ( offline )
Posts: 9258
Posted: 2012-06-26 09:53 
 Post subject: Re: Botboarduino/SSC-32
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...

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Rookie ( offline )
Posts: 14
Posted: 2012-06-26 16:04 
 Post subject: Re: Botboarduino/SSC-32
It should be a problem, with a XBee shield.


User avatar
Expert ( offline )
Posts: 253
Posted: 2012-06-26 16:18 
 Post subject: Re: Botboarduino/SSC-32
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.

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


Rookie ( offline )
Posts: 14
Posted: 2012-06-27 07:28 
 Post subject: Re: Botboarduino/SSC-32
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!


User avatar
Expert ( offline )
Posts: 253
Posted: 2012-06-27 09:45 
 Post subject: Re: Botboarduino/SSC-32
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:

Code:
#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...

Code:
#define Xbee Serial

This line makes "Xbee" interchangeable with "Serial".

That way you could do this:

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

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


Rookie ( offline )
Posts: 14
Posted: 2012-06-27 13:10 
 Post subject: Re: Botboarduino/SSC-32
Thank you!

:wink:


 

All times are UTC - 5 hours [ DST ]. It is currently 2014-09-17 07:30
Feedback Form
Feedback Form