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!
Also I'm not sure if I plugged the cables correctly on the breadboard. I'm plugging the ESC cables only that has GND, VCC and for signal with esp32. The ESC has 2 cables connected to the motor and 2 cables from the battery (positive and negative). The RC receiver is irrelevant at this point since it's not supposed to be connected from the receiver to the breadboard, it's only meant for wireless and long distance communication. Correct me if I'm wrong, I wanna hear opinions!
NOTE: First few pictures are used with portenta H7 and the single breadboard with few cables connected is the esp32 one.
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!
Also I'm not sure if I plugged the cables correctly on the breadboard. I'm plugging the ESC cables only that has GND, VCC and for signal with esp32. The ESC has 2 cables connected to the motor and 2 cables from the battery (positive and negative). The RC receiver is irrelevant at this point since it's not supposed to be connected from the receiver to the breadboard, it's only meant for wireless and long distance communication. Correct me if I'm wrong, I wanna hear opinions!
NOTE: First few pictures are used with portenta H7 and the single breadboard with few cables connected is the esp32 one.