Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hacking Raspberry Pi with Go

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Hacking Raspberry Pi with Go

Avatar for Jarkko Rantamäki

Jarkko Rantamäki

March 07, 2017

Other Decks in Programming

Transcript

  1. RaspberryPi 3 Model B • ARMv6 • CPU: 4 x

    ARM Cortex-A53 1.2GHz, 1GB RAM • Raspbian GNU/Linux 8 (jessie) • Go 1.8 binary works out of the box • https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz • Cheap and fun to play with.
  2. Sense HAT add on board • European Space Agency Astro

    Pi competition in 2015 • 8 x 8 RGB led matrix • Five button joystick • Gyroscope, Accelerometer • Magnetometer • Temp, humidity, pressure
  3. But why? • Game dev with training wheels, cause you

    can only do so much with 8 x 8 matrix • But it leaves a lot for the imagination • Simple is beautiful • Go library to control the add on boards, https://github.com/nathany/bobblehat • Channels and go routines exercise for myself
  4. In retrospective… • Joy of programming just for myself, I

    felt like little kid again. • Like coding for the first time, did not notice time passing • Old habits die hard, Objects vs. simple data structures • I’ve done other hobby projects, but…
  5. Summary • Raspberry Pi is fun to hack with and

    easy on the wallet too J • Simple is beautiful and can be a lot of fun • https://bitbucket.org/bitodi/spacemonsters • https://www.meetup.com/Helsinki-Gophers/ • https://astro-pi.org/ • https://github.com/nathany/bobblehat