Pages: [1]   Go Down
Author Topic: Extending CapSense Inputs  (Read 537 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

Is there a way to extend the maximum number of capacitive sensors controlled by the
Capsense Library? Because one needs always 2 digital Pins which mades a maximum of
5 Sensors... but nothing else... smiley-sad Im thinking of something like the 74hc595 which enables
one to control a nearly infinit number of LEDs!
If it is possible using a certain chip do I have to write my own Capsense Lib when
changing the hardware?

As a base I would like to use the UNO!

Thanks in advance!! smiley

« Last Edit: July 09, 2011, 07:32:07 am by asuryan » Logged

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You might find useful stuff in....

http://sheepdogguides.com/arduino/art3capsen.htm

In particular, look at the circuit diagram near the bottom... for, say, 4 cap-sense inputs, you only need 5 digital lines. Maybe I mis-understood your post, but if you thihnk you need two lines per input, no, not so.

I hope that's good news?
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 104
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your answer!

1. Does that mean that I only need one signal pin and add lets say 8 reciever pins?

2. It would be even more cool, when using only 3 pins and read as many
capacitive sensors as I like! Eg. as I mentiond like the 74hc595 but for inputs. Is there
a chip for extendting inputs and is able to read capacitive sensors?
Logged

Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
1. Does that mean that I only need one signal pin and add lets say 8 reciever pins?...

With 9 pins dedicated, you could monitor 8 touchpads.

Quote
2. It would be even more cool, when using only 3 pins and read as many
capacitive sensors as I like...

Ummm... not sure how to do this!

You COULD probably multiplex the inputs somehow, but then you will have complex polling software to write. Buy a Mega, and have more inputs than you can use!
Logged

Pages: [1]   Go Up
Jump to: