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.
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,
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 turquoise, yellow, purple, green, pink, blue and red boards, the SAM platform for the orange board, and the SAMD platform for the violet board.
Once you have connected your what’s next board with your computer, install the drivers.
The first time you plug your board into a Mac, the “Keyboard Setup Assistant” will launch. There's nothing to configure, so you can close this dialogue by clicking the red button (close button) at the left top of the window.
If you downloaded the Zip package of the IDE, unzip the downloaded file. Make sure to preserve the folder structure. Now your drivers will be downloaded and installed from Internet, directly from Windows. If you have issues with the drivers automatic detect and install, you can find a local copy in the “drivers” folder inside the unzipped file structure.
There is no need to install drivers for Ubuntu 10.0.4 .In some computers, you need to setup user permissions and some udev rules.
Now that you’ve installed the Arduino IDE and your computer can talk to the board, it’s time to make sure you can upload a program. You can start using your board or you can test your board and move forward to the next step.
Here you can find the link to the Github repository where you can find and download all the libraries mentioned in the book. Our suggestion is to install all of them before starting to play with the book’s exercises, that way you will setup the development environment once so that you can later concentrate on the code itself.
In the what’s next diy book repository you can also find all the complete sketches presented across the book. Choose one from the list and follow the relevant book chapter tutorial to know how to build the circuit, if needed, and then connect it to your board. Please note that, although every exercise’s code is self-contained and you can start playing with any of them, we strongly recommend you to follow the order in which they are presented in the book: give us the chance to make you discover electronics starting from the basics and going up to very complex applications!
Have your What's Next board and USB cable near your computer? It's time to let the computer start to talk with the board. Plug the USB cable into the board and computer as well.
Select the entry in the Tools → Board menu that corresponds to your what’s next board and, select the serial device corresponding to your board from the Tools → Serial Port menu.
Now, simply click the “Upload” button on the IDE. Wait a few seconds, you should see the RX and TX LEDs on the board flashing. If the upload is successful, the message “Done uploading” will appear in the status bar on the IDE.
A few seconds after the upload finishes, you should see the onboard LED on pin 13 start to blink.
If it does, congratulations! You have your what's next board up-and-running. Next try to change the delay number in the parentheses, upload again, and do you see a difference in the blink pattern?
Now that you’re all set, start playing! You’ll soon feel the urge to tinker with the circuit, modify the code, give a personal touch to the exercise or move forward to tailor it to your specific needs: we hope that you’ll enjoy your journey in becoming an experienced maker!