Cup o' Sound. Created by Becky Stern. Last updated on :30:06 PM EST

Similar documents
Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

3D Printed 20w Amplifier Box

Punk LED Collar. Created by Becky Stern. Last updated on :02:45 PM EST

3D Printed 20w Amplifier Box

Phone-Activated Talking Dog Collar

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

FPV Mini Display. Created by Ruiz Brothers. Last updated on :00:18 PM UTC

Adafruit Capacitive Touch Sensor Breakouts

NeoPixel Ring Bangle Bracelet

3D Printed LED Knuckle Jewelry

Raspberry Pi Selfie Bot

Portable Apple Watch Charger

Adafruit TPL5110 Power Timer Breakout

Adafruit TPL5111 Reset Enable Timer Breakout

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Bike Wheel POV Display

Adafruit Prototyping Pi Plate. Created by Ladyada

Chirping Plush Owl Toy

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

Trellis 3D Printed Enclosure

FeatherWing Proto and Doubler

Prophet 600 GliGli mod

Adafruit PowerBoost 500 Shield

7" Portable HDMI Monitor

Trinket NeoPixel LED Longboard

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

FeatherWing Proto, Doubler and Tripler

DIY Bluetooth Gamepad

3D Printed Camera LED Ring

Toy Car Speed Timer. Created by Kirby Griese. Last updated on :13:49 PM UTC

7 Portable Multitouch Raspberry Pi Tablet

3D Printed LED Buckle

Adafruit Pi Cobbler Kit

Bluetooth Controlled NeoPixel Headphones

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Hammer Time Mini Golf Hazard with Crickit

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Bandolier of Light. Created by Becky Stern. Last updated on :16:17 PM EST

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Adafruit Si7021 Temperature + Humidity Sensor

Bunny Ears with MakeCode

Adafruit APDS9960 breakout

Crawling Animatronic Hand

PyPortal View Master Created by Ruiz Brothers. Last updated on :51:28 AM UTC

Light-Up Angler Fish Embroidery

Flora Brake Light Backpack

Mystical LED Halloween Hood

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Trinket-Powered Conference Room Occupancy Display

Mini Mac Pi. Created by Ruiz Brothers. Last updated on :43:27 PM UTC

Crickit Carnival Bumper Bot

Celebration Spectacles

DIY Circuit Playground Shields

3D Printed Google AIY Voice Kit

3D Printed LED Goggles

Boomy The Boombox. Created by Ruiz Brothers. Last updated on :52:13 PM UTC

Raspberry Pi Pipboy 3000

Crickit Powered Holiday Diorama

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Infinity Mirror Valentine's Candy Box

NeoPixel Bike Light. Created by Ruiz Brothers. Last updated on :43:46 PM UTC

Lady Ada's Bento Box. Created by lady ada. Last updated on :55:35 AM UTC

Learning with LEDs. Created by Rick Winscot. Last updated on :39:11 PM UTC

Mad Science Test Tube Rack

Coffee Detonator: The TNT Plunger Grinder

NeoLoch. Inquisitor Core. Assembly Instructions (9/3/2015)

Adafruit DRV2605 Haptic Controller Breakout

3D Printed Bone Conduction Transducer Box

Android GBoard Morse Code Control with Circuit Playground Express

Magical Mistletoe. Created by Leslie Birch. Last updated on :45:29 PM UTC

GPS Logging Dog Harness

MCP Bit DAC Tutorial

MCP Bit DAC Tutorial

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :30:55 PM EST

DC & USB Boarduino Kits

Unicorn Hat with Moving Ears

Fiddy - the FTDI Clip

Ping Pong Ball Launcher

Luminous LED Flowers. Created by Becky Stern. Last updated on :47:44 PM UTC

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

3D Printed Case for Adafruit Feather

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :42:16 PM UTC

Slider Crank Mechanism -- from Cardboard and Craft Sticks

Adafruit AMG8833 8x8 Thermal Camera Sensor

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Sewable NeoPixels. Created by Becky Stern. Last updated on :50:14 PM EDT

Easy Sparkle Pocket T-Shirt

Wind Blowing Emoji Prop

Getting Started with FLORA

Adafruit 8x16 LED Matrix FeatherWing

Adafruit LED Sequins. Created by Becky Stern. Last updated on :00:06 PM EST

Camera LED Ring Light

LED Lightbox. Created by Sam Clippinger. Last updated on :50:00 AM UTC

Lie Ren's Stormflower Gun Blade

Jewel Hair Stick. Created by Leslie Birch. Last updated on :47:17 PM UTC

LED Eye Prosthetic. Created by Tully Jagoe. Last updated on :00:17 AM EST

Transcription:

Cup o' Sound Created by Becky Stern Last updated on 2015-02-18 01:30:06 PM EST

Guide Contents Guide Contents Overview Circuit Diagram Load Sound and Prepare Components Solder Circuit and Assemble Use it! 2 3 6 8 15 23 Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 2 of 24

Overview Bring the productive bustle of ambient coffee shop sounds with you anywhere by building a white noise machine in a cup! This project uses the Adafruit Audio FX Board to play a 30 minute audio file on repeat. The circuit is battery powered with the help of a lipoly backpack, which also allows for convenient recharging over USB and the easy addition of a power switch. A speaker rests inside the lip of the cup, driven by a class D audio amplifier using a 10K potentiometer for volume control. The Cup o Sound requires no programming and is excellent for practicing your through-hole and free-wire soldering skills. The result is a satisfyingly compact handful of portable sound that can be reused in many contexts or rewired to act as a speaker alone. Before you begin, familiarize yourself with the following guides: Adafruit Guide to Excellent Soldering (http://adafru.it/dvu) Adafruit Audio FX Sound Board (http://adafru.it/e8h) Adafruit Pro Trinket LiPoly/LiIon Backpack (http://adafru.it/e3w) Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 3 of 24

For this project, you will need: 16MB Audio FX Board (http://adafru.it/2220) half-size Perma-Proto board (http://adafru.it/dvr) Adafruit Lipoly Backpack (http://adafru.it/e0a) Adafruit Mono 2.5W Class D Audio Amplifier - PAM8302 (http://adafru.it/eyg) lipoly battery (http://adafru.it/dce) speaker (http://adafru.it/eyh) illuminated on/off button (http://adafru.it/eyi) 10K potentiometer (http://adafru.it/eyj)* knob (http://adafru.it/eyk) button quick-connect wires (http://adafru.it/eyi) (optional but handy) stranded wire in various colors (http://adafru.it/egk) paper coffee cup with lid pliers and soldering tools panavise (http://adafru.it/ddj) heat shrink tubing (http://adafru.it/dvd) craft or utility knife awl pencil Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 4 of 24

*Yes, we realize this is a linear taper pot. If you've got a logarithmic one, feel free to use that! Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 5 of 24

Circuit Diagram Click to enlarge. The lipoly backpack sits atop the audio FX board with the provided headers. Other connections as follows: trigger pin 2 -> GND potentiometer first leg -> GND potentiometer second leg -> audio board R potentiometer third leg -> amp A+ Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 6 of 24

amp A- -> GND amp Vin -> 5V amp GND -> GND switch leads to lipoly backpack (after cutting connecting trace) switch LED + -> 220 ohm resistor -> 5V switch LED - -> GND amp outputs to speaker Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 7 of 24

Load Sound and Prepare Components First thing's first-- load some sound on your Audio FX Board! We've formatted a mono OGG file containing close to 30 minutes of coffee shop white noise: Download 15.7MB cafe audio file http://adafru.it/eyl Follow the Audio FX Board guide (http://adafru.it/e2t) to transfer the sample file (or a file you make) to your device. Next it's time to breadboard the circuit. We highly recommend grabbing two audio boards and saving one for breadboard prototyping. It saves a lot of time and frustration to work out a circuit on a solderless breadboard before soldering your components together. Ask us how we know! Solder the headers and screw terminals onto your amp, and solder wires onto your speaker: Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 8 of 24

On the lipoly backpack, cut the trace connecting the switch pads, and solder two quick-connect wires in place. While you're there, add a solder bridge to convert the charger to 500mA where marked. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 9 of 24

Since the switch has to be installed from the outside of the cup, it'll be hard to connect wires to it inside the cup. That's where these arcade button quick-connects come in handy! See how they tightly grip the pins without any soldering? Cool. Take a good look now, since we can't quite get our camera lens inside the cup to see them later: Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 10 of 24

Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 11 of 24

Solder the lipoly backpack to the audio board with the included long headers. Trim the rest of your headers and solder them in place on the audio board. See how the lipoly backpack headers come up short on the underside? You may want to insert the headers from underneath the audio board if you want them to be the same depth as the others (for inserting into a solderless breadboard). This was the second board we assembled for this project, and in prep for the final circuit the header depth descrepency wasn't a problem. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 12 of 24

After prototyping, remove the potentiometer from the solderless breadboard and solder on three wires (with heat shrink tubing) to prepare for installing in the coffee cup. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 13 of 24

Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 14 of 24

Solder Circuit and Assemble Position the audio board with the USB port at the edge of the Perma-Proto. Solder the leads in place: Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 15 of 24

Next add the amp as shown, and solder up the rest of the components according to the circuit diagram. Remember to use quick-connect wires for the LED inside the pushbutton. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 16 of 24

Mark and cut a hole for the on/off switch at the base of the cup. Remove the switch's screw-ring and install the switch, reattaching the screw-ring on the inside. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 17 of 24

Likewise make a hole for the volume adjustment knob at the side of the cup. The potentiometer attaches from the inside with a washer and nut on Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 18 of 24

the outside, and the knob slips over from the outside. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 19 of 24

Use a pair of pliers to bend the flanges on the speaker to achieve a good fit inside the coffee cup. Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 20 of 24

Attach the quick connect wires to the power switch and click it on! Be sure your circuit is working properly before packing it all up inside the cup: Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 21 of 24

Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 22 of 24

Use it! Enjoy your new ambient bliss. Power up and get cracking on your novel, or code up that new hot app! Adafruit Industries https://learn.adafruit.com/cup-o-sound Page 23 of 24

You can optionally cut a hole in the base of the cup for USB recharging. Battery life will vary based on audio content and volume. Adafruit Industries Last Updated: 2015-02-18 01:30:07 PM EST Page 24 of 24