Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet Intel.

Slides:



Advertisements
Similar presentations
Intel Do-It-Yourself Challenge WiFi
Advertisements

Intel Do-It-Yourself Challenge Networking
Intel Do-It-Yourself Challenge Lab 5: Controlling Galileo from a webpage Nicolas Vailliet
Win8 on Intel Programming Course Win8 for developers, in detail Cédric Andreolli Intel.
Win8 on Intel Programming Course Desktop : Introduction Cédric Andreolli Intel Software.
Win8 on Intel Programming Course Desktop : WPF Cédric Andreolli Intel Software
EMS1EP Lecture 4 Intro to Programming Dr. Robert Ross.
PBv2.x Pen F/W Upgrade SOP
Intel Do-It-Yourself Challenge Arduino Motor Shield Nicolas Vailliet Intel Software.
Intel Do-It-Yourself Challenge node.js
The State Transition Diagram
Win8 on Intel Programming Course Desktop : Sensors Cédric Andreolli Intel Software
Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez Intel Software.
Internet of Things with Intel Edison Getting started with your board Pierre Collet Intel.
Lab7: Introduction to Arduino
Internet of Things with Intel Edison Web controller
Intel Do-It-Yourself Challenge Lab 3: A demo with LED and sensor
Internet of Things with Intel Edison GPIO on Edison
Embedded Sumo 1T4 – 1T5 UTRA.
Win8 on Intel Programming Course Win8 and Intel Paul Guermonprez Intel Software
Why Should I Sketch? Chapter 1.2 in Sketching User Experiences: The Workbook.
Intel Do-It-Yourself Challenge Sensors Nicolas Vailliet Intel Software
Intel Do-It-Yourself Challenge Pololu USB Controller Nicolas Vailliet Intel Software.
Intel Do-It-Yourself Challenge : Let’s build an autonomous drone Paul Guermonprez Intel.
Intel Do-It-Yourself Challenge Arduino sketches and full SD image Nicolas Vailliet Intel.
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
The Branching Storyboard Chapter 4.3 in Sketching the User Interface: The Workbook Image from:
Internet of Things with Intel Edison Presentation Paul Guermonprez Intel Software
Win8 on Intel Programming Course Desktop : Perceptual Computing Cédric Andreolli Intel.
ESE Einführung in Software Engineering X. CHAPTER Prof. O. Nierstrasz Wintersemester 2005 / 2006.
ESE Einführung in Software Engineering X. CHAPTER Prof. O. Nierstrasz Wintersemester 2005 / 2006.
Internet of Things with Intel Edison Led sensor lab
CP — Concurrent Programming X. CHAPTER Prof. O. Nierstrasz Wintersemester 2005 / 2006.
12. eToys. © O. Nierstrasz PS — eToys 12.2 Denotational Semantics Overview:  … References:  …
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Sequential Storyboards Chapter 4.1 in Sketching the User Interface: The Workbook Image from:
Intel Do-It-Yourself Challenge Lab 1: Intel Galileo’s Arduino side Nicolas Vailliet
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Intel Do-It-Yourself Challenge Lab 2: Intel Galileo’s Linux side Nicolas Vailliet Intel.
Collecting Images & Clippings Chapter 2.3 in Sketching User Experiences: The Workbook.
DPNM Lab., POSTECH 1/25 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
Win8 on Intel Programming Course Modern UI : Sensors Cédric Andreolli Intel Software.
Win8 on Intel Programming Course Modern UI : Features Cédric Andreolli Intel Software.
Intel Do-It-Yourself Challenge OpenCV
Win8 on Intel Programming Course The challenge Paul Guermonprez Intel Software
Win8 on Intel Programming Course Modern UI HelloWorld in HTML5/JS Cédric Andreolli Intel.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
The Animated Sequence Chapter 5.1 in Sketching User Experiences: The Workbook.
Intel Do-It-Yourself Challenge Wi-Fi Nicolas Vailliet Intel Software
Internet of Things with Intel Edison CylonJS Pierre Collet Intel Software
Jim Ng 15/1/2014 CENG4480 TUTORIAL 1. ABOUT ME Current MPhil Student supervised by Prof. Mak You can find me at Rm116 in SHB
Sketching Vocabulary Chapter 3.4 in Sketching User Experiences: The Workbook Drawing objects, people, and their activities.
Win8 on Intel Programming Course Paul Guermonprez Intel Software
Programming the Geiger Counter Board 1. Arduino Files Go to and download the latest Arduino.
Design of Everyday Things Part 2: Useful Designs? Lecture /slide deck produced by Saul Greenberg, University of Calgary, Canada Images from:
Python for intel Galileo GEN2 TYWu. Software Download/Setup "Bigger" Linux Image Download the Arduino IDE for Galileo –
The Narrative Storyboard Chapter 4.4 in Sketching User Experiences: The Workbook.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
European Robotic LABoratory
Sketching Vocabulary Chapter 3.4 in Sketching User Experiences: The Workbook Drawing objects, people, and their activities.
Downloading Arduino FOR WINDOWS.
Agenda Video pre-presentations Digital sketches & photo traces
Arduino Part 1 Topics: Microcontrollers Programming Basics
Methodology Overview 2 basics in user studies Lecture /slide deck produced by Saul Greenberg, University of Calgary, Canada Notice: some material in this.
The blob bootloader Thomas Petazzoni Free Electrons
Roller Coaster Design Project
مقدمة في الاردنيو د فضل الاكوع.
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Presentation transcript:

Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet Intel Software

Before you start

Processors and IO Desktop OS We’ll use Ubuntu LTS on a laptop, but the Arduino IDE works the same on other Oses. Hardware Intel Galileo Development Board, for sale online. (example : development-board/ euros) development-board/ The box comes with cables and power supply. Software Intel Galileo Arduino SW (IDE and drivers)

Plug – Boot – Connect Step 1 Plug the power supply and wait for the USB green LED to be on. Do not proceed to step 2 until it’s green (booting). Step 2 Connect the USB cable to the USB client port, not the USB host port. Step 3 You’ll see a new linux device called /dev/ttyACM

Development Environment Extract the files from the archive : “tar –xvzf filename.tgz“ Launch the development environment (IDE) : “./arduino” Select Board and serial port in the “Tools” menu.

Update the Firmware To update the firmware, first make sure you are online Remove the micro SD card from the board (if present) Menu : Help > Firmware Update Do not unplug power or USB during the update After update, reboot the board by removing the power supply

HelloWorld with Arduino IDE

Overview Upload

Overview The Serial monitor window is only available when a board is connected. Please check that the baud rate is at You will see strange symbols if not… This is the value we’re going to use later.

Hello World : print Copy/Paste this code // put your setup code here, to run once void setup() { // initialize serial communication at 9600 bits per second Serial.begin(9600); // sending characters on serial port (visible if you display the serial monitor) Serial.println("Setup says: Hello World!"); } // put your main code here, to run repeatedly void loop() { //sending characters the same way as setup function Serial.println("Loop says: Hello World!"); //waiting a second delay(1000); } Verify and Upload Click Verify and then Upload. Code is executed, see the output in the serial monitor. Note : pushing the reset button won’t reboot the board but the program. It will execute the setup function again and then, loop on the loop function.

Hello World : blink Goal Load a file, execute, see the green LED blink. Blink Load the file from : File > Examples > 01.Basics > Blink In the new window : click Verify and Upload See the green LED flashing on the Galileo board.

Tips and links

A few important tips … Tips > Use the reset button on board to run the setup() function again and restart the loop() function > Note that reboot button seems to not be supported by embedded OSes. Reset button is implemented as restarting the Arduino sketch interpreter (a Linux service). > Also note that if you use the reboot button, USB won’t be available. Reboot your board unplugging and plugging in the power supply. > Use the serial monitor to debug your sketches

Going further … Menu There’s tons of examples, feel free to browse and execute. Sketches Arduino source code are called sketches File extension is.ino

Arduino reference

License Creative Commons – By 3.0 You are free: to Share — to copy, distribute and transmit the work to Remix — to adapt the work to make commercial use of the work Under the following conditions: Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). With the understanding that: Waiver — Any of the above conditions can be waived if you get permission from the copyright holder. Public Domain — Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license. Other Rights — In no way are any of the following rights affected by the license: – Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations; – The author's moral rights; – Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights. Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.