pascallanger / DIY-Multiprotocol-TX-Module

Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.
https://www.rcgroups.com/forums/showthread.php?t=2165676&goto=newpost
GNU General Public License v3.0
1.59k stars 429 forks source link

Loli Protocol #425

Closed ss8688 closed 3 years ago

ss8688 commented 3 years ago

Loli is a open source TX system. Both hardware and software. deviation has already supported that protocol. (please see https://github.com/DeviationTX/deviation/blob/master/src/protocol/loli_nrf24l01.c ),I hope DIY-Multiprotocol-TX-Module can support it too. So,I can make recivers myself.

Hear is a image of loli project :https://github.com/wooddoor/Loli3

pascallanger commented 3 years ago

Would it be possible to send me a RX so I can develop and debug the TX protocol?

ss8688 commented 3 years ago

Sorry,I don’t have one now

ss8688 commented 3 years ago

You can make one youself,It is very cheap.

ss8688 commented 3 years ago

You can join the official qq group to get more PCB files of Loli TX and recivers.

pascallanger commented 3 years ago

Sorry I don't have the time to build one. You don't even have one so you won't be able to test if what I code is working. And we won't know in case of issues if it's the TX or RX which is at fault. Sorry but given the conditions I'm not even going to start looking at it...

pascallanger commented 3 years ago

Is there anyone with a Loli RX listening?

OpenUAS commented 3 years ago

@pascallanger If I come across one of those LOLI receivers, I'll donate you one. For time being, code and schematic:

LOLI_code_n_schmatic.zip

diego0815 commented 3 years ago

I actually would have some nrf modules lying around and would also be ready to try, but why bother wirth an absolutely unknown breed of 8051 in 2020, while lots of other MCUs are waiting in my parts box? Sounds like DOA in Europe...

q296291520 commented 3 years ago

可以给我发送RX,以便我可以开发和调试TX协议吗?

Pascallanger ,I can send LOLI3 RX, please send me the address privately, thank you! 296291520@qq.com ^_^

richardclli commented 3 years ago

Seems Loli3 is an interesting RX that can store model setup in the RX, configuring the RX used similar concept of DSM forward programming.

Failsafe concept is similar to WFLY ET07, in which each channel can have a specific failsafe setup.

diego0815 commented 3 years ago

Interesting would be a port of the Loli SW to some standard NRF52840 module, plenty of range for smaller copters, cars, ships. Readily available, cheap(ish) modules, various antenna types, lots of cpu power also to integrate a flight controller (baseboard with 6axis) or other fancy stuff.

But well I'm getting slightly off topic here...

pascallanger commented 3 years ago

Seems Loli3 is an interesting RX that can store model setup in the RX, configuring the RX used similar concept of DSM forward programming.

Failsafe concept is similar to WFLY ET07, in which each channel can have a specific failsafe setup.

You are doing wrong comparaisons...

q296291520 commented 3 years ago

Hi, Pascal, have you received the express?   If you need any help with LoliRX, please contact me.

pascallanger commented 3 years ago

Still not received yet... I'll let you know. Pascal

q296291520 commented 3 years ago

http://www.ems.com.cn/ems/order/singleQuery_e  

Tracking Number:LZ541378714CN

2020-12-12  14:59:46 ShanghaiCity  Package Received    2020-12-12  17:14:16 ShanghaiCity  Depature from Local Sorting Center    2020-12-12  18:11:22 ShanghaiCity  Arrival at Regional Sorting Center    2020-12-13  15:49:24 ShanghaiCity  Dispatched from Office of Exchange    2020-12-14  03:40:51 ShanghaiCity  Departure from Regional Sorting Center    2020-12-14  13:41:48 ShanghaiCity  Handed over to Forwarding Agent for Transit    2020-12-14  13:47:00   Received by the carrier    2020-12-14  13:47:00   Received by the carrier    2020-12-16  11:16:00   Flight Departure    2020-12-16  19:12:00   Flight Arrival    2020-12-19  20:11:00   Transiting via the transit Airport    2020-12-22  19:30:00   Flight Departure    2020-12-23  10:05:00   Flight Arrival    2020-12-23  10:39:00   Transiting via the transit Airport    2020-12-24  04:23:00   Arrival at Processing Center    2020-12-24  04:26:00   Arrival at Destination    2020-12-25  03:49:00 FR  Departure from International Sorting Center    2020-12-25  03:49:00   Customs Clearance Completed    2021-01-06  09:04:00 FR  Scheduled for Delivery    2021-01-06  09:04:00 FR  Delivered  

 

ok,Pascal,I've seen the tracking and it shows delivered. Please note. Thank you.      ^_^

pascallanger commented 3 years ago

Ok then it should be in the mailbox. I'll know this evening.

pascallanger commented 3 years ago

I have the 5 RXs! They all have different stickers on the bags. And some have a different pcb. But are they really different? If yes how?

q296291520 commented 3 years ago

HI pascall

They are all loli3 protocols with the same firmware. These are receivers DIY by my friends and I. The stickers on the bags has nothing to do with the receiver. Short circuit 5 / 6 channel bind(one is 7 / 8 channel). You can test them with devo10 (deviation loli protocol) first, and the voltage supports 1s-5v. A white receiver test is recommended. ^_^

q296291520 commented 3 years ago

CH & BIND If you need any other help about loli3rx, please contact me. Thank you.

pascallanger commented 3 years ago

I've added the LOLI protocol to v1.3.1.97 Documentation: https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/Protocols_Details.md#loli---82 Assigning functions to outputs is not supported yet. I'll work on a LUA script but first OpenTX has to be updated... Please test and report.

q296291520 commented 3 years ago

Thank you very much! If you have any help with LoLI3 RX, please contact me.^_^

pascallanger commented 3 years ago

One question, the RX returns 2 analog values. Where can I connect something to get a value sent?

q296291520 commented 3 years ago

You mean return voltage? Please see the picture. You can test return voltage with devo10 (deviation loli protocol) first,Some LOLI RX maybe make mistakes . ^_^ Return power voltage port

pascallanger commented 3 years ago

What voltage can be applied on it? 5V max out you need a divider? Or...? What do you mean by mistakes? Is it safe to apply voltage on it? I don't have a devo to test...

q296291520 commented 3 years ago

Return power voltage port Max 3S , The split voltage resistance may be reversed and the voltage display is wrong. It is recommended to use the Number3 RX or Number4 RX test. Please see the picture. Number1-Number4 RX

stanekTM commented 3 years ago

Hi, according to the diagram, it looks like only one analog input should be used. I'm confused from connecting a VCC 5V directly to a processor where there is no pre-regulator. The voltage of the divider will correspond to 3S lipo approx. 15V.

rx_loli.pdf

q296291520 commented 3 years ago

Hi, according to the diagram, it looks like only one analog input should be used. I'm confused from connecting a VCC 5V directly to a processor where there is no pre-regulator. The voltage of the divider will correspond to 3S lipo approx. 15V.

rx_loli.pdf

这是a8的原理图,发个a10的

pascallanger commented 3 years ago

There are 2 ways to do the different channels configuration:

  1. write a LUA script where you select what you want for each output and send this to the RX
    • plus: easy to see what you are doing, sends the config when you want
    • minus: the script does not reflect what the current config of the RX (as it is not sent), so you have to reconfigure all the outputs each time you launch the script
  2. use channels 9-16 to configure the function outputs of 1-8
    • plus: the RX config is stored in the radio so you don't have to redo it every time.
    • minus: it's not easy to see right away what the outputs are doing.

Option 2 looks good to me. I could write a LUA script which would display the current config and set the 9-16 outputs to the correct values for you so you don't have to think about which value to put where. Let me know what you think.

q296291520 commented 3 years ago

here are 2 ways to do the different channels configuration:

  1. write a LUA script where you select what you want for each output and send this to the RX

    • plus: easy to see what you are doing, sends the config when you want
    • minus: the script does not reflect what the current config of the RX (as it is not sent), so you have to reconfigure all the outputs each time you launch the script
  2. use channels 9-16 to configure the function outputs of 1-8

    • plus: the RX config is stored in the radio so you don't have to redo it every time.
    • minus: it's not easy to see right away what the outputs are doing.

Option 2 looks good to me. I could write a LUA script which would display the current config and set the 9-16 outputs to the correct values for you so you don't have to think about which value to put where. Let me know what you think.

I think the second option is better.

pascallanger commented 3 years ago

Thanks, I'll code that today.

stanekTM commented 3 years ago

这 是 a8 的 原理 图 , 发 个 a10 的

I see, thank you, this is what i found on github, there are probably more suggestions.

pascallanger commented 3 years ago

Check the implementation: https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/Protocols_Details.md#loli---82 This is available in the latest test build: https://downloads.multi-module.org/latest-test/ I'll try to write a lua script tomorrow but this is already fully functional.

q296291520 commented 3 years ago

Check the implementation: https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/Protocols_Details.md#loli---82 This is available in the latest test build: https://downloads.multi-module.org/latest-test/ I'll try to write a lua script tomorrow but this is already fully functional.

Thank you for your test build, because I'm not very familiar with opentx system, so I just test 8 channels and use them normally. I've sent it to my friends for testing.^_^

pascallanger commented 3 years ago

I've uploaded the LOLI RX configuration script: https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/tree/master/Lua_scripts#multiloli You can see a video of it in action here: MultiLOLIconfig

Unless there is a bug, I think I'm done with this protocol. Enjoy!