! ! ! ! ! ! ! ! ! ! !
!
4!
!
Software!Installation!
We! strongly! recommend! to! install! the! software! for! Witty! Pi! before! physically! mount!
Witty!Pi!on!your!Raspberry!Pi.!
You!will!need!to!have!your!Raspberry!Pi!connected!to!the!Internet.!The!installation!will!
be!very!simple!if!you!run!the!installing!script!from!us.!The!wiringPi!utility!is!required!by!
the!software!so!the!script!will!install!it!for!you,!if!you!don’t!have!it!yet.!
The! software! has! been! tested! under!
Raspbian! Wheezy!
and
! Raspbian! Jessie
.! It!
might!also!works!on!other!operating!systems!with!or!without!modification.!
First!step!is!to!run!this!command!in!your!home!directory:!
!
If! your! Pi! has! internet! connection,! it! will! immediately! download! the! script! from! our!
website,! and! you! will! then! see! the! “installWittyPi.sh”! script! in! your! home! directory.!
Then!you!just!need!to!run!it!with!sudo:!
!
!
Please!notice!that!
sudo
!is!necessary!to!run!this!script.!This!script!will!automatically!do!
these!tasks!in!order:!
1.! Enable!I2C!on!your!Raspberry!Pi!
2.! Install!i2cctools,!if!it!is!not!installed!yet!
3.! Configure!Bluetooth!to!use!minicUART!(Raspberry!Pi!3!only)!
4.! Install!wiringPi,!if!it!is!not!installed!yet!
5.! Install!Witty!Pi!programs,!if!they!are!not!installed!yet!
You! can! also! manually! install! these!packages! if! you! prefer! to.! After! the! installation,!
please!remember!to!
reboot!your!Raspberry!Pi
,!so!the!Realtime!clock!I2C!hardware!
will!be!loaded!correctly.!
You!will!see!a!new!“wittyPi”!directory,!and!it!contains!3!runnable!scripts:!
pi@raspberrypi
!
~!$
!
wget!http://www.uugear.com/repo/WittyPi/installWittyPi.sh
!
pi@raspberrypi
!
~!$
!
sudo!sh!installWittyPi.sh
!