{"id":19225274,"url":"https://github.com/jakkra/rovercontroller","last_synced_at":"2026-02-28T17:02:08.679Z","repository":{"id":80606598,"uuid":"253290219","full_name":"jakkra/RoverController","owner":"jakkra","description":"LoRa/WiFi remote controller for driving my rover","archived":false,"fork":false,"pushed_at":"2022-11-29T12:47:59.000Z","size":37577,"stargazers_count":126,"open_issues_count":0,"forks_count":33,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-10-04T15:56:34.267Z","etag":null,"topics":["3d-printing","controller","esp-idf","esp32","esp32-idf","lora","mars-rover","rc","rover","telematics","wifi"],"latest_commit_sha":null,"homepage":"https://github.com/jakkra/Mars-Rover","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakkra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-05T17:18:27.000Z","updated_at":"2025-10-03T22:09:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"25e49169-ec60-4577-ae1f-af579c097f33","html_url":"https://github.com/jakkra/RoverController","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakkra/RoverController","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakkra%2FRoverController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakkra%2FRoverController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakkra%2FRoverController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakkra%2FRoverController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakkra","download_url":"https://codeload.github.com/jakkra/RoverController/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakkra%2FRoverController/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29943662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-printing","controller","esp-idf","esp32","esp32-idf","lora","mars-rover","rc","rover","telematics","wifi"],"created_at":"2024-11-09T15:14:28.300Z","updated_at":"2026-02-28T17:02:08.635Z","avatar_url":"https://github.com/jakkra.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rover Controller\nController for driving [https://github.com/jakkra/Mars-Rover](https://github.com/jakkra/Mars-Rover).\nWebpage for viewing telematics graphs on phone [https://github.com/jakkra/Rover-Mission-Control](https://github.com/jakkra/Rover-Mission-Control).\n\n## How it works\nSets up an AP, the Rover will automatically connect if it's in range.\nThe Rover is controlled by sending joystick and switch state over either LoRa or a websocket. If the Rover isn't connected to the AP, then data will be sent over LoRa instead. There is a switch to override this behaviour and always send data over LoRa even if the Rover is connected to the AP.\n\nWhen the Rover is connected to the local AP it will send telematics data over the websocket, or over LoRa if the Rover is outside of WiFi range. The data is then in turn passed on to a phone if one is connected. When the Rover is close by telematics will arrive about 10/s over WiFi, if outide of range then telematics are transported over LoRa. As LoRa modules cannot do true duplex data transfer we need to switch between sending and receiving, meaning telematics sent by the rover while we are sending joystick data will be lost. From experimentation LoRa telematics arrive about every 500ms. \n\nA phone can connect to the Controller AP to view the telematics from the Rover. Phone opens a websocket connection to the Controller and receives the telematic data the Rover sends. Telematics website can be found here: https://github.com/jakkra/Rover-Mission-Control.\n\n## CAD model\nFull Fusion 360 project is found in `CAD` folder. \n\n## Hardware\n- [ESP32 + LoRa module](https://www.banggood.com/2Pcs-LILYGO-TTGO-LORA32-868Mhz-ESP32-LoRa-OLED-0_96-Inch-Blue-Display-bluetooth-WIFI-ESP-32-Development-Board-Module-With-Antenna-p-1507044.html?rmmds=myorder\u0026cur_warehouse=CN)\n- 2x [Joysticks](https://www.ebay.com/sch/i.html?_from=R40\u0026_trksid=m570.l1313\u0026_nkw=JH-D400X-R4-10K-4D\u0026_sacat=0)\n- 1x ADS1115 (ESP32 does not have enough ADCs for all the pots)\n- A few on-off-on switches\n- 2 potentiometers\n- 2 colored LEDs\n\n## Config\nFor pinmapping see: https://github.com/jakkra/RoverController/blob/master/main/controller_input.c#L46\n\n## Images\n\u003cimg src=\"/.github/contoller_rover.jpg \"/\u003e\n\u003cimg src=\"/.github/controller.jpg \"/\u003e\n\u003cimg src=\"/.github/interface.jpg \"/\u003e\n\u003cimg src=\"/.github/render.png \"/\u003e\n\u003cimg src=\"/.github/full.jpg \"/\u003e\n\n## Compiling\nFollow instruction on [https://github.com/espressif/esp-idf](https://github.com/espressif/esp-idf) to set up the esp-idf, then just run `idf.py build` or use the [VSCode extension](https://github.com/espressif/vscode-esp-idf-extension).\n\n## Building the controller\nTBD upon request.\n\n## esp-idf patches\nRun `git apply esp-idf-patch/no_delay.patch` in your esp-idf folder. This decreases lag for TCP as it will flush the buffers after every write instead of LWIP buffering TCP data to send it in chunks.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakkra%2Frovercontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakkra%2Frovercontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakkra%2Frovercontroller/lists"}