Some more Arduino tutorials, these use the excellent Scratch for Arduino (http://s4a.cat/). The following links are to PDFs:
First off we get a single LED to flash on / off:
https://drive.google.com/open?id=0B_YZvz83_le0Uk93Qm51MC11Tlk
A simple reaction test game:
https://drive.google.com/open?id=0B_YZvz83_le0VlV3NFBGZVR4ckE
A temperature sensor:
https://drive.google.com/open?id=0B_YZvz83_le0bjhmdTcxR3Z6aFU
How to wire up buttons part 1:
https://drive.google.com/open?id=0B_YZvz83_le0ZGpzNEs5b2FOZVk
Following on from the above this tutorial uses the buttons to move a sprite:
https://drive.google.com/open?id=0B_YZvz83_le0Y2dkcFZzdGp2Q2c
Using a joystick:
https://drive.google.com/open?id=0B_YZvz83_le0Y2dkcFZzdGp2Q2c
Thursday, 14 January 2016
Wednesday, 13 January 2016
Simple Arduino memory game
Here is a tutorial for a very simple memory game that flashes a sequence of LEDs. You respond via the serial console with a list of 'r' or 'g' characters to indicate the sequence. The tutorial also shows you how to respond via a console application. There are more sophisticated arduino memory games on the web but I tried to keep this one as easy as possible as it was used in our coder dojo session.
PDF:
https://drive.google.com/file/d/0B_YZvz83_le0Vy16WUg1eVNyVjQ/view?usp=sharing
Code:
https://drive.google.com/open?id=0B_YZvz83_le0a0g0bWxPSV9xeTA
PDF:
https://drive.google.com/file/d/0B_YZvz83_le0Vy16WUg1eVNyVjQ/view?usp=sharing
Code:
https://drive.google.com/open?id=0B_YZvz83_le0a0g0bWxPSV9xeTA
Subscribe to:
Posts (Atom)