Recommended donation: $5 for home use; $100+ for business use (please, be generous, depending on the value this adds to yourself or your business), for a copy of this code under the included copy-left, open-source GNU GPLV3 or later license. Otherwise contact me if you'd like to purchase an alternate, non-GPL commercial license for non-GPL-compatible business use.
Enter a donation amount, or $0, above. Donations are greatly appreciated.
License: open-source, copy-left GNU GPLV3 or later license. Commercial (closed-source, proprietary) licenses sold at request. Contact me if desired.
Q: Can you sell free software? A: Read here.
Have you ever discovered that you can't detect small enough voltage changes on your analog pins when using the analogRead() function? Have you considered buying a higher-resolution external ADC (Analog to Digital Converter)? Have you ever wished you could take analog samples faster? If so, this library is for you.
"Hi, I have used your oversampling library in order to catch spectral information from a flame emission atomic spectrophotometer and the data obtained was really good. Thanks for your excellent library (see report in my blog, in Spanish). Regards." ~Alberto Villalobos, http://hombrosdegigantes.blogspot.com/2015/03/aumento-virtual-de-la-resolucion-de-un.html
"I use your library for measuring temperature with [a] Pt100 resistance thermometer (RTD). This library's advantage (besides the higher resolution) is a smoother line on the graph - and of course avoiding an ADC chip." ~Szőcs Márton
This library will save you money. On many projects, it works well enough to keep you from having to buy an external ADC that you would have otherwise had to purchase. It will just keep helping you on all future projects. Your donations provide a great value to you while they brighten my day, help support my family, and keep me doing and sharing my projects!
This is an Arduino library which does two things:
1) You can call adc.setADCSpeed(ADCSpeed) to change or increase the speed of the ADC (Analog to Digital Converter). Ex: calling adc.setADCSpeed(ADC_FAST) increases the max analog sampling rate, when at a resolution of 10-bit samples, from ~10kHz to 50kHz.
2) The library uses oversampling to increase the analog sampling resolution of an Arduino. You can call adc.setBitsOfResolution(bitsOfResolution) to change the desired sampling resolution. Standard resolution is 10-bits, which returns values from 0 to 1023. Calling adc.setBitsOfResolution(12), for instance, increases the sampling resolution to 12-bits, which is 4x the resolution as 10-bit samples!
Once you configure the speed and resolution, call adc.newAnalogRead(pin) to take a sample.
For additional functions and usage, refer to the included example code.
If you're not completely satisfied, I have a 30 day money-back guarantee.
You'll need an account to access this in our app. Please create a password to continue.
Download from the App Store or text yourself a link to the app
Thanks for your support. Use the share buttons below to spread the word!
License: GPLV3 or later
Github repository link: https://github.com/ElectricRCAircraftGuy/eRCaGuy_analogReadXXbit
Other downloads: https://gumroad.com/gabrielstaples