-
1Setup
First, connect the servo motor to Ameba RTL8722DM as shown in the wiring diagram.
-
2Programming
The programming of the Ameba RTL8722DM can be done using Arduino IDE which makes it very easy to write code and upload code to the Ameba Board.
To open the example code in Arduino IDE, Open "File" -> "Examples" -> "AmebaAnalog" -> "ServoSweep".
-
3Final Results!
Verify and upload the code. Press the reset button on Ameba once the uploading is complete.
You will see the servo motor rotate from 0 to 180 degree, and after that rotate back to 0 degree.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.