In 1986 I designed a simple A2D converter for the purpose of capturing a varying light source as a digital input to a computer. The heart of the converter was a '555' chip which was essentially an opto-isolator in a simple, small, and cheap package. With the addition of a power supply, a capacitor, and one fixed and a variable resistor the A2D converter was created. The variable resistor was a photocell for measuring the light source but could be any other variable resistor, such as a thermo-resistor.
The 555 generates a pulse with a rate dependent on the value of the input resistance. As the resistance drops, the frequency of the pulse increases. When the photocell is aimed at a light source, the resistance drops and the 555 generates a pulse stream that increases in frequency as the intensity of the light source increases. The output from the A2D circuit is entered into the iPad via an iMic and Camera Connector. This combination is what I used to accommodate my original design using RCA jacks: the iMic has an RCA jack input end and a USB output end. The USB output of the iMic is connected to the Camera Connector on the iPad.
Once everything is hooked up, the sound of the pulses can be captured using an app such as 'FiRe' for recording the output. An example is in the link below. The sounds are from moving my hand between a light source and a photocell connected to the A2D converter.
The schematic below shows the essential components: a 555 chip, input voltage (9V), variable resistance (R1), fixed resistance (R2), and a capacitor (C1).
|Figure 1: circuit diagram schematic|
Figure 2: A2D converter
|Figure 3: Connection to iMic|
|Figure 4: iMic to iPad|