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.

use avr to read data from postal scale

Status
Not open for further replies.

ketdv

Newbie level 1
Joined
Jul 6, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
avr 7135

Hi all
I have a project that is: design a extra circuit ( use AVR - AT90S8515 ) to read data from postal scale and send to PC. But I have difficulty that is decode data ( I parallel read from AT89C4051 to LCD driver ):
Discription of Postal scale:
Load cell ->Amplifier -> fillter -> ADC (7135) -> AT89C4051 -> LCD driver -> LDC display ( 4-1/2 digit).
- Postal scale has no interface output ( for example : RS- 232)
- MCU AT89C4051 read data from ADC 7135 and calculate to real load and send to LCD driver ( I don't know the names of LCD driver - I think it's made in China ). MCU interface with the LCD driver over 3 wire: CS, WR(clock), DATA and the data format is:

101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3 101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3
( Add= 9 ) ( Add= 8 )
101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3 101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3
( Add= 7 ) ( Add= 6 )
101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3 101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3
( Add= 5 ) ( Add=4 )
101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3 101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3
( Add= 3 ) ( Add= 2 )
101 A5 A4 A3 A2 A1 A0 D0 D1 D2 D3
( Add= 0 )

101 : command code.
A5..A0 : memory address:
D3..D0 : data
Postal scale use LDC 4-1/2 digit to display the data the segment list is: segment for 4 and 1/2 digit( 1,8,8,8,8) and "kg"; "lb";"<";"<";"-";"o"
I have picture of LCD but Ican't attach here if you need I can send to you over email.
Discription: My extra circuit:
I use 3 pin of AT90S8515 to interface with postal scale over (CS,WR, DATA - that AT89C4051 send resuilt of load to LCD driver ). I have read the Address and DATA ( folowing format is list above ). But I can't decode the data.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top