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.

Data Logger Using PIC & 24LC16B (EEPROM)

Status
Not open for further replies.

nicko-391

Member level 2
Joined
Dec 8, 2010
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Sri Lanka
Activity points
1,542
Im going to make a Digital-Multimeter with a data Logger.External EEPROM is used
to store data.

Multi-meter has five digits.How can I manage EEPROM which has 2K memory to store measured values with Unit. Please give me & Idea.
 

any idea what range of measured values you are going to store and how many different units ?
The most space efficent way to store data is in binary rather than as character strings.
for example you could always store voltages in mVolts using a 24 bit number (3 bytes in EEPROM) giving a range of approx -8388.608 to + 8388.608 volts. If you don't need such a range so you could use some of the bits to indicate the units Mvolts, mAmps, ohms, etc.
it you need a larger range you could use 32 bit numbers etc.
 
5 digits means 10^5 magnitude ( 99.999 ) and with only 3 bytes ( 2^24 ) you can manage that storage.
Even wasting 1 byte ( 3+1 ) to make easyer the pointer access you can achieve ~250 records ( 2K/4 ).

+++
 
have a look at Microchip's Temperature Data Logger Demo Board it may give you some ideas
**broken link removed**
 
There are 17 units, except AC/DC. Maximum Value is 19,999.
 

you could use three bytes for each value
1 byte holding the units
2 bytes holding a signed 16 bit integer range -32768 to 32767
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top