Web-Based Device Controller With Arduino Board

details

Overview :

This project illustrates how to control servo motor and LED using W5100 Ethernet shield.

 

Required :

  • Aruduino Uno board
  • Ethernet shield(w5100)
  • LED1 – 5mm LED
  • R1(resistor) – 680-Ohm
  • M1(Miscellaneous – 5V servo motor

 

Configuration :

The following shows circuit of the web-based device controller.

The circuit is built around Arduino UNO board (board1) and Arduino Ethernet shield (shield1).

fe2_fig-1

and servo motor (M1).

53e_fig-2

 

The angle of servo motor rotation is determined by the duration of a pulse that is applied to the control wire. The servo expects a pulse every 20 milliseconds (0.02 seconds). The length of the pulse will determine how far the motor rotates. A 1.5-millisecond pulse, for example, makes the motor turn to the 90-degree position (often called the neutral position)

6ab_fig-3

 

Arduino is an open source electronics prototyping platform based on flexible, easy-to-use hardware and software. It is intended for artists, designers, hobbyists and anyone interested in creating interactive objects or environments.

b92_test

 

Construction and testing :

To check working of the project, follow the steps below:
1. Connect the servo as shown in the circuit diagram.
2. Power up the Arduino board through power adaptor
3. Connect Ethernet shield on top of the Arduino board
4. Connect the Ethernet shield with LAN cable through your router
5. Ping the IP address 192.168.0.160, or change the IP address as per your router setting.

You need to change the IP address in the source code, recompile and burn into the microcontroller

Now you can access the servo (M1) and LED1 using this IP address on your browser. If the connection is successful, you can see following user-interface controls on your browser:
1. Turn on LED, Turn off LED
2. Rotate Left, Rotate Right

Dated : August, 2015

Origianl : http://www.chrisramsay.co.uk/posts/2015/08/some-fun-with-a-cloned-arduino-and-w5100-ethernet-shield/

Author : Chris Ramsay, http://www.chrisramsay.co.uk/

Overview :

This project illustrates how to control servo motor and LED using W5100 Ethernet shield.

 

Required :

  • Aruduino Uno board
  • Ethernet shield(w5100)
  • LED1 – 5mm LED
  • R1(resistor) – 680-Ohm
  • M1(Miscellaneous – 5V servo motor

 

Configuration :

The following shows circuit of the web-based device controller.

The circuit is built around Arduino UNO board (board1) and Arduino Ethernet shield (shield1).

fe2_fig-1

and servo motor (M1).

53e_fig-2

 

The angle of servo motor rotation is determined by the duration of a pulse that is applied to the control wire. The servo expects a pulse every 20 milliseconds (0.02 seconds). The length of the pulse will determine how far the motor rotates. A 1.5-millisecond pulse, for example, makes the motor turn to the 90-degree position (often called the neutral position)

6ab_fig-3

 

Arduino is an open source electronics prototyping platform based on flexible, easy-to-use hardware and software. It is intended for artists, designers, hobbyists and anyone interested in creating interactive objects or environments.

b92_test

 

Construction and testing :

To check working of the project, follow the steps below:
1. Connect the servo as shown in the circuit diagram.
2. Power up the Arduino board through power adaptor
3. Connect Ethernet shield on top of the Arduino board
4. Connect the Ethernet shield with LAN cable through your router
5. Ping the IP address 192.168.0.160, or change the IP address as per your router setting.

You need to change the IP address in the source code, recompile and burn into the microcontroller

Now you can access the servo (M1) and LED1 using this IP address on your browser. If the connection is successful, you can see following user-interface controls on your browser:
1. Turn on LED, Turn off LED
2. Rotate Left, Rotate Right

Dated : August, 2015

Origianl : http://www.chrisramsay.co.uk/posts/2015/08/some-fun-with-a-cloned-arduino-and-w5100-ethernet-shield/

Author : Chris Ramsay, http://www.chrisramsay.co.uk/

COMMENTS

Please Login to comment
  Subscribe  
Notify of