Blog

Jul 26, 2022

Raspberry Pi Zero 2 W Lego-Powered Submarine Makes a Splash

Posted by in categories: drones, electronics

BEC was kind enough to share a parts list of everything used to create this project. It’s operated primarily by a Raspberry Pi Zero 2 W, with most components housed neatly inside an acrylic cylinder. It’s driven by a drone propeller alongside a couple of Pololu 2,130 DRV8833 Dual H-bridge motor drivers. The sensors include both a pressure sensor and a distance sensor, while a Lego Rechargeable 9V Battery Box supplies the power with the assistance of a Pololu 2,123 S7V8F5 5V voltage regulator.

The Raspberry Pi runs Raspberry Pi OS, while the code used to operate the submarine functions is handled using a custom Python script. BEC explains that Thonny was used to run the Python code, which is open-source and available for anyone to explore.

If you want to recreate this Raspberry Pi project for yourself or make something similar, check out the full blog post shared on the official Brick Experiment Channel blog. We also implore you to check out the video shared on YouTube for a demo of the submarine in action.

Comments are closed.