Workshoplesson1

From ip
Revision as of 13:37, 20 March 2017 by Teun Verkerk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


What is Arduino?

There are many complete documentations online about the Arduino platform and what it is, for instance here by SparkFun or by the creators of Arduino.

Arduino is an open-source electronics platform based on easy-to-use hardware and software. 
Arduino boards are able to read inputs - light on a sensor, a finger on a   button, 
or a Twitter message - and turn it into an output - activating a motor, turning on an LED, 
publishing something online. You can tell your board what to do by
sending a set of instructions to the microcontroller on the board. 
To do so you use the Arduino programming language (based on Wiring), 
and the Arduino Software (IDE),  based on Processing.

Arduino is an easy platform to interface with sensors and actuators.

The hardware:

Arduinoports.JPG

and the software:

ArduinoIDE.png

In this example an ultrasonic sensor is hooked up to an Arduino that allows it to measure distance while an LCD screen is used to communicate this distance back to the user.

Arduinoexample2.jpg

This can be described in a schematic such as the diagram below (example).

Diagramsensorsactuators.gif

Basic Sketches

Workshop:

- install the Arduino IDE*

Work on the challenges provided in the workshop


Please note that you can also code Arduino in your browser and store your projects in the cloud. For this workshop however we will be using the Arduino IDE installed on your laptops. Just beware that Arduino has a lot of official and 3rd party tools to make coding and collaboration easier. For instance entire circuits can be prototyped virtually in platforms such as 123Circuits or arduino can be programmed with a visual programming language with Visuino.com.

Further reference

On the main page of the Physical Computing workshop there is a chapter Resources listing links for further reference.

Additionally several (e-)books on Arduino are available.

Arduino Cookbook.jpgArduinobook3.jpgArduinofordummies.jpg