I am using the Elegoo UNO R3 which is just the Arduino UNO board with an IO extension board. The boards came as part of this starter kit which uses an app to control the car via WiFi. I looked into the datasheet for the IO extension board and I am pretty sure it has an ESP32 chip on it, only I cannot install <WiFi.h> in the Arduino IDE and cannot find it on the library manager tab either. I have tried to select ESP32 board in the "select board tab" and have tried to use other WiFi libraries for interfacing with ESP 32 boards. I am not sure what the IO extension board is, because it is just listed as such in the build instructions for the kit.
Hi @blacknand. The "WiFi" library you are referring to is written specifically for use with boards that have an ESP32 microcontroller. It can not be used with boards that have other microcontrollers. The UNO R3 derivative board in your Robot Car Kit has an ATmega328P microcontroller. So you can not use the "WiFi" library in sketches you upload to the UNO R3 derivative board. So there is no point in trying to install the WiFi library for use in your UNO R3 sketch.
If you are able to upload sketches to the ESP32 microcontroller on the IO extension board then you can use the "WiFi" library. The library is bundled with the "esp32" boards platform you install via the Arduino IDE Boards Manager, so when you are compiling and uploading for an ESP32 board, you will find that the "WiFi" library is available without you needing to take any special action to install it.
Hi @ptillisch. Thanks for the reply. I am not able to upload sketches onto the IO extension board, it has got a switch for "cam" which you switch to when using the camera and "upload" which you use to upload your sketches. I have to remove the IO extension board and then just upload the sketches to the UNO, because of this I am not sure if it means that I cannot install the "WiFi" library that you mentioned since it would not recognise the board at all.
The only way I can get my sketches to upload is to remove the IO extension board, upload and then re-attatch the extension board when using the car.
Are you sure of this? Can you see a chip or a metal shield on the IO board that says "Espressif" or "ESP32" on it?
I ask because the board's camera module has an ESP32 microcontroller. I would expect the thrifty folks at Elegoo to use that ESP32 for the car's Wi-Fi communications in addition to the camera functionality, rather than shelling out to put yet another ESP32 on the IO extension board.
Ah I think you are right. The camera module is an ESP32 WROVER so I am assuming that is used for the WiFi. You wouldn't happen to know anything about the avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 error though would you? There are a lot of posts on the forum about it but none of them are regarding the extension board. Thanks for the help!
The ESP32 has not been Selected as the target board or - as with some that I have - its Reset button has to be clicked (held down for a second or so) and released when "Uploading.." begins.
Ah ok thanks!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.