Make Your Own WiCard On A Breadboard

WiCard - Smart Programmable WiFi Controller Module

Make Your Own WiCard On A Breadboard

wicard breadboard

Like “Arduino”, you can make your own WiCard on a breadboard. If you want to make WiCard on a breadboard before making the PCB, all you need is some resistors and capacitors, a breadboard, wires, an ATMega8a (DIP), an ESP8266 module (with a 32 Megabit flash memory).

 

The Schematic

Here’s the connections guide:

wicard breadboard

 

The Breadboard, ATMega8a + ESP8266

First of all, you have to program the ATMega8A with an AVR parallel programmer (high voltage programmer). Furthermore if you’re going to use a SPI programmer, you must put a pull up resistor for PC6 (Reset pin) of ATMega8a. (Download the ATMega8a flash file)

So the fuse byte in AVR parallel programming, set the “Fuse High Byte” to 0x78, the “Fuse Low Byte” to 0xA4, and the “Lock Bits Byte” to 0xFC.

The fuse byte in AVR SPI programming, set the “Fuse High Byte” to 0xD8, the “Fuse Low Byte” to 0xA4, and the “Lock Bits Byte” to 0xFC.

Then program the ESP8266 module with flash download tool and a USB to serial adapter. Due to firmware files addresses, the esp module must have a 32MBit flash memory. So if your module has not a 32Mbit Flash, try to replace its flash memory with a 32Mbit. For example W25Q32. (Download ESP Module firmware files)

 

The firmware for ESP8266EX includes 6 files:
  • ESP8266EX_0x000000: Must be copy at address 0x0 in the 32Mbit flash memory. This file includes some initial system settings.
  • ESP8266EX_0x001000: Must be copy at address 0x1000 in the 32Mbit flash memory. This file includes the firmware program data.
  • ESP8266EX_0x0FE000: Must be copy at address 0xfe000 in the 32Mbit flash memory. This is a 4KB blank file for the system settings.
  • ESP8266EX_0x300000: should be copy at address 0x300000 in the 32Mbit flash memory. This file includes internal webpage data.
  • ESP8266EX_0x3FC000: should be copy at address 0x3fc000 in the 32Mbit flash memory. This file includes some initial wireless/WiFi settings.
  • ESP8266EX_0x3FE000: should be copy at address 0x3fe000 in the 32Mbit flash memory. This is a blank file for the system settings.Here’s ESP Flash Tool settings:

esp flash tool

Assembled WiCard

Finally assemble the module after programming the firmware on ATMaga8A and ESP module (I’m using an ESP12 module which I have replaced its flash with a W25Q32).

wicard breadboard esp8266

Port Pins

The following table will help you to find the WiCard port pins:

pinout table

Status LEDs

Also you can use GPIO 12 (MTDI) of your ESP8266 module (if it’s available) as “NET Status LED”. Besides that, you can use  GPIO 14 (MTMS) as “Program Status LED” and GPIO 15 (MTCK) as “Error LED”.

 

To finding out another stuff about WiCard WiFi Module, please refer to our home page and blog.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

nineteen − twelve =