GithubHelp home page GithubHelp logo

enjoyneering / mcp4725 Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 23 KB

Arduino library for MCP4725 12-bit DAC with EEPROM

C++ 100.00%
mcp4725 dac eeprom converter digital analog arduino-library i2c-device voltage

mcp4725's Introduction

license-badge version stars hit-count github-issues

Microchip MCP4725

This is an Arduino library for I²C MCP4725 12-bit Digital-to-Analog Converter with EEPROM

  • operating/reference voltage 2.7v - 5.5v
  • output voltage from 0 to operating voltage
  • maximum output current 25mA
  • output impedance 1 Ohm
  • maximum output load 1000pF/0.001μF in parallel with 5 kOhm
  • voltage settling time 6 μsec - 10 μsec
  • slew rate 0.55 V/μs
  • add 100μF & 0.1 μF bypass capacitors within 4mm to Vdd
  • device has 14-bit EEPROM with on-chip charge pump circuit for fail-safe writing
  • estimated EEPROM endurance 1 million write cycles
  • if Vdd < 2v all circuits & output disabled, when Vdd increases above Vpor device takes a reset state & upload data from EEPROM

Supports all MCP4725 features:

  • Fast write
  • Register read** & write
  • EEPROM read** & write
  • Power down
  • General reset
  • General wake-up

Tested on:

  • Arduino AVR
  • Arduino ESP8266
  • Arduino ESP32
  • Arduino STM32

** Library returns 65535 if there is a communication error on the I²C bus

mcp4725's People

Contributors

enjoyneering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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