User Tools

Site Tools


wiki:red

TO BEGIN YOU WILL NEED

  • Board
  • USB cable
  • Computer

MEET THE RED BOARD

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.

PREPARE YOUR TOOLS

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.

INSTALL PLATFORM

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:

http://download.whatsnext.shop/platforms/package_whatsnext_index.json

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.

INSTALL DRIVERS

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.

INSTALL LIBRARY

Download Library

Download the WiFiConn library and add it to the IDE navigating to Sketch > Include Library > Add .ZIP Library and selecting the .ZIP file you just downloaded, then restart the IDE. The library is now loaded into the IDE, and you should see it in the Sketch > Include Library drop-down menu. Now you are ready to proceed to the next step

SET UP THE IDE

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.

UPLOAD AN EXAMPLE

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.

UPDATE THE FIRMWARE

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.


ENJOY !

Now that you have installed, set up and tested your red board, you are ready to give shape to your ideas! There are many more beginner circuits with lights, sounds, and motors that you can create using breadboard diagrams paired with an example of code. Remember to examine the built-in and libraries examples, and ask questions. If you are looking for inspiration you can find a great variety of Tutorials and Examples

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