I'm glad that this forum conentrates on technical problem solving .
PROJECT: To control the stepper motor (x and y axis) through a website ,using ethernet shield and arduino uno.
Ps :Esp8266 cannot be used.
I'm following the attached code to which will take the Ip adress(line 29) and server address(line 26) and connect to the following website created by php and my sql(line 61). Created by Tom Igoe, based on work by Adrian McEwen.
ISSUES FACED:
The code must connect first and then it directs us to the website provided.But in my case it is not connecting . I vant attach the serial monitor status image(more than 1.95MB)
What have i done ?
I have connected the ethernet shield to router wire of college (having two step authentication , with password and all***) .The ethernet shield I have got doesnt have a mac (meadia access control) address on it (i verified with the shopkeeper , even he told it wasnt provided to him either )..
When surfed on internet , i found out that only new ethernet shields have mac address , so i connected the ethernet to my PC and obtained the physical address ( added 0X in front of it to make it hexadecimal ) and added it in the code.
The website added in the code is php based , but I want to add a html with 4 buttons ,indicating motor1 - clockwise ,anticlockwise and
motor2 - clockwise , anticlockwise .acn i add this html ( starting from <html to <!html> in the code itself?and get that page as sson as ethernet is connected?
After connecting , the website must open and based on our inputs of the button we press ,stepper motor code must be cascaded in the ethernet code , so it works well. (code regarding stepper motor and html isnt written yet).
Do go through the message , I will send anymore supporting pics or will tell you about it ,so that you can unserstand the scenario and debug it right. Hope you see this message soon and help me right,
Thank you
SUSHMA MANTAGANI
***Is that ethernet doesnt take a router with 2 step verification or the code can be modified so that use rid and password can be added , so that it will be connected ?
Question
SUSHMA MANTAGANI
Hello,
arduinomysql.ino.ino
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.