
description: "A piggy bank coin counter that detects and counts four types of coins: 10, 5, 2, and 1 baht.then show the amount of each type of coin via uart tx"
let input high and read the value from uart tx.if the value from uart tx match the amount of input high pulse then the circuit is valid.
brightness sensor button and switch
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | clk | o_Tx_Active | |
| 1 | reset_n | o_Tx_Done | |
| 2 | sensor0 | o_Tx_Serial | |
| 3 | sensor1 | ||
| 4 | sensor2 | ||
| 5 | sensor3 | ||
| 6 | sw0 | ||
| 7 |