Introduction: Wireless AVR Programmer (WiFi)
This wireless programmer provides an AVR ISP programmer over Wi-Fi network.
You can either have it connected to your WiFi router/access point or open an Access Point in the programmer itself and connect to it directly.
1x -- ESP8266 (ESP-12E/F module) -- Rs.250 ($3-4 appx)
1x -- 5v SMPS (12v would also do) -- Rs.50 ($1 appx)
7x -- Jumper / Hookup wire -- Rs.35 (50cents appx)
1x 1117 3.3v regulator (if 5v is used for Atmega)
Note: Follow schematic for circuit for programmer.
Note: Download the master folder into your Arduino sketchbook folder. Install ESP_ConfigStorage to your default library folder or copy all files to downloaded WiFi_AVRISP folder.
USB to TTL converter (CP2102/FTDI232 etc)
USB cable for connecting PC to USB-TTL
Connecting wire for USB-TTL to ESP-12E
Note: If you have Nodemcu or something similar, you might not need this extra cables.
Step 1: Install Netburner Virtual COMM Port Driver
Step 2: Uploading the AVR_ISP Program to ESP8266
- First confirm your USB-TTL port in device manager.
- Then open Arduino IDE and WiFi_AVRISP program in it.
Note: You must have ESP8266 boards installed first. If not do so now.
- Select NodeMcu 1.0 (ESP-12E) in boards menu.
- Set Flash size to 4M (1M SPIFFS), 4M (3M SPIFFS) will also do.
- Port to USB-TTL port.
- Upload the program.
- Upload data folder.
Step 3: Connect to ESP8266
Connect to ESP8266 module.
It can have any name based on module or previous configurations. But it should be open by default.
I used a phone, any WiFi enabled device should do.
Step 4: Configure ESP8266
Configure ESP8266 WiFi configuration.
You can make it connect to your Access Point (I used TPLINK WR841ND router), or open an access point inside it.
Step 5: Configure Netburner Virtual COMM Driver
User your preconfigured IP or check router for IP allocated.
I used reserved IP address in router.
Step 6: Program Atmega Using AVRISP
Connect your Atmega chip in ISP connection to your newly made WiFi_AVRISP device.
Upload program using programmer option.
Note: First upload after power up will miss first 3-4 sync, but will upload finally. Net uploads will have no such hiccups.