Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 106 of 112 1 2 104 105 106 107 108 111 112
#4545135 - 11/16/20 02:12 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
The digital mode, instead analog, make the signal less subject to external noise.

For plug more than one TLE501x in Arduino, share the connections, except for CS wire, for example, for plug three use pins F4, F5, F6.

Inline advert (2nd and 3rd post)

#4545144 - 11/16/20 03:10 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
HI Sokol1,

how about changing already working mmjoy joystick from allegro1324 to TLE5010?
can I feel the improvement of the joystick response?

do you have the scheme of the TLE5010 pcb?

#4545200 - 11/16/20 10:39 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
I don't think that will notice any difference in practice.

If are working OK with A1324, remember the old "if' ain't broke, don't fix it". wink

Inside last MMjoy2 package are files (Sprint Layout) for make PCB for TLE50'x.

As well in OHSPARK PCB service, draw by Rel4y (CH/Thrustmaster upgrades in DCS Forum).

https://oshpark.com/profiles/rel4y

#4545229 - 11/17/20 07:41 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464

thanks Sokol1 for the pcb.
there are 3 version: ver. B, ver. C and v2.
they look the same, what are the differences?


My only complaint with A1324 is the one I put it inside CH Pro Throttle,
when I do air refueling in BMS, I can not make small enough adjustment to the throttle axis.
when I move the throttle, even as liitle movement as I possibly can, the result is always too much.

it might be because of the design of the CH Throttle, I do not know.
but if I use TM Warthog Throttle, the air refueling became very easy to do.

Do you some idea how to fix this?

#4545235 - 11/17/20 01:31 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2020
Posts: 2
KiLLingWiThCaRe Offline
Junior Member
KiLLingWiThCaRe  Offline
Junior Member

Joined: Nov 2020
Posts: 2
I would like to have some confirmation on whether this is how the 74HC165N is suppose to be setup from what I've seen from other post there were some conflicting images, not sure if the 100nF cap from VCC to EN is correct with the EN then going to ground.
[Linked Image]

Last edited by KiLLingWiThCaRe; 11/17/20 01:32 PM.
#4545257 - 11/17/20 04:40 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: tirta]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted by tirta

thanks Sokol1 for the pcb.
there are 3 version: ver. B, ver. C and v2.
they look the same, what are the differences?


As I see just diferences in size and connector type. The circuit is the same.

Quote

My only complaint with A1324 is the one I put it inside CH Pro Throttle,
when I do air refueling in BMS, I can not make small enough adjustment to the throttle axis.
when I move the throttle, even as liitle movement as I possibly can, the result is always too much.

it might be because of the design of the CH Throttle, I do not know.


Contacless sensor require a precise mechanism for turn the magnets, why "high end" joysticks use bearings in pivots.
The plastic "drawer" moving a lever of CH throttle has lot of play, is OK for potentiometer.

See this sliding mechanism for throttle made by GVL224, using their "MagREZ" (KMZ-41) sensors, similar to TLE5010.

https://youtu.be/NTKKthmQgBM

@ KiLLingWiThCaRe

No clue about this electric scheme drawing... Why just don't use a PCB layout for 74HC165 included in MMjoy2 package, already tested by someone?

#4545278 - 11/17/20 06:42 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2020
Posts: 2
KiLLingWiThCaRe Offline
Junior Member
KiLLingWiThCaRe  Offline
Junior Member

Joined: Nov 2020
Posts: 2
Okay what I'm asking is if this design is correct
[Linked Image]


Like when I have everything wired up using this design all my buttons are tied high from start and nothing works when buttons are pressed.

All of my buttons, switches, & encoders receive 5Vs on one leg then go to my bank of resistors to ground instead of having my resistors tied to high like in that picture.

NVM I fixed it, my miso pin for some reason didn't like having 2 different controlled shift regs send data to it, set 1 set to 1 digital input and the other to another digital input, all seems well now. But my encoders are acting wonky and my linear slide pots that are tied to the adc inputs are acting terrible. On top of all this I can't even set my buttons beyond 32 and when I try to click on the H/W button area it sets it to 56 for all of them no matter what I try to enter.

[Linked Image]

Last edited by KiLLingWiThCaRe; 11/18/20 06:27 PM.
#4545289 - 11/17/20 08:05 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
thanks Sokol1 for the reply.

with TLE5010, I am not very clear where to place the magnet and how big the magnet should be.
do you have some pictures?

https://youtu.be/NTKKthmQgBM
this mechanism looks awesome, too bad it looks rather complicated and there is no instructions.

do you know other easier diy throttle? maybe 3d printed?

#4545324 - 11/18/20 04:41 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
3D printed I don't see any good project, at least with shared files.

But this in il2sturmovik.ru seems practical (no files available), grips 3D print, mechanism base in metal. Forum require login (same of English forum).

[Linked Image]

Somewhat based on Su-55 throttle.


Magnets for TLE501x is like for Hall sensor, put in front the sensor, turning in gimbal X, Y axis.
See a ring magnet in this picture, can use disk, square, but ring diametrically magnetized is considered "best" (Electronics for above throttle)

[Linked Image]

EDIT - Seems the above throttle use this Olukelo drawings, modified for dual throttle: https://github.com/o-devices/throttle-quadrant

Topic in il2sturmovik.ru

BTW - Olukelo 3D printer CAM gimbal: https://github.com/o-devices/o-joystick-hdk






Last edited by Sokol1; 11/18/20 12:51 PM.
#4545428 - 11/19/20 05:15 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
thanks Sokol1 for the links and pictures.

so I use TLE5010, I can position the magnet as near as possible to it?

iirc when I use Allegro 1302, I have to seach for optimal sensor position first, so I get the best reading from the sensor.


btw, what is the difference between allegro 1302 and 1324?

#4545489 - 11/19/20 04:50 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Tirta,

Back in this topic are several examples of TLE501x use, but look at this TQ made by Airwolfmutley, included DIY PCB (Toner method I think)for the TLE501x, and pictures show well the magnet (he use square magnets) placement relative to TLE501x PCB.

https://SimHQ.com/forum/ubbthreads.php/topics/4507586/diy-tqs

For our DIY use, 1324 mas more sensitivity than 1302, what theoretically make more easy "tune" the magnet position.





#4545517 - 11/19/20 08:14 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
thanks Sokol1 for all the replies.

how about A1324 with SS495?
which one is better?

#4545538 - 11/20/20 12:40 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
I think are similar, if you loot at datasheet, mGV (sensitivity) is similar.

Thing is that both are old.

No much reason for get one, if can get TLE501x or AMS like AS5600, that allow you program the "effective electric angle" without expensive hardware, and don't require the junglery for place magnets of plain Hall sensor.

#4545604 - 11/20/20 03:51 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
I have done searching local market, there is no TLE5010, if I want , I have to order from China.

[Linked Image]
[Linked Image]
[Linked Image]

these are hall sensors that I can find now.
The name are somewhat different: 3144, 49E252 and 49E8228G
Are these suitable for HOTAS axis?

or better get TLE5010 from China?

#4545605 - 11/20/20 03:53 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
Sokol1,

how do you program "effective electric angle" ?

#4545609 - 11/20/20 04:22 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
For AS5600 angle programming see this topic:

https://forum.il2sturmovik.com/topi...oject/?do=findComment&comment=887604



In il2sturmovik.ru some guys use (SEC) 49E Hall sensor, is linear type.
Datasheet: https://cdn.instructables.com/ORIG/FHV/BQO4/JVR5YV9R/FHVBQO4JVR5YV9R.pdf

But if you can, get TLE5010 or 11 (newer version).

#4545682 - 11/21/20 06:18 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
Hi Sokol1,

I find this page:
https://forum.il2sturmovik.com/topi...ject/page/2/?tab=comments#comment-887604
very interesting.

with as5600, the sensor voltage reading can be programmed to match the joystick gimbal working angle , so that we get the max : 0 to 5V.

can you program TLE5010 too?

#4545789 - 11/23/20 04:03 AM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
No, TLE5010/11 is not programmable. If I don't mistake, their 14 bits resolution is achieved in 180º, so in practice will use less as games controls don't move that much angle.

KMZ-41 used in be GVL224, Rel4y, VKB (not sure, but thin in Komaroff sensor) can have their reading angle more or less pre-set for a given angle through resistor values in PCB.
Need use an additional amplifier m/c in PCB:

[Linked Image]

Are other models of programmable sensors, like Melexis MLX90333, specific develop for joystick use (is used in T.16000M, Warthog, X-56) but require a thousand dollar programmer hardware for change their parameters.






#4545817 - 11/23/20 04:02 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
Hi Sokol1,

AS600 is 12bit, but the angle can be set so that we get the max output: 0 to 5v.
TLE5010 is 14 bit, but angle can not be set, so we get less output.

so which one is better between these two?

#4545829 - 11/23/20 04:53 PM Re: MMJoy/MMjoy2 - Set your own USB controller with a cheap Arduino [Re: Sokol1]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
AS5600, just because you can set all 12 bits (4096 points) resolution in the gimbal or throttle/rudder movement.

If TLE5010 give 14 bits - 16.384 points, but in 180º, in 40º this will be reduced for 3.640 points.

BTW - In both case all this points represent move than what your hands, foots can control, so don't make this detail the biggest decision factor.

Page 106 of 112 1 2 104 105 106 107 108 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