Sie sind auf Seite 1von 1

START

YE
Is the S
Play Audio File:
Read Battery Level
Initialize the MCU, Color Sensor and SD Module q
voltage
Low Battery. Please charge.
3.1v?

NO

Read Color Sensor Values

Is a 20-peso bill Is a 50-peso bill Is a 100-peso bill Is a 200-peso bill Is a 500-peso bill Is a 1000-peso bill Is there a bill
detected? detected? detected? detected? detected? detected? detected?

NO NO NO NO NO NO NO
YE YE YE YE YE YE YE
S S S S S S S

Play Corresponding Bill Value Play Audio File:


No bill detected

Play Audio File:


Please Insert Next Play Audio File:
Bill Error. Flip the bill
then insert again.

LEGEND: PROGRAM FUNCTIONS OF THE MICROCONTROLLER

Das könnte Ihnen auch gefallen