Differences between revisions 2 and 27 (spanning 25 versions)
Revision 2 as of 2013-10-22 19:26:56
Size: 9562
Editor: v201
Comment:
Revision 27 as of 2015-02-27 06:56:35
Size: 266
Editor: 179
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers 2

= 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

<<TableOfContents>>

== Assignment resources ==
 * [[attachment:Reader.pdf | Creative Electronics Reader]]
 * [[http://www.arduino.cc | Arduino wwebsite ]]

== 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 ||<bgcolor="#E0E0FF"> 28-11-2013 ||<bgcolor="#E0E0FF"> 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 ||<bgcolor="#E0E0FF"> 09-01-2014 ||<bgcolor="#E0E0FF"> Exhibition of Challenge 2 ||

=== Week 1 ===
==== Lecture: Introduction ====
 * [[attachment:Introduction.pdf]]

==== Workshop: Using Libraries ====
 * [[attachment:UsingLibraries.pdf]]

=== Week 2 ===
==== Lecture: Variables and Flow Control ====
 * [[attachment:VariablesAndFlowControl.pdf]]

==== Workshop: Graphics ====
 * [[attachment:Graphics.pdf]]
 * [[attachment:Graphics_Exercises.zip]]

=== Week 3 ===
==== Lecture: Arrays and Functions ====
 * [[attachment:ArraysAndFunctions.pdf]] (just slides 1 - 24, the rest comes next week)
 * [[attachment:ArraysAndFunctions_examples.zip]] the introductory examples with the turning rectangles
 * [[attachment:DrawingCreatures.zip]] the example with the two "birds"

==== 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.

==== Exhibition of Challenge 1 ====

=== Week 4 ===
==== Lecture: Algorithms and Data Structures ====
 * [[attachment:AlgorithmsAndDataStructures.pdf]]
 * [[attachment:AlgorithmsAndDataStructures_examples.zip]]

==== Workshop: Arduino and Final State Machines ====
 * [[attachment:ArduinoAndSerialCommunication.pdf]] ([[attachment:ArduinoAndSerialCommunication.pptx]])
  * Download and [[#installArduino|install Arduino]] on your laptop
  * Book: [[attachment:GSArduino.pdf|Getting started with Arduino]]

=== Week 5 ===
==== Lecture: Object Orientation ====
 * [[attachment:ObjectOrientation.pdf]]
 * [[attachment:ObjectOrientation_examples_Cars.zip]]
 * [[attachment:ObjectOrientation_examples_Earth.zip]]
 * [[attachment:ObjectOrientation_examples_EPD.zip]]
 * [[attachment:ObjectOrientation_examples_Planets.zip]]

==== Workshop:Out of Control for Semantic Interactivity ====

=== Week 6 ===
==== Lecture: GUI and Interactivity ====
 * [[attachment:GuiAndInteractivity.pdf]]
 * [[attachment:GUIExamples.zip]]
 * 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]].


==== Workshop:Serial and Internet (of Things) ====

  * [[attachment:IoT2013Q3.pdf]]
  * [[attachment:IoT2013Q3Examples.zip]]

=== Week 7 ===
==== 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/]]

==== Exhibition of Challenge 2 ====

<<Anchor(Deliverables)>>

== Deliverables ==

=== After Exhibition of Challenge 1 ===

 * '''For ALL students''':
  * Attach the deliverables to an email, send it to <<MailTo(dg290 DOT submission AT gmail DOT com, dg290.submission@gmail.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 [[attachment:RegistrationList.xls]] Excel sheet or in PDF format [[attachment:RegistrationList.pdf]].
  * '''Attach all your deliverable to the request'''. Including:
   * ZIP file of the source code from Challenge 1.
   * PDF from Challenge 1.

=== After the assignment ===

 * '''For ALL students''':
  * Attach the deliverables to an email, send it to <<MailTo(dg290 DOT submission AT gmail DOT com, dg290.submission@gmail.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 [[attachment:RegistrationList.xls]] Excel sheet or in PDF format [[attachment: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.



<<Anchor(installProcessing)>>

== Installing Processing ==
 1. [[http://processing.org/download/|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.
 1. Create a directory "Programs" on the C: disk, in the root. If "C:\Programs" exists already, skip this step.
 1. Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Processing, remove the entire processing directory first.
 1. Create a shortcut on your desktop to "Processing.exe" for easy access.

<<Anchor(installArduino)>>

== Installing Arduino ==
 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. Follow the instructions in page 23, Chapter 3 of [[attachment:GSArduino.pdf|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)


== Installing Processing ==

== 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.
Namaku Arjuna fгom Surefors. saya lagi belajar Trombone. Hobi lainnya adalah Radio-Controlled Mobil Balap.<<BR>><<BR>>
<<BR>><<BR>>
Jangan lupa untuk Kunjungi web Kami untuk dapatkan Informasi lebih komplit tentang [[http://bozbet.com|bozbet.com]]. Terima Kasih

Namaku Arjuna fгom Surefors. saya lagi belajar Trombone. Hobi lainnya adalah Radio-Controlled Mobil Balap.



Jangan lupa untuk Kunjungi web Kami untuk dapatkan Informasi lebih komplit tentang bozbet.com. Terima Kasih

CreativeElectronics: CreativeElectronicsAssignment201311 (last edited 2015-03-24 20:06:22 by PeterPeters)