Hi everyone I am currently trying to figure it out a way in which I can control a step motor over the internet using the Ethernet shield from Arduino. DOES ANYBODY KNOW IF IS POSSIBLE, I will appreciate any help you can share. Thanks
Yes, it is possible. But I need more details to be able to answer with specifics.
What are the specs of your motor?
What kind of motor driver are you going to use?
There are two completely separate issues in your question
- How to send/receive data using an Ethernet shield
- How to control a stepper motor.
Learn to do each of them separately before trying to bring them together.
Hi again... and thanks for your reply,
Here some info about the step motor and the driver used, couple links that show the info. Simple data about step motor *shimano kenshi and the driver *L298N.
DRIVER for the control of the step motor is > http://www.dx.com/p/l298n-stepper-motor-driver-controller-board-for-arduino-120542#.ViE4Smu8k2w
STEP MOTOR itself is > http://www.amazon.com/Shinano-Kenshi-STP-42D208-06-12X20G-T26507/dp/B00GH2GYHI
The thing that I am looking for is the HTML code to control the step motor over the internet using Ethernet shield from arduino. (writing code).
I have already done, the control of the DC motor and STEP motor using serial communication in arduino, the thing I am working NOW is the control over the ethernet shield.
If you have you done it before (html code to control STEP motor using ethernet shield), or know some info that may guide me, I will appreciate your share.
Have you successfully tried any Ethernet shield code (without bothering with the motor) ? Presumably there are examples somewhere?
...R
Robin2:
Have you successfully tried any Ethernet shield code (without bothering with the motor) ? Presumably there are examples somewhere?Hi Robin, yes I have done already:
Ethernet shield communication with variable resistors, photo resistors, switches and leds, even dc motor full speed.
What I am finding hard to come up with is the control of a STEP motor, that is the big deal. The control of a DC motor with pwm, I found already some info (still working on this one).
But one more time, the STEP motor represents a HIGHER CHALLENGE to solve, far. And that is the reason why I am looking out for guidance at least at the beginning.
...R
vaporlaute:
Hi Robin, yes I have done already:
Then please post an example of a working ethernet shield program and then we can see how it might be adapted to get the data for controlling the stepper motor. Choose the example that seems closest to what you want to do.
What data do you want to be able to send to the Arduino?
...R
Hi Robin, thanks for the reply,
Currently I'm trying to figure it out a way to develop that code (step motor), right now I'm understanding the HTML code used to program with Ethernet shield and since I have to start from the scratch with this program.
I was looking for something to start with, and seems hard to find so far...as soon as I get something I will post it.
In the meanwhile if you come across any literature about, I'll still appreciate if you could share it with me, it doesn't matter if it uses javascript, xhtml, ajax (I'm learning too).
Thanks to anyone who can help me with any idea here,
vaporlaute:
Currently I'm trying to figure it out a way to develop that code (step motor), right now I'm understanding the HTML code used to program with Ethernet shield and since I have to start from the scratch with this program.
As I said earlier, treat these as two separate projects to start with.
Get some ethernet shield code working so it can send "hello world" to the Arduino and display it on the Serial Monitor.
...R
Currently I'm trying to figure it out a way to develop that code (step motor), right now I'm understanding the HTML code used to program with Ethernet shield and since I have to start from the scratch with this program.
Get the stepper motor setup working receiving commands from the serial monitor, then the transition to a web based control should be fairly simple. I don't use steppers, so I don't know if there will be conflicts between the ethernet libraries and stepper libraries.