Can I use esp32 cam without connect rx,tx on arduino uno?

Here is my idea, I am doing the 2WD Arduino car project controlling using MIT app inventor and connecting with HC-05 Bluetooth. I would like to add on esp32 cam to Arduino but. As you know that HC-05 Bluetooth already uses RX, TX slot. Then, do I have any other ways to solve this problem?
Thank you in advance.

If you mean that the HC-05 is connected to pins 0 and 1 on the Uno then it shouldn't be as that is the hardware Serial interface used to upload code to the Uno and to communicate with the Serial monitor

How exactly do you intend to use the ESP32 Cam with the Uno assuming that you solve any connection problems ?

Sorry, I am still beginning with this. Yes, I am using pins 0 and 1 on the Uno for HC05 Bluetooth. Sorry, do you mean that I cannot add on esp32 cam on Uno because not enough slots or what?

How about I using pins 2 and 3 as RX, TX is this will works?

You can do that using the SoftwareSerial library. There are examples in the IDE

Why do you need to connect the ESP32 CAM to the Uno ?

Because I need to connect it with Vcc and ground. FYI, PSU is batteries. Why do you ask? Do I have other options?

If you are only going to use the Uno to power the ESP (not a good idea, by the way) then why are you asking about pins 0 and 1 of the Uno ?

Oh, that's because I saw in the circuit diagram for esp32 cam new to connect VCC, GND ,RX and TX.

example:

need*

This is my first time want to add on the camera using ESP32 cam. Can I still get IP camera even I am not connecting the ESP32 cam with RX TX?

We are not getting very far here

Do you intend to pass data from the ESP to the Uno, data from the Uno to the ESP or not to pass data between them ?

Basically, I just want to use the esp32 cam as the camera so that I can view it on my own application(using MIT APP INVENTOR).
So the most important that I need was the

  1. Camera works
  2. IP address camera to connect it with my application.

So just provide it power, preferably not from the Uno, and run the appropriate software on it

No connection to the Uno is required

1 Like

Why are we needing the UNO ?

Maybe just use the ESP32 :roll_eyes:

1 Like

It is not at all clear here why a UNO was involved at any stage.

One thing the UNO is not, is a means of providing power for any other device. :roll_eyes:

Most probably because the project started with an Uno and now he wants to add image.

If you go to this other post, you´ll see that OP wants to add 3 MG996R servo motors to the project.

So, he has 3 medium servos and 2 DC motors, thus 7 GPIO pins at least to control. He´ll need two more PWM pins to be able to control speed. ESP32 CAM doesn´t have all those pins available.

There are more points to be discussed regarding this project, from powering to connection:

  • ESP32 is a 3V3 device while the rest of the project is 5V native;
  • If he uses Bluetooth to connect to the ESP, he won´t be able to use wifi (IP Camera) at the same time;

I can foresee some difficulties, but I don´t have enough experience to suggest best solution. Maybe it´s better having ESP32 CAM working independently from Uno, as @UKHeliBob suggested.

I´m not sure if the mobile app can deal with BT and IP connections at the same time either.

@nazrulalzam , if you don´t mind, please share how you decided to go on and if it solved your problems. :wink:

1 Like

That's where you use an I²C "port expander" and/ or PWM/ Servo driver.

Works far better than wrangling an Arduino, least of all a UNO! :roll_eyes:

1 Like

Thank you for your support. :grin:
Any updates I will put them here.

Also, thank you for all the replies in this forum. I will take notes and learn from this discussion. I'm glad I come to this forum. :+1:

1 Like

You are new to this, just take your time to process and clear things.. :wink:
Uno is there only as programmer for esp32 cam, when you upload the code, you don't need rx and tx connection, just power supply for esp32 cam module.

Can you please explain how you came to this conclusion ?

I was referring to the schematic he posted and obvious confusion..
This could help, small 2wd car based on esp32 cam only : Build an ESP32-CAM Robot Car - YouTube