Introduction: IOT Lunar Rover Raspberrypi+Arduino
This project is inspired by the Indian moon mission Chandryaan-2 Which will take place in September 2019.This is a special mission because they are going to land on the spot where no one has every landed before.So to show my support i decided to build the actual rover based on the images of the rover online. I was restricted by my 3d printers size so i had to do some slight modifications.
Step 1: Componentes Needed
This is a modular design it has two control boards an arduino and a raspberry pi. Both work independent of each other. If you dont have enough budget you can leave the raspberry pi and camera out the rover will still work by Bluetooth. Raspberry pi is used only for camera and controlling the rover over WiFi and internet. The movement of the rover is controlled by arduino. Both devices have different power supply.
Control system components
- Arduino uno
- L293D Motor driver shiled
- 6 dc motors
- 6 tyres (3d printed)
- Mainbody+links (3 printed)
- 2 servo motors
- Various attachments (3d printed)
- 5mm,4mm,3mm and 2mm screws
- Self locking nuts 4mm and 5mm
- 7v power supply
Network control compnents
- Rapberry pi
- USB webcam(for video streaming and recording)
- Pi camera (for still images)
- 5v power supply
Step 2: Main Body and Attchments
If you have a 3d printer you can directly print all the stuff but if you do not have you can use a lunch box for the main body and for making the links for rocker bogie mechanism you can use pvc pipes i will leave the link for your references.
If you don't want you can leave the attachment the rover will still work. The antenna and solar panel i have just added because i had lots of time and spare parts.
The cad modelling is done in solidworks 2017. I have included both stl files and solidworks file so you can make changes according to you or directly print the parts. I used ender 3 pro for printing the parts.
Watch the video for better understanding how to assembly the rover.
Step 3: Wiring and Circuit
Use the above image for reverence of connecting all the motors to the arduino board.
We will connect two motors on each side to single slot. And if motors are running in wrong direction just swap the wires that should fix it.
For Raspberry pi connect the USB webcam to the usb port any camra should work there is no installation needed
Connect the Raspicamera module th the connector pin on borad.
IMPORTANT
Supply only 5v to raspberry pi. DO NOT USE SAME POWER SUPPLY FOR RASPI AND ARDUINO
You will fry your board.
I know its silly using two supply but i made it like this so that people not having raspi and camera can also build it.
Step 4: Controling the Rover
There are two modes of control one by Bluetooth using an android device another over WiFi and internet
Local Bluetooth connection
For this you will have to download the Bluetooth app from the play store and connect to the rover.
For WiFi and internet control
This is little tricky because we will use raspberry pi for this. First you need to connect to the raspberry pi via SSH through remote desktop connection. Then run the Rovercontol script it will ask you to connect to the ardruino board via Bluetooth once done it will open up a window and now use w,a,s,d keys to drive the rover and press j to stop it.
To control the camera run webcam script it will start the live video to take a still picture use this command in the terminal window
raspistill -v -o test.jpg
Both camera work independent of each other and can be use at the same time.
To setup RaspiCam Click here
Webcam script uses Opencv 3 running on Python 3 to setup that click here
Step 5: CONCLUSION
This is first part of the project i will upgrade the rover and add autonomous self driving and finally i will make a lander module that i will launch from sky and try to automatically land it as if its land on the moon.
Fell free to ask any questions in the comments and doubts i will reply as soon as possible.

Participated in the
IoT Challenge
31 Comments
Question 2 years ago
Hi, I am doing this project for school. What battery did you use for the arduino since the power supply has 7 volts?
Question 2 years ago on Step 1
Dear sir /madam we need coding please..
Share with them
2 years ago on Step 2
Sir that file can't open
Question 3 years ago on Step 5
Dear sir/ medam,
My team is doing this project, we are thinking to add solar panel, live streaming to control rover and image processing to detect Image.
We need all specifications of parts and meterial please help us.
Thank you.
3 years ago
Sir, I have succeded in building the whole project with arduino as well as raspberry.........feeling satisfacted after the result of great hardwork of past 2 months, I got to learn as well as to understand new concepts in the field of IoT...this is all because of you and your guidence...thank you soooooo much sir....
Now the rover and me too are ready to represent me and my school at the taluka level compition as well as exibition....once again thank you so much sir....:):):)
Reply 3 years ago
Wow that's great i would really like to see the rover working please feel to dm me on Instagram would really like to see the pics and videos. https://www.instagram.com/invites/contact/?i=6gprjss87ii4&utm_content=m26aq2
Reply 3 years ago
Thank you so much sir...would be sending pics and videos....🙏🙏😊
Question 3 years ago
May u please attach the link of products from where you had bought.
Answer 3 years ago
Hi please contact me on Instagram I'm on Instagram as @94.others. Install the app to follow my photos and videos. https://www.instagram.com/invites/contact/?i=6gprjss87ii4&utm_content=m26aq2
3 years ago
Excellent project I would like to know if you continued working in autonomous driving. I would like to make a conduction with bluetooth control and ultrasonic sensor to avoid obstacles.
Reply 3 years ago
Well not quite i am trying to make a smaller version of this maybe few more months
3 years ago
Sir, you have made a very nice project. I am tryiing to make this as my diwali school project.
but I am having trouble in uploading the files to the arduino board, as it is my very first time.
so, can you pls, tell me that which program did you use to upload the files to the board.
I have tried with the arduino.cc software, but is is showing error.
YOUR HELP IS URGENT.
Reply 3 years ago
It says multiple libraries for uno maybe delete library then install it again.contact me here https://www.instagram.com/94.others/
Reply 3 years ago
sir, I have sucesfully made this project. I want to add an ultrasonic sensor to the rover. I tried to code the ultrasonic sensor to the rover but I am facing failures, so, can you pls. help me with the coding. Also i am running out of time.....
YOUR HELP IS URGENT. PLS. REPLY FAST...
Reply 3 years ago
Soory i just saw these comments. Appreciate gmail.com had been moving these to spam.
Question 3 years ago
sir, how did you link your raspberry pi with your laptop...?
Answer 3 years ago
using ssh google raspberry pi login with putty.
Question 3 years ago
sir i want to ask that in this you uses a battery of how many waat
Answer 3 years ago
i have used 3.7volts 3800mah batteries
3 years ago
Hi, great project. I was wondering if you could do the control of the lunar rover also with the raspberry pi? It would reduce the weight of the rover.