Skip to content

mareksuma1985/nrf24_cx10_pc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of the Multi-Protocol nRF24L01 Tx project from goebish on RCgroups / github. This version accepts serial port strings and converts them to ppm commands which are then transmitted via the nRF24L01.

The purpose of this code is to enable control over the Cheerson CX-10 drone via code running on a PC. In my case, I am developing Python code to fly the drone.

This code can be easily adapted to the other mini-drones that the Multi-protocol board supports.

The format for the serial command is: ch1value,ch2value,ch3value,... e.g.: 1500,1800,1200,1100, ...

Up to 12 channel commands can be submitted. The channel order is defined by chan_order. The serial port here is running at 115200bps.

The python script serial_test.py can be used to test the connection, although it's not really practical for flying.

File xinput.cpp allows user control the quadcopter with a gamepad using XInput. Run build_xinput.bat to compile it.

Hardware used: This code was tested on the Arduino Uno and nRF24L01 module. Wiring diagrams and more info on this project at www.makehardware.com/pc-mini-drone-controller.html

I believe this code will remain compatible with goebish's nRF24L01 Multi-Protocol board. A way to connect to the serial port will be needed (such as the FTDI).

Perry Tsao 29 Feb 2016 perrytsao on github.com


##########################################

MultiProtocol nRF24L01 Tx

##########################################

by goebish on rcgroups

Parts of this project are derived

from existing work, thanks to:

- PhracturedBlue for DeviationTX

- victzh for XN297 emulation layer

- Hasi for Arduino PPM decoder

- hexfet, midelic, closedsink ...

##########################################

About

nRF24L01 RC Transmitter for CX-10 control from a PC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 49.2%
  • C++ 47.3%
  • Python 3.4%
  • Batchfile 0.1%