Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 3.69 KB

Getting-started.md

File metadata and controls

66 lines (39 loc) · 3.69 KB

Getting Started

This core requires at least Arduino IDE v1.6.2, where v1.6.5+ is recommended.

Programmers

Since there is no bootloader in a tile, all code must be programmed rather than downloaded.

Each Blink has a standard 6-pin ISP connector. The arrow marks pin #1.

You can use any AVR programmer supported by AVRDUDE and the Arduino IDE.

This one is cheap... http://amzn.to/2u5ZHw6

This one is fast and comes with nice cables... http://amzn.to/2u5Wo7M

Just connect your programmer and select it in the "Programmers" menu, and connect the 6-pin ISP to the tile. I like to use this pogo pin fixture to make the connections...

https://www.sparkfun.com/products/11591

...but you can also just hold a 6-pin header onto the tile, or solder on a 6-pin header if you want to leave the programmer attached.

If you do not have a programmer, you can also use an Arduino and a couple of wires.

You can then use the "Sketch-Upload to Programmer" menu choice or just press the Play button to compile your code and program it into the connected tile. (Both the menu option and the button do the same thing with a tile.)

How to install

Click on the "Download ZIP" button in the upper right corner of this repo on Github...

https://github.com/bigjosh/Move38-Arduino-Platform

You can switch to the dev branch if you want to live on the bleeding edge and get new features quickly.

Extract the ZIP file, and move the extracted files to the location "~/Documents/Arduino/hardware/Move38-manual/avr". Create the folder if it doesn't exist. This readme file should be located at "~/Documents/Arduino/hardware/Move38-manual/avr/README.md" when you are done.

Open Arduino IDE, and a new category in the boards menu called "Move38-manual" will show up.

Notes
  • We called the "vendor/maintainer" folder Move38-manual so that you can also use the boards manager and you will be able to tell the two apart in the boards menu.

  • You must manually create the avr folder and you must also manually move the files out from this repo into this folder. We could not automatically have the folds inside the repo match the Arduino required folder layout because in in the boards manager, the architecture is in the JSON file rather than the folder structure. Arg.

  • The "~/Documents/Arduino/hardware/Move38-manual/avr" folder is a Git repo and is also set up for easy editing in Atmel Studio with a solution inside the \AS7 sub-folder.

  • If you want to leave the git repo in a directory that is not inside the Arduino tree (I do), then you can add a directory symlink from the Arduino tree to the repo tree. This repo needs to be at arduino\hardware\move38\avr where arduino is your Arduino home directory as set in File->Preferences->Sketchbook Location in the IDE. You have to manually create hardware and then move38 and then put the avr symlink in then. On my windows machine the command for that was D:\Documents\Arduino\hardware\move38\avr>mklink /D avr "D:\Github\Move38-Arduino-Platform"

Helllo Blink!

  • Open the Tools > Board menu item, and select Blink from the Move38 submenu.
  • Select what kind of programmer you're using under the Programmers menu.
  • Select "File->Examples->Examples for Blink->Getting Started" and choose "F-ColorWheel".
  • Hit the Play button.

The IDE should compile the code and program the Blinks tile... and you should see pretty blinking lights!