Servo Speed Control MegaADK SoftwareServo.h


im trying control 40 servos, independently, , using pressure sensitive inputs (psi). first step.

i using megaadk, flexiforce type sensors , hitec servos.

the servos should move in tic-toc fashion, between 90 , 130 degrees example.  the psi´s moderate how servos move new position.  so change in resistivity of psi should correspond change in velocity of servo.  if push lightly, servo moves more slowly.  if push hard, servo moves more rapidly final destination.

the problem im having speed regulation of servos.

i able find similar threads, not yet resolved.  

http://forum.arduino.cc/index.php?topic=117879.0

this program softwareservo.h apparently lets 1 modify pulse packet sent servo, give speed regulation.  however, using arduino 1.0.5, , cannot library load via #include command

i message, similar last post.  however when make changes recommended in post, still cannot softwareservo go.  also, im not sure ide is.

my goal control servo speed moving in tic-toc fashion when sensor actuated.  either using softwareservo.h library or other.  please, recommendations help.

c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp: in member function 'uint8_t softwareservo::attach(int)':
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:27: error: 'digitalwrite' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:28: error: 'output' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:28: error: 'pinmode' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp: in member function 'void softwareservo::write(int)':
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:51: error: 'clockcyclespermicrosecond' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp: in static member function 'static void softwareservo::refresh()':
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:73: error: 'millis' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:106: error: 'digitalwrite' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:108: error: 'tcnt0' not declared in scope
c:\users\el americano\documents\arduino\libraries\softwareservo\softwareservo.cpp:123: error: 'digitalwrite' not declared in scope






http://forum.arduino.cc/index.php?topic=117879.0

servo speed control stuff. might consider using servo controllers simplify programming.

http://www.bajdi.com/controlling-a-servo-without-the-delay-function/

http://forum.arduino.cc/index.php/topic,61586.30.html


Arduino Forum > Using Arduino > Project Guidance > Servo Speed Control MegaADK SoftwareServo.h


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62