Pimoroni's Scroll Bot

I finally got around to putting together Pimoroni's great Scroll Bot kit. Once put together and the attached Pi Zero W configured, it looks something like this:

This kit is great and all, but their tutorial is geared toward someone who just wants to put it together and go, so they provide a shell script that takes care of installing all sorts of things for you. Where's the fun in that?!?! Here are my notes for making this work on a fresh Raspbian Lite (the Stretch version as of this writing) image.

First, install the packages you'll need:
sudo apt-get install git python-scrollphathd python3-scrollphathd python-flask python3-flask python-pil python3-pil

After the above is complete, you should be able to light a single dot:

import scrollphathd as sphd
sphd.rotate(180)
sphd.set_pixel(0, 1, 0.5)
sphd.show()

You can clear the dot with:

sphd.clear()
sphd.show()

From there, you're on your own. If you want to try out the Scroll Bot demo (ie, draw the image as seen on Pimoroni's store front), you'll have to clone their repo:
git clone https://github.com/pimoroni/scroll-phat-hd.git

And then you can run the demo:
cd scroll-phat-hd/examples/; ./robot-mouth.py

That's it...have fun!