Code Monkey home page Code Monkey logo

adc_board_test's Introduction

adc_board_test

Board bring-up/test program for ADS1115-based ADC board.

This test program can be used to verify the hardware, and to prototype or try out features. The code here is not production-grade, and resides in a single large main.cpp file, it should be broken out into separate files for a real application. Configuration values are not (significantly) sanity-checked. Use this repo to quickly try out things and to prototype code that could be copy-pasted either whole or in fragments into your application.

Current functionality

(a) Prints out voltage values to console every second

(b) Hold down a button wired to GP27 or GP21 (either is fine) at start-up, to go into a configuration menu mode

(c) In configuration menu mode, press Enter in the serial console, to see a configuration menu. Values are written to EEPROM.

To do

(a) Read the configuration from the EEPROM and use it

(b) Read temperature sensor and print the value to the console

(c) Allow plugging on a LCD screen for displaying the voltage values without requiring a serial console connection. A suitable display is Waveshare Pico-LCD-1.3 since it can plug on top, and could be suitable for an end application (e.g. display current status while measurements are logged/plotted on a PC).

adc_board_test's People

Contributors

shabaz123 avatar jancumps 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.