element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
555 Timer Madness
  • Challenges & Projects
  • Project14
  • 555 Timer Madness
  • More
  • Cancel
555 Timer Madness
Blog 555 timer Remote Capacitance Sensor - fluid level, body detector, touch sensor
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join 555 Timer Madness to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: AE7HD
  • Date Created: 18 Oct 2022 2:35 PM Date Created
  • Views 6233 views
  • Likes 7 likes
  • Comments 34 comments
  • remote sensor
  • capacitance sensor
  • liquid level
  • ne555
  • tlc555
  • 555timermadnessch
  • 555 timers
Related
Recommended

555 timer Remote Capacitance Sensor - fluid level, body detector, touch sensor

AE7HD
AE7HD
18 Oct 2022
If you want to measure capacitance for a sensor some distance away, you can't do it at the end of long wires. Just temperature changes and nearby objects will make larger changes that can swamp what you are trying to measure.

This was originally for my first car in the late '70s. I put sensors on the windshield washer tank, the radiator hose, even inside the gas tank. I had already designed and built my own precision capacitance meter using two 555 timers. This triggered each sensor separately, then sorted which one was active with a decade counter and an LM3914 linear dot/display driver.
Two wire twisted pair is a lot cheaper than 3 wire. And when you aren't flush with cash, that can make a difference. This one is designed to send the signal back to an Arduino, which is then programmed to measure just the On time.

I've used this to measure liquid levels in water tanks, on roofs, even inkjet tanks. The sensor itself might be metal tape on the outside of a plastic or glass tank, or insulated wire in the liquid. Make sure the insulation is compatible with the liquid.

One 555 timer goes onto the remote sensor. The signal and power travel on the same line similar to how I2C and several other methods work, although in this case there are no addresses.
image
  • Sign in to reply

Top Comments

  • dougw
    dougw over 3 years ago +1
    Good idea to put the circuit close to the "capacitor".
  • AE7HD
    AE7HD over 2 years ago in reply to Gururaj +1
    https://hackaday.io/project/183506-remote-continuous-liquid-level-sensor-555-timer D1 is there to make the output of the 555 act as if it were an open collector output. Yes, it will use the 100pF…
  • Gururaj
    Gururaj over 2 years ago in reply to AE7HD +1
    Thanks for the reply Sir. I agree that T-ON would be proportional to capacitance. T-OFF is needed to make Arduino detect falling pulseIn method where we can take T-ON time. Now I read it again and…
  • AE7HD
    AE7HD over 2 years ago in reply to Gururaj

    Awesome.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 2 years ago in reply to Gururaj

    Perhaps consider a TLC555, which will operate down to 2V supply voltage?

    https://www.ti.com/product/TLC555

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gururaj
    Gururaj over 2 years ago in reply to AE7HD

    Hi All, AE7HD,

    I was wondering if I could use your 2 wire (common wire for power and sensing) mode with ESP12F which operates with 3.3V. Since 555's specified supply voltage is  between +5 volts and + 15 volts. IMO, we need to have a MOSFET so that ESP12F can supply 5V to 555. If that is the case, how can we use this brilliant idea of 2 wire?

    Only next idea would be to use 3 wires in total..Two wires for powering 555 (+ve and -ve (N-MOSFET Switched)) and one for Signal from 555's Pin-3. One problem here would be, we will lose 2 pins of ESP12F, one to power MOSFET and other to sense the timing output from 555.

    Any idea would be helpful.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gururaj
    Gururaj over 2 years ago in reply to Gururaj

    I got it working. There is some issue in pulseIn() method of Arduino. I had to multiply 0.61280 to the output of pulseIn method to get the correct t_on time. Got this hint from this forum. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gururaj
    Gururaj over 2 years ago in reply to AE7HD

    When I wave hand near wire or circuit no changes has been seen. But if touch terminal of C1 or wire between D1 and Pin8 of Arduino, Capacitance shon on 16x2 LCD/Serial Monitor increases to 172pF.

    Workbench : I worked on Sofa with cotton Cloth on it. I even test floor. Same result.

    Unfortunately I don't have Scope to test the Vcc Line and Pulse timing. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube