M4B always high when used as stepper, wired to M3B?

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

Moderators: adafruit_support_bill, adafruit

M4B always high when used as stepper, wired to M3B?

Postby SanderP » Sun Dec 23, 2012 10:06 pm

Hi,

I was having trouble getting my stepper to turn properly so I connected 4 LEDs and series resistors to M3 and M4 so I could see in which order the pins were getting powered. That quickly explained why my servo would not turn properly. M4B (M4 pin next to GND) is always high, even when all pins are powered down with 'release()'.

As the pins get cycled when the stepper is being driven by the example program it also remains powered even as the other pins blink on/off in sequence. Using my DVM I can tell that pin 6 on the 595 is always high. Surprisingly this is M3B which is indeed how it's wired to the L293D pin 6 (2Y) which powers M3B. Looking at the image of the PCB it's clear this pin really is wired to M4. Odd.

Naturally the naming of pins is arbitrary and has nothing to do with the odd behavior of my shield but still this was quite confusing when I was trying to debug things. My shield is a couple of years old but it seems this design hasn't changed.

Anyway. My current thinking is that the 595 is broken. I did zap an L293D a while back so perhaps the 595 got a knock on the head as well. Unfortunately it's not socketed so it'll be interesting to desolder and replace it.

I suppose I could move my project to M1/M2 and see if those ports still work.

I guess there really isn't a question here, the debugging has been done. Comments about the apparent M3 and M4 mixup appreciated.

Thanks,

Sander
SanderP
 
Posts: 8
Joined: Wed Feb 16, 2011 5:40 pm

Re: M4B always high when used as stepper, wired to M3B?

Postby adafruit_support_bill » Mon Dec 24, 2012 6:49 am

If you don't have specialized de soldering tools, the easiest way to remove a chip is to clip all the legs and do them one at a time.

I don't have a board here now, but I'll look into the m3/m4 issue when I get back to my lab.
User avatar
adafruit_support_bill
 
Posts: 16048
Joined: Sat Feb 07, 2009 9:11 am


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 5 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]