Page 1
COM-MOTOR05 Servomotor FS90R with caster 1. GENERAL INFORMATION Dear customer, thank you for choosing our product. In the following, we will show you what is important to observe during the commissioning and the usage. Should you encounter any unexpected problems during use, please do not...
Page 2
2. COMMISSIONING First of all, you have to wind the rubber tires on the rims. After that, you can put the wheel on the white attachment of the motor with gentle pressure. Please note that for direct connection to an Arduino or Raspberry Pi, additional connection cables are required.
Page 3
3. APPLICATION WITH AN ARDUINO // Include Libraries #include "Arduino.h" #include "Servo.h" Servo servo; void setup() Serial.begin(9600); servo.attach(2); void loop() servo.write(180); delay(2000); servo.write(0); delay(2000); servo.write(90); delay(2000); servo.detach();...
Page 4
4. APPLICATION WITH A RASPBERRY PI Initially, connect the motor with your Raspberry Pi like shown in the following connection diagram. Since the motor is connected, you can transmit the following code examples to your Raspberry Pi and test their functions. In general applies: The motor is controlled by the command pwm.ChangeDutyCycle().The value between the brackets, can be among 2.5 and 12.5.
Page 5
import RPi.GPIO GPIO GPIO.setmode(GPIO.BOARD) GPIO.setup(7,GPIO.OUT) GPIO.PWM(7,50) pwm.start(7.5) while True: pwm.ChangeDutyCycle(7.5) time.sleep(1) pwm.ChangeDutyCycle(12.5) time.sleep(1) pwm.ChangeDutyCycle(2.5) time.sleep(1) except KeyboardInterrupt: GPIO.cleanup() Subsequently, you can start the code example with following command: sudo python servo.py You can quit the code example with the key combination Strg+C.
Page 6
We send you a parcel stamp with which you can send us your old appliance free of charge. For this possibility, you must contact us via e-mail at service@joy-it.net or via telephone. Information about packaging: Please package your old appliance safe during transport. Should you not have a suitable packaging material or you do not want to use your own material, you can contact us and we will send you an appropriate package.
Need help?
Do you have a question about the COM-MOTOR05 and is the answer not in the manual?
Questions and answers