Banknote dispenser

Do someone have algorithm of a banknote dispenser? like how ATM dispense banknotes.

Do someone have algorithm of a banknote dispenser?

Dispensing bank notes is a hardware issue. The "algorithm" is incredibly simple: bool dispenseBanknote(int denomination). The actual implementation of the function depends on the hardware, and might involve testing that there is actually money to dispense, opening doors, spinning motors, scanning for paper movement, closing doors, printing messages, etc.

So, what HARDWARE do you have?

PaulS: Dispensing bank notes is a hardware issue. The "algorithm" is incredibly simple: bool dispenseBanknote(int denomination). The actual implementation of the function depends on the hardware, and might involve testing that there is actually money to dispense, opening doors, spinning motors, scanning for paper movement, closing doors, printing messages, etc.

So, what HARDWARE do you have?

sorry for the wrong title I mean. I need someone help with a DIY banknote dispenser. all i have is servo motors. I never see a banknote dispenser and how it works.