People have been asking me about interesting applications for the Raspberry Pi, and whether Raspberry Pi is an Arduino killer of some sort. The answer to the second question is no; in fact it is an Arduino augmenter. This blog post answers the first question with another question: how about a Haunted House sound effects machine?
A new revision of the Early Release of Getting Started with Raspberry Pi came out last Friday. I read Matt Richardson’s chapter on using Pygame with the GPIO pins on the Pi, which included a simple Sound Sample player. I adapted his example to work with an Arduino that talks to the Pi over a serial connection; this skeletal (ahem) hookup could easily be incorporated into some sort of Halloween installation. I decided to use Arduino for reading the inputs because out of the box it is more robust and can handle a wider variety of inputs. Also, there are many existing Haunted House triggering demos out in the wild that use Arduino.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.