Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Displaying Current in 2 digit

Status
Not open for further replies.

grittinjames

Advanced Member level 1
Joined
Jun 1, 2006
Messages
479
Helped
44
Reputation
90
Reaction score
32
Trophy points
1,308
Location
bangalore india
Activity points
3,985
Hi,
I want to display current measured in 2 digit. Please suggest me how to do it.

nominal current sensor voltage is 2.5V. and from thr 25mv per Amps.
I want to display this in two digit from 1 to 20amps.I need help only in convertion to digit. I have program to display the digits. I am using ATmega8 chip. Reference is 5V

Thanks
 

Measure voltage with ADC, convert binary to meaningful number (like amount of milivolts), from this calculate current, convert to unsigned int or whatever your display function takes as an argument and then display it.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top