interfacing the trimpot with ads1115 using Arduino mege

Thread Starter

andhavarapu lokesh

Joined Aug 17, 2017
I tried to interface ads1115 using arduino and read the voltage of 10K poteniometer from serial monitor.

i got the error like this

Sketch uses 5782 bytes (2%) of program storage space. Maximum is 253952 bytes.
Global variables use 433 bytes (5%) of dynamic memory, leaving 7759 bytes for local variables. Maximum is 8192 bytes.

I made one more mistake i conncted 5V from arduino to Ads1115 VDD . Will the ADS1115 work or not
Last edited:


Joined Aug 17, 2017
Errors are usually in red.

The ads1115 can handle 5V (max is 5.5V) so you probably did no harm as long as you connected +5V to the VDD pin.

Just upload the program and give it a shot.