Adding switches to devo 6s
- mwm
- Offline
How fine a control do we want? My first take on it was to just enable trim left & trim right switch pairs, but you might want to make the two buttons instead.
So, is turning on both buttons on one trim switch at once acceptable, or do I need to deal with all sixteen possible configurations?
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Having this is going to be a requirement before I create a pull request, so if you could test this and make sure it makes sense, I'd appreciate it. Not clear that there's a real distinction between the up and down buttons on a side, or between the two sides. I used the names from the 8, and just carried that through. If there's an obvious way to set the buttons up and it's that gets the names wrong, let me know and I'll fix it.
The simulator needs some testing as well, but someone who can build it for linux or windows will need to do so. Sources can be found in ssh://hg@bitbucket.org/mwm/deviation, the devo6-extra-switches branch.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
I was poking around in the Devo 8 and Devo 10 docs and i'm wondering if there is a chance for one more analog input. On the Devo 10, ADC_IN_10 through 15 are used for Aux4 and the sticks. On the Devo 8, ADC_IN_10-13 are used just for the sticks. On both, ADC_IN_14 is used for the battery voltage. So on the 6 and 8, is ADC_IN_15 (PC5) unused? There is no trace attached on the top, and I cannot locate a via that connects to it from the bottom... but I didn't poke it very hard yet!
I would expect that it would be visible in software? I plan to keep looking at the Hardware
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
mwm wrote: Ok, I've just uploaded a new version. This one adds the requirement that the extra buttons be configured. The default hardware.ini has been updated to document how. deviationtx.com/downloads-new/category/2...m-devo6-extra-inputs
Having this is going to be a requirement before I create a pull request, so if you could test this and make sure it makes sense, I'd appreciate it. Not clear that there's a real distinction between the up and down buttons on a side, or between the two sides. I used the names from the 8, and just carried that through. If there's an obvious way to set the buttons up and it's that gets the names wrong, let me know and I'll fix it.
The simulator needs some testing as well, but someone who can build it for linux or windows will need to do so. Sources can be found in ssh://hg@bitbucket.org/mwm/deviation, the devo6-extra-switches branch.
I downloaded and installed the new version, but the Hardware.ini doesn't seem to be different than the previous one. I checked to make sure that the version was right, and it's fc236a4. The above link brings me to the download page, but I can't see anywhere in the Zip or file system with reference for the changes. The TX did not recognize all the new trim buttons, and when I tried to go into the trim configuration screen the TX reset every time. I guess if I'm not configuring Hardware.ini correctly then they could be a problem, but I can't find any reference material for the changes needed.
In both this version and the last "-4433285", the button monitor has two issues:
1. the Button Monitor screen has the Right and Left trim button info on the Left and Right side of the screen, respectively. So the Right new buttons ended up under the old Left trim buttons, and the Left new buttons are under the Right old trim buttons.
2.Also, there seems to be some sort of writing in the upper left of the screen over the exit button. I can't make out what it might be.
So I'll keep working this. My two new switches will be here probably by Saturday and I can't wait to actually start flying with this!
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
This is one spreadsheet that you can filter by processor package and sort by pin number or assignment. It really makes the process of figuring out what is on each pin a whole lot easier.
I cannot seem to add it to a post, so I've put the spreadsheet onto my googledrive . If you like it can be posted with the other articles, but I can't do it.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Not having the new hardware.ini was just a Doh! moment. I thought it as added to the zip file by the Makefile. Not so. I've bundled it into this zip file. It'll come out next to the dfu & the debug zip.
Aside: I'd appreciate testing by people who don't have the extra hardware added! Need to verify that things are working properly for all of us as well. I'll be testing it that way, but just me isn't enough.
New build: deviationtx.com/downloads-new/category/2...m-devo6-extra-inputs
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
When I get the switches installed I'll let you know how those go. In the meantime I need to try a variety of trim button settings (in Hardware.ini) and work on the multimodule for this transmitter.
Thanks again for your help.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Deviated Devo6S
Let me know when you've got a way to add an analog pot; I've got some 5k little ones coming in this week, along with some new connectors.
I still have to install the multimodule. It is assembled and ready to install, but I rescued an A7105 that had a lifted connector pad and I want to be sure it's working right before I put it in.
Once I get that installed, I'll run a few models in the coming days. I have a couple of Blade DSMX models and a bunch of mini helis and quads to try. If I run into problems I'll let you know.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- Cereal_Killer
- Offline
That 6S looks great! People that didn't know would have no clue it didn't come like thay.
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
The toggle is Banggood. I overspent for some blue switch nuts for the switches on eBay to finish it off, but I can't find them in 1/4".
I have posted a description of the hardware mods on my Blog at RCGroups .
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
I've merged in the latest changes from the main line, and uploaded a new test build. deviationtx.com/downloads-new/category/2...m-devo6-extra-inputs
As soon as you can let me know that this is working properly, I'll create a pull request to get it merged into the default code so it'll show up in the nightly builds - when the start happening again.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
I'll test in the AM... Got my haptic vibrating motor ready to install!
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- RoGuE_StreaK
- Offline
- Posts: 486
I suppose I should at least load up the software and confirm that it works without the switches enabled or physically present, I do have my physical switches and a module (and a haptic motor) to put in but as per usual have been trying to decide the optimal mounting position and method as I don't want to drill a hole and then regret it... which means it's be another few months/years...
Please Log in or Create an account to join the conversation.
- mwm
- Offline
I'm not planning on adding any of these things to my 6, so the test with them is the one I'm really waiting on before creating a pull request.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Everything works as expected, and I can't find anything that isn't working, so as far as I'm concerned it's good to go.
Thanks again for the excellent work.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Offline
I'd appreciate a couple of reviews so I can merge this!
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- General
- General Discussions
- Adding switches to devo 6s