• PABLO

    Pablo is a physical chatbot. An open source social robot.

    Pablo got his name from (PyAIML Arduino Bluetooth Low-Energy Object) or something like that.

    1. A Python program running on a host computer accepts input from a web form.
    2. Input is interpreted using Artificial Intelligence Markup Language (AIML)
    3. Response is sent via Bluetooth and spoken by Pablo.

    Pablo is open source software and hardware. Code can be found on GitHub

    He can be found on Twitter here https://twitter.com/pablo_robot

    Using the basic PyAIML example plus a simple webpy form we are able to talk to PABLO. I still need to get the text-to-speech Javascript API working. I was using the speech-to-text input feature in Chrome (x-webkit-speech) but it has since been deprecated.
    AIML responses are constructed from a set of reduced answers to planned questions. eg. “What’s your name?” “Who are you?” “What are you called?” = PABLO.

    NOTE: The USB cable in the eye is a temporary 5v power source only.
    Not quite Natural Language Processing but with random responses and recollection it can make for a convincing conversations.

    On the physical side of things, PABLO is made up of:
    Pablo in pieces

    (Clockwise from top right)
    Arduino Duemilanove microcontroller (Or any compatible)
    Adafruit BlueFruit EZ-Link Bluetooth Shield
    Emic2 text-to-speech Module
    1000 mAh Lipo battery
    2 Adafruit NeoPixel rings (I’m using one 16 and one 12 pixel)
    Adafruit 3v Trinket
    Adafruit 4-channel I2C-safe Bi-directional Logic Level Converter
    2 Hobby servo motors with Pan-tilt brackets
    Cardboard head with wire-spool LED diffusing eyes
    8 Ohm speaker

    An Arduino with the Adafruit EZ-Link Bluetooth Shield receives the response from the host computer. The response is interpreted then commands issued to eyes, servos, and speech module. I used the proto area of the shield to connect headers to which I can temporarily plug in the text-to-speech module, two servo motors, and the level converter connection to eyes.

    The eyes are controlled by a small microcontroller from Adafruit called the Trinket and is powered by the lipo battery. They are self supported and can easily be repurposed for other projects. I used a 16 pixel ring and a 12 pixel ring which made some of the eye functions a little specific to this build. The logic level converter is used to receive commands over I2C from the 5v Arduino microcontroller using the Tinywire library.

    Pablo

    Everything is currently crammed into a cardboard box with a speaker pointed down into the mouth. A talking function randomly moves the jaw servo while Pablo is talking, opening and closing the mouth. This combined with the advanced settings of the Emic2 voice module make for endless hilarity. A second servo twists the head briefly, as one might picture a confused dog, when an answer is not known. The datasheet from Parallax(PDF) shows you how to change the basic settings and take advantage of the more powerful DECTalk processor.

    Lots of things to build on, still tons to do, least of which is his “personality”.

    I plan to document more of the details and code as I go because today I’m hoping Pablo can help me win a trip to space! If not, he’s about the size of a CubeSat and I’ll send him into space.

    UPDATE: Pablo was honoured to make an appearance on Adafruit’s July 23rd Show and Tell!

  • Laser beam GIF

    GIF made with Processing, animated with CSS.

  • GIF of Music

    What’s greater? The gift of music or that GIFs don’t have music?
    harmonica

  • Harry Horstman of Mount Sproatt

    When I first read The Mysterious Harry Hortsman I was immediately drawn to this so-called “illusive” character who mined and otherwise occupied the area nearly a hundred years ago.

    On a warm sunny October afternoon I set out to summit Sproatt. I took one of the easier bush whacking routes next to Sproatt Creek up around back just in time to snap a couple pics and return for supper. Simply stunning looking back across Whistler valley into Garibaldi Provincial Park.

    Whistler_from_Sproatt

    On the way down I decided to take a straighter shot avoiding some of the larger hazards such as cliffs and avalanche shoots overgrown with near-impassable alder trees. I have hiked every inch of Sproatt in the past 20 years, or so I thought. On cutting across the hill I walked over and barely noticed a site of an old cabin. Reduced to a level dirt floor with an outline of decaying logs, the site had bits of single plate glass and other debris.

    Harry_Hortman_Cabin

    After some closer inspection I uncovered an old frying pan that felt a bit spooky considering it’s mention in Harry Hortsman’s story.

    Harry_Hortman_Frying_Pan

    This site seems to be a bit lower in elevation than the reported cabin Harry Hortsman had at the 5300 foot level, which I still have yet to find.

    Was this another cabin of Harry’s or possibly the residence of another miner or illusive character of years past?

    Selfie_from_Sproatt

    It’s getting dark and colder quickly. My thoughts are of all the mysterious people that have roamed these woods.