

VendSensor
Vend sensor PCB and Software for Vending Machines
- Size
- 120 × 25 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 12
- Nets
- 10
- Pads
- 30
- Tracks, vias
- 107, 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 29 May 2022
- Updated
- 29 May 2022
Overview
VendSensor is an open-source printed circuit board by mayankpatel97, from the mayankpatel97/Vend-Sensor repository on GitHub. It is a 2-layer board of 120 × 25 mm with 12 parts on 10 nets, routed with 107 tracks and 4 vias.
It is built around the IR204-A-L. Its parts include 8 diodes, 1 resistor and 1 connector. It belongs with the sensors and measurement boards of this library.
Main components
1README
README.mdVend 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 mayankpatel468@gmail.com or send a whatsapp message on +918802846486
Parts
12| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | IR204A | LED_THT:LED_D5.0mm_IRBlack | D1, D2, D3, D4, D5, D6, D7, D8 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad | H1, H2 |
| 1 | Conn_02x05_Odd_Even | Connector_PinSocket_1.27mm:PinSocket_2x05_P1.27mm_Vertical | J1 |
| 1 | R_US | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R1 |
Questions
How big is the VendSensor PCB?
It measures 120 × 25 mm and has 2 copper layers, 1.6 mm thick.
What parts does the VendSensor use?
12 parts, built around the IR204-A-L. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the VendSensor KiCad files?
From the mayankpatel97/Vend-Sensor repository on GitHub, at the commit this page was made from: the board is PCB/Transmitter/VendSensor.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the VendSensor design in my own project?
Its repository states no licence, so its author keeps all rights: ask mayankpatel97 before reusing the design.
More from mayankpatel97/Vend-Sensor
1- 2 layers120 × 25 mm

Similar boards
- 2 layers

OpenMQTTGatewayPCB
ebrithiljonas/OMG_PCB
All in One PCB for the OpenMQTTGateway Project
36 parts7GPL-3.0 - 4 layers104.2 × 77.7 mm

- 2 layers38.3 × 25.2 mm

- 2 layers75 × 40 mm

Remote
bismarx-v1/Sumec-Remote
IR remote for MiniSumo, schematic and partial code was forked from p1rse
47 parts1 - 2 layers30.5 × 22.9 mm

Ir project
hitendravalhe/IR_sensor_pcb_design
This repository contains the design files and documentation for an Infrared (IR) sensor PCB with an integrated LM35 temperature sensor.
9 parts1 - 2 layers25.4 × 40.1 mm

PTL IR remote
PostTenebrasLab/PTL-IR_remote
IR remote based on esp8266 with OTA, MQTT, web server, DHT22, brightness, IRM
22 parts1GPL-3.0 - 2 layers210 × 126 mm

- 2 layers22.9 × 10.9 mm
