GitXplorerGitXplorer
r

strobetuner

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
295098491e7871800ee6c105f39b3aaf1731f1fa

Fix readme formatting

cchazomaticus committed 12 years ago
Unverified
485252c2f5e8d47042ff6fe94a3a5f38cea3850b

Expand readme, add pic

cchazomaticus committed 12 years ago
Unverified
ef17be0bc1a44d0cb5dc53b35d62aae4ceb2df70

Install instructions

cchazomaticus committed 12 years ago
Unverified
6b8e66c5a2bf90851bf0838f6cee88667dc8f8b9

Add readme

cchazomaticus committed 12 years ago
Unverified
a2a20e53334b5ec5f154b6da36aedb8c69ba994c

Note behavior of odd expression

cchazomaticus committed 12 years ago
Unverified
e57915d56613ac3d1523748bdc9e7839758dd830

Add contact information

cchazomaticus committed 12 years ago

README

The README file for this repository.

StrobeTuner

StrobeTuner is an Arduino library for creating simple "strobe" guitar tuners.

https://github.com/chazomaticus/strobetuner

About

A while back I bought a little "strobe" tuner (see MusiciansFriend or Amazon) for my guitar. I use "strobe" in quotes because it turns out it's just a couple of LEDs on a variable timer. I've been learning my way around an Arduino, and thought I could make my own "strobe" tuner for pretty cheap, with the added benefit of being able to tune to any note I want.

Hence, StrobeTuner, an Arduino library for creating your own "strobe" tuner out of two LEDs and a resistor. See StrobeTuner.h for the example circuit, or see the image below. You might want to mount the components somewhere you can easily shine the LEDs on your guitar strings.

Example Circuit

Accuracy

When I compared my implementation to the real "strobe" tuner, I noticed my version was slightly off. I don't see anything in the code that would cause the discrepancy, so I'm chalking it up to error in the Arduino's oscillator frequency. We're talking a around tenth of a percent slower than it should be. In the example, you can see I just multiply the note's period by 99.9%, which fixes the error on my Arduino.

It's also possible I just don't understand precise timing on the Arduino yet, and my code is rife with bugs. Your mileage may vary.

Installation

To install, put this code in a subdirectory of your Arduino sketchbook's libraries directory. See http://arduino.cc/en/Guide/Libraries for details.

Enjoy!