Developing a universal module

More
06 May 2014 04:10 #22929 by briareos7777
Replied by briareos7777 on topic Developing a universal module
With the latest deviation code, is this the correct hardware.ini? :

[modules]
enable-cyrf6936=S0
has_pa-cyrf6936=1
enable-a7105=S1
has_pa-a7105=1
enable-cc2500=S3
has_pa-cc2500=1
enable-nrf24l01=S402
has_pa-nrf24l01=1
enable-multimod=A13

Please Log in or Create an account to join the conversation.

More
06 May 2014 13:23 - 06 May 2014 13:23 #22932 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module
That is correct if you relocated the cyrf module to the multimod board.
If you did not relocate the cyrf module, you should comment out the 'enable-cyrf6936' line. If you are using an AWA24S or 'ChinaBuy' CYRF6936, the commands are different.
Last edit: 06 May 2014 13:23 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
06 May 2014 13:37 #22934 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module

PhracturedBlue wrote: That is correct if you relocated the cyrf module to the multimod board.
If you did not relocate the cyrf module, you should comment out the 'enable-cyrf6936' line. If you are using an AWA24S or 'ChinaBuy' CYRF6936, the commands are different.


Hi PB,

Regarding the wiki of the MM, it should be great to give indications on wich connector you have to install the specific RF chip (U1, U3, etc...)

Regarding the hardware.ini, why the nRF24L01 is associated with "S402" ? For the A7105, this chip is connected to U1, for the CC2500 to U3... Can you explain the nomenclature ?

Please Log in or Create an account to join the conversation.

More
06 May 2014 15:25 #22942 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module
Good point. I'll update the wiki. The 'U#' has nothing to do with the 'S#'.
The S# represents the switch position:
CYRF6936 = 0
A7105 = 1
NRF24L01 = 2
CC2500 = 3

The # is actually in hexadecimal. the least-significant byte represents the switch position (how CSN is connected). the upper byte is a control byte (in the case of the NRF24L01 it indicates how the CE pin is controlled). so 'S402' can be interpreted as 'CE on pin 4, CS on pin 2'. We do something similar for the 'BuyChina' and 'AWA24S' modules which require different controls.

Having explained that, it is irrelevant to the end user. What is needed is just documentation on what values are needed to control the module.

Please Log in or Create an account to join the conversation.

More
08 May 2014 14:01 - 08 May 2014 14:34 #23011 by midelic
Replied by midelic on topic Developing a universal module
I've noticed that, on V1.3 version XL2500 socket U7 is reversed...antenna going in opposite direction.Not very convenient IMO all antennas should point in the same direction...plus is going over the module edge.
Last edit: 08 May 2014 14:34 by midelic.

Please Log in or Create an account to join the conversation.

More
09 May 2014 09:42 #23061 by midelic
Replied by midelic on topic Developing a universal module
I was thinking why connect nrf24L01 CE pin to Attiny pin......?Why not keep CE pin high all the time,,,put a 10-20K resistor from CE pin to 3,3V(Vcc).It will be less complicated.

Please Log in or Create an account to join the conversation.

More
12 May 2014 15:36 #23158 by robca
Replied by robca on topic Developing a universal module

SeByDocKy wrote: Banggood have in stock all RF chips for the multi-module. Jacky from BG followed my advices to stock them :)

www.banggood.com/new-arrivals-c-1729-0-28-6.html

Price are good


Is there a link to the individual modules? Looks like Banggood "what's new" changes over time, and the link above now points to unrelated items

I ordered my previous modules from eBay, but it's really hit or miss (lots of sellers put every keyword in the description, and it's easy to get a module without PA or with the wrong chip). I like Banggood, so I'd like to buy my new set of modules there

Please Log in or Create an account to join the conversation.

More
12 May 2014 16:02 #23159 by victzh
Replied by victzh on topic Developing a universal module
This search is pretty exact: www.banggood.com/buy/4ghz-module.html

Funny it's better than www.banggood.com/buy/2.4ghz-module.html

Please Log in or Create an account to join the conversation.

More
13 May 2014 02:09 - 13 May 2014 12:43 #23167 by aMax
Replied by aMax on topic Developing a universal module
Be aware, this 2.4G-NRF24L01 (SKU099478) might look like this.

www.bilder-hosting.info/viewer.php?id=arx1399946310k.jpg

No U.FL and a short antenna. BG now has a third try... :whistle:


Edit: I added an external link for bigger picture size.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 13 May 2014 12:43 by aMax.

Please Log in or Create an account to join the conversation.

More
13 May 2014 06:14 - 13 May 2014 06:19 #23173 by blackmoon
Replied by blackmoon on topic Developing a universal module
Man! just bought two of them :( I don't want a fixed antenna because fitting the MM into the 7E is already a pita, even with a ufl one...

And I only see a "decoupler" on the antenna where is the whip ?

Does this even work like that ?
Last edit: 13 May 2014 06:19 by blackmoon.

Please Log in or Create an account to join the conversation.

More
13 May 2014 06:26 #23174 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module
I ordered this module at BG ...

www.banggood.com/2_4G-NRF24L01-PA-LNA-Wi...ntenna-p-922601.html

They are perfect ...

Please Log in or Create an account to join the conversation.

More
13 May 2014 08:47 #23180 by jesmail
Replied by jesmail on topic Developing a universal module
With the latest code, I tried the EMU for Devo 8.

Since I have no module installed
I set the H/W ini file to

[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1
; enable-a7105 = A13
; has_pa-a7105 = 1
; enable-cc2500 = A14
; has_pa-cc2500 = 1
enable-nrf24l01 = A14
has_pa-nrf24l01 = 1
; enable-multimod = A13

When it starts up I get module error , missing modules
nrf24l01
multimod

Please Log in or Create an account to join the conversation.

More
13 May 2014 09:14 #23181 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module

jesmail wrote: With the latest code, I tried the EMU for Devo 8.

Since I have no module installed
I set the H/W ini file to

[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1
; enable-a7105 = A13
; has_pa-a7105 = 1
; enable-cc2500 = A14
; has_pa-cc2500 = 1
enable-nrf24l01 = A14
has_pa-nrf24l01 = 1
; enable-multimod = A13

When it starts up I get module error , missing modules
nrf24l01
multimod


with MM, there are some change in .ini

enable-nrf24l01=S402
has_pa-nrf24l01=1

Please Log in or Create an account to join the conversation.

More
13 May 2014 11:16 #23183 by jesmail
Replied by jesmail on topic Developing a universal module
That is part of the problem, I did not have the MM module and would like to get it working without it.

I tried adding the
enable-nrf24l01=S402
has_pa-nrf24l01=1

still get same errors.

Thanks for the help.

Please Log in or Create an account to join the conversation.

More
13 May 2014 13:08 #23187 by aMax
Replied by aMax on topic Developing a universal module
I ordered this one.
www.banggood.com/DEVO-Transmitter-Tuner-...ys-V922-p-89812.html

The problem seems to be " modified for".

Now they claim that this board looks like as it is advertised.
The second resend will show if it is true.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
13 May 2014 14:35 #23191 by HappyHarry
Replied by HappyHarry on topic Developing a universal module
that is the correct one from bg, it is indeed as is shown in the picture and has a pa and an lna

Please Log in or Create an account to join the conversation.

More
16 May 2014 16:52 #23286 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module
I am Happy :)

My new tentative to build the MM is a succeed ... :)

All the 3 modules are working :)

I did some videos during the building ...

Please Log in or Create an account to join the conversation.

More
16 May 2014 18:08 #23289 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module
I learned something recently. the nrf24L01 really is sensitive to +5V. I had accidentally programmed my board with a 5V programmer with modules installed. Everything worked fine on the bench, so I put it down to being lucky and moved on. When I went out the other day to actually test it outside I found the range was basically gone. This is a non PA module used for indoor flying, and I couldn't even go 15 feet with it anymore.

So...Don't program the Universal module with a 5V programmer with any modules installed :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum