Idea
In short
How do you build an oversampling to gain extra bits?
By adding up many readings of a slightly noisy input and dividing, the Nano's 10-bit converter can give a result with finer steps than its single readings, and you can compare with and without a little added noise. A clever trick that shows how averaging buys resolution. You need Arduino Nano, Potentiometer 10 kΩ, Resistor 10 kΩ, Ceramic Capacitor 100 nF, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 90 min
- Parts
- 7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Get finer readings from a 10-bit converter.
Parts list
- Development Boards
- Passives
- Passives
- Passives
- Displays
- Prototyping
- Prototyping
How to build it
- Read a steady voltage from a pot
- Add 16 readings and shift to get 12 bits
- Compare with a single reading
- Add a little noise with a pin and resistor
- Show both values on the screen
Common questions
What parts do I need for the oversampling to gain extra bits?
Arduino Nano, Potentiometer 10 kΩ, Resistor 10 kΩ, Ceramic Capacitor 100 nF, SSD1306 OLED Display, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the oversampling to gain extra bits take to build?
About 90 minutes for a intermediate maker.
