i have esp32 cam thats working. I like to use the workshop code is it posible to have the servo code with the motor code add together to controll the playstaion 3 controller and also controller the wheels. How can i add the codes together?
The truck has one motor to control the wheels and one servo to control steering.
any help please
I'm sorry, but I can't really understand what you're trying to say. I don't want to spent time trying to guess at your intention.
Based upon this post, I have to presume that English isn't your native language. If so, can I suggest that you use Google translate from your native language to English.
The one who has the most fun, wins!
What I believe @videogame95 is asking is can he use a P3 controller to control a radio remote controlled toy truck using an esp32 cam. I am assuming also he wants to use the camera in some way.
I don't know the workshop code being referred to or any of the electronic details of the toy truck.
I am myself not up to speed on the hardware mentioned so far.
More details might help should someone who is up to speed to give a useful reply or just google the question and get ongoing immediate help from an AI which will accept and reply in whatever language is being used.
The one who has the most fun, wins!
FWIW,
I just posed this question to AI (Copilot): Can the ESP32-Cam run the code to interface a PS3 controller to the ESP32 and be used to control a robot car.
The answer was: Yes, the ESP32-CAM can run the code to interface a PS3 controller to the ESP32, with one caveat: The ESP32-CAM has to be used like a normal ESP32 and the camera can NOT be used at the same time as Bluetooth, as they share the same resources. (My paraphrasing of the actual answer).
I’m working on a similar project, I’m using a PS4 controller to control my robot car, using the ESP32 DevKit as the comm interface between the PS4 controller and the Raspberry Pi Pico2W, which is used as the motor controller for the robot car. I don’t have the exact protocol worked out yet for the commands needed to control the cars movement, but the Car <-> ESP32 <-> Pico comm link is working. I can turn on LED's connected to the Pico’s GPIO pins, using the buttons on the PS4. I used Rachael DeBarros’s YT tutorial to get the ESP32 comm link working. (It's slightly different than the Dronebot Workshop code).
thank you I have an extra on to use
@robotbuilder I have old truck toy not work it has one motor for the back wheeel, I've added a servo to use for steering. i like use one code to control truck. i like to use my old sony playstation 3 comtroller, for both steering and driving the motor.
if use the esp32 cam board and L298n board would it work?
I've gpchat to two codes together but with the driver board TB6612Fng .
I could use just a esp32 dev board . or both board.
Is it possible to use esp32cam on its own?
Is their enought gpio pins? on esp32 cam
Sorry if the previous post seemed a bit terse. It is just that like I wrote I am not up to speed with the use of esp32cam and the PS3 controller and don't have the time or need to get up to speed on the subject matter of interest to you. You have to do some research online yourself. It doesn't have to be chatGPT instead learn all about the esp32 and esp32cam and find out about using the PS3 controller for which there are probably projects using it online. That is what I would have to do to "get up to speed" on the information required for your project to be of any help. My first response was just to clarify what you were asking and it is more than I can help you with.
Best wishes with your project and maybe you can post your progress and the outcome it when finished?
