AN780 MICROCHIP [Microchip Technology], AN780 Datasheet - Page 7
![no-image](/images/no-image-200.jpg)
AN780
Manufacturer Part Number
AN780
Description
15-Kilogram Scale Using the TC500A and the TC520
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.AN780.pdf
(10 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN7805
Manufacturer:
MITSUBISHI/三菱
Quantity:
20 000
Part Number:
AN7806
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Company:
Part Number:
AN7808
Manufacturer:
Matsushi
Quantity:
2
Company:
Part Number:
AN7808
Manufacturer:
PANASONIC
Quantity:
2 000
Company:
Part Number:
AN7808
Manufacturer:
PHILIPS
Quantity:
40 000
Part Number:
AN7808
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Company:
Part Number:
AN7808F
Manufacturer:
PANISONIC
Quantity:
800
Part Number:
AN7809
Manufacturer:
PANASONIC/松下
Quantity:
20 000
FIGURE 6: TC520 program flow chart.
© 2002 Microchip Technology, Inc.
Latch Count
Overrrange
Overrange
Polarity
Counter
Clear
Count
Stop
Set Polarity Bit
High
Low
No
High
Comparator
Comparator
Comparator
Yes
Overflow
Overflow
Overflow
Counter
Counter
Output
Output
Output
Timer
Output
Timer
Timer
A = 0
B = 1
Timer
A = 1
B = 0
A = 1
B = 1
A = 0
B = 0
Start
Start
Power
Start
?
?
?
?
?
?
Yes
High
Set Overrange Bit
Reset Polarity Bit
Low
Low
Yes
No
No
Auto Zero
Integrate
Deintegrate
Zero Integrate
FIGURE 7: PIC16C62A program flow chart.
Retrieve Saved Reading
Multiply by 22046
to Register
Overflow
Add Delta
Register
?
Yes
Read Conversion Results from TC520
Delta = This Reading - Saved Reading
Read Conversion Results from TC520
Yes
No
No
No
Save Results as Offset Value
Convert Binary to BCD
Subtract Offset Value
Save This Reading
Restore Register
Yes
Yes
Yes
Conversion
Divide by 8
Conversion
Display
Yes
Complete
Complete
15 Times
Pounds
No
2 Grams
Delta >
Start
Setup
?
?
?
?
?
AN780
DS00780A-page 7
No