Everyone has to start somewhere, and while turning an LED on and off is a very basic function not everyone can do it immediately.
So yes Im expecting a few comments on how simple this is, but its a starting point.
Personally this is the first time I have used the LinkIt One board, I never even know it existed until the give away it seems to have a lot of functionality and I can wait (will have to though) to see if I can expand my spectrometer by controlling an arduino from the Linkit One as well as collecting the data. But for now:
Step 1: Arduino Set Up
The first thing you need to do is go over to the Arduino site https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
and download the version 1.5.7 - I don't recommend going for the newer versions as the installation of the Linkit One SDK files will get more complicated (translation I couldn't get them to work ;-).
With the Arduino application installed go to labs.media.com/Linkitsdk and download the version applicable to your OS then unzip it and run the install file putting it into your Arduino directory. (make sure to install the drivers for the board.
Once you open the Aduino application select the Linkit board from the Tools drop down and also one of the two linkit ports (you might need to change your selection depending upon how yours has installed.
Now attach your board making sure that the following switches are set - See the images for the locations.
- Start up switch is set to normal boot up - on my board this was indicated by "UART" the switch goes to the left.
- Bat/USB switch - select USB - switch to the right you need it set this way to program the board
- SD/SPI switch in middle of the board - set this to SPI ( right)
Once the board has been recognized by your system - go to the file and examples option and then to the Basc files and open the Blink example
Examples are great and I suggest going to these files for any new project in the initial stages as they are files that work and are a good place to start.
With the script loaded select file and upload or just click the second icon on the tool bar at the top of the arduino application. this will send the script to the board and start it running.
Step 2: Blinking Lights
With the script running you should see a green flashing led located on the board to the right hand side flashing on and off - you can generally use this LED as a test to make sure your board is operating OK
To make this a bit more visible I put and LED (low powered) into pin 13 as well as the ground pin next to p13 this will give you an external led that is flashing on and off.
And thats it Not very exciting I know but as I mentioned its a starting point for playing with the examples and having fun
To make the flashing LED independent simply detach the USB cable and turn the BAT/USB switch to USB and plug in you battery, and away you go the LED will start flashing again. Once you start adding more LED's you can make all sorts of flashing combinations and add the devices created to things like models, clothing etc
Thanks for reading