User Tools

Site Tools



If you want to take a step further, you can go through some of the exercises mentioned in the book and try them with the red Wi-Fi board. Wherever you find a red Wi-Fi symbol in the book, we give you all you need to upgrade the exercise: this guide will show you how to set up your red board and modify the circuit accordingly. Take these information as a suggestion, because there’s a lot more you can do with the D.I.Y. kit content!.

  • Board
  • USB cable
  • Computer


RED Datasheet

The microcontroller development board that will be the brain of your project, and beyond. The RED board with integrated Wi-Fi is for beginner and advanced users alike. It is based on the ATmega328 microcontroller and features the ESP8266 Wi-Fi chip. If you are getting started with circuits and want to create IoT devices, this is the board to have.


Before you start controlling the world around you, you will need to download the IDE-Integrated Development Environment, to program your board. The Arduino IDE allows you to write programs and upload them to your What's next board.

Download IDE

For Windows users

You can choose between the Installer (.exe) or the (.zip) Zip package. We suggest you use the first one that installs directly everything you need to use the Arduino Software (IDE), including the necessary drivers for your board to be detected by your PC. With the Zip package you need to install the drivers manually.


To use what's next boards you need to install what's next platform. In order to do that,

  • Open the Arduino IDE
  • Choose Preferences from the menu
  • In the Additional Boards Manager URLs, add this URL:

After you insert the url press the OK button

Open the board manager from Tools > Board > Boards Manager, and select the what's next platform that corresponds to your board.Add the AVR platform for the red board.


On Linux and Mac OSX you’re not required to do any further step.

For Windows users

In order to properly work with your board, you need to install the board drivers.

Download the Installer

Now you just need to double click on the downloaded file and you’re ready to go.

Note: if a Windows smart screen message pops-up when you doble click on the installer, select “further information” and “run anyway” to proceed at the drivers installation.


To work with the red board, you’ll need to install the WiFiConn and REDWifiHTTP libraries, which will give you all the support you need to make the book’s Wi-Fi-related exercises. The first library is always needed by the red board, since it handles the communication between the 328P and the ESP8266; the second one contains all the book’s Wi-Fi exercises as well as all the additional code needed to run them. Please note that you can skip this step if you have already installed these two libraries.

Download both libraries, add them to the IDE navigating to Sketch → Include Library → Add .ZIP Library and selecting the .ZIP files you just downloaded, then restart the IDE. The libraries are now loaded into the IDE, and you should see them in the Sketch → Include Library drop-down menu. Now you are ready to proceed to the next step.

Download WiFiConn

Download REDwifiHTTP


Have your What’s next red and USB cable near your computer? It’ time to let the computer start to talk with the board. Plug the USB cable into the board and computer as well.

You’re only a few steps form getting ready: the development environment still needs to be set to work with your what’s next board. Go to Tools → Board and choose red from the drop-down menu. Then go to Tools → Port and choose the port number labelled with the red. If all is properly set up, you’ll see your board’s name and port in the lower right corner of the IDE.


In order to guarantee that you always work with the latest firmware installed, check the firmware version with the CheckFirmwareVersion sketch first. You will find it in the Arduino IDE from the menu File → Examples → WiFiConn → CheckFirmwareVersion. Open the example and then simply click the “Upload” button on the IDE. If the upload is successful, the message “Done uploading” will appear in the status bar on the IDE. Wait a few seconds and the check the Serial Monitor in the right corner of the IDE Window. If a new version is available, follow the update procedure in the next step.


In order to update the Firmware of the red board, open the Arduino IDE and check for red platform updates in the board manager then go to tools → bootloader and choose the ESP8266. Now select the right port on tools → port, and finally click on tools → burn bootloader.

In this way, the firmware and the Web Panel files are uploaded to the ESP8266's flash memory. You can keep track of the process status from the progress window. During the whole procedure you'll see the TX and RX LEDs blink very quickly, meaning that the uploading is under way. Once finished, the ESP8266 is up to date.

You can double check the successful outcome of the update procedure by uploading again the firmware version check sketch and read the actual installed version on the serial monitor.

* Note: remember to close the serial monitor before starting the procedure.

wiki/diywifiproject.txt · Last modified: 2019/05/28 11:18 (external edit)