Designed and engineered a model of the NASA Perseverance mars robot. The rover has the following functionalities: - Automatic movement - Obstacle avoidance - Wireless control - Ability to capture and transmit pictures and videos -Light detection
This repository contains the Arduino code for a model of the NASA Mars Perseverance Rover, designed and built as a school project. The rover model is capable of autonomous movement, obstacle detection, and environmental interaction, showcasing a simplified version of the technology used in the actual Mars rover.
The project was inspired by NASA's Mars 2020 Perseverance rover mission, aiming to educate and inspire students about space exploration, robotics, and programming. This model serves as a hands-on project to understand the basics of robotic movement, sensor integration, and autonomous decision-making processes.
- Autonomous Navigation: Utilizes ultrasonic sensors for obstacle avoidance.
- Environmental Interaction: Employs LDR (Light Dependent Resistor) for light sensing and a Sharp sensor for precise distance measurement.
- Real-time Feedback: Equipped with an LCD display for real-time status updates.
- Remote Control: Features Bluetooth connectivity for remote operation.
- Photography Capability: Integrates a camera module for taking pictures.
- Arduino IDE
- C/C++ for Arduino
- LiquidCrystal_I2C Library
- Adafruit_VC0706 Library for camera module
- HCSR04 Library for ultrasonic sensor
- SoftwareSerial Library for Bluetooth communication
- Arduino Uno/Mega
- HC-SR04 Ultrasonic Sensor
- Sharp GP2Y0A21YK0F IR Range Sensor
- LDR (Light Dependent Resistor)
- Liquid Crystal Display (LCD) with I2C
- DC Motors for movement
- Motor Driver Module (L298N or equivalent)
- Bluetooth Module (HC-05/HC-06)
- SD Card Module for data storage
- Digital Camera Module (VC0706-based)
View more here: Assets
- Set up the Arduino environment: Download and install the Arduino IDE from the Arduino website.
- Install necessary libraries: Open the Arduino IDE, go to Sketch > Include Library > Manage Libraries. Search for and install
LiquidCrystal_I2C,Adafruit_VC0706, andHCSR04. - Hardware assembly: Assemble the rover model with the specified components. Ensure all connections are secure.
- Upload the code: Connect the Arduino to your computer, open the provided code in the Arduino IDE, select the correct board and port from the Tools menu, and upload the sketch.
After successfully uploading the code to your Arduino board:
- Power on the rover.
- The rover will display a "Robot ready to operate." message on the LCD.
- Use serial communication or Bluetooth commands to control the rover's movements and actions.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to fork the repo, make changes, and submit a pull request.
MIT © Shadrack Agyei Nti
- Thanks to NASA's Mars 2020 Perseverance rover mission for inspiration.


