A project to build an electronic version of a tongue drum featuring touch sensitive keys.
This repository contains the project's Arduino source code. A description of the project along with details of progress can be found on the Electro-Tongue Drum page of the Cahamo website.
The repo's source code is all contained in sub-directories of the src
directory.
Code relating to research and experimentation is contained in sub-directories of the research
sub-directory.
Current projects are:
Uses Arduino Uno pins 2 and 3 to detect touches on a single attached touch sensor using the CapacitiveSensor library. Readings from the library are repeatedly taken and simply written out to the Uno's serial port.
The data are formatted into columns for display on a serial monitor - either the Arduino IDE's monitor or a 3rd party one. The data is also suitable for display on the Arduino IDE's Serial Plotter.
Development environment:
Requires:
Used by:
License:
Like SingleSensorRawDataLogger
this project uses Arduino Uno pins 2 and 3 to detect touches on a single attached touch sensor using the CapacitiveSensor library. However, in this sketch the the average of a specified number of readings is reported over the serial port.
Each reading and its associated rolling average is written in the form of a table on the serial port in a form suitable for a display as text or on the Arduino serial plotter.
Development environment:
Requires:
Used by:
License:
One of the problems encountered when using SingleSensorRawDataLogger
and SingleSensorAvgDataLogger
to compare different runs of readings was in getting uniform patterns of sensor touches in each test run.
This sketch was developed to guide the user during each test by emitting a sequence of beeps that count in the test and then indicate when each touch is required.
This script again uses the CapacitiveSensor library to detect touches on a single attached touch sensor. Like SingleSensorRawDataLogger
the number of samples read each time can be configured. Unlike SingleSensorAvgDataLogger
this sketch does not take average readings, since these were not found to be useful.
Each reading is simply written to the Arduino's serial port, one reading per line. This simplified output makes it easier to import data into spreadsheets and to plot on the Arduino serial plotter.
Development environment:
Requires:
Used by:
License: