Motor Control With Arduino Motor Shield Via Web

by hjjeon0608. in Circuits > Microcontrollers

5376 Views, 23 Favorites, 0 Comments

Motor Control With Arduino Motor Shield Via Web

intro_pic.JPG

In this project, I will control DC motor(Computer fan) with motor shield(official) via Web page.

You can control motor as slow speed or fast speed and stop.

Also If you want, you can add control button or change control button in web page.

I use MCU as W7500 of WIZnet. This MCU has hardwired TCP/IP stack.

Prepare Meterials

meterial.JPG

1. WIZwiki-W7500 board.

2. Arduino motor shield

3. DC motor(computer fan)

4. 12V adaptor

Hardware Connection(Stacking Motor Shield)

stacking.JPG

WIZwiki-W7500 is arduino pin compatible, so motor shield can be stacked easily.

Hardware Connection(connect DC Motor)

connect_motor.JPG

And then connect DC motor to motor shield.

Hardware Connection(connect Adaptor)

intro_pic.JPG

DC motor needs 12V so you connect extra 12V adaptor to motor shield.

Now all meterials are prepared.

Install Compiler

keil_down.jpg

I use Keil as compiler.

So the project is created by Keil.

Keil is provided as free.

Download keil compiler and install.

Download Project and Library

I upload the codes to github.

Download the project and library.

https://github.com/hjjeon0608/motor_control_via_web

Demo

There are 3 speed level buttons and 1 stop button.