EVShield with RC Servo, Long Range IR, Pneumatic
 Arduino   Started by Matjaz Cof   2015-11-08 10:15:40 -05:00   Comments: 4    Viewed: 665

  1. Matjaz Cof
    Matjaz Cof Member
    Matjaz Cof, 2015-11-08 10:15:40 -05:00
  2. Deepak Patil
    Deepak Patil Administrator Staff Member Richmond
    Deepak Patil, 2015-11-09 11:18:56 -05:00
  3. Matjaz Cof
    Matjaz Cof Member
    OK. I am new to Arduino, so I appologize for stupid questions.

    For HS311 RC Servo is used Servo class. Is there any documentation? I found many on net, but I am not sure if they are correct.

    Servo Operated Pneumatic Valve Kit is also server motor. Which value should I set to write method if I want to open or close pneumatic pump?
    Matjaz Cof, 2015-11-15 15:16:30 -05:00
  4. Michael Giles
    Michael Giles Member Staff Member Richmond, VA
    In the EVshield library there should be an EVShield examples folder. Use the program rc_servo_with_buttons for reference on how to use the Servo library functions in your program. You really only need to give Servo as an instance, use .attach(pin_num) to choose the servo, and .write(pos) to move the servo to the desired position.I'm not exactly sure of the servo position values in this library to turn the valve on and off. You shouldn't need very much movement. You will have to play around with it a bit and get the right values. I know when using this valve with the NXTServo you only needed about 35 degrees in either direction.
    Michael Giles, 2015-11-17 12:28:53 -05:00
  5. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!
Help!