Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 31 of 104 1 2 29 30 31 32 33 103 104
#4210993 - 12/29/15 08:53 AM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: Sokol1]  
Joined: Dec 2015
Posts: 61
robv Offline
Junior Member
robv  Offline
Junior Member

Joined: Dec 2015
Posts: 61
Netherlands
Hey guys, if you want to use a cheap solution for Hall Effect sensors, get a few of these A1302 Linear hall effect sensors from ebay, and a batch of rare earth magnets. It takes some DIY to mount them properly but these IC's give an analog value and act exactly like a normal 3-pin potentiometer (5v, GND, signal).

I'm using a few of these in my DIY joystick and rudder controller and it works like a charm.

Inline advert (2nd and 3rd post)

#4211057 - 12/29/15 02:02 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Rabso]  
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: Rabso

1. I need to use a magnetic angle sensors, in this topic I saw people using TLE5010/5011. does TLE5012 will works with MMjoy2?

TLE5010 TLE55011 only.

Originally Posted By: Rabso

2. regarding the TLE501x PCB, in your folder I saw the PCB .lay6 but when I opened the file I saw several layout design, is any once can be used? for example I like this simple one:


this design only prototype for T.Warthog (not tested).

Originally Posted By: Rabso

3. Last, does any one know about Sensors 2GO from Infineon? does this will work direct with the computer or how?

I dont know nothing about "2GO"...

#4211071 - 12/29/15 02:48 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Rabso]  
Joined: Nov 2001
Posts: 3,758
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,758
Internet
Originally Posted By: Rabso

2. regarding the TLE501x PCB, in your folder I saw the PCB .lay6 but when I opened the file I saw several layout design, is any once can be used? for example I like this simple one:
http://dc743.4shared.com/download/33R4BMVnce/TLE5010_PCB.jpg


In PCB what matter is the electrical connections, the "layout" or the design/form of the board can assume any practical form. Obvious short connections between components is more desirable than long. smile

Respecting this you can change the layout form/dimensions to fit in your project.

But the above layout don't show the components (resitor, capacitor) present in the electrical circuit - or they are in the other side of the board?


Last edited by Sokol1; 12/29/15 02:55 PM.
#4211074 - 12/29/15 03:01 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
Originally Posted By: Sokol1

But the above layout don't show the components (resitor, capacitor) present in the electrical circuit - or they are in the other side of the board?

Resistors possible to place on the controller side. Capacitor will be placed to the connectors (VCC/GND)...

#4212268 - 01/01/16 10:48 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2015
Posts: 108
AceofPengwins Offline
The Flying Penguin
AceofPengwins  Offline
The Flying Penguin
Member

Joined: Oct 2015
Posts: 108
Hmm, I'm having kind of a weird issue. I've connected a 10K potentiometer (actually i tried this with two different 10K pots, one rotary and one slide) to the arduino pro micro with mmjoy2 [v20151118] framework installed. I selected X axis and selected the correct pin, and when I spin the pot, the mmjoysetup displays the correct value (currently 8bits precision selected, so the value is 0-255). However, when i use direct input viewer or the windows joystick tool, the output shows as kind of shifted. If i have the pot near the center position, the value is either 0% or 100%. Moving "up" goes from 100% down to 51% at the extreme top, and moving "down" goes from 0% up to 50% at the extreme bottom. Obviously this behavior isn't very helpful, but I'm not sure what I'm doing wrong.

Does that make sense? Anyone encounter this before?


Heir to the honors associated with the Order Sphenisciformes
#4212539 - 01/02/16 07:33 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: AceofPengwins]  
Joined: Oct 2015
Posts: 4
sahem Offline
Junior Member
sahem  Offline
Junior Member

Joined: Oct 2015
Posts: 4
MINSK
I have seen something like that occasionally, but was not able to reproduce it reliably. Try to retrieve the setup from the controller, then check if it is correct, and write it to device once again. Let's see if this will make any difference

#4212556 - 01/02/16 08:29 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2015
Posts: 108
AceofPengwins Offline
The Flying Penguin
AceofPengwins  Offline
The Flying Penguin
Member

Joined: Oct 2015
Posts: 108
Thanks for reply. smile So, I tried that now and it still seems to be doing the same thing, i've also tried using different pins for the input. I uploaded a couple of pictures just to verify that i'm not setting it up weird or something (i haven't changed much of the default values).

this is the setup screen:



and this is the result of moving the potentiometer from the minimum value to the maximum value:


Heir to the honors associated with the Order Sphenisciformes
#4212785 - 01/03/16 05:24 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Aug 2014
Posts: 5
krysnic Offline
Junior Member
krysnic  Offline
Junior Member

Joined: Aug 2014
Posts: 5
Russia
Hello everyone, thats my throttle for WW2 aircrafts. Electronics from mega_mozg_13, mechanics from DVik.
Throttle dimensions 220x176mm. Throttle has:
- 6 digital axes TLE 5010
- 22 buttons
- 5 encoders
- 6 toggle switch
- 8 RGB led diodes(for warthunder)
it's not the finished version
More photos

#4214011 - 01/07/16 02:37 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2015
Posts: 108
AceofPengwins Offline
The Flying Penguin
AceofPengwins  Offline
The Flying Penguin
Member

Joined: Oct 2015
Posts: 108
Hmmm... yeah there is definitely something I'm not getting, i tried loading the firmware onto a teensy as well just to make sure it wasn't something about the pro micro and i get exactly the same behavior.


Heir to the honors associated with the Order Sphenisciformes
#4214916 - 01/09/16 08:55 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: AceofPengwins]  
Joined: Oct 2015
Posts: 4
sahem Offline
Junior Member
sahem  Offline
Junior Member

Joined: Oct 2015
Posts: 4
MINSK
Let's try basic troubleshooting:
1. Is your potentiometer connection correct?
2. Have you tried a different pot?
3. Have tried setting auto calibration on?

#4215211 - 01/10/16 09:21 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: AceofPengwins]  
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: AceofPengwins
Hmmm... yeah there is definitely something I'm not getting, i tried loading the firmware onto a teensy as well just to make sure it wasn't something about the pro micro and i get exactly the same behavior.

make photos of your crazy potentiometer.

#4215643 - 01/11/16 01:54 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2016
Posts: 4
Megapit Offline
Junior Member
Megapit  Offline
Junior Member

Joined: Jan 2016
Posts: 4
sorry for annoying with my first post

Is the source from this wonderful project still OpenSource? I didn't find an link. All old links are dead

greets Peter

#4215648 - 01/11/16 02:01 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,758
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,758
Internet
Links in first page are OK.
Click in "Download" for firmware.

#4215658 - 01/11/16 02:15 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2016
Posts: 4
Megapit Offline
Junior Member
Megapit  Offline
Junior Member

Joined: Jan 2016
Posts: 4
Maybe I have not expressed myself correctly frown
I'm looking for the firmware source code of the AtMega32U4.
Is this part of the project closed source?

#4215712 - 01/11/16 04:03 PM Re: MMJoy - 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
Megapit
it is free but no more "open source". if you want I can help with some parts of algorytm/code.

#4215732 - 01/11/16 04:54 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2016
Posts: 4
Megapit Offline
Junior Member
Megapit  Offline
Junior Member

Joined: Jan 2016
Posts: 4
OK! Thanks mega mozg for your answer.

Let me explain what i'm trying to do. Maybe its already in the code and i'm only to dumb to use it smile

I have a CH Figterstick and a CH Throttle. Both USB-Version. For Elite Dangerous i want to use a rudder pedal. But the CH rudder look ugly and uncomfortable to me. The two footrests are to close together. And it is also hard to find used and to expensive new. So i plan to build my own or maybe modify a cheap gameport version of any rudder from ebay.

But I want to link some controls of the rudder together with the stick in the CH-Control manger. With an Pro mini Atmega32U4 (i already had here) i tried to fake the CH-Manager by using the original VID and PID from the Ch Pedals.
But the CH Rudder use the name "CH PRO Rudder USB". This is two letters to much for the description in MMJoy. I thing you limit this description because of no free eeprom. Thats why i asked for the soure. If I had found it, i would hard code this section smile

But without source i throw away my plan by configure it completely in CH-Manager and do it with your software.
Or do you have an other Idea?

By the way: Fine Work!

Greets Peter

Last edited by Megapit; 01/11/16 04:56 PM.
#4216054 - 01/12/16 01:50 PM Re: MMJoy - 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
Megapit, wait for the next update and I give +5 symbols to device name.
Quote:
uint8_t usb_disc_dev_rep[15];

now is 15.

#4216095 - 01/12/16 03:36 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2016
Posts: 4
Megapit Offline
Junior Member
Megapit  Offline
Junior Member

Joined: Jan 2016
Posts: 4
kneeldown

Thanks!

#4216874 - 01/14/16 03:19 PM Re: MMJoy - 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
guys, is there somebody from the UK?

#4219242 - 01/20/16 06:40 AM Re: MMJoy - Build your own USB controller [Re: mega_mozg_13]  
Joined: Jan 2016
Posts: 5
Marrond Offline
Junior Member
Marrond  Offline
Junior Member

Joined: Jan 2016
Posts: 5
Is there any chance you will port MMJoy to work with Cortex M4? (Teensy 3.2 board).

Originally Posted By: mega_mozg_13
guys, is there somebody from the UK?


I'm currently residing in the UK, Shropshire, what's the matter?


Originally Posted By: krysnic
Hello everyone, thats my throttle for WW2 aircrafts. Electronics from mega_mozg_13, mechanics from DVik.
Throttle dimensions 220x176mm. Throttle has:
- 6 digital axes TLE 5010
- 22 buttons
- 5 encoders
- 6 toggle switch
- 8 RGB led diodes(for warthunder)
it's not the finished version

Looks like something that should be sold commercially as a standalone device (maybe VKB will wake up and expand their offer with something similar to pair with their upcomming Gunfighter stick). Excellent work. May I ask what do you mean when you wrote "mechanics from DVik"? I tried to google it but nothing making sense comes up.

I'm trying to figure out my own throttle device at the moment but FreeCAD isn't as intuitive as I would like to wink

Last edited by Marrond; 01/20/16 06:51 AM.
Page 31 of 104 1 2 29 30 31 32 33 103 104

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

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


Recent Topics
Mount and Blade II Bannerlord
by Rick_Rawlings. 03/30/20 09:27 PM
11 th day on lockdown
by carrick58. 03/30/20 12:26 AM
Drug combo working. Covid. Dr Zelenko NYC hospital.
by TerribleTwo. 03/29/20 12:27 PM
HILARIOUS videos found on YouTube.
by NoFlyBoy. 03/28/20 09:59 PM
Stuka!
by RedToo. 03/28/20 04:56 PM
social distancing
by KraziKanuK. 03/27/20 07:30 PM
How to correctly wash your hands properly.
by NoFlyBoy. 03/25/20 12:58 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0