Hey there good people! Kind of new to the whole world of Arduino but learning fast and having fun.
I'm working on a camera slider, a long camera slider. 8 ft. I've searched and found a couple examples but can't get mine to work. What I need to do is have my arduino mico and easy stepper control the speed and direction of a nema 17 using a thumb joystick from sparkfun. I've had no luck. Can someone point me in the direction of a sample sketch to do this sort of thing? I'd also like to add a servo to tilt the camera at some point but it's more important to get it working sooner then later and can hopefully add that later. Hope this is enough into to get started. Thanks in advance for the help!
In one of them learn how to get values from the joystick and display them on the serial monitor.
In another one learn how to make your stepper motor move different anumbers of steps and different directions based simply on data stored in some variables when the program is compiled.
When you have all of the different parts working separately you can start to build them into s single project.
You might look at the structure of the several things at a time program to get an idea how to join the bits together.
There have been several Threads about similar projects in the last few months. Google should be able to find them for you.
Thanks. Been doing that but just can get thing all incorporated. Have the motor turning with small scripts but beond that I'm sol. I'm at the point of hiring someone to help
Have you looked at the demo code in the link I gave?
If you envisage the different test projects you have made as different functions within that demo you should have an idea of how to integrate them into a single project.
Beyond that, if you need help you will need to post your code. And please use the # button so your code looks like this
Arduino Forum SOP
Step-1: Post a Project description
Step-2: Post a schematic:
Step-3: Post your code.
Step-4: Describe the problem
Step-5: Describe action taken so far to solve probem.
Step-6: If applicable , post voltage measurements taken for critical points.
What I need to do is have my arduino mico and easy stepper control the speed and direction of a nema 17 using a thumb joystick from sparkfun. I've had no luck.
This tells us nothing about what you know about using your stepper driver. For all we know , you don't have a clue, or you could know everything about it. We don't know. We also don't know what code you are using. We also don't know how you wired up your driver. We know almost nothing about your wiring or your code.
Help us out and maybe we can help you out.
Why don't you start by giving us a SITREP (Mil-speak for SITUATION REPORT)