- Posts: 402
Developing a universal module
- blackmoon
- Offline
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.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
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.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
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.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Here is the updated avr.hex:
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.
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
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.
- SeByDocKy
- Offline
- Posts: 1016
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.
- blackmoon
- Offline
- Posts: 402
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!
Please Log in or Create an account to join the conversation.
- briareos7777
- Offline
- Posts: 11
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?
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
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.
- mtx63
- Offline
- Posts: 37
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???
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- Daryoon
- Offline
- Posts: 260
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
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.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...
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.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
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.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
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.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?
Please Log in or Create an account to join the conversation.
- nusbr
- Offline
- Posts: 43
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
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
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Developing a universal module