Author: Matthew Deline
Building a Singing Tree with Raspberry Pi -Part 7
UpdatesI received a replacement part for the Capacitive Touch Hat and soldered it to the 2 x 20 header pins included. This time, it’s recognized on the I2C bus and we should be able to continue further tomorrow.
Building a Singing Tree with Raspberry Pi -Part 6
UpdatesBilly and I attempted to solve our problem today by soldering the Adafruit Hat to the included 2×20 pin header. Once soldered and oriented properly, the device appeared to short out. This is behavior that I was seeing when trying to connect the hat without soldering and making physical contact.
After some software troubleshooting, and some assistance from Phoenix and Matt, we came to the conclusion that the Adafruit hat was either damaged during installation or DOA. I’ve ordered a replacement that we can try to work with next week. Until then, the code appears to be sound.
Building a Singing Tree with Raspberry Pi -Part 5
UpdatesOkay, so after spending the past several hours trying to get this to work, I’m going to have to admit that at this point I may be well and truly stuck.
I’ve managed at this point to get the Rasperry Pi working with the most recent release of Raspbian, connecting to a bluetooth speaker, installed speech and sound packages, and managed to get the raspberry Pi to perform speech to text commands over SSH, which is pretty cool.
I can’t, however get the adafruit capacitive touch hat to work with my Raspberry Pi 3 (which is not listed as being compatible on the Adafruit site). There are a few things that may be causing this:
1) There has been a change to the way that I2C functions in recent releases of Raspbian. There is a workaround, but it does not appear to work. I found a suggestion to try a historical version from November 2016, which I will try before going to bed.
2) I have not soldered the capacitive touch hat to the 2×20 connector that I have (I don’t have the equipment at home yet).
3) As far as I can tell, the GPIO pin layout for the compatible models is the same with the 3, but I may still have to try with the 2 to see if I can get it to work.
If I can’t, I’ll be bringing in the SD card and Capacitive Touch hat to see if we can get it to work some other way.
Here are a few of the articles I used for reference:
https://www.raspberrypi.org/learning/software-guide/quickstart/
https://www.raspberrypi.org/magpi/bluetooth-audio-raspberry-pi-3/
https://learn.adafruit.com/mpr121-capacitive-touch-sensor-on-raspberry-pi-and-beaglebone-black
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=136622
http://downloads.raspberrypi.org/raspbian/images/raspbian-2016-11-29/
Building a Singing Tree with Raspberry Pi -Part 4
UpdatesBuilding a Singing Tree with Raspberry Pi -Part 3
UpdatesBuilding a Singing Tree with Raspberry Pi -Part 2
UpdatesBuilding a Singing Tree with Raspberry Pi -Part 1
UpdatesFinal Project – Part 1
UpdatesI’ve lost my voice a bit, so I won’t be recording video until I start building. From here on out, this blog will be a record of my progress and contribution to our final project, which is a technological forest playable experience that focuses on players nurturing the forest to keep it alive.
Right now, things are very early on in the idea creation process, and I have been assigned (with the help of Billy) to make a singing tree that functions based on touch. Players will need to solve a puzzle to successfully bring the tree back to life/keep it alive and singing.
While I haven’t decided on the puzzle bit (I think that it may make more sense to wait until I have a functioning prototype), I do have a pretty good idea of how I would like to proceed. We’ll see how far we get, and how much changes from now. My initial idea can be broken into a few steps:
1) I found an example project for making a fruit guitar with an Adafruit Capacitive Touch Hat connected to a Raspberry Pi. My first step is to build this example, because my plan is centered around this idea.
2) Once I have that working (or potentially before if the part doesn’t arrive quickly) is to figure out how to make sound from the tree using higher quality samples. I’m envisioning using a bluetooth speaker connected to the pi that play sound samples when conductive surfaces are touched.
3) The third feature (if it’s not too cost prohibitive) would be to find a way to use the raspberry pi to control a colored light connected to some fiber optic cable. This way when the tree sings, it is also producing visual feedback. We could potentially use this to make a kind of color-matching or simon says type puzzle.
4) The next step would be to combine the ideas together in a small scale and see if it works.
5) Following that I would need to test if there are restrictions to the conductivity for paint (how far away from the source can people touch and still have it registered) and see if it’s still a viable solution. Maybe the touch points are at the branches and one at the trunk?
6) Once I have a functioning small scale prototype, I’ll need to find a way to scale it up to be maybe 6 or 7 feet tall. I’ll return to this type of brainstorming article once I’ve made the mini prototype, and I plan to record parts of the building process and include code snippets and reference material on the blog here.
Building a Puzzle Box: Part 12
Updates
6:28 PM
