Tag Archives: Servos

AI on the Jetson Nano LESSON 32: Tracking an Object with Servos in OpenCV

In this lesson we actively track an object using the Jetson Nano, pan/tilt servos, and OpenCV. In order for this code to work, you need to first set up your servos, as explained in Lesson 31 on youtube. Make sure to follow the instructions on that lesson before trying to do this one, as that will show you how to get your servos connected and set up.

 

Arduino Tutorial 33: Understanding How to Control Servos with a Joystick

In this lesson we show you how to precisely control the position of two servos using a joystick. We derive the math equations which will allow you to get smooth and precise control of the servo. We also add a buzzer to the project to create an audible alarm when the button the joystick is pressed.

If you want to follow along at home, you can order the Arduino Kit we are using HERE.

Typically, the servos in electronics kits are not the best ones, but are suitable to learn with. If you want a more stable and better quality servo, this is the one I user in more of my projects: HiTEC

Below is the code we developed in this project.