Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sun May 19, 2013 12:15 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Botboarduino/SSC-32
PostPosted: Mon Jun 25, 2012 11:09 am 
Offline
Roboteer

Joined: Fri May 25, 2012 4:52 am
Posts: 8
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!


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Mon Jun 25, 2012 11:55 am 
Offline
Robot Guru
User avatar

Joined: Fri May 25, 2007 8:21 pm
Posts: 3868
Location: Central Coast, CA, USA
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/


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Mon Jun 25, 2012 1:04 pm 
Offline
Roboteer

Joined: Wed Dec 06, 2006 2:24 pm
Posts: 210
Location: Tucson AZ
Check your baudrate settings


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Mon Jun 25, 2012 1:16 pm 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
This might help...

Image

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


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Tue Jun 26, 2012 1:01 am 
Offline
Roboteer

Joined: Wed Jun 06, 2012 6:25 am
Posts: 14
Why you use pins 12 and 13 for the connection and don't use the TX/RX/GND PIN?

Image


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Tue Jun 26, 2012 8:53 am 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
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...


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Tue Jun 26, 2012 3:04 pm 
Offline
Roboteer

Joined: Wed Jun 06, 2012 6:25 am
Posts: 14
It should be a problem, with a XBee shield.


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Tue Jun 26, 2012 3:18 pm 
Offline
Arduino Wizard-in-Training
User avatar

Joined: Thu Sep 09, 2010 4:56 pm
Posts: 252
Location: I don't even know
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.


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Wed Jun 27, 2012 6:28 am 
Offline
Roboteer

Joined: Wed Jun 06, 2012 6:25 am
Posts: 14
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!


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Wed Jun 27, 2012 8:45 am 
Offline
Arduino Wizard-in-Training
User avatar

Joined: Thu Sep 09, 2010 4:56 pm
Posts: 252
Location: I don't even know
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.


Top
 Profile  
 
 Post subject: Re: Botboarduino/SSC-32
PostPosted: Wed Jun 27, 2012 12:10 pm 
Offline
Roboteer

Joined: Wed Jun 06, 2012 6:25 am
Posts: 14
Thank you!

:wink:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group