Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muki01/rc_controller

RC Controller with NRF24 and Bluetooth for Simulators
https://github.com/muki01/rc_controller

bluetooth bluetooth-controller controller esp32 joystick nrf24 nrf24l01 rc rc-control rc-controller

Last synced: about 2 months ago
JSON representation

RC Controller with NRF24 and Bluetooth for Simulators

Awesome Lists containing this project

README

        

# 🛩️RC Controller
This project is an ESP32-based RC controller that allows you to control RC drones via the NRF24 module and also use it for drone simulators on a PC through Bluetooth.

Тhe controller is not quite ready. I will add more features.

## Features:
- NRF24 Communication: Control real RC drones wirelessly using the NRF24L01 module.
- Bluetooth Connectivity: Seamlessly connect the controller to your computer for use with drone simulators, providing a realistic flying experience.
- Customizable: Modify and expand the code to suit your specific needs, whether for different types of drones or simulators.
- Cross-Platform Compatibility: Works with various flight simulation software that supports Bluetooth controllers.

## ⚙️Instalation
* Open .ino file
* đź“šInstal these Libraries
~~~
- RF24
- BleGamepad
~~~
* Edit the pins for your Board
~~~
#define throttle_in 2
#define yaw_in 4
#define pitch_in 34
#define roll_in 39

#define pot1_in 35
#define pot2_in 15
#define toggle_1 32
#define toggle_2 12
#define switch_1 22
#define switch_2 36

#define battery_in 33
#define buttons_analog_in 27
#define buzzer 12
#define led 0

#define ce_Pin 17
#define csnPin 5
~~~
* Upload the code to your Board
* Upload the data folder to SPIFFS.
- To upload the data folder, you can use PlatformIO or you can upload with tool for Arduino IDE v1.x.x
[Here](https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/) is documentation how to upload files to SPIFFS with Arduino IDE.

## Usage:
* If you want to use the controller with NRF24 for a real Drone, you need to start the controller with AUX1 at HIGH Position
* If you want to use the controller with Bluetooth for a Drone Simulator, you need to start the controller with AUX1 at LOW Position

## Hardware Used
- ESP32 Wroom
- NRF24L01 RF Module
- 2.8 TFT Display
- 12 x Buttons
- 2 x MTS-102 Swich
- 2 x 10K Potatntiometer
- 2 x Joysticks
- Mini Buck Converter Module
- Red Led
- 5V Passive Buzzer

## Photos:
Below are some photos showcasing the ESP32 RC controller setup, wiring, and its usage with both real drones and flight simulators.

- Schematic:
- Photos of the controller:


- Using with Drone Simulator: