Git Product home page Git Product logo

testcap's Introduction

This is a fork of Mirko Pavleski's simple capacitance sensor. The key difference is here we are using a standard 16x2 LCD screen, with an I2C interface for the screen. The orininal ST7565 screen though nice is not something I have on hand.

Differences from Original Code:

Simplified Measurement Handling:
The Cyfry function in the original code handled the conversion and formatting of the capacitance value. The new code does this directly within the loop function.

Direct Display:
The new code displays the measurement directly on the LCD without intermediate processing, reducing complexity.

Range Handling:
The new code uses simpler range checks (if statements) to determine the units (pF, nF, uF) and display them accordingly.

Improved Readability:
The new code is more readable and easier to follow as it combines measurement, processing, and display in a straightforward manner.


This code should work effectively for measuring capacitance and displaying the result on an LCD screen. It also includes handling for cases where no connection is detected, providing clear feedback on the LCD.

OG Project link: https://www.hackster.io/mircemk/how-to-make-simplest-possible-autorange-capacitance-meter-ea7f00

Capacitance library is available in the library manager, or online here: https://github.com/codewrite/arduino-capacitor

The LCD backpack: https://www.adafruit.com/product/292

Just made a version for the Vellman VMA203: https://www.velleman.eu/products/view?id=435510

testcap's People

Contributors

fossboss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.