Class 3: 22 March:

Arduino still. Some extra LEDS and buttons. Experimenting with our C language “sketch”.

You will need that Breadboard to plug the arduino into.

The Powerpoint File used in class.

The Arduino sketches . Unzip all this somewhere smart (your desktop?). Then copy the two FOLDERS to your sketchbook area. In linux that is likely ~/sketchbook/. In Windows it is probably …\myDocuments\Arduino\.

Eg on my linux, I would copy Blink12 folder and RedGreenGame folders (each containing its one same-named INO file) into /home/brian/sketchbook/ like this:

(Hint: Click File/Preferences in the Arduino program to see where the sketchbook folder is on your PC.)

 

Class 4: 5 April:

Continuing / consolidating Class 3. (Arduino with LEDs and Buttons.) The LED and BUTTON we hooked up two weeks ago are not changed this week.

The code we will use this week (blink12.ino and RedGreenGame.ino) is HERE.

We will spend time learning from this software on this week’s tutorial.

PPT FILE for class.

 

 

Class 5: 26th April:

(Skip over Easter!)

Back to our Raspberry Pi. The rPi needs to catch up with what our Arduino is already doing – talking to some simple digital “bits” like LEDs and buttons.

Homework: Setting the Cobbler onto the Breadboard (and adding a LED)

The PPT we will use is HERE. And the code (“blink12.py”) is HERE.

 

 

Class 6: 3rd May

Consolidating. More about LEDs & Pushbuttons on Raspberry Pi. (No changes to the LEDs/buttons we have plugged in.)

Fetch the 3 code files (tcobbler.py, BlueGreenGame.py and flasher2.py) from the SCRIPTS PAGE (can find from drop-down menu under Classes on top bar). HOMEWORK: Print these out & bring them to class this week. This class this week is primarily for looking at the software that can do the magic. “Bot Software” !! So that we can understand the scripts provided, what they are doing. And for making it not so daunting to play with those scripts, tinker, change them ourselves to do slightly different things.

The PPT file used.

 

 

Class 7: 17 May

HOMEWORK: Still bring those scripts you printed out. This class this week is primarily for looking at the software that can do the magic. ”