EZ-B v4 Open IoT WiFi

Download Archive PTP's Firmware

Open IoT Wifi Version 2016.01.25.00

*Note: This is only supported with the first generation EZ-B v4 and not the EZ-B v4.x/2. The first generation EZ-B v4 Controller Wifi Module can be programmed with custom code firmware. This gives you the ability to brand the webserver, change the TCP Port, add new features and more. Embrace full control of the WiFi Chip on the EZ-B v4 to create new and custom functionality using the EZ-Robot OpenSource IoT Wifi package. Follow the instructions below to program the EZ-B v4 with upgraded firmware.

Features

  • Edit, compile and upload custom firmware to the EZ-B v4.
  • Change TCP ports for commands and video stream.
  • Custom webserver branding and logo.
  • Add custom JSON IoT listeners.
  • Chainable by using one EZ-B as Access Point for other EZ-B's and PC to connect to.
  • Upgrade to the latest EZ-Robot Wifi features.
  • Call-back for the EZ-B to call home no matter what network connection.
  • Change default TCP/IP Address for AP mode.

Firmware Programming Instructions

Step 1 - What you need

  • A small philips
  • EZ-B v4 Controller
  • Microchip Pickit 3 or Clone (eBay)

Step 2 - Remove Screws

Remove the 4 screws with the philips screw driver from the back of the EZ-B v4.

Step 3 - Separate

Separate and remove the shell from the EZ-B v4 circuit board.

Step 4 - Mount

Insert the bottom of the EZ-B v4 shell and EZ-B v4 circuit board into either a powerbase or Revolution Robot base. The power will need to be turned On during the programming process. You may not hear a chime from the speaker during bootup because the EZ-B is only resting on the speaker connector springs and therefore they may not be making a connection. Verify power to the EZ-B v4 by checking the status LED.

Notice in this photo how the bottom of the EZ-B v4 is inserted into the bottom of the original shell, and that combination is then inserted into a powerbase or Revolution Robot base.

Step 5 - Connector Programmer

The PicKit 3 programmer will include pin headers. The EZ-B v4 Wifi programming header consists of 6 female pins on the communication pcb. The PicKit 3 programmer has a label for pin #1, which faces the top of the EZ-B v4 as seen in the photo.

*Note: Do not connect the USB of the PicKit 3 to the computer yet!

Step 6 - Programmer Close Up

In this photo, there is a closer view of the connecting pins to the EZ-B v4 Wifi programming header.

*Note: Do not connect the USB of the PicKit 3 to the computer yet!

Step 7 - Pickit Software

Download and install the Pickit software. Load the software after it has been installed. Now that the software has been installed, connect the USB from the Pickit 3 to the PC. This will ensure the drivers have been installed and the Pickit 3 will be correctly detected.

(Download Pickit Software)

Step 8 - Select Chipset

The Microchip Pic for the Wifi firmware uses a PIC32MX695F512H. Select this chipste from the dropdown in the Pickit 3 software.

Step 9 - Load HEX File

The source-code archive that is downloadable at the top of this page contains the source-code, compiler, example firmware and web files. Using the Compile.BAT file in the archive, a WF121-Dev.hex file will be generated. Select File-Import to load the HEX Firmware file.

Step 10 - Select HEX File

The source-code archive that is downloadable at the top of this page contains the source-code, compiler, example firmware and web files. Using the Compile.BAT file in the archive, a WF121-Dev.hex file will be generated. Select File-Import to load the HEX Firmware file.

Step 10 - Write Firmware

Now that the chipset has been selected and the firmware HEX file loaded, press Write. This will now begin uploading the new firmware to the chipset on the EZ-B v4 controller. A status bar will display the progress of the upload, which will take a minute or two. The speed of the upload is dependent on the size of the firmware which is based on the number of features.

Program Port Mod

Step 1

It may be convenient to expose the programming header for easier access. This can be done by using a dremel to cut the plastic shell above the programming header.

Step 2

In this photo example, you can see how easier access to the programming header allows programming even when an EZ-B v4 is mounted in a robot.