In the attached circuit-the mini organ toy circuit , i want to replace the push buttons with a light sensor , so when the light is blocked by a hand or any thing (this mimic releasing a key **broken link removed**) , and then the light is passed again . So the piano think that the key is pressed ! and the sound is heard
i tried a photo resistor , but it didn't work .
i will try it
another question , how the circuit would be if i use a photo transistor ? and which is more effective ? and can u please tell me a little comparison between both ?
Find attached bellow an illustration about what I´m talking.
It was not simulated, but I presume that under some empirical adjusts on values, trend to work: