Introduction to Physical Computing

From air
Revision as of 10:37, 4 June 2013 by Admin (talk | contribs)
Jump to: navigation, search

Presentations

The aim of the courses and the practical sessions is to offer to students a theoretical and practical overview of Physical Computing domain. By Physical Computing we means the building of little systems, usually interactive, composed of sensors (like button), actuator (like led and motors) linked to microcontroller and eventually connected to computer.


Date and location

Date and Location
Date Location
1 5 June, 14:00-16:00 P048
2 1? June, 13h30-16:30 P048
3 14 June, 14:00-17:00 P048
4 20 June, 13:30-17:30 P048
5 25 June, 8:00-12:00 P048

Examination

Students will be evaluated on the basis of reports written during practical sessions.

Questions which must be addressed in your report is prefixed below, by: In your report.


The reports must describe your realisations and experiments. You can adapt and modify circuits and codes to show your creativity or possible enhancements. When a circuit is operational give a demonstration to the teacher. In your report, for each built circuit present the schematic and code (you can omit some part latter if you give appropriate indication) with explanation. In report, always indicate your modification, circuit and code enhancements and your sources of information if any.

Practical materials

Circuits will be built with Arduino board as main component. Arduino IDE will be used to edit, compile program and to upload the compiled program on Arduino board (also referred as flashing the board).

See also, translated wiki page praticals with arduino

Level 1 : Basics (courses 1 and 2)

The minimal circuits to realise are Blinking on board LED, Blinking external LED, Music , Push Button, Potentiometer and PushButton/Music.

  1. Blinking on board LED: use Files/Examples/Basics/Blink in Arduino IDE
  2. Blinking external LED: explanations, code and Schematic
  3. Music with Piezo or Speaker: explanations, code and Schematic
  4. Push Button: explanations, code and Schematic. Code is also in Arduino IDE (Files/Examples/Digital/Button). Pull Up / Pull Down Resistor
  5. Multiple LEDs: explanations, code and Schematic
  6. Potentiometer (variable resistor): explanations, code and Schematic
  7. In your report: Create a circuit which plays a music or one note when you push the button and a another music when you release it.

Level 2 : Medium (courses 2 and 3)

to be completed

  1. Demonstrates the use of analog output to fade an LED. explanations, code and Schematic. PWM
  2. Servormotor: explanations, code and Schematic
  3. In your report: Build a circuit with potentiometer and servomotor where the angular position of servomotor is controlled by the potentiometer.
  4. DigitalReadSerial - read a switch, print the state out to the Serial Monitor explanations, code and Schematic Serial Communication
  5. In your report: Build a circuit with a servomotor which is controlled by value send via Serial Monitor
  6. In your report: Experimenting and explain Bidirectional Communication with PC (write a simple or find a simple program to demonstrate communication with Serial Monitor).
  7. Introduction to Processing environment
  8. Experiment communication between Arduino and Processing Program with explanations, code and Schematic (program is also in File/Examples/Communication/Graph directory)
  9. Debouncing Push Button
  10. Nokia LCD (optionnal ...)
  11. Servermotor controlled by Wii Nunchuk (optionnal)
  12. Matrice Keyboard (optionnal)

Level 3 : Advanced (courses 3 and 4)

  1. Wireless Communication: Bluetooth or Zigbee (not addressed)
  2. Use interruption (see Help/Reference/AttachInterrupt)
  3. In your report: Use interruption in the circuit which plays a music when you push the button and a another music when you release it.

Level 4 : Final (course 4 and 5)

In your report: Address one project among those below:

  1. Develop a simple game with Nokia LCD and push buttons.
  2. Simon game with your personal modification.
  3. Pong Game with arduino + 2 potentiometers + processing + sound
  4. Develop program or game which use TM1638 display (This display has 8x push buttons, 8x LED and 8x7-segments)
  5. Create our own project

Link

Translated wiki pages praticals with arduino