Pages: 1 [2]   Go Down
Author Topic: Arduino Mega support 14+ servos?  (Read 2873 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To connect power to the ssc-32, there is a small +-+- pin header on the ssc-32 that you can connect the arduino +5v and ground to power the ssc-32 (servos will still need an independent power supply). For communication connect the arduino tx/rx to the ssc-32 TTL serial inpit pins and you are done.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Toronto,Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To connect power to the ssc-32, there is a small +-+- pin header on the ssc-32 that you can connect the arduino +5v and ground to power the ssc-32 (servos will still need an independent power supply). For communication connect the arduino tx/rx to the ssc-32 TTL serial inpit pins and you are done.
Sounds good! Do you have an image or any simple code for communication? I'd like to try it. Thanks a million.
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Below is some info on the ssc-32. Using the arduino you just form the appropriate control strings per the ssc-32 user's manual and send them to the ssc-32. The strings need to be terminated with a carrage return, but println seems to take care of this. On the Lynxmotion forum there is a lot of info for using their ssc-32 with all types of bots. I'll have to look around and see if I saved any ssc-32 code.

http://www.lynxmotion.net/viewforum.php?f=2
http://www.lynxmotion.com/images/html/build136.htm
http://www.lynxmotion.com/p-395-ssc-32-servo-controller.aspx
http://www.lynxmotion.net/viewtopic.php?f=20&t=6343&start=0
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Toronto,Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Cool~ thanks for these info. Wondering if that will be conflict if I use Xbee and SSC-32 because both of them uses RX/TX?
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There may be some useful info in the below discussion.

http://www.lynxmotion.net/viewtopic.php?f=20&t=6730
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Toronto, Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 144
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Best it to use a Arduino Mega if you need both xBee and SSC32. Also do not connect any of them on UART0, so you can program your board without any problems.

If you want to use both with Arduino Uno or Diecimila, I advise you to connect the SSC32 to UART (115200 baud) and xBee to some other pins and use NewSoftSerial (9600 baud or more, to be determined what works best). You will need to unplug the SSC32 (or use a switch) when you program your Arduino board or you will get an error.
Logged


Toronto,Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Best it to use a Arduino Mega if you need both xBee and SSC32. Also do not connect any of them on UART0, so you can program your board without any problems.

If you want to use both with Arduino Uno or Diecimila, I advise you to connect the SSC32 to UART (115200 baud) and xBee to some other pins and use NewSoftSerial (9600 baud or more, to be determined what works best). You will need to unplug the SSC32 (or use a switch) when you program your Arduino board or you will get an error.
I just got my SSC32 yesterday. RoBotX, if you don't mind, could you show me how you wire up SSC32 with mega or uno and some simple code how to control servo? I really need help on this one. Thanks a lot~
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Below is the link to the ssc-32 user's manual where you can get info on how it works.

http://www.lynxmotion.com/images/html/build136.htm
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm a beginner of using arduino..
I also want to control 16 servos in a servo shield and I've a lot of problems
but don't know how to deal with the power supply...
so I can't go to the coding part....
Is it a must to use lipo battery for the shield?
or I can use other method?
Can anyone give me some suggestions?
thanks
Logged

Toronto,Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 30
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you are the same guy I met on Youtube. You don't have to use lipo. As long as you have 6V extra power for servos should be good. You can use NiMa NiCd or whatever you like. over 6V might burned your servo easily. I learned that lesson by burring 4 servos in the row.
Logged

Pages: 1 [2]   Go Up
Jump to: