

VendSensor
Vend sensor PCB and Software for Vending Machines
- Size
- 120 × 25 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 49
- Nets
- 38
- Pads
- 165
- Tracks, vias
- 437, 36
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- 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 49 parts on 38 nets, routed with 437 tracks and 36 vias.
It is built around the TSSP4056 and BC847. Its parts include 18 capacitors, 12 resistors, 10 ICs, 3 diodes and 3 connectors. It belongs with the sensors and measurement boards and the STM32 boards of this library.
Main components
2README
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
49| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C2, C3, C4, C5, C6, C7, C8, C19, C20, C21, C22, C23, C24 |
| 8 | 100E | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R5, R7, R11, R12, R15, R16, R17, R18 |
| 8 | TSSP4056 | Apogee:tssp4056 | U1, U2, U3, U4, U5, U6, U7, U8 |
| 2 | 100uF/25V | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C16, C27 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C9, C10 |
| 2 | 330E | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R3, R9 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad | H1, H2 |
| 1 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R10 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R8 |
| 1 | BC847 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | Conn_01x03 | Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_Vertical | J1 |
| 1 | Conn_01x05 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | Conn_02x05_Odd_Even | Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical | J2 |
| 1 | GREEN | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D3 |
| 1 | LD1117S33TR_SOT223 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U14 |
| 1 | M7 | Diode_SMD:D_SMA | D1 |
| 1 | STM32F030C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U15 |
| 1 | YELLOW | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4 |
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?
49 parts, built around the TSSP4056 and BC847. 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/Receiver/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 layers60 × 40 mm

SenseBe rev1
Appiko/sense_snap_hw
This repository contains all the KiCad based PCB design and related documentation for all the PCBs developed at Appiko.
52 parts2 - 2 layers271.8 × 114.3 mm

Ardumower mega shield svn
Ardumower/ardumower
Develop an open source robotic lawn mower (HW+SW reference platform)
426 parts282 - 2 layers130 × 80 mm

- 2 layers58 × 110 mm

- 4 layers124.6 × 68.7 mm

- 2 layers200 × 100 mm

Polykit x monosynth
polykit/polykit-x-monosynth
The Polykit X1 is a DIY semi-modular, analog, patchable synthesizer
167 parts94 - 2 layers156.6 × 125.2 mm

- 2 layers45.2 × 36.6 mm

KaffeeInterface v1
misteu/RPiCoffee
Modding / hacking of a coffee machine (DeLonghi ECAM 22.110.B Magnifica S) for IoT capabilities
50 parts64BSD-3-Clause