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

https://github.com/muki01/rc_controller

RC Controller working on 2.4 GHz for drones and using Bluetooth for PC simulators.
https://github.com/muki01/rc_controller

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

Last synced: 7 months ago
JSON representation

RC Controller working on 2.4 GHz for drones and using Bluetooth for PC 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.

The controller features 10 channels, providing ample flexibility for controlling complex drones or adding custom functionalities.

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

## ✨ Features
- 10-Channel Control: Offers 10 independent control channels, making it suitable for advanced drone configurations and additional peripherals.
- 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:


---

## ☕ Support My Work

If you enjoy my projects and want to support me, you can do so through the links below:

[![Buy Me A Coffee](https://img.shields.io/badge/-Buy%20Me%20a%20Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/muki01)
[![PayPal](https://img.shields.io/badge/-PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.com/donate/?hosted_button_id=SAAH5GHAH6T72)
[![GitHub Sponsors](https://img.shields.io/badge/-Sponsor%20Me%20on%20GitHub-181717?style=for-the-badge&logo=github)](https://github.com/sponsors/muki01)

📧 **Contact:** `muksin.muksin04@gmail.com`

---