Coin Hopper
The main function of the coin dispenser is to change coins. It is equipped with a motor and a coin-counting sensor. Upon receiving a control command from an external motherboard, the coinDispenser performs the action of dispensing coins and calculates…