Arduino 101

38 %
63 %
Information about Arduino 101
How-to & DIY

Published on February 21, 2014

Author: pierrepichot

Source: slideshare.net

Description

Discover the Arduino platform, that allows to very easily develop awesome embedded stuffs, from a small bot to an advanced nanosatellite (true story!).

Arduino 101 – Easy embedded development p e n t a l o g . f r

Agenda What is that « Arduino » we're talking about ? An Arduino board : Uno Is there any tool ? The Arduino language Example 1 : Blink Example 2 : Let's talks Example 3 : Handling MIDI messages Conclusion J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 2

What is that « Arduino » ? Open-source electronics platform Educationnal, DIY oriented → very well documented Robust, easy to use and low cost Using the Arduino language Based on ATmega microcontrollers Different kinds of boards J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 3

An Arduino board : Uno ATmega 328 microcontroller @ 16 MHz 14 digital I/O 6 analog I/O Flash memory : 32 KB SRAM : 2 KB EEPROM : 1 KB J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 4

Is there any tool ? Yes ! the Arduino IDE Allows to write programs, debug and send the sketch to the board Free :) Runs on Windows, MacOS, Linux More extensive IDE : Code::Blocks for Arduino Plugins for Visual Studio, Eclipse, Xcode... J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 5

The Arduino language Based on Wiring, but in the end, that's C and C++ Extensive documentation Large community : the Playground ! Development tools Libraries Tutorials Default structure of a sketch : Setup phase The (endless) loop J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 6

Example 1 : Blink int led = 13; void setup() { pinMode(led, OUTPUT); } void loop() { digitalWrite(led, HIGH); delay(1000); digitalWrite(led, LOW); delay(1000); } J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 7

Example 2 : Let's talk Example : send numbers from the computer and make the sum Acrobat Document J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 8

Example 2 : Let's talk Example : send numbers from the computer and make the sum Weird results ! We actually send bytes :) Conversions are needed : We receive our number byte by byte : need to recreate our int But before, we have to translate our bytes The board can't know the length of the int : send a new line byte Acrobat Document J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 9

Example 3 : Handling MIDI messages (1) The idea : depending on the MIDI Program Change messages you receive, switch on or off LEDs according to a defined pattern MIDI : Musical Instrument Digital Interface Communication protocole for digital musical instruments Can send Notes, Program Changes (change a preset on a device), Continuous Controls (like an expression pedal), Clock synchronisation, … J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 10

Example 3 : Handling MIDI messages (2) MIDI input according to the MIDI Manufacturers Association Add MIDI library with #include <MIDI.h> Set up the MIDI channel & the pins In the loop : handle the MIDI messages (PCs) and do the switching Acrobat Document J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 11

Conclusion The Arduino platform is inexpensive and easy to use It's a growing platform It's also fitted for production It's open source, everyone can contribute on every level Made in UE :) J U LN 2 0 1 3 IY 2 p e p e a lt o g o f r. f r nt n al . g 12

Thanks ! p e n t a l o g . f r

Add a comment

Related presentations

Related pages

Arduino - ArduinoBoard101

Arduino 101 & Genuino 101 combine the ease-of-use of the classic boards with the latest technologies. The board recognises gestures, and features a six ...
Read more

Arduino 101* Spezifikationen - ark.intel.com

Arduino 101* Spezifikationen Leitfaden einschließlich Spezifikationen, Funktionsmerkmalen, Preisen, Kompatibilität, Designdokumentation, Bestellcodes ...
Read more

Arduino - Home

Arduino senses the environment by receiving inputs from many sensors, and affects its surroundings by controlling lights, motors, and other actuators.
Read more

Arduino 101: Original-Arduino mit Intel-Chip - Golem.de

Arduino 101: Original-Arduino mit Intel-Chip Intel stellt den Arduino 101 auf der Maker Faire Rom 2015 bereits aus. (Bild: Alexander Merz/Golem.de)
Read more

Arduino 101 – Arduino Store USA

Documentation Arduino 101 is open-source hardware! These are the relevant files: Schematics - Reference Design. If you want more information about ...
Read more

Arduino 101 - Intel

Hier sollte eine Beschreibung angezeigt werden, diese Seite lässt dies jedoch nicht zu.
Read more

Arduino Store USA

Shop the official Arduino.cc online store for boards, shields, kits, components, books, accessories, and more—everything you need to get started on your ...
Read more

Arduino INDUSTRIAL 101 - Arduino - open source products ...

Developed with ATmega 32u4 MCU, Arduino Industrial 101 is an Evaluation board for the 101 Industrial LGA module. It supports Linux distros. Read more!
Read more

Arduino 101* Board | Start Your Project and Become a Maker

The Arduino 101* module can help you become a Maker, start your first Arduino 101 project and discover what you can create with this low-cost system.
Read more

Arduino 101 - DEV-13787 - SparkFun Electronics

DEV-13787: The Arduino 101 is a learning and development board that delivers the performance and low-power consumption of the Intel® Curie module with the ...
Read more