Project Description

This post will guide you how to add the WiFi function to WIZwiki-W7500 using WizFi250.

1. Hardware

MCU Platform (WIZwiki-W7500)

W7500-web-mbed

– Key Features

  • WIZnet W7500 ( For more Infomation about W7500 )
  • 32-bit ARM Cortex-M0
  • 128KB Flash / 16KB(up to 48KB) SRAM
  • Hardwired TCP/IP Core
  • Ethernet PHY : IC+ IP101GA
  • CMSIS-DAP support : NXP LPC11U35FHI33/501, USB Drag & Drop Programming
  • Arduino pin compatible
  • mbed enable
  • ISP, SD Card, RGB LED, SWD Connector

WizFi250-EVB (for WiFi connectivity)

WizFi250-EVB-300

– Key Features

  • Single band 2.4GHz IEEE802.11b/g/n Wi-Fi module
  • Integrated RF power amplifier : Antenna calibration is not required
  • 1MB flash memory, 128KB SRAM, 1MB serial flash
  • Low power consumption & excellent power management to extend battery life
  • The highest compatibility with the most of APs
  • Compact size, suitable for mobile or hand-held devices
  • Host Interface : UART , SPI
  • Support powerful web configuration
  • Soft AP (Enough memory retention, L2 switching)
  • OTA (Over the Air F/W Upgrading)
  • Wi-Fi Direct

2. Hardware Connection

wizfi-250-mbed-1

wizfi-250-mbed-2

 

3. Run WizFi250-HelloWorld Program

An example including Library to use WizFi250 is already built by one of WIZnet engineer. It won’t be too difficult to apply the example and Library on WizFi250 under mbed platform.

Followings are about WizFi250 Hello World Program and WizFi250 Library.

 

Connect into WizFi250 Hello World Demo and click on ‘Import program’button as shown below to use WizFi250 example code on Web Compiler.

wizfi-250-mbed-3

wizfi-250-mbed-4

In following source code, put proper AP’s SSID and KEY values . Type parameter of WizFi250Interface in orders of MCU’s TX,RX,CTS,RTS,RESET,ALARM,BAUDRATE.

 

4. Result in Serial Terminal

After fixing codes right below, click on Compile button or Ctrl+D to download following compiled binary. Then upload the downloaded binary on WIZwiki-W7500 in order to check following result (Baudrate of Serial terminal is 115200)