Vend sensor is used to detect an item has vend in Vending Machines. It sense the product and send a signal to the main motherboard, indicating item has vend. Responding to this signal motherboard will stop rotating motor
Every vending machine has a rectangular bucket from where user collects the purchased items. This sensor will be installed there, so it can detect and count each and every product dropped by machine in to the bucket.
A vend sensor must be sensitive and fast enough to detect even tiny products.
The product has two pcbs
- Transmitter : An array IR LEDs transmitting a 56Khz modulated signal. This pcb is connected with Receiver board through a cable
- Receiver : This board consist of IR demodulators connected to an STM32F0 microcontroller.
************************** PCB **************************************** Receiver PCB
Transmitter PCB
************************* Software *************************************
As I mentioned above the circuit is built around STM32F0 microcontroller, it uses HAL drivers. Follow below steps to make the code working
- Download the code and open STM32 Cube file and regenerate the code.
- Once the code has generated, open the project in keil MDK ARM, and build the code.
- Then upload the code in the microcontroller.
for further details contact me at [email protected] or send a whatsapp message on +918802846486