I changed the link to the datasheet hosted by someone else. Check it again.
Quote
I'd use a motor shield by someone that knew what they were talking about.
The HBridge I'm using is listed in the official Arduino documentation on this site. I think we're all screwed if the official guys don't know what they're talking about!
This is the stepper I'm using http://www.circuitspecialists.com/nema_14_stepping_motor_35byg101.html
I can't provide a schematic at the moment, but I'm pretty sure I have the following connections according to the schematic. However, I did switch the wiring around just to make sure it was hooked up properly and when I did this it would just step back and forth, so I'm pretty sure I have it wired correctly.
This is the output I have to my stepper according to the links I provided
Pin Out: Wire color of stepper (check the link) 1Y:Red 2Y:Black 3Y:White 4Y:Yellow
What would you suggest trying with the stepper library? I'm not familiar with it.
I'm assuming you mean delay(1000). It displays the same exact thing, just slower and nothing happens when I press the button (n the serial monitor). My stepper moves, but it doesn't display that in the serial monitor.
I'm using a push button to control a 4 wire bipolar stepper. Maybe I'm slightly misunderstanding how steppers work (I watched this series )
The problem - My stepper goes back (counter-clockwise) one step in the following scenarios. I only want it to step clockwise
1. Upon powering up it occasionally jumps backwards one step. I'm assuming this is just due to the resting position from the last time it had power, and when it gets power it's aligning with the polarity of it's present state.
2. Pressing the button for the first time upon powering up it always jumps back one step (even if it jumps back from the "polarity alignment"). After this, it no longer jumps back when pressing the button.
Can you guys spot anything wrong with my code?
Code:
int move; int motorPin2 = 10; int motorPin3 = 11; int motorPin4 = 12; int motorPin1 = 13; int motor_placement = 0;
Thanks, I just had my roommate take a look at it (he's a computer engineer), and he knew exactly what you were talking about. I didn't have it set as a pull-down resistor, so my room mate swapped it for me and now it works perfectly. Thanks for the tip.
I'm new to Arduino and seem to be having a strange situation. I set digital pin 8 on my uno for input, and when I have a wire inserted into it (other end isn't even connected to anything), it's sending a signal when I move the wire.
Is my Arduino defective or is this something that I'm just completely unaware of? The bottom of the Arduino is sitting on a piece of rubber so I know there's nothing below it to conduct to. Like I said, the other end of the wire isn't even attached to anything. Simply wiggling the wire causes it to send a signal as if the bottom is grounding. It does this for any of the inputs I set it to.
So, is this normal or am I just not aware of how inputs actually function?