Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 53 of 112 1 2 51 52 53 54 55 111 112
#4308924 - 11/04/16 12:53 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Select in the second box upper, at left:


Inline advert (2nd and 3rd post)

#4309274 - 11/05/16 03:46 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2016
Posts: 4
Fission Offline
Junior Member
Fission  Offline
Junior Member

Joined: Nov 2016
Posts: 4
Canada
Hi guys, new to the forums! I've been reading through the pages in this thread and it's been incredibly helpful, I got everything setup for my DIY racing pedals except one thing, my brake pedal!

I have a question, how do I hook up a load cell with mmjoy2 and is it possible to adjust the gain of the amplifier?

I'm using a load cell for my brake along with a load cell amplifier (HX711) with an Arduino Leonardo, attached is a picture on how it's wired to the Arduino

Any help would be appreciated!





Thanks!




Last edited by Fission; 11/05/16 03:51 PM. Reason: New picture
#4309297 - 11/05/16 05:34 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
In this interface amplifier board for Load Cell, is sending analog signal for MMJoy2:

https://img.alicdn.com/imgextra/i2/441247242/TB286QtspXXXXXEXXXXXXXXXXXX-441247242.jpg

Like in this Chinese version:

https://world.taobao.com/item/520508841650.htm?spm=a312a.7700714.0.0.0kvtmH#detail

#4309302 - 11/05/16 05:50 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2016
Posts: 4
Fission Offline
Junior Member
Fission  Offline
Junior Member

Joined: Nov 2016
Posts: 4
Canada
Yeah exactly, the only thing is on my wire diagram it uses two analog ports (which is fine) but I'm not sure why, is one for adjusting gain and the other for the voltage readings of the strain gauge?

Since my amplifier does not have a trimpot, I'm not really sure how to adjust the gain in mmjoy2, where in the Arduino software I'm able to declare a gain as 64 or 128 in channel A or in channel B it's a static gain of 32 if soldered to this port.

Thanks for the reply Sokol1!

#4310281 - 11/09/16 12:47 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Fission]  
Joined: Nov 2016
Posts: 4
Fission Offline
Junior Member
Fission  Offline
Junior Member

Joined: Nov 2016
Posts: 4
Canada
I have everything hooked up, but I'm still not getting any values frown the HX711 is also an analog to digital converter, so I hooked it up to the digital ports 2 & 3 on the leonardo, but if I go to the mmjoy2 software under "Source" there is no chip for HX711 or my hall effect sensor A1302, but maybe there's another source I can select for my loadcell or hall effect sensor?

Kinda stumped here lol

#4310319 - 11/09/16 03:52 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
HX711 digital interface not supported.

#4310328 - 11/09/16 04:36 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Nov 2016
Posts: 4
Fission Offline
Junior Member
Fission  Offline
Junior Member

Joined: Nov 2016
Posts: 4
Canada
Dang, when I try it on the Arduino program, the load cell works just fine in analog or digital mode so do you think it's still possible to get the load cell to work with mmjoy2 at all?

Thanks for the information mega!

#4310540 - 11/09/16 05:40 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2016
Posts: 5
Kissman Offline
Junior Member
Kissman  Offline
Junior Member

Joined: Nov 2016
Posts: 5
Hello guys... I have little problem with my ProMicro & MMJoy. I can upload firmware without any problems, but after that, my device is incaccesible - device descriptor failed. What I am doing wrong? frown

#4310719 - 11/10/16 05:29 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Kissman]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Originally Posted By: Kissman
Hello guys... I have little problem with my ProMicro & MMJoy. I can upload firmware without any problems, but after that, my device is incaccesible - device descriptor failed. What I am doing wrong? frown

make screen pictures (mmjoy_setup, windows joystick and device managment)

#4310725 - 11/10/16 07:47 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk

will be soon...

#4310843 - 11/10/16 04:37 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2016
Posts: 5
Kissman Offline
Junior Member
Kissman  Offline
Junior Member

Joined: Nov 2016
Posts: 5
i probably know what is wrong now... i have 8mhz version frown is it problem?

#4310933 - 11/10/16 10:19 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Mega mozg, is it possible to add "manufacturer name" like vid and pid?

#4311022 - 11/11/16 04:02 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Debolestis]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
Originally Posted By: Debolestis
Mega mozg, is it possible to add "manufacturer name" like vid and pid?

no, "Manufacturer" and "Serial" these descriptors used for control firmware version ID and my personal as author.

#4311145 - 11/11/16 04:31 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jul 2010
Posts: 74
Repvez Offline
Junior Member
Repvez  Offline
Junior Member

Joined: Jul 2010
Posts: 74
Can someone collect me which is the latest PCB desing What I have to use for TM F16FLCS+TQS.
I have TLE5010, and pro micro , but I don't have any other componens. And I can't use the original shift panel in FLCs handle because it was damaged.

Unfortunatly, I unable to make PCB at home so I should be an ready to use solution which I have to pay somewhere.
Or somewhere I can order the PCB which make base the latest shematic .

I would like to use one pro micro panel for both device (FLCS+TQS) and put in the TQS base.
So I Should be :
1 shift reg in the FLCS handle
2 TLE5010 PCB
1 base PCB ( which collect the shift reg and X,Y axis TLE5010 wires and led to TQS)

In TQS:
1 TLE5010 PCB for Z axis
1 shift reg in TQS handle
1 pro micro shield (where put in connector from FLCS and Collect the TQS wires and there would be an extra connector for rudder TLE5010 and other additional buttons)

I found this webshop what it would be good for me, but I don't speak chinese language and I don't know how reliable.
The price is acceptable.
https://shop102607058.world.taobao.com?spm=a312a.7728559.2015080705.3.tAQske

Can anyone help me?

#4311186 - 11/11/16 06:11 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
For update Tm F16FLCS+TQS is need PCB's for TLE501x and for Shift Register for inside TQS, or use diode matrix there, since is only 10 buttons, or 14, depends on what (HAT, micro-stick...) you use for replace the "eraserhead" TDC, this device is no longer usable.

PCB's available in OS Park.

https://oshpark.com/profiles/Debolestis

For TLE501x the PCB layout is a bit "obsolete" (based on this Mega_MOZG sketch, posted above):

https://oshpark.com/shared_projects/dB6LPj8O

The four resistor in inputs is no more needed, but is just matter of make bridges in their places (or use 0 OHM resistor), in this way:


http://simhq.com/forum/files/usergals/20..._esquemtico.jpg

F-16FLCS grip already have a CD4021 Shift Register inside, no need make a new.

PRO Micro shielded PCB is a convenience for simplify, at some degree, connect the wires, but is not necessary. Your choice.
In Debolestis OSPark has PCB for make one.

For what I know for buy in Taobao (a kind of Chinese eBay) you need a "Taobao agent" - that will buy there and resend for you, for a give fee (Google for it). This "kit's" is done by Flight Simmer. In Eagle forum a guy buy from this vendor without problem.

Google Translator handle Chinese characters reasonable well - at least better than German. smile




#4311768 - 11/13/16 08:12 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: May 2016
Posts: 36
TomVR Offline
Junior Member
TomVR  Offline
Junior Member

Joined: May 2016
Posts: 36
Using the 74HC165 shift registers should I wire them for pull-up or pull-down for mmjoy2?

I have read some conflicting information so I am bit confused on 74HC165 & 4021.

The way I currently understand the 74HC165 should be wired is each input pin D0-D7 attached to ground independently with 10k resistors. In line between the input pin and the resistor is a wire connection from a button/switch. The other side of the switch goes directly into 5 volts. The 74HC165 vcc pin 16 should go to 5 volts with a uf 0.1 capacitor branching off to ground, an open to ground it to pin 15 next to it which needs to be grounded anyway for chip enable.

Is that correct?


Last edited by TomVR; 11/13/16 08:12 PM.
#4311948 - 11/14/16 12:54 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
TomVR
all sfifts in mmjoy must used with pull-up.

Last edited by mega_mozg_13; 11/14/16 12:54 PM.
#4312353 - 11/15/16 05:58 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: May 2016
Posts: 36
TomVR Offline
Junior Member
TomVR  Offline
Junior Member

Joined: May 2016
Posts: 36
OK so in that case the resistors should be connected to 5 volts and the switches attached in parallel to the pin and it's other side running to ground?

Last edited by TomVR; 11/16/16 09:41 PM.
#4312364 - 11/15/16 07:14 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2014
Posts: 274
mega_mozg_13 Offline
Member
mega_mozg_13  Offline
Member

Joined: Jan 2014
Posts: 274
BELARUS, Minsk
TomVR yes

#4312863 - 11/17/16 01:50 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Mar 2015
Posts: 51
Sak75 Offline
Junior Member
Sak75  Offline
Junior Member

Joined: Mar 2015
Posts: 51
Madrid, Spain
Good days I have a question.

I have bought two TLE5010 already mounted and not how to connect them directly to the promicro board.

Https: // es.aliexpress.com/item/TLE5010-digital-mode-magnetoresistive-angle-sensor/32634095245.html? Spm=2114.13010608.0.0. Eqr0Mr

Always I have used dimmers or sensors hall. I have looked in the last 50 pages of the forum and I do not still have clear (and my eyes are very red wacky). In the plate of the TLE5010 there are six pines (vdd, gnd, sck, miso, ect).

My question is: can I connect every pin to his correspondent in the arduino board?

Many thanks

Page 53 of 112 1 2 51 52 53 54 55 111 112

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0