Propeller Servo Controller USB

Information

Propeller Servo Controller USB

The Propeller Servo Controller is a fully Open Source 16 channel USB servo controller

 

Finally, a fully open source USB servo controller at a low price ( $40.00 )

Website: http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/595/Default.aspx?txtSearch=servo+controller
Members: 2
Latest Activity: Nov 5, 2011

Controlling the Parallax Servo Controller using RobotSee is easy

 

You just need a few lines:

 


// On my computer the Parallax Servo Controller is connected to COM5 


const( serport, 5 ) // COM5 

global( servonum ) // servo number to move

global( servopos ) // servo position in counts 

global( retval ) // Used to store return value from subroutine

 

seropen( serport, 2400 )

servonum = 0 // Channel 0 of 16

for( servopos = 250 ) // range is 250 to 1250, center = 750

       gosub( moveservo, retval )

       delay( 100 )

next( servopos<1250, servopos+=1 )

end()

 

// “!SC” <channel> <ramp speed> <lowbyte> <highbyte> <CR>

moveservo:

serout( serport, 1, "!SC%b", servonum, 7, servopos&0xff, servopos>>8, 0x0d ) 

return(0)

Discussion Forum

This group does not have any discussions yet.

Comment Wall

Comment

You need to be a member of Propeller Servo Controller USB to add comments!

 

Members (2)

 
 
 

EMGRobotics

© 2017   Created by eric gregori.   Powered by

Badges  |  Report an Issue  |  Terms of Service