Building a Lego-powered Submarine 4.0 - automatic depth control

Building a Lego-powered Submarine 4.0 - automatic depth control

Brick Experiment Channel

1 год назад

22,498,984 Просмотров

This radio-controlled submarine can maintain a steady depth or a certain distance from the bottom. It is equipped with a pressure sensor and a laser distance sensor. Raspberry Pi and PID control are used for automation. Tested in a swimming pool and a small river (at the end of the video). Enjoy!

0:00 building
2:36 tests in water
3:48 long journey in a small river
6:47 full Python code

SPECS
Displacement: 2.4 kg (5.3 lb)
Test depth: 1.5 m (5 ft)
Hull: acrylic plastic cylinder (250x110x3mm), SAN plastic lid (2mm thick)
Lid seal: o-ring 2.5 mm (NBR 70 shore)
Ballast tank: 60 ml syringe (Eotia marinade injector), Lego EV3 Medium Servo motor (45503)
Forward propeller: drone propeller (Diatone Bull Nose 4x4.5), Lego PF L-motor (88003)
Turn propeller: Lego propeller 3 blade (6041), Lego PF M-motor (8883)
Magnetic couplings: K&J Magnetics D38-N52 neodymium magnet, TapeCase 423-5 UHMW Tape, silicon spray
Motor driver: 2x Pololu 2130 DRV8833 Dual H-bridge
Radio control: 27 MHz controller dissembled from a toy submarine (no-name chinese Mini U Boat)
Pressure sensor: Honeywell SSCMANV030PA2A3 2 bar
Laser distance sensor: SparkFun TFMini-S Micro
Computer: Raspberry Pi Zero 2 W
Power supply: Lego Rechargeable Battery Box 9V (8878), Pololu 2123 S7V8F5 5V voltage regulator
On-board camera: RunCam 5 Orange

MORE DETAILS
https://brickexperimentchannel.wordpress.com/rc-submarine-4-0-blog-post-series/

LONG JOURNEY FULL VIDEO
https://www.youtube.com/watch?v=rO5zHXUckKQ

CODE
https://mega.nz/folder/wqhhxJoI#cHnVI6NjaPkfZcdZvFZZ0Q
or
https://www.dropbox.com/sh/u8a45maz3brrwrw/AADbUx9VZEw5UJPny1bJI-Lwa

PREVIOUS SUBS
1.0 syringe ballast https://www.youtube.com/watch?v=tGEZApd9MMk
2.0 magnetic couplings https://www.youtube.com/watch?v=MdfUSNzc0Xk
3.0 balloon and compressor https://www.youtube.com/watch?v=n83cSg3wohU

MUSIC
Tommy Baynen - Stone Paths
https://www.youtube.com/watch?v=zepP1zdiUPI
https://colorize.ffm.to/0364
https://soundcloud.com/tommybaynen

Тэги:

#Lego_Technic
Ссылки и html тэги не поддерживаются


Комментарии:

Htet Nyi
Htet Nyi - 23.09.2023 14:16

That's a great job.
By the way, can I get an STL file for this kit, especially the gear rack and pinion

Ответить
RR
RR - 23.09.2023 01:55

Excellent 👌👌👌👌❤

Ответить
Hassan Abbasi
Hassan Abbasi - 22.09.2023 23:40

Good

Ответить
summer hira
summer hira - 22.09.2023 23:32

Very beautiful 😍😍

Ответить
Hamna Naeem
Hamna Naeem - 22.09.2023 23:14

Explaination with clarity great work

Ответить
Ayesha Zafar
Ayesha Zafar - 22.09.2023 23:06

Wao

Ответить
Mirza Zahid
Mirza Zahid - 22.09.2023 22:57

Excellent good ❤

Ответить
Nosheen Sheikh
Nosheen Sheikh - 22.09.2023 22:46

It's Wonderful 👍

Ответить
Abdul hadi
Abdul hadi - 22.09.2023 21:50

Cool

Ответить
Processing Techniques
Processing Techniques - 22.09.2023 17:06

💖💖💖💖💖💖

Ответить
Habib shah
Habib shah - 22.09.2023 13:35

Wowb😮

Ответить
GGCMS71-4r
GGCMS71-4r - 22.09.2023 10:18

can this survive 12000ft underwater? (asking for some of my billionaire friends)

Ответить
Cooking with Shereen
Cooking with Shereen - 22.09.2023 09:57

Oh great

Ответить
Saqib Rehman
Saqib Rehman - 22.09.2023 09:09

You are very talented 😍😍
Amazing content 🫰 the

Ответить
Umair Umair satti
Umair Umair satti - 22.09.2023 08:04

🎉🎉❤🎉❤😂

Ответить
Abdul Wahab Bhayo
Abdul Wahab Bhayo - 22.09.2023 08:00

Very nice

Ответить
Jamal Azam
Jamal Azam - 22.09.2023 06:44

Very nice ❤❤

Ответить
Sania Danish
Sania Danish - 22.09.2023 06:30

Good

Ответить
idk how to change my profile
idk how to change my profile - 22.09.2023 05:56

Mind blowing 🤯 😳

Ответить
Muhammad Yaseen
Muhammad Yaseen - 22.09.2023 05:10

Nice

Ответить
Junaid Arif
Junaid Arif - 22.09.2023 04:47

Great

Ответить
Tariq ul Ghafoor
Tariq ul Ghafoor - 22.09.2023 04:23

Different

Ответить
Muhammad Asfar
Muhammad Asfar - 22.09.2023 04:16

Good 🎉

Ответить
altaf hussain
altaf hussain - 22.09.2023 04:14

Depth controler tool

Ответить
Gaming Op
Gaming Op - 22.09.2023 04:14

This is absolutely fascinating 😃

Ответить
Ali Hassan
Ali Hassan - 22.09.2023 04:11

Ответить
Farah Latif
Farah Latif - 22.09.2023 03:36

Ответить
Abdul Hamar
Abdul Hamar - 22.09.2023 03:04

Nice 👍👍🙂

Ответить
Ameer Laghari
Ameer Laghari - 22.09.2023 01:09

wow

Ответить
usman javed
usman javed - 21.09.2023 23:38

Woww nice engineering...❤🎉❤😊

Ответить
Aamir Sheikh
Aamir Sheikh - 21.09.2023 23:27

good technique

Ответить
zaib un nisa minhas
zaib un nisa minhas - 21.09.2023 23:24

Amazing

Ответить
ZL Gaming
ZL Gaming - 21.09.2023 23:07

Wow

Ответить
THEATRE TODAY
THEATRE TODAY - 21.09.2023 23:07

Good work

Ответить
Fara PARACHA
Fara PARACHA - 21.09.2023 23:02

Amazing

Ответить
Abdul Moeed Vlogs
Abdul Moeed Vlogs - 21.09.2023 22:52

outstanding video

Ответить
Nimra Mughal
Nimra Mughal - 21.09.2023 22:50

great 👍

Ответить
Samiullah
Samiullah - 21.09.2023 22:49

Nice 👍🏻

Ответить
Adnan Afzal
Adnan Afzal - 21.09.2023 22:48

Wow

Ответить
Asia Dilawaiz
Asia Dilawaiz - 21.09.2023 22:43

Very nice

Ответить
Ayaz Liaqat
Ayaz Liaqat - 21.09.2023 22:25

Nice work 😅😅

Ответить
TF Syed
TF Syed - 21.09.2023 22:09

Nice 👍

Ответить
Faryal Rana
Faryal Rana - 21.09.2023 19:33

Wow

Ответить
Najaf Saeed
Najaf Saeed - 21.09.2023 17:02

Amazing 😊

Ответить
Shoaib jutt
Shoaib jutt - 21.09.2023 16:52

Excellent

Ответить
Amazon finds
Amazon finds - 21.09.2023 15:25

Good

Ответить
Arslan Ijaz
Arslan Ijaz - 21.09.2023 13:52

Congratulations this was a fantastic build

Ответить