Capacitance Sensor Guide (AD7746) - Hackaday
Maybe your like

[Marcus] has written up his experiences using the AD7746 capacitance sensor. He used the SparkFun breakout board in conjunction with an Arduino. The available Arduino code wasn’t that great so he rewrote it to be easier to understand. The AD7746 is an I2C device that can be continuously read, but this doesn’t mesh well with the Wiring libraries. Additionally, the calibration routine from the data sheet is difficult to understand. He’s included all of the code he used plus a Processing sketch to help visualize the input which will hopefully make your experience with the chip much more smooth.
20 thoughts on “Capacitance Sensor Guide (AD7746)”
-
the cheaper way of doing is is transistor oscillator small capacitor and diode. or with little hacking single micro controller can handle this by it self
Report comment Reply-
You won’t be able to achieve this level of precision and sensitivity with a mikrocontroler alone or jst a low amount of simple components, there is a good reason why such ICs exist. Look at the dataset for the specs about resolution and sensitivity of this IC.
Report comment Reply
-
-
i’ve used the ad7746 before, and I can tell you that you can’t get the kind of performance you see in the 7746 with a simple transistor oscillator or a little microcontroller. you can measure ridiculously small capacitances with this guy if you implement it properly.
Report comment Reply-
can you give me the code and schematic
Report comment Reply-
Hi Vipul!
Do you get the code for AD7746 and Arduino?
Report comment Reply-
Hi Raush… Can i get the code to configure AD7746 and read data from it? I am using arduino board
Report comment Reply
-
-
-
-
I think I just too cheep when it coming to parts, 90% of my parts coming from old VCR players and stereo
Report comment Reply -
Yeah I’m not quite sure why anyone would use a $9 IC as just a touch sensor. There are many simpler and better options out there for button touch interfaces (or even scroll wheels, sliders, etc.). But I guess its a first step.
For a basic touch only option, check out the Qtouch chips and AVR Qtouch library.
Some cool things that the AD7746 could be used for: non-intrusive liquid level measurement, flow rate, various strain applications (pressure, weight), humidity sensing, etc.
Report comment Reply -
I made a capacitive sensor matrix 4×3 with little more than atmega8 and some caps. The performance you get with a micro is enough. These sensors are probably designed for something more sophisticated.
Report comment Reply -
is there a life beyond arduino, adafruit industries and sparkfun?
Report comment Reply -
@lekernel
Yep. It’s called Digikey. A lot cheaper too, but perhaps too scary for most people.
Report comment Reply -
@lekernel
yeah, i’m getting tired of the arduinoaday.com too.
Report comment Reply -
You cant use this near rf sources, it goes crazy.
Report comment Reply -
Have a look at AD7147 and AD7150:
Cheaper ($3-$4), and AD7147 supports several input channels.Unfortunately they come in really tiny packages. Hard to make your own breakout board with these tiny leads.
Ironically, AD7746 is available as MSOP. You can solder it to a normal prototyping stripboard if you cut the stripes on the board in half.
Report comment Reply -
I used touchpads from scrapped laptops for touch sensors before with an avr… works great, much cheaper.
http://forums.bit-tech.net/showthread.php?t=112110
Report comment Reply -
sure, and more interesting than arduino self-proclaimed “hacks”, but hey, it’s not what the masses like.
Report comment Reply -
My gawd! $24.95 to sense touch? OUCH!!!
Whatever happened to the cheap $0.05 solution of using a resistor and capacitor pair tied to a port pin along with some simple code for sensing finger proximity? (OK… more like $1.50 at your neighborhood Sh!tShack store with their 3000% mark-up of repackaged surplus.)
Even a hard to find, overpriced, $3-$6 QT113G chip still needs a capacitor wired to it?
#2 (old school)engineering rule: K.I.S.S – Keep It Simple Stupid
Report comment Reply -
@ dan: Digi-key cheap? I suppose it’s all relative, as with everything else. (I still loves me my Digi-key however).
Report comment Reply -
Where can i get the code?
Report comment Reply -
Hello, I am using arduino and AD7746 to measure tiny capacitance values, can you please share your code with me?
Report comment Reply
Leave a ReplyCancel reply
Please be kind and respectful to help make the comments section excellent. (Comment Policy)
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Search Search for: Never miss a hack Follow on facebook Follow on twitter Follow on youtube Follow on rss Contact us Subscribe If you missed it-
NPAPI And The Hot-Pluggable World Wide Web
8 Comments -
The Time Clock Has Stood The Test Of Time
31 Comments -
The Rise And Fall Of The In-Car Fax Machines
47 Comments -
How Advanced Autopilots Make Airplanes Safer When Humans Go AWOL
21 Comments -
2025: As The Hardware World Turns
29 Comments
-
For The Fun Of It
10 Comments -
Fighting Food Poisoning With A Patch
23 Comments -
Hackaday Podcast Episode 352: Visualizing Sound, And Windows 11 Is A Dog
No comments -
How Do PAL And NTSC Really Work?
37 Comments -
Linux Fu: Yet Another Shell Script Trick
2 Comments
-
NPAPI And The Hot-Pluggable World Wide Web
8 Comments -
The Time Clock Has Stood The Test Of Time
31 Comments -
The Rise And Fall Of The In-Car Fax Machines
47 Comments -
How Advanced Autopilots Make Airplanes Safer When Humans Go AWOL
21 Comments -
2025: As The Hardware World Turns
29 Comments
-
For The Fun Of It
10 Comments -
Fighting Food Poisoning With A Patch
23 Comments -
Hackaday Podcast Episode 352: Visualizing Sound, And Windows 11 Is A Dog
No comments -
How Do PAL And NTSC Really Work?
37 Comments -
Linux Fu: Yet Another Shell Script Trick
2 Comments
- HaHa on It’s Not A Leica, It’s A Lumix
- Sammie Gee on Math Breakthrough Helps Your Feng Shui
- make piece not war on A UI-Focused Display Library For The ESP32
- ian 42 on A UI-Focused Display Library For The ESP32
- Dude on Multi-material Parts The Easy Way
- HaHa on The Rise And Fall Of The In-Car Fax Machines
- HaHa on The Rise And Fall Of The In-Car Fax Machines
- Dave Boyer on Simplifying The SmartKnob
- Cuvtixo Daniels on Math Breakthrough Helps Your Feng Shui
- Bruisah on Yamato-1: The World’s First Ship With Magnetohydrodynamic Propulsion
Tag » Ad7746 Arduino Code
-
Example Of Reading AD7746 Capacitive Sensor From Arduino - GitHub
-
I2cdevlib/AD7746.h At Master - GitHub
-
AD7746.cpp - Searchcode
-
Touch Sensor AD7746 - Arduino Forum
-
Arduino AD7746 I2C Library
-
The Connection Between Arduino And AD7746 - Embedds
-
AD7746 Capacitance-to-digital Convertor - I2C Device Library
-
Capacitive Sensing; The AD7746 | Clipboard Engineering
-
Capacitive Sensor Board - AD7746 Breakout - SEN-07918
-
PDF FileArduino & AD7746 Interactive Matter Goes Kit µ
-
Interfacing AD7746 With Arduino - EEWeb
-
[Moved]: AD7746 + Arduino Uno I2C | Forum For Electronics
-
AD7747 ANALOG DEVICE TO MATLAB OR ARDUINO (I2C) - Q&A
-
Arduino Serial Terminal And Tester For AD7745, AD7746 AD7747 With ...