Skip navigation

Holiday Special 20

5 Posts authored by: ralphjy Top Member
This will be my final post for the Holiday Special 20 project.  I was able to accomplish much of what I had planned, but failed to get the Christmas music to play from the external flash memory on the QT Py.  I'll use this post to describe the problems that I had and to summarize the project.  And I'll do a demo video.   Here are a couple of pictures of the completed construction (front and top view) which show the addition of the audio amplifier and speaker:   SamdAud ...
In the previous post (links at bottom), I had used my Xiao Expansion board to play Christmas music stored on the SD card using the SamdAudio player.   I don't have an SD card on my QT Py ornament, but I did add a 2MB GD25Q16 external SPI flash chip to the QT Py.  The music file that I'm using, "we-wish-you-a-merry-christmas.wav", is 1.39MB - so it should fit in the flash memory.   I've previously used the SPI flash chip as external file storage for CircuitPython, so the interfac ...
For the final element of my QT Py Christmas ornament, I'd like to add the ability to play some Christmas music.   The SAMD21 has a single DAC output that I'll use to generate tones, but I'll also need to add an audio amplifier to drive a speaker and figure out how to access the external flash memory that I added to store the music files.   In this blog I'm going to cover adding the audio amplifier and generating the tones using the DAC.  I'll hopefully be able to get the music p ...
The SAMD21 processor that is used on the QT Py has a built in Peripheral Touch Controller (PTC) that can detect touch on external capacitive sensors.  The PTC has a mutual-capacitance mode to sense touch on an x-y matrix and a self-capacitance mode to detect touch on a single point (pin).   The QT Py is in the 32 pin package so there are 6 capacitive touch pins available in self-capacitance mode (A0-A3,A6,A7).   Here is the PTC Block Diagram from the SAMD21 spec Adafruit ...
ralphjy

A QT Py Christmas

Posted by ralphjy Top Member Dec 4, 2020
Holiday Special 20 Enter Your Holiday Project for a chance to win a tool kit bundle, shopping cart, and gifts to give to other members! Submit an EntrySubmit an Entry  Back to homepage Project14 Home Monthly Themes Monthly Theme Poll   I was not going to do a Holiday project but there hasn't been a lot of joy and there has been a lot of stress this year, so I thought that it would be good to do something simple and colorful to lift our spirits.   I recently got an Adafruit QT ...