#4232088 - 02/22/16 10:35 AM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Mar 2015
Posts: 51
Sak75
Junior Member
|
Junior Member
Joined: Mar 2015
Posts: 51
Madrid, Spain
|
Hi Mega_mozg. I have two questions to see if together we can solve everything. If you want to create a steering wheel with mmjoy, the type of assignment you have to configure? May be Rudder?. Second, I have an HOTAS configured with 4 sensors and for the new steering wheel I want to use another Arduino promicro. When I set up a sensor in the steering wheel and connect the first ( HOTAS) the same sensor don’t work in HOTAS. It is normal?. a greeting.
|
|
#4235614 - 03/02/16 04:22 AM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Mar 2016
Posts: 2
Psylence
Junior Member
|
Junior Member
Joined: Mar 2016
Posts: 2
|
I'm just starting to try and wrap my head around all of this. It's a lot to take in for someone who can, quite literally, just solder things together. I'm not very proficient with the idea of setting up circuit boards and inputs, etc. That said, I don't plan to stop learning and building till I get it right. So, as I said, I'm new to this, but I love the idea of using this software to try and work up a full set of controls. The big question that I have right now, is what about a load cell and strain gauges for the inputs on the joystick? I understand the general concept of how to wire it up, you have a surface the joystick presses into which creates a bending force - even slight - to the metal which registers as a change in resistance. I'm looking at this thread as a general reference on how it gets wired together: http://forums.eagle.ru/showthread.php?t=53887And if I understand that right, I would be going for #14 on that strain gauge list which means I would wire it like the diagram on the right-side of that list and place them so that each takes up approximately 1/4 the circumference. Those, if I understand this right, would go into some sort of bridge box... but that's where it loses me. Do I need a bridge box and how does that then wire into the rest of it? And does the MMJoy software even support that method?
Last edited by Psylence; 03/02/16 04:32 AM.
|
|
#4235697 - 03/02/16 02:43 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Oct 2014
Posts: 16
Euphoria
Junior Member
|
Junior Member
Joined: Oct 2014
Posts: 16
United States
|
Psylence, (clever name btw) I have recently completed a load cell joystick "gimbal", using two 10kg load cells arranged in opposite axes of each other. Cells are fed into an INA125 load cell amplifier and outputs to the mmjoy2 board. It's my first version, but it works great for Star Citizen. Here's a few pics. http://imgur.com/a/02lyK
|
|
#4236158 - 03/03/16 08:29 PM
Re: MMJoy - Build your own USB controller
[Re: Euphoria]
|
Joined: Mar 2016
Posts: 2
Psylence
Junior Member
|
Junior Member
Joined: Mar 2016
Posts: 2
|
Euphoria, (Thanks. Your name is fitting considering it must be to fly with that setup) If I'm right, you're using something like this? https://www.sparkfun.com/products/13330I was thinking of trying something a bit more scaled down. Something more like: http://uk.rs-online.com/web/p/strain-gauges/0632168/But I'm still trying to work through it all still and I'm not set on anything. Funny as it is, my setup would be for Star Citizen as well and I'm also starting with a Cougar HOTAS. I'm guessing that what I do is attach those to say, a pipe which is fitted about the Cougar stick with a slight gap(to give me let's say 1/8 inch of play all the way around), then the gauges which are spaced about on X+, X-, Y+, Y- axes, run into an amplifier and outputs to my board(I'm thinking of using a flashed Pro Micro). That's where I'm a bit at a loss though, how do I set up the amplifier properly and how would I output to the board properly? Again, if I understand this right, I would combine them into 2 sets of 2 sensors(1 set X, 1 set Y) and wire them to say a load sensor combinator to make it easy for me: https://www.sparkfun.com/products/13281Where each set of 2 would share one wire that would go to the R(Excitation) and the other two would go to W(Output +) and B(Output -). That would then connect to a load cell amplifier: https://www.sparkfun.com/products/13230Which would wire to my board VCC -> 5v, CLK -> Digital pin, DAT -> Different Digital Pin, and GND -> GND. Is that right?
Last edited by Psylence; 03/03/16 08:32 PM.
|
|
#4237380 - 03/07/16 06:13 AM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
PJRC is OK or www.sparkfun.com.In this Arduino Boards, the mc ATMEGA32u4 have a 10 bits ADC for analog axis (pot/sensor) inputs. The TLE501x have build in ADC 12 bits and send signal for board in digital way, in this case his resolution prevail.
|
|
#4237555 - 03/07/16 06:31 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
Yes, 12 bits but get the TLE5011 (last model). A practical way to connect is use 2.54"connector header bar (female, 40 pins), then cut* in appropriated size and solder the wires in this bar pins - can use heath shrink to reinforce/protect the solders and looks nice - and plug the bar in Teensy connectors. Result "PnP". BU0836 include this connectors. * Or buy in appropriated size (4, 8, 10...) Sample: http://core-electronics.com.au/0-100-2-54-mm-female-header-1x16-pin-straight.htmlBTW - Combining with the male header bar can make nice connector plugs (not for Teensy, but for other use). http://core-electronics.com.au/header-40-pin-male-long-centered-pth-0-1.html?___SID=UDont make solder direct in Teensy pins, the temperature and current transients of solder iron can kill then. I am not fan of breadboard (other for experimentation), this result in a mess of wires that can induce electrical noise. Since Teensy is tiny what can help is make a support PCB with more pins. But for your project is not really needed. For cables is recommend the "pig tail" type (multi copper wires with Teflon like insulation) used in telephony. Dont know the technical name - never see one. See in Mega_MOZG pictures: http://simhq.com/forum/files/usergals/2015/03/full-37484-99124-dscf5909.jpg
Last edited by Sokol1; 03/07/16 06:41 PM.
|
|
#4237902 - 03/08/16 05:48 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
This support board model don't include button matrix, just expand the Arduino board pins, e.g. instead share +5V pin for all axis inputs you have one pin for every axis, etc.
If you will use few buttons, e.g. ~10, is more practical just put the diode in one pin of every switch.
Last edited by Sokol1; 03/08/16 10:26 PM.
|
|
#4238015 - 03/08/16 10:44 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
Is simple, e.g. a 2x2 matrix (lines and columns pins in controller board) handle 4 buttons. Mean that every line is shared with 2 buttons and in same way every column is shared with 2 buttons. upload image online freeThe diodes, as explained in the link is for avoid keyboard ghosting with 3 or more buttons pressed simultaneous. They made the current flow only in one direction.
|
|
#4238205 - 03/09/16 03:21 PM
Re: MMJoy - Build your own USB controller
[Re: ]
|
Joined: Jan 2014
Posts: 274
mega_mozg_13
Member
|
Member
Joined: Jan 2014
Posts: 274
BELARUS, Minsk
|
I think I read it earlier, but as I understand it, it's possible to have MMJoy send one pulse when a switch is turned on, and then one pulse when i'ts switched of again. Correct? Mode "Switch" one pulse when "on to off" or "off to on".
|
|
#4239243 - 03/12/16 11:54 PM
Re: MMJoy - Build your own USB controller
[Re: Sokol1]
|
Joined: Nov 2001
Posts: 3,955
Sokol1
Senior Member
|
Senior Member
Joined: Nov 2001
Posts: 3,955
Internet
|
This? http://SimHQ.com/forum/ubbthreads.php/topics/3994326/Re:_MMJoy_-_Build_your_own_USB#Post3994326
Last edited by Sokol1; 03/12/16 11:55 PM.
|
|
|
|
|
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
|
|
|
|
|
|
|
|
|