Developing a universal module

More
19 Mar 2014 18:50 - 19 Mar 2014 18:51 #21667 by blackmoon
Replied by blackmoon on topic Developing a universal module
Received the 1.2rev today from OSH, I didn't pay attention before but you can't install the V911(A7105) module directly on the board.

I'll have to deport it, use wires and the U6 connector, not a big deal tough, but for those with a V911 module you should be aware of this.

Some interrogations tough :

1.
Is the avr.hex of this post www.deviationtx.com/forum/7-development/...dule?start=220#21401 the latest one ?

2.
Do the latest nightly support the universal module on the devo7E and devo10 ?

Thank you.
Last edit: 19 Mar 2014 18:51 by blackmoon.

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

More
19 Mar 2014 21:43 - 20 Mar 2014 21:23 #21675 by blackmoon
Replied by blackmoon on topic Developing a universal module
One more question :

U4 connector pin1 is left side of the module ?

It seems so but better safe than sorry...

Edit: figured it myself with the help of the pcb board on kicad.
Last edit: 20 Mar 2014 21:23 by blackmoon.

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

More
20 Mar 2014 21:40 #21692 by blackmoon
Replied by blackmoon on topic Developing a universal module
Module almost finished, I have to solder the antenna for the skyartec module and install one on the nRF2401.

Avr programing went without a glitch, checked all solder points, seems ok to me.

Next step install a second 3-way switch and install the module.
Attachments:

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

More
22 Mar 2014 15:13 #21726 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module
I've been working on enhancing the code to handle the switch.
Here is the updated avr.hex:

File Attachment:

File Name: avr_2014-03-22.zip
File Size:1 KB


It won't hurt anything, but won't help with debug until I provide a new dfu that can detect it. I'm having trouble getting that code to work reliably which is why I haven't updated yet.
Attachments:

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

More
22 Mar 2014 21:48 #21735 by nusbr
Replied by nusbr on topic Developing a universal module
Could Program the ATMEL in TX. Have Tested the TX with Hubsan X4. :woohoo: works fine. Great Job. Now have one Problem. Could not bind with original DEVO 8S Telemetry Modul. Do you have any idee?

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

More
22 Mar 2014 21:58 #21736 by nusbr
Replied by nusbr on topic Developing a universal module
Have installed PCB 1.2 with following Modules:
A7105
NRF24L01
CC2500
Devo 8S original Telemetry Modul


hardware.ini
enable-switch=A13
enable-cyrf6936=B12
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

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

More
22 Mar 2014 22:25 #21737 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module

nusbr wrote: Have installed PCB 1.2 with following Modules:
A7105
NRF24L01
CC2500
Devo 8S original Telemetry Modul


hardware.ini
enable-switch=A13
enable-cyrf6936=B12
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


Great job :)

When I will receive the board and different module, I will try to make a step by step youtube video

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

More
22 Mar 2014 22:35 #21738 by blackmoon
Replied by blackmoon on topic Developing a universal module
I think I just cooked all of my modules :(

Went to program the new avr.hex and used the wrong usbasp with 5.5V supply instead of the modified one for 3.3V...

Well I'll try it anyway when support for the 7E is available, if it doesn't work, I'll have to wait for the new ones to come my way.

Man! after all the work, making three antennas, soldering the antenna on the skyartec module and a new one on the V911 (because it broke, that was a pita).

Then I had to redo the board,it didn't fit with the V911 module like in the picture above.

Lesson learned, verify twice, cut once!
Attachments:

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

More
23 Mar 2014 05:52 - 23 Mar 2014 05:55 #21743 by briareos7777
Replied by briareos7777 on topic Developing a universal module
Is this correct way on how to hook up the universal module? (This is using the original devo 8s CYRF6936 module):

From the P1 connector, wire up 5v, rst, miso, gnd, sck, mosi to a connector that would plug into the devo 8 (original module slot).

The 3.3v pin wire it to VDD on the devo 8.

The CS wire it to tck.

I'm not sure if the cyrf6936 module's csn needs to be wired to anything?
Last edit: 23 Mar 2014 05:55 by briareos7777.

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

More
23 Mar 2014 07:51 #21745 by SeByDocKy
Replied by SeByDocKy on topic Developing a universal module
Just stupid question. Can the ATTiny can be programmed first without any module installed via USBASP ?

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

More
23 Mar 2014 08:27 #21746 by nusbr
Replied by nusbr on topic Developing a universal module
Yes, thats possible.

PhractureBlue wrote:
you need to set the fuses to be 0xe2, 0xdf, 0xff. This sets the AVR to run at 8MHz and is critical to the operation of the switch.

The following AVRDude commands will program it (change t84 to the t44 or t24 depending on your ATTiny, and change 'usbasp' as needed):
avrdude -p t84 -c usbasp -e -U flash:w:avr.hex
avrdude -p t84 -c usbasp -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -

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

More
23 Mar 2014 08:49 - 23 Mar 2014 09:51 #21747 by mtx63
Replied by mtx63 on topic Developing a universal module
I have this version AVR Dude.
blog.zakkemble.co.uk/avrdudess-a-gui-for-avrdude/

settings ???

MTX63

My aim,

Devo 7E, AWA24s, A7105, NRF24L01.
On Board (Devo 7E) module installed turn off???
Last edit: 23 Mar 2014 09:51 by mtx63. Reason: edit

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

More
23 Mar 2014 09:34 #21749 by nusbr
Replied by nusbr on topic Developing a universal module
do have anyone tested with original devo modul (CYRF6936), because i Could not bind with receiver. CC2500 Modul works. Thanks for help

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

More
23 Mar 2014 13:57 #21751 by Daryoon
Replied by Daryoon on topic Developing a universal module
PB installation instruction says to flash first before installing the modules.

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

More
23 Mar 2014 14:03 #21752 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module

blackmoon wrote: I think I just cooked all of my modules :(

Went to program the new avr.hex and used the wrong usbasp with 5.5V supply instead of the modified one for 3.3V...

I wouldn't sweat it yet. I did this several times with no apparent negative affect. I don't guarantee it, but you might be fine.

Note to everyone who messaged me about obtaining a module. I haven't forgotten about you. I want to iron out the issues I'm seeing with the latest firmware 1st. Also, I think I'll have a few left, so if anyone who hasn't asked yet still wants one, just PM me. Hopefully teh issues I'm having will turn out to be software issues, and I can get them on their way.

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

More
23 Mar 2014 14:05 #21753 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module

nusbr wrote: do have anyone tested with original devo modul (CYRF6936), because i Could not bind with receiver. CC2500 Modul works. Thanks for help


Yes, I can use the original module still, however, I did make a change to how reset works, and it is possible that it isn't as reliable. Does the current nightly work at all for Devo for you (i.e. without the module installed)?

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

More
23 Mar 2014 14:18 #21754 by nusbr
Replied by nusbr on topic Developing a universal module
I have used the nightly Build from yesterday (22). I could not Test all transmitter Modul, because i have not all Receiver for them. The hubsan works great. I would Test them with the Build from today and Report it

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

More
23 Mar 2014 14:35 #21755 by PhracturedBlue
Replied by PhracturedBlue on topic Developing a universal module

briareos7777 wrote: Is this correct way on how to hook up the universal module? (This is using the original devo 8s CYRF6936 module):

From the P1 connector, wire up 5v, rst, miso, gnd, sck, mosi to a connector that would plug into the devo 8 (original module slot).

The 3.3v pin wire it to VDD on the devo 8.

The CS wire it to tck.

I'm not sure if the cyrf6936 module's csn needs to be wired to anything?

You should wire the SCN pin of P1 to TMS on the Tx, and the 'RESET' pin of P1 to TCK. you do not need to wire the CS or RESET pins of the devo module to anything on the board.

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

More
23 Mar 2014 14:53 #21757 by nusbr
Replied by nusbr on topic Developing a universal module
Have tested the last nightly build with DEVO Protocol and WK2401. Does not work. Could not bind.

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

More
23 Mar 2014 19:29 - 23 Mar 2014 19:30 #21766 by blackmoon
Replied by blackmoon on topic Developing a universal module

Does the current nightly work at all for Devo for you (i.e. without the module installed)?


I just tested latest nightly witgh my Devo 10 ( original Cyrf + V911 module).

WK2401 Bind Ok - fly Ok

DEVO Bind Ok - Fly Ok

DSM2 bind OK - Fly Ok, but the countdown only goes from 3 to 0 (your hear the bind bip after +/- 10 sec), and the bind takes longer than the 3 sec, at least with my MQX
Last edit: 23 Mar 2014 19:30 by blackmoon.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum