Online DC Motor Controller

by arick in Circuits > Microcontrollers

1846 Views, 22 Favorites, 0 Comments

Online DC Motor Controller

online motor controller4.jpg
Folks,
Today, I want to share my experiment with Atmega328 arduino board controlling DC motor via web browser,
We can control our motor online if we have the IP share to the world....

Let get started..

Module Needed

IMG_20140318_130547.jpg
arduino ide.jpg
IMG_20140318_130541.jpg
IMG_20140318_130535.jpg
IMG_20140318_130529.jpg
IMG_20140318_130521.jpg
Module needed for this experiment :
1. DC motor
2. Arduino 328 board
3. Ethernet module
4. Relay module
5. RJ45 Lead
6. Some connectors
7. Arduino IDE

Develope the Code on Arduino IDE

arduino ide.jpg
Develope the code on arduino IDE,
We need ethernet library and window's IP setting, I set on 10.0.0.50 for windows
and the server 10.0.0.2
It's free to change as you like

"<FONT SIZE=8 COLOR=#0000FF>IT IS EMBEDDED WEBSERVER</FONT><br />"
     
      "Relay controller <br/>"
      "<A HREF='?cmd=on'>Turn on</A> <br/>"
      "<A HREF='?cmd=off'>Turn off</A> <br/>"

    "</em></p>"
    "<B>UP TIME :</B>"
    "<h1>$D$D:$D$D:$D$D</h1>"
    "Temperature : $D C<br>"
    "Humidity    : $D %<br>"),
      h/10, h%10, m/10, m%10, s/10, s%10,temp,humid);

Enjoy Yourself an Online Motor Controller!

IMG_20140318_130521.jpg
Enjoy yourself an online motor controller!
I used firefox and chrome to control my motor.

thanks for reading