Idea: LEDs of Demoboard as capacitive switch inputs?
Christof Eb.
Posts: 1,201
Hi,
this is just a -perhaps silly- idea:
some time ago I have read about capacitive proximity Switches:
An Output is connected to an Input via a resistor. The Output is driven by a square wave signal.
The time between Change of Levels at the Output and the Input is measured. It will be longer, if there is an additional capacity -Hand or finger.
Could a similar Setup be possible with the existing Hardware of the demoboard? I am thinking about the leds and the resistors connected to them and the vga output.
Perhaps there is a timer mode to measure the very short time?
Christof
this is just a -perhaps silly- idea:
some time ago I have read about capacitive proximity Switches:
An Output is connected to an Input via a resistor. The Output is driven by a square wave signal.
The time between Change of Levels at the Output and the Input is measured. It will be longer, if there is an additional capacity -Hand or finger.
Could a similar Setup be possible with the existing Hardware of the demoboard? I am thinking about the leds and the resistors connected to them and the vga output.
Perhaps there is a timer mode to measure the very short time?
Christof
Comments
BlackBox uses exactly this to read on the same output leds, the anode and cathode are connected to prop pins, schematic shows this... that is the limitation, if your demoboard won't allow both legs of leds to be controlled by prop, then you can't use your leds as sensors.
http://forums.parallax.com/showthread.php/115258-TheBlackBox-Release-v2.0-Propeller-HSS-FX-Sequencer-with-Digital-Audio-SPDIF
Code is this:
Here's the schematic of the LED section of the Demo Board.
Looks like they can't be used as sensors.
BTW, That BlackBox project is one of the coolest projects I've seen with the Propeller.
This may or may not be related...
http://hackaday.com/2006/02/21/low-cost-sensing-and-communication-with-an-led/
hope that helps...
I have now learned, that the cap will be for example 20pF. Together with the existing Rs this gives only 10ns, which will not be possible to be detected.
Perhaps I will try an additional R in the socket for VGA.
Christof