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.
Step 1: Prepare Meterials
Step 2: Hardware Connection(Stacking Motor Shield)
WIZwiki-W7500 is arduino pin compatible, so motor shield can be stacked easily.
Step 3: Hardware Connection(connect DC Motor)
And then connect DC motor to motor shield.
Step 4: Hardware Connection(connect Adaptor)
DC motor needs 12V so you connect extra 12V adaptor to motor shield.
Now all meterials are prepared.
Step 5: Install Compiler
I use Keil as compiler.
So the project is created by Keil.
Keil is provided as free.
Download keil compiler and install.
Step 6: Download Project and Library
I upload the codes to github.
Download the project and library.
Step 7: Demo
There are 3 speed level buttons and 1 stop button.