One of the reasons to buy the Pi was the PiFace. My job at the uni gives me the possibility to help out if a lecture is cancelled or if a group of possible future students is around.
What I would like to have for these occassions is a prepared lecture (or lab) showing the appliance of programming. The age and experience of these groups is assorted and unknown until the start. Looks like I need a lesson that I can adapt on the fly.
This week we had our “Study on Trial”-Week where I did a Scratch-Lab for 6 people. The day before I found a way to connect my Arduino to Scratch (S4A) and thought that this could be a way to get people involved.
As extension to Laptop+Arduino my idea is now to combine Pi with PiFace.
I’m using this Blogpost as source.
Activating the SPI Driver by editing the file /etc/modprobe.d/raspi-blacklist.conf:
sudo nano /etc/modprobe.d/raspi-blacklist.conf
Insert #:
#blacklist spi-bcm2708
(good to know that i2c can be enabled in this file aswell)
Now there is a German saying: Reboot tut gut (reboot, thats good).
Installing PiFace digital libraries (according to this post):
sudo apt-get update
wget http://pi.cs.man.ac.uk/download/install.txt
bash install.txt
And again reboot.
Scratch
Thats were I am struggling a bit at the moment.
This post seems to be helpful. But before beeing able to do the “shift-click” thing its necessary to enable “Mesh” as described on this Page. Scratch crashes when I’m trying to save the image.
Thats enough messing around for today 😉
Update: After starting scratch from LXTerminal using “sudo scratch” changing the image worked. I think I’m going to to a proper post about connecting scratch later.