#pragma section-numbers 2 = Arduino Programming = Please read this page completely '''''before''''' attending the lecture, and do as requested... <> <> == Preparation == /!\ To be able to perform the practical parts of the lecture you need to do the following: * For your convenience, you can get a copy of ''Getting Started with Arduino'', by By Massimo Banzi, e.g. from [[http://shop.oreilly.com/product/0636920021414.do|O'Reilly]] * Before the lecture, Please download and [[#installArduino|install Arduino]] on your laptop. 1. Download [[http://www.arduino.cc/|Arduino software]]; 1. Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Arduino software, remove the entire arduino directory first. 1. Create a shortcut on your desktop to "Arduino.exe" for easy access. 1. Install necessary Arduino drivers. Instructions for Windows, Mac and Linux can be found at the [[http://arduino.cc/en/Guide/HomePage|Arduno installation guide]] or you can follow the instructions as described in page 23, Chapter 3 of the book 'Getting Started With Arduino'. /!\ If you are installing Arduino on Windows 8, check out [[http://mytechblog.com/2013/03/install-arduino-drivers-on-windows-8/|how to install drivers for arduino on Windows 8]]. <> == Lecture / Introduction == To optimally profit of the lecture / workshop you are supposed to bring: * Your laptop, with fully charged batteries and power cables. * Your Arduino starter kit (as an ID student you will need it in the future anyway). It has to contain at least the following: * Arduino board * USB cable to connect the Arduino to your notebook * a push button * a breadboard * a 10K ohm resistor * a light sensor (LDR or Light Dependent Resistor) * a led * a few jumper wires Available resources * The lecture slides for the workshop can be found here: [[attachment:ArduinoAndSerialCommunication v0.2.pdf | ArduinoAndSerialCommunication v0.2.pdf]] <> == Lecture / State machines == To optimally profit of the lecture you are supposed to bring: * Your laptop, with fully charged batteries and power cables. * Your Arduino starter kit (as an ID student you will need it in the future anyway). It has to contain at least the following: * Arduino board * USB cable to connect the Arduino to your notebook * a push button * a breadboard * resistors of 22K, 10K, 2.2K and 470 Ohm (1 each) * 2 Light Dependent Resistors (LDR's) * a led * a few jumper wires Available resources * The lecture example code and explanatory slides and more can be found here: [[attachment:CSIT state machinesV02.zip | CSIT state machines.zip]] * The lecture sheets can be found here: [[attachment:AddingProgrammingPartII.ppt | AddingProgrammingPartII.ppt]] [[FrontPage|Back]]