Free tools Windows power users keep installed
One-click scans. No signup required.
This project is a DIY, weather-resistant parcel box controlled by a Raspberry Pi Pico W or Pico 2 W. It uses a 12-volt electric drop-bolt lock, magnetic door contacts, a vibration sensor and a siren to move deliveries out of sight and deter opportunistic theft. It is not a professional safe or an undefeatable anti-theft system: a determined thief could attack the wood, wiring, lock, anchor or the box itself.
The design is best understood as a maker project that combines woodworking, low-voltage electronics and MicroPython. Its delivery mode unlocks the box for a courier, starts a 180-second timer when the lid is opened, and then returns the system to its armed state.
As an Amazon Associate I earn from qualifying purchases.
The important correction: this uses a Pico, not a conventional Raspberry Pi
The phrase “Raspberry Pi-powered” can suggest a Raspberry Pi 4 or Raspberry Pi 5 running Linux. That is not what this build uses. The controller is a Raspberry Pi Pico 2 W or the earlier Raspberry Pi Pico W: a Wi-Fi-capable microcontroller.
Recommended Free Tools
That distinction matters. The Pico does not need a desktop operating system, monitor or conventional Raspberry Pi storage. It runs MicroPython, reads sensors, switches relays and hosts a local control interface. Its Wi-Fi connection is used for network control rather than for making the box a full computer.
How the delivery box works
The build is a large hinged-lid wooden crate with an electronically controlled lock and alarm hardware. The published project describes three operating modes:
| Mode | What happens |
|---|---|
| Disarmed | The lock releases and the tamper sensors are disabled so the owner can retrieve parcels or service the box. |
| Drop-off mode | The box begins unlocked for the courier. When the lid is opened, the system starts a 180-second delivery timer. |
| Armed | The lock engages and the lid and vibration sensors can activate the siren. |
The intended courier sequence
- The owner selects drop-off mode.
- The courier lifts the lid while the lock is released.
- A magnetic contact detects that the box has been opened.
- A three-minute, or 180-second, window begins.
- The courier places the parcel inside and closes the lid.
- When the programmed timeout expires, the system returns to armed mode and engages the lock.
This is a timed workflow, not courier authentication. The system does not establish who opened the box. A driver who needs more than three minutes, cannot close the lid properly, or encounters a misaligned sensor may leave the box in an unexpected state. A large, clearly visible instruction label and a tested delivery procedure are therefore essential parts of the installation.
The current source code should be checked before modifying the design, particularly to confirm exactly whether the timeout arms the box regardless of the lid state. A timer is convenient, but it is not a substitute for a reliable closed-lid interlock or authenticated access system.
What triggers the alarm?
In armed mode, the box uses two types of tamper detection:
- Magnetic reed switches detect the lid or door position.
- An SW-420 vibration sensor detects shaking or impact. The project README says the siren can be triggered when the sensor reaches a maximum of six counted vibrations.
The SW-420’s sensitivity is adjusted mechanically with the small screw on the sensor module. The construction guide recommends testing and adjusting it before final installation.
Potential false-positive sources include wind shaking the box, a slamming lid, nearby construction or heavy vehicles, a parcel pressing against the lid, loose internal wiring, an overly sensitive vibration setting, and moisture entering the electronics enclosure. A soft-close hinge can help reduce lid impact, vibration and wire movement.
The alarm should be tested in the box’s final location and with the final wiring. A sensor that behaves acceptably on a bench or breadboard may respond differently once mounted to a flexible wooden lid or an outdoor enclosure.
What the BME280 does—and does not do
The BME280 measures temperature, pressure and humidity. In this project it provides environmental information to the local interface, which can help the owner understand conditions inside the box.
It is not a security sensor. It does not prove that a parcel is present, identify a courier, detect every form of tampering or confirm that the box is watertight. Treat it as an environmental-monitoring feature rather than part of the core alarm system.
Hardware required
The project’s published parts list includes:
| Component | Quantity | Function |
|---|---|---|
| Raspberry Pi Pico W or Pico 2 W | 1 | Wi-Fi controller and sensor logic |
| Relay modules | 2 | Switch the 12-volt lock and siren circuits |
| SW-420 vibration sensor | 1 | Detect shaking or tampering |
| BME280 | 1 | Measure temperature, pressure and humidity |
| Magnetic reed switches | 2 | Detect lid or door position |
| 12-volt electric drop-bolt lock | 1 | Lock the lid |
| 12-volt siren | 1 | Sound the alarm |
| 12-volt battery or power supply | 1 | Power the high-voltage-side hardware |
| Weather-resistant construction materials | As required | Build the wooden box, lid, roof and cladding |
| Waterproof electronics boxes and wiring | As required | Protect the controller, sensors and connections |
For a responsible outdoor installation, also plan for a fuse or other appropriately rated overcurrent protection, cable glands, strain relief, insulated terminals or correctly rated connectors, corrosion-resistant fasteners, a protected battery compartment, suitable drainage and a robust anchoring method. These are practical build recommendations, not components confirmed as part of the original design.
Separate the control side from the 12-volt load side
The Pico’s GPIO pins should not directly power the lock or siren. The relay modules provide the switching interface between the controller and the 12-volt circuits. Exact relay contact ratings, lock current, siren current, wire gauge, fuse size and battery chemistry must be selected from the actual components used.
The available project information does not establish those electrical specifications. Do not copy a generic wiring diagram and assume it is safe for every lock, relay, siren or battery. Check the manufacturer ratings, protect the supply against short circuits and keep outdoor cable entries sealed and mechanically supported.
Firmware and software setup
The repository uses MicroPython, the Thonny editor, main.py and BME280.py. Before uploading the program, the builder is instructed to change the Wi-Fi credentials and adjust GPIO pin assignments in main.py.
Rank #2
- This case is designed for Raspberry Pi 5 2GB/4GB/8GB/16GB board.
- DIN rail support, the standard for fixing electrical components.
- All Pi ports remain available. The transparent top cover is removable.
- Top fan and active cooler provides Pi board with double cooling effect.
- Package includes 1x ABS Case for Raspberry Pi 5, 1x Armor Lite V5 Cooler, 1x Cooling Fan, 1x Screwdriver
Installing MicroPython on a Pico 2 W
The official Pico 2 W MicroPython page gives this installation path:
- Hold BOOTSEL while connecting the Pico 2 W to USB, or call
machine.bootloader()from the MicroPython REPL. - Copy the downloaded
.uf2firmware file to the USB mass-storage device that appears. - Allow the board to reset.
- Open Thonny and upload
main.pyandBME280.pyto the board. - Edit the Wi-Fi credentials and GPIO definitions before the final upload.
The project README names MicroPython 1.25.0 for the Pico 2 W. The official download page showed stable MicroPython 1.28.0, released April 6, 2026, when it was viewed on August 18, 2026, with 1.29.0 preview builds also listed. Newer firmware may work, but the project should not be described as verified on 1.28.0 or a preview release without testing.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Local and remote control
The repository describes two control approaches:
- A web server hosted by the Pico.
- A separate Tkinter client/server application that also supports scheduling.
Local Wi-Fi control is the sensible baseline. For access from outside the home network, the creator recommends using a VPN such as WireGuard. Do not casually port-forward the Pico’s web interface to the public internet. A microcontroller control page exposed without strong authentication and encryption could make the lock and alarm a remote attack target.
Remote disarming deserves particular caution. It is a high-value function: a compromised account, stolen credentials or poorly protected VPN could unlock the box. Keep remote access limited, use strong unique credentials, maintain the network securely and make sure the box still has predictable physical behavior when Wi-Fi is unavailable.
Building the weather-resistant enclosure
The construction guide describes a timber box assembled from matching frames and a separate lid frame. The broad sequence is:
- Build two matching frames and a third frame for the lid.
- Join the frames into the main box.
- Add floor supports.
- Install tongue-and-groove boards, plywood or another splash-resistant material.
- Add the exterior cladding.
- Fit the hinges and lid.
- Finish the back while keeping hinge access available.
- Clad and paint the lid.
- Add roofing felt or similar weather protection.
- Install and align the electric drop-bolt lock.
- Test the electronics before permanently mounting every component.
- Install the Pico, sensors, battery and protected wiring.
- Add optional runners beneath the box.
- Anchor the finished box so it cannot simply be carried away.
Construction details have practical consequences. The guide warns that cladding orientation matters in heavy rain. The back should not be fully clad before the hinges are fitted, and the lid should not open so far that it remains propped against a wall instead of closing. Bottom runners keep the timber off wet ground and can improve drainage.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteUse a roof overhang or other splash protection where the site allows it, seal or protect exposed timber, and give water a controlled path out rather than trapping it around the electronics. “Weather-resistant” construction is not the same as an independently verified IP-rated enclosure.
Power-failure behavior is a deliberate trade-off
The construction guide recommends wiring the circuits so that losing Pico power releases the drop-bolt lock and activates the siren. That arrangement favors owner access and tamper indication, but it also creates compromises:
- Fail-open lock: easier emergency recovery and parcel access, but potentially weaker against an attack that cuts power.
- Alarm on controller power loss: useful as a tamper signal, but capable of causing nuisance alarms during maintenance, battery depletion or wiring faults.
Do not assume every drop-bolt or relay module will behave identically. Test the completed hardware with the battery disconnected, the controller unplugged and the relay wiring in each relevant operating state. Confirm what happens to the lid, lock and siren before placing a parcel inside.
Battery and outdoor reliability
The build guide says the creator tested with a 12-volt, 5-Ah battery while also considering a 12-volt mains power supply. Battery runtime was still being evaluated, so no runtime estimate should be assumed.
A depleted battery could result in nuisance alarms, an unlocked box, a controller that is unavailable, a lock that cannot actuate or a false impression that the box is armed. A low-voltage warning, periodic battery check or mains-backed supply would be sensible improvements, but they are proposed enhancements rather than verified features of the published project.
Protect the battery from weather and accidental shorts, make it accessible for maintenance and provide suitable fusing. If a separate accessory needs another voltage, use an appropriately rated converter rather than improvising from the Pico or relay wiring.
Physical security matters more than the electronics alone
A lock on a weak or portable box is not a strong security system. The project creator explicitly acknowledges that someone equipped with heavy tools could remove the box, cut its chain or attack its structure.
Rank #3
- Enhanced Cooling Performance for Raspberry Pi 5 – The official Raspberry Pi 5 case features an integrated temperature-controlled cooling fan with a 2.79 CFM airflow and heatsink for superior heat management, ensuring optimal performance during intense workloads. Perfect for Raspberry Pi 5 accessories and overclocking.
- Premium Build & Mounting Flexibility – Constructed from ABS and PC materials, this case is designed for durability and ease of use. The removable lid allows for easy access to the fan and GPIO ports, and the integrated mounting system supports stacking and additional HATs.
- Advanced Thermal Management – The cooling fan, with PWM fan speed control and tachometer functionality, ensures your Raspberry Pi 5 stays cool even under load. Say goodbye to overheating issues with this reliable, efficient single board computer case.
- Versatile Design for Raspberry Pi Users – With a mountable fan, silicone feet, and breakout slots, the case is perfect for DIY projects. Designed for flexibility, this Raspberry Pi case is ideal for tech enthusiasts, developers, and makers who require thermal management and easy accessibility.
- Comprehensive Protection & Easy Setup – This case provides protection for your Raspberry Pi 5 kit while allowing easy access to essential ports. It includes a silicone bumper for added protection and supports easy installation for all Raspberry Pi 5 components and accessories.
Pay attention to:
- A robust lid and frame that resist prying.
- Hinges positioned and protected so they are difficult to attack.
- Lock hardware that is not easily reached with hand tools.
- A strong anchor, post attachment or other ground connection.
- Fasteners that cannot be removed easily from outside.
- A location visible to the household but not unnecessarily exposed to passing traffic.
- Drainage and timber protection so rot does not weaken the structure.
These measures improve deterrence; none makes the box theft-proof. A thief with power tools, time or a vehicle may still defeat it.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Testing checklist before deployment
- Does the Pico boot reliably after power is applied?
- Does the local web interface work?
- Does Wi-Fi reconnect after a temporary outage?
- Does disarmed mode release the lock?
- Does drop-off mode begin the intended timer after the lid opens?
- Do both reed switches register repeated lid openings and closings?
- Does the lid close fully without binding or remaining propped open?
- Is the vibration sensor sensitive enough to detect tampering but resistant to wind, traffic and normal lid movement?
- Does the siren activate in the intended armed-state conditions?
- What happens when the battery is disconnected or the Pico resets?
- Can the owner recover access after a failed delivery or software fault?
- Is the battery protected, fused and easy to replace?
- Are cable entries sealed and strain-relieved?
- Is the box firmly anchored?
- Does water enter during hose or rain testing, and does it drain away?
Common failure points
The reed switch does not recognize a closed lid
Check magnet alignment, the gap between the magnet and switch, lid flex, damaged wiring, moisture and the configured GPIO. Test the lid repeatedly after the box is installed rather than relying on a single successful closure.
The vibration alarm is too sensitive
Reduce the SW-420 sensitivity with its adjustment screw and test against the conditions expected at the installation site. Wind, a slamming lid and nearby vehicles can all produce movement that looks like tampering.
The box stays unlocked after a delivery
Check the timer behavior, reed-switch state, Wi-Fi-independent local logic, relay wiring and battery voltage. A three-minute timeout may also be too short for an unusually large parcel, an obstructed lid or a courier who needs time to scan or photograph a delivery.
Multiple parcels arrive
A single lid and single timeout are not automatically suitable for several deliveries. The construction guide notes that multiple bays or lids would require additional locks, door sensors and code changes. A multi-compartment design should be treated as a new control-system project, not a simple woodworking modification.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsDIY versus buying a parcel box
Build this project if you enjoy woodworking and MicroPython, can work safely with 12-volt circuits and batteries, have a reasonably reliable Wi-Fi signal and can anchor the enclosure. It is especially attractive when the goal is customization, environmental monitoring and an audible deterrent.
A commercial parcel box may be the better choice if you want faster installation, a finished mechanical enclosure, manufacturer support, a combination lock or predictable maintenance. A smart delivery box may add app access, temporary courier codes, notifications or camera integration, but those features can introduce subscriptions, cloud dependence, privacy issues and more battery maintenance.
A passive mechanical lockbox is the simplest alternative. It avoids firmware, Wi-Fi, batteries, relays and false alarms, while giving up active monitoring and a siren. Other delivery options may include carrier pickup locations, retailer lockers, workplace delivery, building package rooms, a trusted neighbor or delivery instructions directing parcels behind a gate or into a garage. Availability depends on location and carrier.
Verdict: a capable deterrent and an engaging maker build
This Raspberry Pi Pico delivery box solves a real practical problem by combining a concealed parcel location, a locked lid, tamper sensing and an alarm. The three operating modes are a thoughtful attempt to make delivery convenient without leaving the box permanently open.
Its limits are equally important. The timed drop-off process is not authenticated, the physical enclosure needs serious anchoring and maintenance, the power-failure behavior favors access over maximum resistance, and the published material does not establish a theft-resistance rating, weatherproof certification, battery runtime or complete electrical specification.
For a homeowner who wants a customizable deterrent and is comfortable maintaining the hardware, it is a worthwhile project. For anyone who needs simple, supported and predictable parcel security, a passive or commercial delivery box may be the more practical solution.
Project sources: project repository, construction guide, official Pico 2 W MicroPython downloads and the original project feature.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →

