際際滷

際際滷Share a Scribd company logo
Hardware is the new 
Software Baby! 
PiFace and Gertboard in your face !! 
... Or hands, whichever you prefer.
Recap of Previous Meetup 
http://greenasathistle.files.wordpress.com/2007/07/noreason.jpg
Vision 
 Get people interested in the Raspberry Pi and 
to have them come together to build 
solutions, with humour, that benefit society.
Mission 
BY 11TH AUGUST 15 
 Get this meetup group to grow to 200 people. 
 Have at least 10 meetup sessions. 
 Have one article published in the Straits times 
about this group.
Mission : Where we stand 
Ultimate Mission 
 Get this meetup group to 
grow to 200 people. 
 Have at least 10 meetup 
sessions. 
 Have one article published 
in the Straits times about 
this group. 
BY 13th October14 
Mission in Progress 
 128 Members now 
 2nd Meetup on-going 
 Still need Ideas on how to 
achieve this !
http://www.meetup.com/Singapore- 
Raspberry-Pi-Enthusiasts-meetup/ 
events/196125882/
http://media-cache-ak0.pinimg.com/236x/87/dd/9e/87dd9ed4e8edeff76f8e5a1218656e16.jpg 
NOW FOR THIS MEETUP
Two Contenders 
 HEAVYWIGHT 
 GERTBOARD 
 LIGHTWEIGHT 
 PiFace
PiFace 
 http://sg.element14.com/piface/piface-digital/i-o-expansion-board-for-raspberry/ 
dp/2218566
Tech Stats 
 2 mechanical relays (connected to outputs 1 and 2; can 
be disabled via jumpers) 
 *Relays can be used to switch voltages up to 20V (Max) or currents up to 
5A (Max) 
 4 momentary pushbutton PCB switches 
(connected to inputs 1-4) 
 8 digital inputs (sink to GND to activate each input pin; 
pulled-up via software) 
 8 open-collector outputs 
 8 LED indicators (for the 8 digital outputs)
Hardware is the new software baby!
Setting up Scratch for PiFace 
 After updating/upgrading OS 
 21 steps to initialize Scratch to detect the 
PiFace 
 http://www.piface.org.uk/guides/scratch_with_pifacedigital/Setting_up_Scratch/
Stacking the PiFace
http://www.hobbytronics.co.uk/raspberry-pi/female-header-socket-2x13
PiFace Emulator 
http://raspberryalphaomega.org.uk/wp-content/uploads/2013/01/piface-ui.png
Programming 
 Python 
 http://piface.github.io/pifacedigitalio/ 
 Java 
 https://github.com/Pi4J/pi4j 
 http://www.savagehomeautomation.com/projec 
ts/raspberry-pi-programming-pi-face-with-java-pi4j. 
html
Scratch with PiFace
Hardware is the new software baby!
Biggest advantage of PiFace 
Board over Gertboard
PiFace Digital 2 
http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/piface-digital?ICID=rpiaccsy-featured-products
Gert Van Loo 
GERTBOARD 
http://m.eet.com/media/1192878/Gert-van-Loo.jpg
Hardware is the new software baby!
Gertboard Installation 
Step 1: Take Gertboard 
Step 2: Align Gertboard according to GPIO 
pins 
Step 3: Power on Raspberry Pi 
Step 4: Run your script
Gertboard 
 12x buffered I/O 
 3x pushbuttons 
 6x open collector drivers (50V, 0.5A) 
 18V, 2A motor controller 
 28-pin dual in line ATmega328 microcontroller 
 2-channel 8, 10, or 12 bit Digital to Analogue 
converter 
 2-channel 10 bit Analogue to Digital converter
Two resources for demo 
 http://raspi.tv/download/GB_Python.zip 
 http://www.element14.com/community/docs 
/DOC-52909/l/assembled-gertboard-software-jan- 
2013?ICID=gertboard-techdoc
LED test
Motor Test
Links 
 http://www.element14.com/community/docs/DOC- 
52909/l/assembled-gertboard-software-jan- 
2013?ICID=gertboard-techdoc 
 Download gertboard_sw_20120725.zip 
 Test files are created in Python and C
Gertboard Arduino IDE Installation 
 https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation- 
isp/ 
 sudo apt-get install arduino
Gertboard Arduino IDE Installation
http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/ 
gertduino 
Gertduino 
Simpler, petite 
alternative to the 
Gertboard. 
Costs less too !! 
Does not need to 
be connected to Pi 
for power !!
Without 
any 
Extension 
Boards ? 
SCRATCH GPIO CONTROL 
http://www.texassharon.com/wp-content/uploads/2012/10/scratching-head1.jpg
Scratch and GPIO 
What if you dont have a PiFace or a GertBoard? 
Can you still control your GPIO with scratch ? 
YES YOU CAN
Resources 
 http://simplesi.net/scratchgpio/scratch-raspberrypi-gpio/
The End 
Questions and Queries ?
ANNOUNCING A RASPBERRY PI 
INITATIVE
PCB for Gert's Passive VGA adapter 666 for Raspberry Pi B+ 
http://vimeo.com/105666360

More Related Content

Hardware is the new software baby!