Skip to content

mcqn/world-o-techno

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

world-o-techno

Location-based techno with Sonic Pi and gpsd, for Bristol Mini Maker Faire 2015

See http://www.jarkman.co.uk/catalog/robots/worldotechno.htm for hardware details

Getting started:

Check this repository out into /home/pi

Install sonic-pi and rubygems

pi@raspberrypi:~$ sudo apt-get install sonic-pi ruby-rubygems

Install sonic-pi-cli to give Sonic Pi a command line (via https://github.com/Widdershin/sonic-pi-cli)

pi@raspberrypi:~$ gem install sonic-pi-cli

For USB serial devices

Install gpsd (thanks to http://blog.retep.org/2012/06/18/getting-gps-to-work-on-a-raspberry-pi/) with

pi@raspberrypi:~$ sudo apt-get install gpsd gpsd-clients python-gps

and start it with

pi@raspberrypi:~$ sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock

Check your GPS works with

pi@raspberrypi:~$ cgps -s

For a Meshtastic T1000-E tracker module

Install the serialport gem so that meshtastic-gps.rb can use it

pi@raspberrypi:~$ gem install ruby-serialport

Autostart

Make your pi start Sonic Pi and play our script when the Pi boots boot (thanks to https://rbnrpi.wordpress.com/autoboot-for-telegram-and-sonic-pi-jukebox/)

pi@raspberrypi:~$ sudo vi /etc/xdg/lxsession/LXDE-pi/autostart

and add these lines at the end:

@sonic-pi
lxterminal --command "/home/pi/world-o-techno/startup.sh"

Now reboot your Pi and see if it works.

About

Location-based techno with Sonic Pi and gpsd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 97.2%
  • Shell 2.8%