Go Down

Topic: INA219B Sensor (Read 749 times) previous topic - next topic

RaionD

Sry for my english im french :3

Trying to use the example of the Adafruit INA219B library to get the voltage and the current of an LCD.
The problem is that when there was no display on the LCD i get this values (maybe it is in standby) :

https://plus.google.com/116598387242565893014/posts/aJfZH7qs3zm?pid=6268244876755995986&oid=116598387242565893014

When there is a display i get this values :

https://plus.google.com/116598387242565893014/posts/XTFAYk3u93j?pid=6268245329971815250&oid=116598387242565893014

I dont understand why the voltage drops significantly if you can explain to me it could be so kind  ;D

Wawa

Are you using the Adafruit board.
If so, how did you connect it to the Arduino.
Leo..

RaionD

#2
Apr 02, 2016, 06:42 pm Last Edit: Apr 03, 2016, 12:37 am by RaionD
Ah yes didnt said it  my bad ^^ just go see it on this link :

https://plus.google.com/u/0/116598387242565893014/posts/LJAbtyea6ni?pid=6268999731240991986&oid=116598387242565893014

Maybe it is false i dont know i made it from the datasheet page 9 : https://www.parallax.com/sites/default/files/downloads/29130-INA219-DC-Current-Sensor-INA219B-Datasheet.pdf

Wawa

Maybe it is false i dont know i made it from the datasheet
Still don't know if you have a factory-made board, or you are using the bare chip with supporting parts.
You could post a picture of the setup.
Leo..

RaionD

Well i'am using an Arduino Uno card just bought on this website with a simple breadboard as you can see in the picture :

https://plus.google.com/u/0/116598387242565893014/posts/avre9GBRMjk?pid=6269271323590719746&oid=116598387242565893014

Wawa

Ir seems everything is connected right.

Not sure what the cause is.
Try some other load on the curent sensor instead of the LCD.
e.g. a LED/resistor.
Leo..

RaionD

The problem is that i cant test cause the materials are at my high school... I know it's delicate but you really have 0 idea ? :/

RaionD

Please man i really need your help :( i have to explain it tomorrow or juste make a theory ...

Wawa

I don't have a crystal ball.
All I can see is that the wiring seems to be ok.
You just have to try things untill you see a change.
Sometimes things are unexplainable untill you start prodding.
How often are those wires used at school.
Maybe there is a wire broken on the inside.
I suggested using another load than the LCD to see if that fixed it. Did it?
The INA doesn't work below ~3volt.
Did you measure voltages with a DMM in the fault state?
Leo..

RaionD

Okay I get it I will start prodding !
I will try with a led or something else and change wires
I don't even know what is a DMM just stop waste time for me it's useless go help other people ;) Really thank you for your help see you man you are a nice guy !

Paulcet

#10
Apr 05, 2016, 05:59 pm Last Edit: Apr 05, 2016, 06:00 pm by Paulcet
Please man i really need your help :( i have to explain it tomorrow or juste make a theory ...
Scientific method:  Make a theory that can be tested.  Test, prove/disprove, make new theory, test... repeat.

RaionD

Okay so re i bought the starter kit arduino then i can make tests at my home ! I made a test with a LED and i get this values :

https://plus.google.com/u/0/116598387242565893014/posts/LJAbtyea6ni?pid=6272656512021010626&oid=116598387242565893014

You have in comment of the link the color of the LED and the value of the resitor.

The values seems logic for me so i don't understand the problem with the LCD ^^
Anyway i have to measure the current values from a solar panel so it's not that serious ;)

Go Up