Its 3.3v
its also 3.3v
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 ?
So for a 5 volt arduino board the minimum input pin voltage guaranteed to be detected as a HIGH is +3.0 vdc.
From the datasheet Section 28.2, for an UNO running at 5V a digital input will read high at a voltage of just 0.6V. Is this correct?. Mark
I guess it should be more than 3v
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?
when I send the commands MANUALLY through serial it works, but when esp sends them, it does not respond, I think it has to do something with the commands being echoed as without they are not visible
So what is the reason for this?
when I send the commands MANUALLY through serial it works, but when esp sends them, it does not respond, I think it has to do something with the commands being echoed as without they are not visible
No idea, as I have no idea what you mean by MANUALLY.
no idea what you mean by MANUALLY.
When I send the commands through serial monitor, not the CAM or any other thing like that
I have connected RX of ESP32-CAM to TX of Arduino Uno and TX of ESP32-CAM to RX of Arduino Uno. I have provided power to both the shield and the ESP32-CAM using the ftdi programmer's vcc.
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
Uno RX and TX are used by the USB interface for Serial IO
I remove the connections while uploading
suggest you use AltSoftSerial on the Uno and connect the ESP-CAM Serial1or Serial2 to it
k, I will use softwareserial as I am more familiar.
Also what about the echo part?
with the commands being echoed as without they are not visible
I have connected RX of ESP32-CAM to TX of Arduino Uno and TX of ESP32-CAM to RX of Arduino Uno.
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