Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sat May 18, 2013 11:37 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 161 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next
Author Message
PostPosted: Sun Sep 16, 2012 6:15 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
kurte wrote:
I had a chance to take a look this evening and found a bug (used || instead of |). Appears to be working now...

Github updated.

Kurt


That's real nice of you.
I will try that in some minutes..

I can't say "Thanks" each time you answer or help me cause there will be only that in the thread .. LOL..

So Thanks a lot for helping me

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 6:58 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
kurte wrote:
I had a chance to take a look this evening and found a bug (used || instead of |). Appears to be working now...

Github updated.

Kurt


Nothing.. i might be doing somthing wrong for sure.

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 7:22 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
Did a quick test

- I made a cable to run my FTDI adapter direct to the SSC-32 serial port
- Hook to a Putty serial screen and it the servo respond to commands

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 8:01 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Two things to check.

Baud rate to ssc32: should be set to 38400

Code may be configured to output binary mode. If ssc does not support, there is a define named something like binarymode, comment it out...

Kurt


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 8:15 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
kurte wrote:
Two things to check.

Baud rate to ssc32: should be set to 38400

Code may be configured to output binary mode. If ssc does not support, there is a define named something like binarymode, comment it out...

Kurt


Baud Rate is check and confirm (since in serial command i am in 38400)
How do i know if my SSC support binay ? (i can upgrade that ?) (ver: SSC32-V2.03XE)

Did a test with that commented
But don't look to be working that way too.

Code:
//#define   cSSC_BINARYMODE   1         // Define if your SSC-32 card supports binary mode.


In a serial windows i have the "Rd" going and going

Here is a picture of the SSC-32

Image

Here is a video of the SSC-32 connected with Lynxterm with my FTDI adapter.
It look that one of my servo don't like too fast refresh... :(


_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 8:20 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Now I have my computer on...

First to enable/disable Binary mode: the configuration option is:
Code:
#define   cSSC_BINARYMODE   1


Binary mode was added to some later versions of the firmware. It is not there by default. You can download and install a version from the SSS-32 product page: http://www.lynxmotion.com/p-395-ssc-32- ... oller.aspx

Look for the ones that have EGP at the end of their name.

Kurt

P.S. - If I were you I would simply undo the define above and see if it starts to work


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 8:46 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
OK... found my bad...

There is two identical define

Quote:
// NOW split up the two global configurations...
//==================================================================================================================================
//==================================================================================================================================
//==================================================================================================================================
// Kurts THR4 with SSC-32 - Can be several different processors configured here.
//==================================================================================================================================
#ifdef DBGSerial
#define OPT_TERMINAL_MONITOR // Only allow this to be defined if we have a debug serial port
#endif

#ifdef OPT_TERMINAL_MONITOR
//#define OPT_SSC_FORWARDER // only useful if terminal monitor is enabled
#define OPT_FIND_SERVO_OFFSETS // Only useful if terminal monitor is enabled
#endif

#define OPT_GPPLAYER

#define USE_SSC32
//#define cSSC_BINARYMODE 1 // Define if your SSC-32 card supports binary mode.

// Debug options
//#define DEBUG_IOPINS // used to control if we are going to use IO pins for debug support

//==================================================================================================================================
//==================================================================================================================================
//==================================================================================================================================
// CHR-3
//==================================================================================================================================
#define USE_SSC32
//#define cSSC_BINARYMODE 1 // Define if your SSC-32 card supports binary mode.

//[SERIAL CONNECTIONS]


// Warning I will undefine some components as the non-megas don't have enough memory...
//#undef OPT_FIND_SERVO_OFFSETS

#define cSSC_BAUD 38400 //SSC32 BAUD rate

//--------------------------------------------------------------------


I changed the second one that time.. Perfect.. ;)

btw: can't download any firmware cause the server is down..

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 9:46 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
and the video...!!


_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 9:58 am 
Offline
Robot Guru
User avatar

Joined: Wed Feb 27, 2008 8:59 am
Posts: 3140
Location: Online @ innerbreed.co.uk
Its alive... nice one.
Bet you cant wait for the shipment from shapeways hay. :wink:

_________________
Jonny Poole,
Freelance Concept Art & Animatronics, 3D Art and 3D Modelling, as well as Physical Modelling, Mechanical design, and illustration.
http://www.innerbreed.co.uk/
Create, Innovate, Inspire.


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 10:06 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
innerbreed wrote:
Its alive... nice one.
Bet you cant wait for the shipment from shapeways hay. :wink:


I don't even have a date.. :(

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Sun Sep 16, 2012 3:18 pm 
Offline
Robot Guru
User avatar

Joined: Wed Feb 27, 2008 8:59 am
Posts: 3140
Location: Online @ innerbreed.co.uk
Yeah... Been there my friend. Lol

they usually provide a dispatch day before checkout?

_________________
Jonny Poole,
Freelance Concept Art & Animatronics, 3D Art and 3D Modelling, as well as Physical Modelling, Mechanical design, and illustration.
http://www.innerbreed.co.uk/
Create, Innovate, Inspire.


Top
 Profile  
 
PostPosted: Mon Sep 17, 2012 7:33 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
Getting my hand on some programming to control Servo direct from a Arduino ...
Yes.. i guess all of you are laughing..

So here is where i am.. Two servo driven from my ProMini shield.
Initialisation sequence ( 10deg - 90deg - 170deg - 90deg )
The two servo move at different speed and at the same time.
Blinking at a 100us rate



Attachments:
Innerbreed___Servo_move .zip [1.36 KiB]
Downloaded 15 times

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...
Top
 Profile  
 
PostPosted: Mon Sep 17, 2012 7:57 pm 
Offline
Roboteer

Joined: Sat Apr 23, 2011 9:07 am
Posts: 262
Location: Maryland, USA
Eric,

Interesting video. But I noticed the servos really didn't do much until the baby started yelling at them. Who did you say was in control? :P

_________________
Ted, RoboTed
Never quite finishing means never having to admit failure!


Top
 Profile  
 
PostPosted: Mon Sep 17, 2012 8:16 pm 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
RoboTed wrote:
Eric,

Interesting video. But I noticed the servos really didn't do much until the baby started yelling at them. Who did you say was in control? :P


HaHa.. i integrated some voice recognition.. :shock:

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
PostPosted: Wed Sep 19, 2012 5:35 am 
Offline
Robot Guru
User avatar

Joined: Tue Nov 02, 2010 9:39 pm
Posts: 1431
Location: Quebec Canada
Little update...
The 3D printed parts should be shipped 26 of september...

_________________
Eric Nantel
Qc Canada

Always liked Robot... Now i am learning to make some...! Wonderfull...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 161 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
Powered by phpBB® Forum Software © phpBB Group