New to Arduino - Help with resources to learn how to program additional Servos for an Elegoo smart robot car

Hi!

I'm working on my personal project for my university, where I am making a robot. I have gotten and built an elegoo V4 smart robot car, however, I am looking to add an additional servo (since the robot's arduino shield has space for it). I am also looking for a way to change the code of the robot, so that I can control the new servo with a remote that came with the kit. Any help would be appreciated!

I am using an Arduino Uno R3, and below are attached any related resources for the elegoo smart car itself.

https://www.elegoo.com/en-gb/blogs/arduino-projects/elegoo-smart-robot-car-kit-v4-0-tutorial

I would start by looking for a schematic for the shield, or trying to trace where the spare servo PWM pin connects to on the UNO. Once you know which pin it is, you should be able to attach and control a third servo, assuming the robot power supply can handle it.

Found it!

https://drive.google.com/drive/folders/1OGWDPXKMALmwXZrCxrwO-zCWzvXuK-5q

So from here, how should I proceed?

I had a look at the 2 SmartRobot-Shield PDFs and they both show only 2 servo headers, designated P1 and P10. Maybe I looked at the wrong shield schematic?
The image below is the best I could come up with for an image of the shield on the Smart Robot Car kit.
image
If that is the correct image for the shield, then I can see only Servo1 and Servo2 (just to the left of where it says MPU6050).

That's right. Sorry if it wasn't clear, but at the moment, only one of them, P10 is in use. I still have P1 available

The schematic shows that the drive signal for the servo connected to P1 is routed to pin D11 on the UNO.

From my limited knowledge of the servo library, it should support more than 1 servo using the attach function.

Cool.

Thank you very much for the help!

If you or anyone else has some resources on where I can get started that would be much apprecaited as well!

As in continue from here with this knowledge if it want clear

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.