2855
Comment:
|
2842
|
Deletions are marked like this. | Additions are marked like this. |
Line 51: | Line 51: |
* resistors of 22K 10K, 2.2K and 470 Ohm (1 each) * 2 light sensors (LDR or Light Dependent Resistor) |
* resistors of 22K, 10K, 2.2K and 470 Ohm (1 each) * 2 Light Dependent Resistors (LDR's) |
Arduino Programming
Please read this page completely before attending the lecture, and do as requested...
1. 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 O'Reilly
Before the lecture, Please download and install Arduino on your laptop.
Download Arduino software;
- Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Arduino software, remove the entire arduino directory first.
- Create a shortcut on your desktop to "Arduino.exe" for easy access.
Install necessary Arduino drivers. Instructions for Windows, Mac and Linux can be found at the 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 how to install drivers for arduino on Windows 8.
2. Lecture / Workshop
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: ArduinoAndSerialCommunication v0.2.pdf
3. 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: CSIT state machines.zip