Hello for all,
I am working on a project and I need some help because I am a beginner in arduino.
The main idea is this: Controlling a stepper motor (Nema 17) with Arduino Uno + L298 H bridge
It's a basic controlling of the stepper motor, these are the functions what I need:
(I've attached the control panel image)
- direction switch: which controls the direction of the motor
- program start push button: which starts a program of turning the motor 4 cycle turns (800 steps) and then stops.
- loop start push button: which starts the motor, and the motor continuously running until the stop button is pressed
- stop button: which stops the motor after pressed
- Potentiometer 10k ohm: Speed controller of the motor
Can I do this with Arduino?
Can anybody help me writing the code? Any help is well appreciated.
Thank you!