Poll
Question: TURNING LED ON USING AD7746 CAPACITIVE SENSOR BOARD
CODE - 1 (50%)
CIRCUIT DIA OR PIN CONNECTION - 1 (50%)
Total Voters: 2

Pages: [1]   Go Down
Author Topic: Touch sensor AD7746  (Read 925 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
I am new & started with Capacitive Sensor AD7746 board , to start I would like to go step by step can any one mail me some good examples like sw led on.
Thanks
Ham
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31543
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which board? If you can post a link to the board you have we could be more helpful in advising you.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 170
Posts: 12483
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No Arduino examples.

link to the datasheet - http://www.sparkfun.com/datasheets/Components/AD7746.pdf -
page 12-19 is about the programming the CDC device // not trivial

link to an example  - http://www.sparkfun.com/Code/LPC2138_Test_IIC.zip -
Although it is no Arduino code, reverse engineering its logic should give you the insights needed to communicate with the device

As it is a I2C device you should learn how to use I2C and I2C devices. Start with reading:
- http://www.arduino.cc/en/Reference/Wire -
- http://www.arduino.cc/playground/Learning/I2C -
- http://www.gammon.com.au/forum/?id=10896 -

I would do it in this order
1) start reading the reference and playground first, so you understand how I2C works,
2) then read the datasheet carefully but only once.
3) Then try to understand the example code.
4) build upon Arduino.

Succes,
Rob
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Berlin
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Open source hardware and mobile enthusiast, Mobile Software Developer, Author, DIY Maker, infrequent guitar player and MakerBot Operator.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The sensor setup can be tricky at first but maybe my blog post about the AD7746 can help you by providing a very simple example: http://marioboehmer.blogspot.de/2011/01/capacitive-touch-sensor-on-arduino.html
Logged

Pages: [1]   Go Up
Jump to: