Need Help Making RC Car with ESP8266 and Arduino Uno

Its 3.3v

its also 3.3v

This is a group project, my friend had purchased Uno for a previous project, I bought the CAM to add WiFi and bluetooth functionality to the already functioning car made with Uno. Also, we did not have any other module for communication, so we decided on CAM as it also brings a camera to the project.

We can't as the functioning part relies on the Uno with the motor shield being particularly for the Uno, we don't know if and how the CAM can operate such a motor shield. But still we are trying all of our options including this one. I think if it doesn't work with the Uno and the CAM combined, we will probably ditch the Uno.

Can anybody please help with this too?

Most motor drivers on the market work with 3.3V logic, and just about any modern motor driver will outperform one advertised as "Arduino motor shield". Pololu has the best selection, and great user guides, with wiring and powering instructions.

I know, but there is a money limit here. And we have already bought a shield not a driver like L298N which can be used with almost anything. We have this :

The shield is not the problem, and the logic level thing was just a question. My real problem is this

looking at the UNO code in post 1 I cannot see where you open a SoftwareSerial connection to the ESP-CAM and read data
how have you connected the ESP-CAM serial to the UNO?

I am using hardware serial.

The voltages for logic levels would normally be quoted as a percentage of the VCC supply volts. So at a VCC supply volts of 3.3V, its unlikely ESP32 would put out 3.3V for a logic 1, its going to be less, but how much less ?

According to the datasheet I have for an ESP32 the voltage output for a logic high could be within spec at 0.8 x VCC or 2.64V. Now is that enough for a UNO at 5V supply to read a logic high ?

Screenshot - 28_06_2024 , 17_11_35

I guess it should be more than 3v

The ESP32 might put out more than 2.64V and the UNO might work with less than 3.0V, so it can work in practice. But its good design practice to design stuff according to datasheet specs.

So what is the reason for this?

No idea, as I have no idea what you mean by MANUALLY.

When I send the commands through serial monitor, not the CAM or any other thing like that

Uno RX and TX are used by the USB interface for Serial IO
if you have also connected the ESP-CAM serial to RX and TX of the UNO you will have problems

suggest you use AltSoftSerial on the Uno and connect the ESP-CAM Serial1or Serial2 to it

I remove the connections while uploading

k, I will use softwareserial as I am more familiar.

Also what about the echo part?

That won't end well, as you are discovering.

Why bother to post on a technical forum, if you don't pay attention to or understand the replies?

I told you I 'have' when I meant I 'had', I clearly was not going to connect them again, as you guys told me not to connect.

Edit: Also the part you are quoting was the original post which started this thread, so no I was not aware that I shouldn't connect them

Forum members don't know what you are doing. Post details of the revised design.

Its the same thing just the esp is connected on pin 10 & 11 through softwareserial, As told I have not connected rx of esp to arduino