Creative Electronics Assignment 201311
Please read AssignmentDescription.
Please follow the instructions for each lecture below carefully. It will save us a lot of time.
- For the workshops on December 12 bring with you:
- Your laptop, with fully charged batteries and power cables, Arduino IDE software installed and tested.
- Your Arduino kit, including at least the following:
- Arduino board
- USB cable
- a push button
- a bread board
- a 10K ohm resistor
- a light sensor (LDR or Light Dependent Resistor)
- a few color leds
- a few jumper wires
Contents
1. Assignment resources
2. Schedule
Week |
Date |
Lecture 13:45 t/m 15:30; METAFORUM ZAAL 08 |
|
Workshop 10:45 t/m 12:30; Auditorium 13 |
1 |
12-11-2013 |
Introduction + Chapter 2 by Harrie Kuipers |
14-11-2013 |
Using Libraries, by Jun Hu |
2 |
19-11-2013 |
Variables and Flow Control, by Mathias Funk |
21-11-2013 |
Graphics, by Mathias Funk |
3 |
26-11-2013 |
Arrays and Functions, by Mathias Funk |
28-11-2013 |
Exhibition of Challenge 1 by All |
4 |
03-12-2013 |
Algorithms and Data Structures, by Loe Feijs |
05-12-2013 |
Arduino and Final State Machines by Peter Peters |
5 |
10-12-2013 |
Object Orientation, by Loe Feijs |
12-12-2013 |
OOCSI (Out of Control for Semantic Interactivity) by Mathias Funk |
6 |
17-12-2013 |
GUI and Interactivity, by Jun Hu |
19-12-2013 |
Serial and Internet (of Things), by Peter Peters |
7 |
07-01-2014 |
Beyond Processing by Jun Hu |
09-01-2014 |
Exhibition of Challenge 2 |
2.1. Week 1
2.1.1. Lecture: Introduction
2.1.2. Workshop: Using Libraries
2.2. Week 2
2.2.1. Lecture: Variables and Flow Control
2.2.2. Workshop: Graphics
2.3. Week 3
2.3.1. Lecture: Arrays and Functions
ArraysAndFunctions.pdf (just slides 1 - 24, the rest comes next week)
ArraysAndFunctions_examples.zip the introductory examples with the turning rectangles
DrawingCreatures.zip the example with the two "birds"
2.3.2. Homework: Arrays and Functions (voluntary!!)
You wanted more homework / exercise to develop your processing skills, here you go. All completely voluntary and optional. Start with the first one, as the other build on top of it. Questions? --> Ask during workshop 03, or email Mathias. Solutions? --> Next week!
Exercise Arrays.1: Initialize a list of 8 balls with colors as strings, and draw all balls on screen at a random location in the color specified.
Exercise Arrays.2: Initialize a list of 8 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Animate the balls so that they bounce off the screen borders, all with different speeds.
Exercise Arrays.3: Initialize a list of 100 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Animate the balls so that they bounce off the screen borders, all with different speeds.
Exercise Functions.1: Initialize a list of 8 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Draw the ball with a function that takes the color of the ball as a parameter.
Exercise Functions.2: Write a function that calls itself, but stops doing that after 5 times. The function should output number of the call every time.
Exercise Functions.3: Write a function that calls itself twice and with every call draws a branch of a tree, so you will get a whole tree with ever shorter branches at the end.
2.3.3. Exhibition of Challenge 1
2.4. Week 4
2.4.1. Lecture: Algorithms and Data Structures
2.4.2. Workshop: Arduino and Final State Machines
ArduinoAndSerialCommunication.pdf (ArduinoAndSerialCommunication.pptx)
Download and install Arduino on your laptop
2.5. Week 5
2.5.1. Lecture: Object Orientation
2.5.2. Workshop:Out of Control for Semantic Interactivity
2.6. Week 6
2.6.1. Lecture: GUI and Interactivity
You need to download and install the controlP5 library for Processing: http://www.sojamo.de/libraries/controlP5/. Notice that if you are using Processing 1.5.1, you have to download and install an earlier version of the controlP5: controlP5-1.5.2.zip from http://code.google.com/p/controlp5/downloads/list.
2.6.2. Workshop:Serial and Internet (of Things)
2.7. Week 7
2.7.1. Lecture: Beyond Processing
From Processing to Java: http://www.eclipse.org
Processing for Arduino: http://wiki.processing.org/w/Android
From Processing to C++: OpenFrameworks: http://www.openframeworks.cc/; http://www.openframeworks.cc/tutorials/
2.7.2. Exhibition of Challenge 2
3. Deliverables
3.1. After Exhibition of Challenge 1
For ALL students:
Attach the deliverables to an email, send it to dg290.submission@gmail.com <dg290 DOT submission AT gmail DOT com>, including:
- ZIP file of the source code from Challenge 1.
- PDF from Challenge 1.
For ID students: Feedback request after Exhibition of Challenge 1, in addition to the deliverables to the above gmail account:
Please send your request ONLY to one of the assigners, according to this RegistrationList.xls Excel sheet or in PDF format RegistrationList.pdf.
Attach all your deliverable to the request. Including:
- ZIP file of the source code from Challenge 1.
- PDF from Challenge 1.
3.2. After the assignment
For ALL students:
Attach the deliverables to an email, send it to dg290.submission@gmail.com <dg290 DOT submission AT gmail DOT com>, including:
- ZIP file of the source code from Challenge 2.
TXT file containing the YouTube link from Challenge 2.
For ID students: Feedback request after the assignment, in addition to the deliverables to the above gmail account:
Please send your request ONLY to one of the assigners, according to this RegistrationList.xls Excel sheet or in PDF format RegistrationList.pdf.
Attach all your deliverable to the request. Including:
- ZIP file of the source code from Challenge 2.
TXT file containing the YouTube link from Challenge 2.
4. Installing Processing
Download processing. Please make sure you are downloading the latest stable release. There are two versions, one with Java, one without. If you are not sure, download the one with Java.
- For those who know what the JDK is and wants to install Processing along with JDK: You need x32 version of the JDK no matter whether you are running an x32 or x64 system.
If you don't understand what the above comment is about, download the one with Java.
- Create a directory "Programs" on the C: disk, in the root. If "C:\Programs" exists already, skip this step.
- Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Processing, remove the entire processing directory first.
- Create a shortcut on your desktop to "Processing.exe" for easy access.
5. Installing Arduino
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. Follow the instructions in page 23, Chapter 3 of Getting Started With Arduino
If you are installing Arduino on Windows 8, the link below explains shortly how to install drivers for arduino on Windows 8.
http://mytechblog.com/2013/03/install-arduino-drivers-on-windows-8/. (Thanks to Wouter van der Wal for pointing this out)
6. Installing Processing
7. If you have questions or if you need help
- The assigner will announce a help hour during his lecture.
- The assigner will be available during this hour only if one or more of you make an appointment.