We currently have:
- 10 Raspberry Pi 2 Model B's,
- 20 MicroSD 8GB cards with SD card adapter,
- 20 TrafficHat's (actually 21, but one is not functioning)
- 20 HDMI to DVI adapters
- 20 Micro USB power adapters
You will need to find an additional 10 Raspberry Pi 2 Model B's to use the 20 Traffichats.
To run the workshop, I prepared an image based on Raspian Jessie. On this image I did the following:
- Install ScratchGPIO7,
- Configured Belgian AZERTY keyboards
- Created a basic Scratch worksheet with the signals preconfigured
- Wrote a small
reset.sh
bash script
The reset.sh
script copies the basic worksheet into ~/Documents/Scratch Projects/rsc.sb
. When ScratchGPIO is started using the desktop icon, it will
open this file, ~/Documents/Scratch Projects/rsc.sb
.
The desktop icon acts as a shortcut to a script starting Scratch and a GPIO server in the background. This is done as root. If the user overwrites the rsc.sb
file he will do so as root. In this case, the reset.sh
script will give an error and you need to run it as root.
I prepared handouts. You can generate an HTML version using Pandoc:
pandoc handouts.md -s -c pandoc.css -t html5 -o handouts.html
- Check the display connectors in the room, you need monitors that have a HDMI or DVI input.
- Check the keyboards. You might need to alter the image if they are not AZERTY.
- Write the (image)[image.img.bz2] to the Micro SD cards.
- Print the handouts.
- Install the old Scratch 1.4 on your machine. If you use the new web based scratch it gets confusing when you demo stuff.