About ESP32CAM and MEGA2560 ROBOT car

Hi,
there are many Arduino controlled CAR, there are many ESP32CAM controlled car, if I like the car to do lot of works, I mean it is a little more complex sketch for Arduino:

  1. should I use an ESP32CAM alone to control the car, is that powerful enough ?
  2. or should I use an Arduino + ESP32CAM combine to control the car where the ESP32 just works as WIFI sensor?
    Thanks
    Adam

How can we answer that question?
Powerful enough to do what?

1 Like

Thanks.
Seems there are not many pins on ESP32?
if I need ultrasonic obstacle sensor / floor cliff / warning LED etc.

Mine seems to have quite a few.

1 Like

Extremely bad idea! :face_with_raised_eyebrow:

Very inefficient and tedious to program the communication between the two devices.

If you need more I/O, you use "Port Expanders" or interface modules for specific purposes such as motor drivers.

1 Like

Thanks.
I missed ESP32CAM and ESP32, the former is what I like to ask.

Thank you Paul_B.
One more question is does ESP32CAM powerful enough to do calculation like ultrasonic sensor's data processing like MEGA2560 does ?

BTW. I didn't find any ESP32CAM pin expander yet.
I have all items listed in the picture below.

That is a disturbingly humorous question!

It's an ESP32!

You are asking whether an Intel I7 PC can perform the same functions as a Commodore 64! :grin:

I really have no idea whether there are specific pin expanders for an ESP32. Pin expanders are a generic item.

Thanks.
how about the WiFi Version of Arduino and MEGA2560 +WiFi be used? can them work properly ?

Arduino_WiFi

Wouldn't advise it for a multitude of reasons. :roll_eyes:

Think I answered it all in #5. :face_with_raised_eyebrow:

1 Like

The Mega is 5v logic.

ESP32 is 3.3v.

Can you guess what happens in this setup ?

GNDs :thinking: ?

1 Like

Thank you Paul_B,
yes, you answered it, it's why I like to make clear:

  1. how to get Arduino / MEGA2560 work with WiFi?
  2. how about the existing ArduinoWiFi products for? and even more new products coming up?

Neither of those have WiFi capability, better to use an ESP32.

The ESP32 will do the job very well. And it is an awful lot cheaper than any "new" (or existing) Arduino WiFi products and I venture to say, cleaner to program.

I can't see why you would not want to use the ESP32. :roll_eyes:

1 Like

Lack of 5V I/O compatibility?

1 Like

74HCT chips.

1 Like

I believe that the ESP32 does support floating point divide and multiply :wink:

1 Like

Thanks.
I'll try to shift to ESP, actually ESP32CAM.

still the question is if I use ESP32CAM, which I2C being used by CAM, is it possibly to add IO expander?
if I use a FPC shown below, can that I2C function well when CAM stream?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.