HOW TO CONTROL SERVOMOTORS WITH POTENTIOMETER BY USING UNOARDUSIM V2.2 SOFTWARE FOR ROBOTIC SYSTEM
Abstract
- Servomotor can be controlled by potentiometer with UnoArduSimV2.2 software which consists of a circuit board and can be referred to as a microcontroller and a ready-made software called Arduino IDE which used write and upload the computer code to the physical board and it consists of many I/O devices, we can use inside in it. In this experiment, servo can be connected directly to an Arduino. This arduino can be controlled by four Potentiometer attached to it, each potentiometer is used to control each servo. When we turn the potentiometer, we got the analog value first, after converting this analog value to digital value, we got the degree how to turn the servo with. So we can use these servos by rotating the pots to pick and move the object from one place to another in robotic system. We will connect the power and ground pin directly to the Arduino 5V and GND pins. The PWM input will be connected to one of the Arduino’s digital output pins for servos and analog pins for potentiometer. After writing the sketch, compile, upload button and we can run my work inside in this software.
Collections
Download
Year
- 2020
Author
-
Oak Kar Shin
Subject
- Physics
Publisher
- Myanmar Academy of Arts and Science (MAAS)