Skip to content

SolderedElectronics/Soldered-Digipot-MCP4018-Arduino-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digipot MCP4018 Arduino library

Make docs and publish to GitHub Pages Arduino Library Manager Compatibility

A digital potentiometer is a device identical to a potentiometer, except that instead of a physical rotating part that adjusts the resistance, it uses digital communication. Namely, the resistance of the digital potentiometer is adjusted via I2C communication.

Our module is based on the MCP4018 IC which has a total of 128 steps between 0 and 5k resistance values. This would mean that it is capable of doing resistance steps of approximately 39ohms. It is controlled via I2C which makes it extremely easy to use.

Digipot 5k MCP4018 breakout
Digipot 5k MCP4018 breakout
Digipot 10k MCP4018 breakout
Digipot 10k MCP4018 breakout
Digipot 50k MCP4018 breakout
Digipot 50k MCP4018 breakout
Digipot 100k MCP4018 breakout
Digipot 100k MCP4018 breakout

Digipot compliant to easyC ecosystem.

Repository Contents

  • /src - source files for the library (.h & .cpp)
  • /examples - examples for using the library
  • other - keywords file highlights function words in your IDE, library.properties enables implementation with Arduino Library Manager.

Hardware design

You can find hardware design for this board in Digipot 5k MCP4018 breakout hardware repository.

You can find hardware design for this board in Digipot 10k MCP4018 breakout hardware repository.

You can find hardware design for this board in Digipot 50k MCP4018 breakout hardware repository.

You can find hardware design for this board in Digipot 100k MCP4018 breakout hardware repository.

Documentation

Access Arduino library documentation here.

  • Tutorial for using the Digipot board
  • Installing an Arduino library

Board compatibility

The library is compatible with board & microcontroller families shown in green below:

Compile Sketches

About Soldered

soldered-logo

At Soldered, we design and manufacture a wide selection of electronic products to help you turn your ideas into acts and bring you one step closer to your final project. Our products are intented for makers and crafted in-house by our experienced team in Osijek, Croatia. We believe that sharing is a crucial element for improvement and innovation, and we work hard to stay connected with all our makers regardless of their skill or experience level. Therefore, all our products are open-source. Finally, we always have your back. If you face any problem concerning either your shopping experience or your electronics project, our team will help you deal with it, offering efficient customer service and cost-free technical support anytime. Some of those might be useful for you:

Open-source license

Soldered invests vast amounts of time into hardware & software for these products, which are all open-source. Please support future development by buying one of our products.

Check license details in the LICENSE file. Long story short, use these open-source files for any purpose you want to, as long as you apply the same open-source licence to it and disclose the original source. No warranty - all designs in this repository are distributed in the hope that they will be useful, but without any warranty. They are provided "AS IS", therefore without warranty of any kind, either expressed or implied. The entire quality and performance of what you do with the contents of this repository are your responsibility. In no event, Soldered (TAVU) will be liable for your damages, losses, including any general, special, incidental or consequential damage arising out of the use or inability to use the contents of this repository.

Have fun!

And thank you from your fellow makers at Soldered Electronics.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages