Sometimes we need extra precision on our projects, here we need to understand the resolution of an adc
The regular arduino have 10 Bit resolution,
if most sensors are 0 to 5 Vdc and the biggest number we can take is 0 to 1023 that means that we have 4m Volts/bit
But using the arduino i2c port we can use the ADS1115 an extra hardware board capable of going 0 to 65535
ADS1115 the scaling factor would be 188uV/bit. (its configurable).
Saving some memory we implement the ASCII Library for the OLED!
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Bill of Materials
1 Arduino Nano
1 OLED 0,96 128x64 Display
Set Of Jumper Cables
2 2.2k Ohm Resistor
1 Protoboatd power regulator
1 100K Ohm Trimpot
Step 2: Mouting
The video is self explanatory, But here are come tips:
Try to Energize the OLED from other powrer source, other than the arduino
The I2C is a parallel protocol, but you cant have two devices with the same adress
Connect the arduino GND with the Proto board GND
The ADS1115 Adress is given by the ADRESS pin conection, Notice the picture.
Step 3: Programming
There are 3 phases to fully test our project
1 Show a large number on Screen (Signal 0)
2 Show the number Serial, GRaph the number (Signal 0)
3 Show the four signals and being able to Graph them.
The library and program are attached
Step 4: Video Test
Visit My channel:
Please read my first Post: