Home

Awesome

<div align="center"> <h1>Mars Rover</h1> <img src="/.github/2.jpg"/> <sub> Curiosity/Perseverance inspired Rover </sub> </div>

Controller for driving the Rover found here https://github.com/jakkra/RoverController.

CAD model

The whole Fusion 360 project can be found in the CAD folder, download the .f3z file and open it in desktop Fusion 360.

The CAD render images are more up to date than the real images of the rover, for example some cosmetics have been added and the high gain antenna which can be rotated by a servo.

Wheels

There are two options for wheeles, either original Curiosity style wheels that print in one piece. Or Mars 2020 style wheels that print in two parts where outer part can be printed in flexibale plastic such as TPU. The rover_2020_wheel_flex.f3d wheels are preferred if your printer can print in TPU as they provide way more grip.

Driving

There are 3 ways to drive the Rover right now:

By moving a 3 way switch on the rover, the startup mode can be choosen; WiFi station + LoRa, LoRa only or WiFi AP (when using website hosted on the Rover, see data folder). Here is my controller supporting both LoRa and websocket control of the Rover.

Telematics

Rover will automatically send telematics data as soon as someone connects to the websocket server or over LoRa if Rover is being controlled ove LoRa.

Hardware

Building

There is no manual, but downloading the CAD model and browsing through it should get you started. Browse through both open and closed issues for help. Feel free to open an issue if you have a question.

Images

Videos:

<img src="/.github/1.jpg"/> <p float="left"> <img src="/.github/driving.gif" width="420"/> <img src="/.github/driving1.gif" width="420"/> </p> <img src="/.github/boogie_full.jpg "/> <img src="/.github/4.jpg"/> <img src="/.github/parts.jpg"/> <img src="/.github/arm.jpg"/> <img src="/.github/full1.jpg"/> <img src="/.github/cad_capture.png" /> <img src="/.github/front_render.png" /> <img src="/.github/cad.png" /> <img src="/.github/wifi_controller.jpg" />

Driving Modes

There are three ways to drive the rover. Either using a RC controller, LoRa or from a website hosted on the ESP32. RC controller is deafult, but as soon as someone connects to the ESP32 AP and a websocket is created, the RC controller or LoRa will be overriden by the WiFi controller. The website functionality is just as basic as the RC controller right now, but the plan is to add more advanced functionality to the website which is not possible to do on the RC controller. On the RC Transmitter I use two joysticks for channels 1-4 for, and two switches for channel 5-6. Joysticks are used both for steering the Rover and for moving each axis of the arm. When switch1 is:

Arm

Currently arm is just pretty much mapped to controls on the Controller, this is not really useful, so TODO.

Misc

Uploading Controller page to Spiffs

pio run -t uploadfs

Decoding crashes

xtensa-esp32-elf/bin/xtensa-esp32-elf-addr2line.exe -pfiaC -e /c/Users/ijakk_000/Documents/Rover-code/.pio/build/esp-wrover-kit/firmware.elf 0x00000000:0x3ffb5c60 ...