Around 40steps POTENTIOMETER from a 8pins CapSensor


sorry if i'm in wrong forum thread, whould work?

i want capsens  sensor act potentiometer(to control led lighting in room). using 4 pins on arduino, 3 pins latch clock, data, , fourth capsens sender pin.
the plan use 8-stage static shift register shiftin, read 8 pins
           _______   
switch ->  |     |
switch ->  |  c  |
switch ->  |  d  |
switch ->  |  4  | -> serial data arduino
switch ->  |  0  |
switch ->  |  2  |
switch ->  |  1  | <- clock data arduino
switch ->  |_____| <- latch data arduino

this give me pot 8 steps, poor :(
so ended sequence:

12131415161718232425262734353638454647565867687
(any paired 2 digits found once)

this sequence represents actual position of pins @ board, positioned tight, each time touch them, trigger atleast 2 pins
for example if gives me pin 6 , 4 touched, leads 1 position in given sequence 2 pins in neighbourhood "464"

this fine , dandy in theory, whould work? don't have such shift register, nor working code yet(infact don't know if possible use shiftin register check capsens touched?!). , before buying parts , diving coding, thankfull if such schematics isn't possible or in case setup possible, there cons or pitfalls?
perhaps placing sensors tight bad idea, , provide bad readings?

sorry no not work.
doing cap sense in software uses input capacitance of pin. putting signal trough sort of digital buffer shift register loose information.


Arduino Forum > Using Arduino > LEDs and Multiplexing > Around 40steps POTENTIOMETER from a 8pins CapSensor


arduino

Comments