DarkFlippers / unleashed-firmware

Flipper Zero Unleashed Firmware
https://t.me/flipperzero_unofficial
GNU General Public License v3.0
16.87k stars 1.41k forks source link

Add support to rc "Multiprotocol" modules (rc car and drone remote control) #411

Open mankalan opened 1 year ago

mankalan commented 1 year ago

Hi! I was wondering if someone can add support for Multiprotocol modules https://github.com/pascallanger/DIY-Multiprotocol-TX-Module This is a module, based on nrf24 and if I remember well you can made it or buy it in aliexpress, that module can connect to almost any drone/rc car toy that runs in 2.4ghz and control it. I think its simple add this as an app becouse it comunicates via serial interface (much complicated to implement, but with telemetry support) and ppm (a radio control protocol very simple to use and very effective) and I think this will be very cool to add to a flipper, add like basic operations, turn on or off, maybe a basic control for rc cars... but I dont have the knolwedge to program that kind of software, so I post it here to someone pick my idea and make it true ;)

This is the basic chinese copy module on aliexpress: imagen

And this is the version "official" with the 4 transmiters: imagen

But, I think all of us are interested in the simple chinese version. Also i have 1 flipper and a multiprotocol module to test with

This is the pinout for the female header in the radio control, this is where you connect Multiprotocol module in a radio control: imagen

I think this is an oldschool conector, so maybe it will be very easy to make a pcb for the flipper

Other alternative, much hard I think, and, I dont have any idea if its posible, is to run/adapt the Multiprotocol code on the flipper and comunicate the flipper directly with the nrf24 module.

Ideas:

The manual: imagen

fzarada commented 1 year ago

I believe it's called Sub-GHz in flipper for a reason

mankalan commented 1 year ago

I believe it's called Sub-GHz in flipper for a reason

Okay so you clearly didn’t read the whole post. This modules I’m talking about are the transmitters! So, you don’t need to use the subghz module of the flipper for anything. Also, this module takes the ppm signal you send to it, and translate to the rc dron/car you choose. Another option I was talking is to make this more accessible to people and if it goes viral don’t break the AliExpress stock, just using a nrf24 module (another transmitter module) with the flipper and add the official code of the Moule (opensource by the way) and implement it on the flipper to run as an app. The code is ready to talk to the nrf24.

Also, maybe if this go well, I can design a pcb for attach to the flipper that have joysticks in it to make it even more useful and cool. Or maybe, idk we can connect a ps4/ps3/Xbox controller to the flipper via Bluetooth and translate the controls to the multiprotocol module. This is something that with an Arduino like board I can make very easy, but I’m not a programmer, and also, I don’t know how to program in the flipper, that’s why I was asking for help, because I think this is a pretty good idea and also, I have electronics knowledge so collaborating with other developers like @xMasterX we can make this a real thing. So please, read the whole post before you say anything.