Manage in the browser
The web application organises items, locations and stock. A PHP backend connects the interface to a MariaDB database.
PSTOCK / SOFTWARE & HARDWARE
Inventory management meets a storage system I built myself. PStock combines a web application and database with ESP32 control, stepper motors, a wooden rack and a circuit board.
Explore the project
The storage system is in manual use and works well. It already moved correctly with the original desktop application; movement control through the web application has not yet been tested on the rack. Dispensing and RFID box identification are prepared but are not a current priority. PStock remains a showcase without a download.
Project overview updated:
PStock brings software development, electronics and mechanical construction together in one project.
The web application organises items, locations and stock. A PHP backend connects the interface to a MariaDB database.
With the original desktop application, the ESP32 and stepper motors already moved the rack correctly. Communication with the machine controller uses WebSocket. Movement control through the PStock web application is still untested. The additional dispensing system and RFID box identification remain prepared extensions.
The project includes a wooden rack I built myself, a circuit board and a motorised mechanism. I designed custom components in CAD and produced them using 3D printing. The software and physical build work together.
PStock started as a desktop application. In that version, the rack already moved correctly.
The web application came later. Its control interface is present, but rack movement through the PStock web application has not yet been tested.
The desktop application showing item master data and its machine status panel.
Eight real photos document the wooden rack, circuit board, stepper motors and retrieval mechanism — from construction to the assembled system. Select a photo to enlarge it.
The wooden storage compartments take shape in the workshop.
The rack with its guide rail and the first mechanical components installed.
A view into a storage compartment showing the retrieval mechanism.
The controller board and stepper motor mounted on the rack.
Guide rail, drive and wiring along the height of the rack.
A close-up of the mechanical retrieval assembly.
The rack, labelled storage boxes and retrieval system come together.
The assembled rack with storage boxes and prepared retrieval mechanism.
Five screenshots show the German-language web interface, from inventory management to machine control and the label designer. The printed label shows how inventory data becomes a physical label.
Storage locations shown in a grid with search, detail preview and inventory overview.
Items with part numbers and descriptions in master data management.
Manage incoming and outgoing transactions alongside the stock list.
X, Y and Z axes, storage operations and machine status in one view.
Design labels with a QR code, text and database fields.
A real PStock label with item, quantity, transaction, storage location and QR code.
The ESP32 hosts its own web server with an interface for direct machine control. Commands and status data are exchanged via WebSocket.
Each storage location has individually adjustable coordinates to match the actual build and compensate for construction inaccuracies. Homing against limit switches lets the machine re-establish its reference positions for calibration whenever needed.
The image shows the smartphone view: X, Y and Z controls, separate Y1 and Y2 adjustments, positions, target values and machine status. Select the screenshot to open it in the integrated image viewer.
The control interface served directly by the ESP32, with axis controls and status information.
Original CAD views from the PStock project show the mechanisms for the X, Y and Z axes. Select a view to open the integrated image viewer.
HTML, CSS and JavaScript in the browser, PHP and MariaDB for inventory data, and an ESP32 with its own web server and stepper motors for the hardware. Communication with the machine controller uses WebSocket. PStock is presented here as my own software and hardware project.