A Coqui is a device that generates an audible output frequency that is a function of any resistance-based measurement. For example, a Coqui can measure:
Coqui BBv1.0 is a version of the Coqui that is made on a breadboard, with just a few simple parts. Learn how to make one below!
Making your own Coqui
- Batteries (greater than 1.5 V)
- a piezo speaker
- a capacitor (e.g 0.1 uF, 1 uF, or 10 uF)
- prototyping wires
- (pick one or several) -- a photoresistor; a potentiometer; a thermistor
Here's a digikey shopping cart with enough of the above ingredients (+ extras) for Coqui kits, at a cost of $19 per kit + shipping.
The basic circuit for Coqui BBv1.0 is this:
The frequency of the output is a function both of the resistance, 'R' (which can be either a resistor, or some water between two electrodes, or a photoresistor, or a thermistor, or a potentiometer ... anything that will provide an electrical connection, with some resistance), and a capacitor, 'C'.
The frequency of output is given by: 0.7/(R*C).
Note -- the 555 chip is oriented in this picture such that the little 'circle' or 'divot' in the chip is oriented downwards. E.g., this chip (which has both a 'circle' and a 'divot') share the same orientation in this photo:
And this is what it looks like on the breadboard:
- the green 'R' in the diagram is a resistor that tunes the frequency of the 555 output (which we'll be hearing via a speaker)
- the blue 'C' in the diagram is a capacitor. For low conductivity solutions, 0.1 uF is a good range to use. For higher conductivity solutions (like salt water), 1.0 uF, or even 10.0 uF, might be better values to use, in order to keep the output frequency in the audible range.
Below are the step-by-step instructions for assembling the circuit.
Step 1: Pin # 4 to VCC
Step 2: Pin #8 to VCC
Step 4: Pin #3 --> speaker --> GND
Here's a picture of how the speaker is connected on the board:
Here's what it looks like using the typical speaker from kit (which has the wires on the bottom):
Step 5: Pin # 3 to some row:
Step 6: Pin #2 to a row right below previous:
Step 7: Add a capacitor from previous pin to GND:
Step 8: Connect pin 1 to GND (sorry, no pic yet!)
Step 9: Using a photocell as a sensor: add the photocell between the previous two wires:
Step 10: Connect the battery (positive / red to VCC, negative / black to GND):
Step 11: Optional: place an LED between VCC and GND to make sure there's power, when debugging:
Here's a demo of playing with the photocell ...