Pages: [1]   Go Down
Author Topic: Issue with digital pin34 on Arduino Mega 2560...  (Read 547 times)
0 Members and 1 Guest are viewing this topic.
West Virginia
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using an Arduino Mega 2560 R3 board to control several motors (controlled by h-bridges).  All of the motors are working fine, except the one that is connected to digital pin 34 (this controls motor forward direction).  Digital pin33 controls the reverse direction for the same motor.

When I set digital pin 34 HIGH the motor doesn't move, so i tried applying 5v to the pin directly (using a jumper wire).  If I put a jumper wire between the Arduino 5V pin and digital pin 33 the motor spins in reverse.  When I connect a jumper from 5v to digital pin 34 the Arduino resets.  I have both pins setup as OUTPUTs, so I am not sure what is going wrong.  Does digital pin 34 have some other special function that might be causing this?
Logged

San Jose, CA
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, were you able to resolve this issue. I am seeing the same problem where Pin34 is staying HIGH. I can switch the input to other pins but I want to figure out what's going on. Thanks.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 64
Posts: 6055
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In the post from March it sounds like the pin was damaged and shorted to ground.

I don't have enough information to guess at the new post's issue.

I doubt it's an endemic problem with that pin.  Instead this is probably just a coincidence.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Pages: [1]   Go Up
Jump to: