Control Multiple tap with web server using WIZwiki-W7500

details

Description:

Control Multiple taps to turn on and off the electric fan with Web server with WIZwiki-W7500 board.

control_led

 

Hardware Requirements:

  • Relay
  • Wiznet Wizwiki 7500
  • LAN cable

Story:

For this project, I implement my own relay shield compatible with WIZwiki-W7500. This idea came from IOT (Internet of Things) like home automation. So, I tried to control any electrical goods with WIZwiki-W7500 as web server. And hardwired TCP/IP in W7500 help me to build web server.

These steps following now will help you to make your own IOT in the home.

Let’s do it!

Step 1: Parts

1. WIZwiki-W7500

It has hardwired TCP/IP and Cortex-M0 core then make me choose this.

– USB cable for power and download firmware to W7500.

– LAN cable to use ethernet

What is WIZwiki-W7500 : WIZwiki-W7500

2. Relay I chose ALQ105 relay from many other options. With this, turning on/off goods it is passable.

ALQ105 datasheet : ALQ105

3. Multiple tap

The aim of this project is control this Multiple tap to handle any other electrical goods.

4. Others

– Transistor 2N2222 x 1

– Diode 1N4148 x 1

– LED(Red) x 1, LED(Green) x 1

– Breadboard

– Jumper cables

– register 330Ω x 2

 

Step 2: Wire the circuit

In this circuit, I use transistor(npn) to convert 3.3v level from the output pin to 5v for Relay.

For simple circuit, you can find 3v Relay then enjoy without transistor I used.

Relay datesheet AJQ105 datasheet

If you read relay datasheet, you can find 5 pins, coil, com, N.C. and N.O.

N.C is normal close and N.O is normal open.

Without no signal from outside, normally, N.C is set with com and N.O is open.

But N.O is set with com when coli has got control with external signal.

With this basic, The power supplies the bread board, Red led turns on via N.C. (PC_6 is Low).

After that, if you set PC_6 High, coli inside the relay set the N.O high then you will check the Green led on.

Step 3: Software Configuration #1

Let’s install compiler for WIZwiki-W7500.

WIZwiki-W7500 Compiler is Keil uvision5.

Let you click more details of download and installation. : How to install Keil

If you prefer gcc compiler, click here : How to install gcc

Step 4: Software Configuration #2

After installation compiler, you need to download Project and driver for WIZwiki-W7500.

Download Project : https://github.com/joon874/WIZwiki-W7500.git

WIZwiki-W7500 has Cortex-M0, so it uses ARM serial driver.

Download Driver : ARM Driver (Download lastest driver)

How to download firmware to WIZwiki-W7500 : Download Firmware

Step 5: Working Test with wiring breadboard

 

This is the Demo video to show how it works with web server and if working well. As you see, with clicking the buttin on web browser, I can find relay working as I designed. But, my final aim is to control 220v goods, not 3.3v LED.

Step 6: Real Hardware implementation

Soldering all parts from breadboard.

And I add pin socket to make compatible shield with WIZwiki-W7500 (and Arduino) and connector for multiple tap.

Actually, WIZwiki-W7500 can have any arduino shields. It’s pins are compatible with arduino (WIZwiki-W7500 pinout).

http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wizwiki_w7500:wizwiki-w7500_detail_pinout.png

There is one thing you must consider. 220V level will supply into ‘com’ in relay. So you have to make hardware to handle high voltage level. I did it with 220v wire and covered it like upper picture.

Please be careful of handling 220v.

Step 7: Final video

This is the final performance with real hardware rely shield on WIZwiki-w7500. I just plugged in fan but it is passable to connect any 220v or 110v electrical goods.Now, you can control any things in a home with web server.

Enjoy it!!

SCHEMATICS

Schematics
Aab

CODE

Description:

Control Multiple taps to turn on and off the electric fan with Web server with WIZwiki-W7500 board.

control_led

 

Hardware Requirements:

  • Relay
  • Wiznet Wizwiki 7500
  • LAN cable

Story:

For this project, I implement my own relay shield compatible with WIZwiki-W7500. This idea came from IOT (Internet of Things) like home automation. So, I tried to control any electrical goods with WIZwiki-W7500 as web server. And hardwired TCP/IP in W7500 help me to build web server.

These steps following now will help you to make your own IOT in the home.

Let’s do it!

Step 1: Parts

1. WIZwiki-W7500

It has hardwired TCP/IP and Cortex-M0 core then make me choose this.

– USB cable for power and download firmware to W7500.

– LAN cable to use ethernet

What is WIZwiki-W7500 : WIZwiki-W7500

2. Relay I chose ALQ105 relay from many other options. With this, turning on/off goods it is passable.

ALQ105 datasheet : ALQ105

3. Multiple tap

The aim of this project is control this Multiple tap to handle any other electrical goods.

4. Others

– Transistor 2N2222 x 1

– Diode 1N4148 x 1

– LED(Red) x 1, LED(Green) x 1

– Breadboard

– Jumper cables

– register 330Ω x 2

 

Step 2: Wire the circuit

In this circuit, I use transistor(npn) to convert 3.3v level from the output pin to 5v for Relay.

For simple circuit, you can find 3v Relay then enjoy without transistor I used.

Relay datesheet AJQ105 datasheet

If you read relay datasheet, you can find 5 pins, coil, com, N.C. and N.O.

N.C is normal close and N.O is normal open.

Without no signal from outside, normally, N.C is set with com and N.O is open.

But N.O is set with com when coli has got control with external signal.

With this basic, The power supplies the bread board, Red led turns on via N.C. (PC_6 is Low).

After that, if you set PC_6 High, coli inside the relay set the N.O high then you will check the Green led on.

Step 3: Software Configuration #1

Let’s install compiler for WIZwiki-W7500.

WIZwiki-W7500 Compiler is Keil uvision5.

Let you click more details of download and installation. : How to install Keil

If you prefer gcc compiler, click here : How to install gcc

Step 4: Software Configuration #2

After installation compiler, you need to download Project and driver for WIZwiki-W7500.

Download Project : https://github.com/joon874/WIZwiki-W7500.git

WIZwiki-W7500 has Cortex-M0, so it uses ARM serial driver.

Download Driver : ARM Driver (Download lastest driver)

How to download firmware to WIZwiki-W7500 : Download Firmware

Step 5: Working Test with wiring breadboard

 

This is the Demo video to show how it works with web server and if working well. As you see, with clicking the buttin on web browser, I can find relay working as I designed. But, my final aim is to control 220v goods, not 3.3v LED.

Step 6: Real Hardware implementation

Soldering all parts from breadboard.

And I add pin socket to make compatible shield with WIZwiki-W7500 (and Arduino) and connector for multiple tap.

Actually, WIZwiki-W7500 can have any arduino shields. It’s pins are compatible with arduino (WIZwiki-W7500 pinout).

http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wizwiki_w7500:wizwiki-w7500_detail_pinout.png

There is one thing you must consider. 220V level will supply into ‘com’ in relay. So you have to make hardware to handle high voltage level. I did it with 220v wire and covered it like upper picture.

Please be careful of handling 220v.

Step 7: Final video

This is the final performance with real hardware rely shield on WIZwiki-w7500. I just plugged in fan but it is passable to connect any 220v or 110v electrical goods.Now, you can control any things in a home with web server.

Enjoy it!!

SCHEMATICS

Schematics
Aab

CODE

COMMENTS

Please Login to comment
  Subscribe  
Notify of