Happy Pi Day!

Originally published at: https://mycroft.ai/blog/happy-pi-day/

Today is every math geek’s favorite holiday – Pi Day! In honor of what is calculably the most well rounded holiday we present…Picroft 18.02!

Our favorite flavor of Pi? Raspberry!

Mycroft loves the Raspberry Pi. This flexible piece of hardware fueled the embedded hardware revolution. The Pi 3 in particular brought an incredible package of affordable computational power and flexible hardware to the masses. Mycroft likely won't have existed without it -- we originally started prototyping the project with a Pi 2, and a Pi 3 beats at the heart of every Mark 1.

What is Picroft?

A little over a year ago I released the first Picroft image. It was designed to make getting started with Mycroft easy. While installing Mycroft isn't super difficult, adding it to Raspbian has a few gotchas that seemed to trip-up everyone who attempted to do it before Picroft.

For example, PulseAudio – required by Mycroft – is particularly finicky on a Raspberry Pi. A long-standing issue in the driver and the way the Pi generates analog output using CPU interrupts would cause periodic 30-second lockups. This made it nearly usable, but not actually fun.

So I wanted to create a definitive image you could download, burn to an SD card, put it in to your Pi3 along with a basic USB microphone and an analog speaker and just plug in. No diddling with drivers, config files or apt-get installs. Even a monitor and keyboard was optional.

The first version wasn’t perfect, but it was apparently good enough. To date the various versions have been downloaded over 25,000 times!

The 18.02 edition

Like all the technologies at Mycroft, we have evolved Picroft in public and with the help and input of the community. We try to keep the good stuff there and make the rough stuff a little easier.

Key recent changes include:

  • CLI interface on by default While Picroft can be used without a monitor connected to it, many begin with a keyboard and monitor.
  • Update to the latest wifi-setup/pairing During the last few months we've tracked down a few issues with certain phones and routers. The process is quite a bit more robust now.
And, of course, this has the latest mycroft-core 18.2.0b pre-installed. As with the previous builds, it will automatically update itself as we release new versions.

Add your own topping

Like the Raspberry Pi itself, Picroft is an enabling technology. Customize it with your own skills. Connect it to your own hardware and give it a voice. Use the simple ~/audio_setup.sh and ~/custom_setup.sh hooks to easily start up other Raspbian tools or packages you add to the base image. Create your own delicious flavor of Pi.

Lastly – show it off! Share your handiwork and adding the #picroft hashtag to your Youtube or Twitter post.

3 Likes

Hi,

Is the image released yet?

When click the link to “https://mycroft.ai/to/picroft-image

I get to download a file named raspbian_Picroft_2018-01-19_v0.9.1.zip in google drive. I downloaded picroft at the end of kickstarter campaign and quite sure was same date and version in the name.

1 Like

Totally my fault. I released this blog post before I checked with Steve that the new image was ready. Give us a couple hours and it should be up.

Okey, no problem, I will check back bit later.

1 Like

Picroft unstable release is ready for testing, if this tests OK it will be promoted to stable.

https://mycroft.ai/to/picroft-unstale

Many thanks to @steve.penrod for all his work on this.

Hi again,

I think you got a spelling error in the url. I think it should be:

https://mycroft.ai/to/picroft-unstable

Yes, thanks for pointing that out - apologies

This is great! Thanks to the entire Mycroft team for all that you do! Quick question: Is there Google AIY hardware support out of the box with this release? I saw some talk of it in another thread.

Thanks in advance!

From memory @KevinE, the support is not out of the box, it requires some configuration and additional drivers. Join us in https://chat.mycroft.ai and we can put you in touch with the people working on AIY.

@KevinE I looked around some and did find this post about the AIY, with more info on what they did in the comments as well, it might at least give some tips even if it ends up not being quite what you’re looking for.

Yep, That disk-image still works. It updates to 18.2.2

There is a small issue with the led/button code ,
that is run by custom_setup.sh

It should be started later in the autorun.sh to work again.
After the admin-service starts again.

I’m planning on updating the image to 18.2.2 next week.

grtz.Tjoen

1 Like