Multisensor Board Arduino! (Part2)
by jmorles in Circuits > Arduino
3300 Views, 21 Favorites, 0 Comments
Multisensor Board Arduino! (Part2)
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!
Bill of Materials
1 Arduino Nano
1 ADS1115
1 OLED 0,96 128x64 Display
Set Of Jumper Cables
2 2.2k Ohm Resistor
1 Protoboatd power regulator
1 100K Ohm Trimpot
Downloads
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.
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