EmbStudent
New Member
Hey guys,
I'd really appreciate if someone could help a newbie student specializing in embedded systems. My task is to control an RC-car using the Arduino IDE with USB cable on portenta h7 microcontroller that has 10 ultrasonic sensors to drive by itself rather than wireless. So I need to do some modifications of hardware and software in order to do that. The car is basically going to drive by itself with USB PLUGGED IN according to the instructions I'm giving it. Right now I'm testing this car on my doit esp32 dev kit v1 microcontroller at home. The servo is located on the front of the car (it is a front-wheel driven car) it has a cable connected to the servo which is GND, VCC and for signal and its cable is independent from motor and ESC as illustrated in the picture. Right now I am just testing the motor if it turns on so I'm not plugging power to the servo from my esp32. My main goal right now is to get the motor spinning using the battery nimh providing 7.2V and ESC that's connected to one another. I'm providing battery to the ESC from esp32 (GND, VCC, signal) by plugging it into gnd, V5 and GPIO12 which can read PMW signal. The code and the set up in Arduino is a bit complicated since I tried various codes and it doesn't work. If anyone could help me I would really appeciate you so much!
I'd really appreciate if someone could help a newbie student specializing in embedded systems. My task is to control an RC-car using the Arduino IDE with USB cable on portenta h7 microcontroller that has 10 ultrasonic sensors to drive by itself rather than wireless. So I need to do some modifications of hardware and software in order to do that. The car is basically going to drive by itself with USB PLUGGED IN according to the instructions I'm giving it. Right now I'm testing this car on my doit esp32 dev kit v1 microcontroller at home. The servo is located on the front of the car (it is a front-wheel driven car) it has a cable connected to the servo which is GND, VCC and for signal and its cable is independent from motor and ESC as illustrated in the picture. Right now I am just testing the motor if it turns on so I'm not plugging power to the servo from my esp32. My main goal right now is to get the motor spinning using the battery nimh providing 7.2V and ESC that's connected to one another. I'm providing battery to the ESC from esp32 (GND, VCC, signal) by plugging it into gnd, V5 and GPIO12 which can read PMW signal. The code and the set up in Arduino is a bit complicated since I tried various codes and it doesn't work. If anyone could help me I would really appeciate you so much!
Last edited: