Motor Shield v2 with ESP32 - possible?

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
guibot
 
Posts: 31
Joined: Tue Jul 29, 2008 8:39 pm

Motor Shield v2 with ESP32 - possible?

Post by guibot »

Hi, just like the topic says, I need to add connectivity to a project where there is an Arduino Uno and an Adafruit Motor Shield v2. I was thinking, instead of having an ESP32 sending commands to the arduino, to bypass the arduino, and have the ESP32 directly interfacing with the Motor Shield, is this possible? If possible, I might need some guidance as I'm a tinkerer, not an engineer, so please forgive me if this is a dumb question.
Thanks in advance

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield v2 with ESP32 - possible?

Post by adafruit_support_bill »

Yes, that should be possible. You will need 4 wires to connect it. And you will need to configure the logic voltage jumper for 3.3v.

The logic voltage jumper is located near the 3v & 5v pins on the shield header. Cut the trace between the center pad and the 5v pad. Then solder a bridge between the center pad and the 3v. pad.

To connect to the ESP32:
  • GND->GND
    3v->3v
    SDA->SDA
    SCL->SCL

User avatar
guibot
 
Posts: 31
Joined: Tue Jul 29, 2008 8:39 pm

Re: Motor Shield v2 with ESP32 - possible?

Post by guibot »

Thanks so much for the fast reply!
And the code should be exactly the same?

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield v2 with ESP32 - possible?

Post by adafruit_support_bill »

Yes. The code should be the same.

User avatar
guibot
 
Posts: 31
Joined: Tue Jul 29, 2008 8:39 pm

Re: Motor Shield v2 with ESP32 - possible?

Post by guibot »

Thanks, I’ll give a try!

User avatar
guibot
 
Posts: 31
Joined: Tue Jul 29, 2008 8:39 pm

Re: Motor Shield v2 with ESP32 - possible?

Post by guibot »

It just works, such a clever and well done shield from Adafruit!!
Thanks so much for helping!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”