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.