User Tools

Site Tools


wiki:diykit

TO BEGIN YOU WILL NEED

  • Board
  • USB cable
  • Computer

DOWNLOAD AND INSTALL THE SOFTWARE

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 turquoise, yellow, purple, green, pink, blue and red boards, the SAM platform for the orange board, and the SAMD platform for the violet board.

INSTALL DRIVERS

Once you have connected your what’s next board with your computer, install the drivers.

OSX

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.

Windows

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.

Linux

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.

INSTALL LIBRARIES

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.

Download Libraries

OPEN AN EXAMPLE

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!

Go to repository

CONNECT YOUR BOARD

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 YOUR BOARD AND SERIAL PORT

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.

UPLOAD THE PROGRAM

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?

ENJOY !

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!

wiki/diykit.txt · Last modified: 2019/01/26 10:36 (external edit)