Edit product

$0+

eRCaGuy_NewAnalogRead (downloadable Arduino library)

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. 

Main library page: http://www.electricrcaircraftguy.com/2014/05/using-arduino-unos-built-in-16-bit-adc.html.

If you're not completely satisfied, I have a 30 day money-back guarantee.

4 ratings

  • Required SoftwareArduino IDE
  • Required HardwareArduino Uno or similar
  • Size402 KB
  • LicenseGPLV3 or later (contact me if you'd like to purchase an alternate license)

Checkout

eRCaGuy_NewAnalogRead (downloadable Arduino library)

Enter your info to complete your purchase

Card

···· ···· ···· 4242
Test card

05/18

Card

Use a different card?

Card

pp paypal

or pay with

We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

or pay with

Your purchase was successful!

We charged your card and sent you a receipt

Summary

    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

    Good news! Since you already have a Gumroad account, it's also been added to your library.

    Powered by Gumroad