<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx" -->

---
title: Building a Lego-powered Submarine 5.0 - moving weight...
description: Improved radio-controlled submarine, with two new features: 1) a moving weight for changing pitch, and 2) a water pump based ballast system. Lots of minor...
canonical: https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a Lego-powered Submarine 5.0 - moving weight for pitch control | daily.dev
og:description: Improved radio-controlled submarine, with two new features: 1) a moving weight for changing pitch, and 2) a water pump based ballast system. Lots of minor...
og:url: https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx
og:image: https://api.daily.dev/og/posts/aJF8ehAvx.png
og:image:alt: Building a Lego-powered Submarine 5.0 - moving weight for pitch control
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a Lego-powered Submarine 5.0 - moving weight for pitch control

**[YouTube](https://daily.dev/sources/youtube)** · 8 min read · 1 upvotes · 0 comments

## Summary

Improved radio-controlled submarine, with two new features: 1) a moving weight for changing pitch, and 2) a water pump based ballast system. Lots of minor improvements too. Equipped with an Arduino Nano ESP32, a pressure sensor and a gyro/accelerometer sensor. Tested in a swimming pool and a small river. Enjoy!

0:00 building
4:10 test in a swimming pool
4:46 test in a river

SPECS
Displacement: 2.95 kg
Test depth: 1.5 m
Hull: acrylic plastic cylinder (250x120x3mm)
Round nose: plastic half ball (12 cm diameter)
Extra weight: 1.35 kg of tungsten pellets
Pump: Kamoer NKP peristaltic pump modified with Lego parts
Ballast tank: 50 ml animal IV bag
Moving weight: 400g of steel washer plates
Propellers: non-Lego 4-blade 55mm diameter PC prop, L/R handed
Magnetic coupling: K&J Magnetics D36-N52 neodymium magnet
Motors: 3x Lego PF M-motor (8883), 1x Lego PF XL-motor (8882)
Motor driver: DRV8833
Radio control: Graupner R700 40MHz receiver, Graupner X-412 40MHz controller
Pressure sensor: Honeywell SSCMANV030PA2A3
IMU sensor: MPU-6050 6-Axis Accel/Gyro sensor
Computer: Arduino Nano ESP32
Power supply: Lego Rechargeable Battery Box 9V (8878)
On-board camera: GoPro 8

C++ CODE, PART LIST, AND OTHER DETAILS
https://brickexperimentchannel.wordpress.com/rc-submarine-5-0-blog-post-series/

PREVIOUS SUBS
1.0 syringe ballast https://www.youtube.com/watch?v=tGEZApd9MMk
2.0 magnetic coupling https://www.youtube.com/watch?v=MdfUSNzc0Xk
3.0 balloon and compressor https://www.youtube.com/watch?v=n83cSg3wohU
4.0 automatic depth control https://www.youtube.com/watch?v=KLEH8RJsYgI

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=sLaRmSGkSt8>

---

[View this post on daily.dev](https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building a Lego-powered Submarine 5.0 - moving weight for pitch control","url":"https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx"},"datePublished":"2026-09-07T00:49:11.850Z","dateModified":"2026-09-07T02:36:13.211Z","description":"Improved radio-controlled submarine, with two new features: 1) a moving weight for changing pitch, and 2) a water pump based ballast system. Lots of minor...","image":"https://i.ytimg.com/vi/sLaRmSGkSt8/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/sLaRmSGkSt8/sddefault.jpg","isAccessibleForFree":true,"articleSection":"YouTube","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"YouTube","logo":"https://media.daily.dev/image/upload/s--W5zMumpP--/f_auto/v1725350181/logos/youtube","url":"https://daily.dev/sources/youtube"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-lego-powered-submarine-5-0---moving-weight-for-pitch-control-ajf8ehavx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"","timeRequired":"PT8M","video":{"@type":"VideoObject","name":"Building a Lego-powered Submarine 5.0 - moving weight for pitch control","description":"Improved radio-controlled submarine, with two new features: 1) a moving weight for changing pitch, and 2) a water pump based ballast system. Lots of minor...","thumbnailUrl":"https://i.ytimg.com/vi/sLaRmSGkSt8/sddefault.jpg","uploadDate":"2026-09-07T00:49:11.850Z","duration":"PT8M","url":"https://api.daily.dev/r/aJF8ehAvx","embedUrl":"https://www.youtube.com/embed/sLaRmSGkSt8"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"YouTube","item":"https://daily.dev/sources/youtube"},{"@type":"ListItem","position":3,"name":"Building a Lego-powered Submarine 5.0 - moving weight for pitch control"}]}
```

