Is it possible to use Arduino as Ampmeter for 100mA only ?
hi.
i wondering whether possible use arduino ampmeter for 100ma .
i've seen example shunt resistor wanted play mine , print on lcd current drain of system (arduino, lcd, , other stuff around.
i know takes 120-150ma can't project of printing on lcd (neither on serial monitor). says 00.00ma !
i'm using 0.48 ohm resistor in series in power line (two 1/4w , 1 ohm resistor in parallel).
is resistor small , voltage i'm trying measure analogpin ?
i'd able measure 0 500ma.
any advice welcome.
i'm beginner.
i wondering whether possible use arduino ampmeter for 100ma .
i've seen example shunt resistor wanted play mine , print on lcd current drain of system (arduino, lcd, , other stuff around.
i know takes 120-150ma can't project of printing on lcd (neither on serial monitor). says 00.00ma !
i'm using 0.48 ohm resistor in series in power line (two 1/4w , 1 ohm resistor in parallel).
code: [select]
mesureushunt = analogread(a2); //prend l'intensité par résistance shunt 0.48 ohm
mesureushunt1 = map(mesureushunt, 0, 1023, 0, 1000);
icons = mesureushunt1 / 475.953; //résistance de 0.47953565 ohm
//print different data on serial monitor control
serial.print(" mesureushunt ");
serial.print(mesureushunt);
serial.print(" ushunt ");
serial.print(mesureushunt1);
serial.print(" icons ");
serial.println(icons);
//print current drain (icons) in ma on lcd
lcd.setcursor(8,2);
lcd.print(icons);
lcd.setcursor(13,2);
lcd.print("ma");
is resistor small , voltage i'm trying measure analogpin ?
i'd able measure 0 500ma.
any advice welcome.
i'm beginner.
quote
in series in power line
where ?
i understand want measure arduino's current itself.
probably gnd above voltage difference produced shunt ... cannot measure negative voltages.
or shunt outside voltage regulator ...
not sure if can use opamp tie "external" voltage difference show value above gnd.
i'd direction, perhaps there's different approach ...
Arduino Forum > Using Arduino > Project Guidance > Is it possible to use Arduino as Ampmeter for 100mA only ?
arduino
Comments
Post a Comment