Raspberry Pi Lego Mars Rover V1

  Рет қаралды 267

dsrc12

dsrc12

Күн бұрын

This video was inspired by the teachers and students of the STEM Club at Holroyd High School in Sydney NSW Australia during STEM robotic sessions with the Lego ev3 robot kit.
I spent many hours trying to get the Lego ev3 to work for the STEM Club but there were many failures including failure to update the ev3 firmware and failure of the wifi coms on ev3 to maintain coms with the internet and local wifi network. On a couple of occasions I could get the wifi to works and even imported a Debian Linux operating system called ev4dev but it was not reliable and is now not supported.
There must be a better solution than using an obsolete ev3 which has seem little improvements since it was killed off by Lego in Dec 2022.
This project explores a better solution and one that is current. It uses the Raspberry Pi Model 4 with a Raspberry Pi Build HAT to control the Lego Technic motors on robots. It goes much further and adds a camera and remote control. No problems with motor control, wifi, remote control or multi tasking and there is even a potential to use a real time operating system called ROS2 for better performance. All of this will be used for a Mars Rover with remote and autonomous control. There is even the potential to port the software to node-red using the low level motor control software where a Raspberry Pi Pico 2040 is used together with serial coms to Raspberry Pi.
This project is based on the BuildMeCar robot construction kit from Waveshare and it is a very low cost package that replaces the expensive Lego Spike motors with cheaper low powered Lego Technic medium motors. There are no sensors supplied with this kit.
The kit also has LiPo battery, charger, camera and all the Lego parts needed to construct a mobile robot with mecanum wheels. All of the software is available as an image ready to be transferred to a micro SD card and all of the software and drivers are already installed on this image.
I made some changes to this kit. First I did not like the chassis construction - it is crude and takes a lot of time to make it. My version can be built within a few minutes and uses more recent Lego Technic plates with two levels - one dedicated to the battery and motors and the other for the Raspberry Pi and camera. It is also easy to update from two wheel to four wheel drive and extra sensors such as Grove sensors can be supported on the 19x11 Lego Technic plates.
The demos on the video show the finished construction and desktop unit testing. Next version is for mars and to test rover navigation there.
I will also explore adding more sensors to the rover has the Raspberry Pi Build Hat only has four ports and if you use these just for motor control there is nothing left over for sensors. I will explore adding a Seeed Studio Grove HAT to the rover so many other sensors can be added. Only issue might be if they both use UART coms to communicate with Raspberry Pi.
References:
BuildMecar Kit, Smart Building Block Robot with Mecanum Wheels, 5MP Camera, Based on Raspberry Pi Build HAT ( www.waveshare.... )

Пікірлер
I Built a CoPilot+ AI PC (without Windows)
12:50
Jeff Geerling
Рет қаралды 477 М.
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 520 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Reviewing the M5Stack VA Meter
16:45
dsrc12
Рет қаралды 59
How I Built A LEGO Treadmill That Moves In EVERY Direction
18:06
Banana Gear Studios
Рет қаралды 991 М.
2025 New Projects
16:16
dsrc12
Рет қаралды 70
Building the Wobbly Physics of Crunda
10:03
Dananabread
Рет қаралды 43 М.
The Real Reason Why Analog Recording Is Better
12:19
Freaking Out With Billy Hume
Рет қаралды 579 М.
Flipper Zero Must Have Modules
14:53
sn0ren
Рет қаралды 168 М.
Why Majora's Mask's Blue Dog Took 25 Years to Win the Race
21:04
Vidya James
Рет қаралды 2,7 МЛН
20 Mechanical Principles combined in a Useless Lego Machine
7:21
Brick Experiment Channel
Рет қаралды 45 МЛН
Top 25 Raspberry Pi Projects of 2024 🤯!
19:07
ToP Projects Compilation
Рет қаралды 168 М.
LazyOwn Redteam Framework 💻🔒 Hacking like APT: Owning the HackTheBox Machine Broker 🌐🔧 Mr Hyde Rtkit
43:43