sparkfun Gram Piano Series Assembly Manual

sparkfun Gram Piano Series Assembly Manual

Advertisement

Quick Links

Gram Piano Assembly Guide

Introduction

The Gram Piano is a through-hole soldering kit that transforms from a pile
of hardware into a tiny piano, ready for the playing. Once built, you can play
an octave worth of notes using the capacitive touch keys. The pre-installed
software also lets you switch between three octaves using a potentiometer
and play a melody with the press of a button. Building and playing with this
kit will teach you various skills related to soldering, electronics, music, and
programming.
A fully assembled Gram Piano Kit.

Covered in This Tutorial

This guide will explain the assembly process, the gram piano's default
functionality, and will provide an overview of the pre-installed software.
After building and playing with the board's default settings, you can
customize your board to your liking by diving into the source code.

Suggested Reading

This tutorial assumes you have prior knowledge of the topics mentioned
below. If you are unfamiliar with any, please feel free to read up on that
subject and then return to this tutorial.
• How to Solder - The Basics of Through-hole Soldering - The first and
most importnat skill needed for any soldering kit!
• Polarity - Learn which components have polarity and need more
attention when soldering.
• Pulse Width Modulation - PWM is used to drive the speaker on the
board.
Page 1 of 8

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Gram Piano Series and is the answer not in the manual?

Questions and answers

Summary of Contents for sparkfun Gram Piano Series

  • Page 1 Page 1 of 8   Gram Piano Assembly Guide Introduction The Gram Piano is a through-hole soldering kit that transforms from a pile of hardware into a tiny piano, ready for the playing. Once built, you can play an octave worth of notes using the capacitive touch keys. The pre-installed software also lets you switch between three octaves using a potentiometer and play a melody with the press of a button.
  • Page 2 • Screwdriver • Pliers • FTDI Basic Now, let’s get to building! Assembly The Gram Piano is a through hole soldering kit. If you have never soldered before, it is strongly advised that you read through SparkFun’s soldering tutorial first.
  • Page 3 Page 3 of 8 This page will give you a suggested approach to tackling the task of building this kit. In general, it is recommended to solder the smaller components first, then the larger ones. While this method is not absolutely crucial, it is easier to solder the smaller components if larger components are not blocking the way of your soldering iron.
  • Page 4 Page 4 of 8 Finally, let’s solder the large components: the battery clips and the PCB speaker. Both of these components are polarized. Make sure the battery clips are not put in backwards; the two open ends should be facing each other with the metal walls facing out.
  • Page 5 Page 5 of 8 Place your built kit on a flat surface, and turn the power switch on the right side of the board into the ON position. When you power the board, the power LED (PWR) will turn on. Soon after, the center status LED in the center of the board will blink indicating the board is ready for use.
  • Page 6 Page 6 of 8 // Keyboard variables long keys[13]; // Contains latest capacitive sense reading fo r each key int threshold = 25; // Threshold for key press readings, a ke y plays sound if its equal to or greater than the threshold float octave = 1.0;...
  • Page 7 Page 7 of 8 void loop() // Measure each key press using capacitive sensing measureKeys(); // Select one of three octaves based on position of potentio meter octave = readPot(); // Play the note corresponding to the key press and octave // Higher pitch keys have priority if there were multiple pr esses playKeyPress();...
  • Page 8 • Installing an Arduino Library • Using Github • Arduino’s Capacitive Sense Library Reference • Arduino’s Tone Reference Check out these other great audio related SparkFun tutorials: • WAV Trigger Quick Start Guide • Lilypad MP3 Player Hookup Guide • My Drunk Kitchen Apron •...

This manual is also suitable for:

Kit-11835

Table of Contents