Esp32 comunicating data to Arduino uno

Hi, this is my first time writing on this forum, and I don't speak English as my first language, so I'm sorry in advance in case I don't explain myself clearly.

A month ago, I decided to try and make a chair that moves with two hoverboard wheels (brushless DC motors) controlled by a PS4 controller connected to an ESP32.

Now, to control the speed of the motor using these motor controls (https://www.amazon.com/dp/B087M2378D?ref_=cm_sw_r_cp_ud_dp_2XT3VYFE3J4VSA09PP0E), I need to output 0 to 5V. My plan was to communicate the values of the controller to the ESP32 (and I haven't encountered any problems with that) and then from the ESP to Arduino. However, I haven't found any clear way to do it. So, if someone can give me any advice, I am open to all ideas.

Hi @ascari101
welcome to the arduino-forum.

After registering you got presented a link with introductional information that helps you to

You should post your sketches with which you tried to establish communication between ESP32 and Arduino.

creating 0-5V can be done by a transistor, a resistor and a capacitor.
But this seems not to be nescessary
The motordriver has already an PWM-input

This elimiates the need for an arduino completely.

Which could be driven directly from an ESP32 pin

best regards Stefan

oh ok thank you so much for the reply and the clarification, i thought that the device that sent the PWM had to be at least 5v.

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