Developing Communities Be Good Do Good
Chandler 85248
chandan
Here are the steps for using Grove Servo Motor with Arduino IDE :
1. Connect the barrel connector from the power supply to the board.
2. Connect the middle micro USB port to the computer.
3. Click on the Arduino IDE icon on your desktop or Arduino.exe file in the area where it was installed, for example, It might be found here: C:\Program Files (x86)\Arduino. It will open the Arduino Window for User Interface.
4. Click on the tools tab on the Arduino Window - make sure that Intel edison is selected as the board and proper COM Port (COM3 in our case) is selected.
5. The experiment:
a. Connect the servo motor to D5 pin and see the motor rotate 180 degrees and back in sweep mode.
6. Attach the smallest arm to the motor and Connect the servo motor to Digital 5 (D5) pin.
7. Connect the LCD display to first I2C pin below D5.
8. In a browser window, Please go to https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight.
9. Copy the rgb_lcd.cpp and rgb_lcd.h file to ****/arduino/libraries/src folder in your computer.
10. Go to the C:\Users\****\Documents\Arduino area.
11. Open a new folder named servo-sweep.
12. Click on Arduino Icon on the desktop. From the Arduino Window,
a. Click on File Tab on the top left corner of the window.
b. Click new and name the file as servo-sweep.
e. Copy and past the servo-sweep.ino (local seeestudio) file and save at C:\Users\csl2011\Documents\Arduino\servo-sweep area.
13. Click on the arrow sign for upload below theEdit tab.
a. This will compile and upload the sketch/program to the Edison Board.
b. Compile and upload messages will be displayed on the lower part of the Arduino window.
14. Check out the results: servo motor rotates to 180 in 1 degree increments and comes back to start positon the same way.
Copyright 2019 Chandan Shamala Library. All rights reserved.
Chandler 85248
chandan