{"repo":"NuclearPhoenixx/Arduino-Pico-Analog-Correction","free":true,"listed":false,"github":"https://github.com/NuclearPhoenixx/Arduino-Pico-Analog-Correction","clone":"git clone https://github.com/NuclearPhoenixx/Arduino-Pico-Analog-Correction.git","description":"📚🪛 Arduino library to calibrate and improve ADC measurements with the Raspberry Pi Pico.","language":"C++","stars":25,"topics":["raspberry-pi","raspberry-pi-pico","arduino-library","analog","adc","calibration","arduino-ide","arduino"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Arduino-Pico-Analog-Correction Arduino library to calibrate and improve ADC measurements with the Raspberry Pi Pico. Can compensate ADC offsets, calculate the arithmetic mean of any number of measurements and temporarily disable the power-saving mode when analog-reading to improve the power supply ripple and noise. There is also a function for reading the temperature sensor depending on your ADC resolution and reference voltage. This library is also available in the Arduino IDE, see Arduino Library List. Using You can use the example calibration sketch to grab the calibration values, just follow the instructions given in the sketch. You can serial print the calibration values anytime using this command: Other than that, you can take non-calibrated and calibrated measurements using the corresponding functions: Both of these temporarily disable the power-saving mode to improve noise. Only the second function allows taking an arbitrary number of measurements and returning the arithmetic mean while also using the linear calibration. You can also read the correct temperature from the temp sensor, even if you're not using the default resolution and reference voltage. Be sure that you supply the constructor with the correct values, then simply call: This defaults to Celsius, you can also print Fahrenheit: Limitations This library is limited to a very simple linear calibration since there are practically only two trusted voltages available to be measured: GND (0V) and VCC (3.3V). Thi","default_branch":null,"files":null,"tree":[],"storefront":"/r/NuclearPhoenixx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NuclearPhoenixx/Arduino-Pico-Analog-Correction/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}