Wiznet makers

louis_m

Published August 30, 2022 ©

89 UCC

13 WCC

38 VAR

0 Contests

0 Followers

0 Following

Original Link

Arduino Ethernet Servo Motor

Again we have a test of Arduino, this time we are conducting a test of the W5100 Ethernet module, which has the ability to connect our Ardui

COMPONENTS Hardware components

Arduino - Arduino Ethernet Shield 2

x 1


PROJECT DESCRIPTION

What should you keep in mind to control a servo motor with an Arduino Ethernet W5100 ?

The next test is to connect a servo motor to the Arduino Mega 2560 board and control it through an Ethernet communication  with W5100 module, in this module we will set up a small web server and through it we will turn 90 degrees a servo motor from Local website hosted on that server.

For this test the following items are required:

1 Arduino Mega 2560 Card or Arduino Uno.

2 Ethernet Module w5100

3 Servo Motor

4 Direct UTP Patch cord to connect the module to the LAN

5. Adapter 6-9 VDC (Required in some cases for the servo current )

Here is the wiring diagram of the servo motor, Arduino Mega 2560 and W5100 module:

The control wire of servo motor (yellow wire) should be on pin 7 and the LED should be connected to pin 5, the servo motor is connected to the voltage source of the mega card 2560 with its red and black wires 5V and 0V (GND ) respectively.

The following LINK is the code to be loaded on the Mega 2560 development board, is in my GitHub repository.

Is important chech the IP address of your modem from the windows console and with this IP address asign an address to w5100 module into LAN range to communicate properly .

Documents
Comments Write