0

Adafruit Shield Motor V2 wiring.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit Shield Motor V2 wiring.

by pw44 on Wed Mar 10, 2021 12:48 pm

Hya,

i have a Adafruit Shield Motor V2 and i'm not being able to make it work with a Wemos D1 Mini.

connected power, i2c, but does not work.

i2c address 0x60 (no jumper), stepper on M1 M2, so 1, signal 3V3 or 5V not set.

As a shield on an Arduino Uno it works.

Is it possible to get an wiring example?

Thx in advance

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Re: Adafruit Shield Motor V2 wiring.

by adafruit_support_bill on Wed Mar 10, 2021 1:08 pm

You need just 4 wires: GND, VCC (5v or 3.3v), SDA and SCL. The logic level jumper is set to 5v by default. If you are using 3.3v, you need to cut the 5v jumper trace and solder one to 3.3v.

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Shield Motor V2 wiring.

by pw44 on Thu Mar 11, 2021 7:30 am

Thx, i need 4 fires: VCC GND SDA SCL.

with the shield stacked over the uno, all works.
Uno feeded by USB.

The following configurations are not working:

UNO ---------- SHIELD
sda pin 18 ----- sda
scl pin 19 ----- scl
5v ---------------- vin
gnd ---------------- gnd

or

a4 ----------------- sda
a5 ------------------ scl
5v ----------------- vin
gnd ---------------- gnd

or

a4 ----------------- a4
a5 ------------------ a5l
5v ----------------- vin
gnd ---------------- gnd

Uno feeded by USB


What am i doing wrong?

TIA

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Re: Adafruit Shield Motor V2 wiring.

by adafruit_support_bill on Thu Mar 11, 2021 7:59 am

5v ----------------- vin

VIN is not the place to connect VCC. Since you UNO is 5v, you need to connect 5v to 5v.

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Shield Motor V2 wiring.

by pw44 on Thu Mar 11, 2021 8:26 am

5v to 5v does not even lights the motor shield led.

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Re: Adafruit Shield Motor V2 wiring.

by adafruit_support_bill on Thu Mar 11, 2021 9:05 am

The LED is for motor power, not logic power. Motor power should be connected to the motor power screw terminals.

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Shield Motor V2 wiring.

by pw44 on Thu Mar 11, 2021 10:24 am

yes, but as shield, plugged on top of the UNO, it works without powering extra.

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Re: Adafruit Shield Motor V2 wiring.

by adafruit_support_bill on Thu Mar 11, 2021 11:34 am

yes, but as shield, plugged on top of the UNO, it works without powering extra.

Most likely because you have the VIN jumper installed to take motor power from the VIN pin. This is not the same as logic power. Logic power from the UNO needs to come from the 5v pin.

Please refer to the documentation for motor power options:
https://learn.adafruit.com/adafruit-mot ... -2045947-2

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Shield Motor V2 wiring.

by pw44 on Thu Mar 11, 2021 3:57 pm

yes, i have the VIN jumper installed while testing.

was able to make it work having 5v to 5v pin and 5v to VIN pin.

so, going further. i2c pins are also 5v or 3v3 dependeable, i.e from UNO 5v and from D1 mini 3v3?

i2c pins can either be A4 A5 (motor shield) or SDA SCL (motor shield)?

in any case, either 3V or 5V at motor shield needs to be feeded, or can it be from motor power having VIN jumper installed?

and my design can have a 12V PS to motor power, VIN jumper OFF and 3v3 to motor shield 3V pin coming from D1 mini?

thx for your support.

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Re: Adafruit Shield Motor V2 wiring.

by adafruit_support_bill on Thu Mar 11, 2021 4:25 pm

was able to make it work having 5v to 5v pin and 5v to VIN pin.

That is a good way to overload the 5v regulator of your UNO. Only do this with very small motors.

so, going further. i2c pins are also 5v or 3v3 dependeable, i.e from UNO 5v and from D1 mini 3v3?

As explained above, if you are using a 3.3v processor, you should connect 3.3v logic power to the 3.3v pin and set the logic level jumper accordingly.

in any case, either 3V or 5V at motor shield needs to be feeded, or can it be from motor power having VIN jumper installed?

and my design can have a 12V PS to motor power, VIN jumper OFF and 3v3 to motor shield 3V pin coming from D1 mini?

The logic power MUST be the same as your processor (3.3v or 5v). If you will be powering motors with 12v, run motor power to the motor power terminals. The VIN jumper is irrelevant if the shield is not plugged into an Arduino,

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Re: Adafruit Shield Motor V2 wiring.

by pw44 on Thu Mar 11, 2021 4:36 pm

thx for the fine support.

pw44
 
Posts: 8
Joined: Thu Sep 19, 2013 4:38 pm

Please be positive and constructive with your questions and comments.