Basic Implementation of Servo motors in automation
- Download Arduino IDE from https://www.arduino.cc/en/software
- Install Arduino IDE
- Download/Clone this Repository in an accessible location
1.Servo.h
(Install these libraries from this Repository)
You can either use the already pre-installed libraries of Arduino or you can find the libraries by searching them on Library Manager Incase that didn't work I'm also providing the library files which you can isntall by following the below steps:
- After downloading the repository→Extract the library zip files
- Go to Sketch→Include library→Add .ZIP Library
- Select the the library.zip files
- A0 - Pot1
- A1 - Pot2
- A2 - Pot3
- 2 - Push Button
- 3 - Servo1
- 5 - Servo2
- 10 - Servo3
→Choose your port where you've plugged your Arduino UNO
→Check if the baud rate is set to 9600 bps(for serial monitor)
→Select the board to your desired Arduino(UNO for this project)
→You can also Code/Upload Online using Online Code Editor(IDE) at https://create.arduino.cc/editor