Go Down

Topic: See this PureData (Pd) instrument with input from an LDR controlled 555 (Read 803 times) previous topic - next topic


Hi, i made a simple musical (erhem) instument with Pure Data (aka. Pd). I also built an electronics component of it, which is a 555 timer chip, who's blinking is responds to the ambient lighting conditions.

An light-dependant-resistor (LDR) controls the blinking behaviour of the 555, an Arduino reads the chip (there is also a LED as an indicator), and sends it over serial to Pure Data's comport -object. The Pd instruments uses the pulse data to modulate a sine-wave oscillator. A sawtooth oscillator is mixed in for a good measure.

Here is a little video


The Arduino code is as simple as

Code: [Select]
const int inputPin = A0;

void setup() {
 pinMode(inputPin, INPUT);

void loop() {
 int v;
 v = analogRead(inputPin);

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131