emergency
(sorry, I'm in a hurry about making this project because I have to attend a competition)
Hello, I am a starter for arduino.
I want to connect an arduino UNO to an esp32-CAM so that I can program both of them.
My final goal is similar to: when something is triggered in arduino, the esp32 camera will capture a photo and send some data to arduino.
I have read some other tutorials and texts and some of them say that I need a FTDI adapter when sending the code to the esp32-camera. Some say that I need a logic level converter because the voltage of esp32 and arduino is different.
I want to know if I can do without the FTDI and logic level converter?
If I must, how is the wiring of it?
Thanks in advance. I would appreciate if anyone could answer my question.
thank you for your links.
however, I think esp32 use 3.3V, while arduino supply 5V.
If I just build the circuit according to the first link, will the esp32 burn out?
Can I simply use a resistor to lower the voltage?
Also, second question: if I want to send data from esp32 to arduino, is the circuit the same?
I suppose that's a good idea. I had read recently a discussion of programming via a Uno. I haven't seen any done 'with' a voltage divider, but it seems prudent.
You asked a question about "How?" and I provided two examples.
IMO, the USB-to-Serial, if it's one that's 3v/5v switchable, may be the 'better' choice.
If you only have a Uno, that's not a bad or inferior way to do it.
Thanks for your information!
That means, you should connect the RX of arduino and RX of esp32 together, instead of RX to TX?
Also, do we need to handle the voltage of the green line with a voltage divider?
If I am sending other data (like when a button has been pressed) from the arduino to the esp32 camera, should I also connect them according to the diagram you drew?
sorry for bothering you for such a long time.
But I want to confirm, when sending the code the esp32, this should be the wiring, right? (left: esp32 cam, right: arduino)
I believe that @caspar9872 means that after the ESP is programmed and caspar now wants to establish serial communications between the Uno and ESP what need to be done