Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 35 of 112 1 2 33 34 35 36 37 111 112
#4245648 - 04/02/16 02:48 AM Re: MMJoy - 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
..."but the button is like always press."

This behavior is common to all press buttons, stay ON until release the button - or axis in case.

For example using a joy HAT (that is 4 micro switches), if you move the HAT for left the left corner button is ON until release the HAT.

Inline advert (2nd and 3rd post)

#4246762 - 04/05/16 03:43 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
big throttle, first steps:




#4246893 - 04/05/16 08:35 PM Re: MMJoy - Build your own USB controller [Re: ]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted By: Troll

The Teensy 2.0 and the ++2.0 have different chips..! When I choose the AT90USB1286 for firmware and chip, everything worked! Still never got a COM port, or entered one... Not needed for Teensy..?


If I remember correctly is not need install COM port for Teensy, as is need for PRO Micro.

But you could write the firmware?

BTW - My Teensy 2.0 has ATMEGA32U4 mc, see in the picture (in il-2). smile







#4247002 - 04/06/16 06:00 AM 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
Troll
you are need a "Teensy Loader Application" from here https://www.pjrc.com/teensy/index.html

#4247616 - 04/07/16 05:45 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: ]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted By: Troll

Now I have to figure out how to connect the encoders to my fantastic PCB, which is designed only for switches... duh


Maybe:


how do you print screen

#4247647 - 04/07/16 06: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
I don't know what is Row and Columns in your PCB, but if are like in the above sketch the encoder are connected to two different Columns.
In this positions reserved for encoder place thee diode inverted, pointed to encoder pins.

Or use a wire bridge (bold black line) and solder diodes in encoder pins with strip pointed for pins (as drawn).

1 Row is common for both encoder connections, and can be common for other encoders.

#4248288 - 04/09/16 11:00 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Nov 2011
Posts: 5
UKPete Offline
Junior Member
UKPete  Offline
Junior Member

Joined: Nov 2011
Posts: 5
Bucks
Hi Everyone.
And a big thanks to Mega_Mozg for making MMJOY it's brilliant!!
But i could do with some help, I have gone through the all the 72 pages of posts a few times and have the Images of the Pro Microboard people have posted but don't understand where to connect the TEL5011 to the Pro Micro board, I have got buttons and Potentiometers to work ok but need some help with what goes where with the Hall sensor.
Here is an image of the PCB I had made and soldered up (the PCB was made by http://www.seeedstudio.com £6 for 10!).
Any help would be much appreciated.
Pete.


#4248326 - 04/09/16 02:04 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: ]  
Joined: Nov 2011
Posts: 5
UKPete Offline
Junior Member
UKPete  Offline
Junior Member

Joined: Nov 2011
Posts: 5
Bucks
Hi Troll. PERFECT!!
Thanks so much for taking the time to reply It Works!
I can't believe i made something that works Haha I owe you a drink!
I moved the MISO (DAT) and SCK and set the MMJOY2 to use D4 and BINGO!! :-)
I don't know what MISO, MOSI or SPI mean which was my problem probably.
May I ask one more question regarding adding another sensor for the Y AXIS.
GND and VCC(5v) is ok I understand this.
B6 Shared for all TLE5010/11 Sensors so I understand.
CS goes to go to D7 for example (with D4 for the X axis)
B3 share with X axis?
B1 share with X axis also?.

Thanks in advance.
Pete.

#4248331 - 04/09/16 02:37 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: ]  
Joined: Nov 2011
Posts: 5
UKPete Offline
Junior Member
UKPete  Offline
Junior Member

Joined: Nov 2011
Posts: 5
Bucks
Thanks Troll.
I will make another one PCB up and try.
I have to mount the one I have done now as i'm only waving a Diametricall magnet in front of the sensor by hand.
I will let you know if it works.
Thanks once again!.

Pete.

#4248637 - 04/11/16 05:01 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: UKPete]  
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: UKPete



WOW, Peter this is greatest egoism level?(nothing about Infenion TLE5010 and MMJOY project)
also TLE5010/TLE5011 is not "hall" sensor, read about "Giant Magneto Resistance"...

#4248665 - 04/11/16 10:07 AM 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 do you have schematics for 4021 shift registers?

#4248669 - 04/11/16 10:42 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 do you have schematics for 4021 shift registers?

No, I use "74HC165".

#4248696 - 04/11/16 12:31 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
Hi i donwload the last version of mmjoy2. In "axis assignment" there is no throttle, rudder, etc. I understand that rotary axis (rX, rY or RZ) cant be used like thats. true?

And when use a simple pot. dont work fine. star in the middle and when up. fill the level bar and back to the start and fill to the middle.

Thanks

#4248796 - 04/11/16 05:05 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Aug 2015
Posts: 68
Debolestis Offline
Junior Member
Debolestis  Offline
Junior Member

Joined: Aug 2015
Posts: 68
Croatia
Originally Posted By: mega_mozg_13
Originally Posted By: Debolestis
Mega_mozg do you have schematics for 4021 shift registers?

No, I use "74HC165".


Ok, do you have schematics for 74hc165? If you have can you please post it?

Thank you!

#4249486 - 04/13/16 06:14 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Nov 2011
Posts: 5
UKPete Offline
Junior Member
UKPete  Offline
Junior Member

Joined: Nov 2011
Posts: 5
Bucks
Sorry Mega_Mozg_13!
On the next board i will put credits to you and MMJOY2 on the PCB etc sorry if anyone took offence that it's not there!.
I was in a hurried excited state on making this! It's not egoism I was watching a youtube tutorial on how to design a pcb and just followed this guy who put his name and revision number on his pcb and thought that was a good idea!
I would share the drawing for the board board design if anyone wants it? (needs some work to make it better)

Pete.

#4249542 - 04/13/16 10:45 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
UKPete

You can eliminate the resistors R1 to R4 in TLE5010/11 PCB, see there:

http://SimHQ.com/forum/ubbthreads.php/topics/4239992/Re:_MMJoy/MMjoy2_-_Build_your_#Post4239992

For conveniente leave R5, if not make a support board for MMjoy.

#4249627 - 04/14/16 12:48 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Hey guys,
I've been reading for a couple of hours this post and haven't seen anything like a list of components needed.

Would any of you be able to put a full list of components of what you need to for example create a 6 axis (yaw, pitch, roll, throttle, mix, propeller pitch) and then something like 32 buttons.

At the moment I have the following list:

-Arduino Micro

-Breadboards for prototype
-Cables for prototype

-32 switches
-Shift Register IC 74HC165 How many?

-6 Hall sensors (What type)
-6 External ADC MCP3208 One for each axis?


Last edited by buccaneer89; 04/14/16 01:32 PM.
#4249637 - 04/14/16 01:26 PM Re: MMJoy - 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
You can eliminate diodes if workng with shift registers. Diodes are only for button matrix. What exactly are you making, any drawings? What sort of mechanism?

I am working on shift register PCB, I'll upload it on OSH park where you can make pro PCB cheaply. You need a sensor for each axis, hall or potentiometer or similar.

#4249638 - 04/14/16 01:34 PM Re: MMJoy - Build your own USB controller [Re: Debolestis]  
Joined: Apr 2016
Posts: 18
buccaneer89 Offline
Junior Member
buccaneer89  Offline
Junior Member

Joined: Apr 2016
Posts: 18
Originally Posted By: Debolestis
You can eliminate diodes if workng with shift registers. Diodes are only for button matrix. What exactly are you making, any drawings? What sort of mechanism?

I am working on shift register PCB, I'll upload it on OSH park where you can make pro PCB cheaply. You need a sensor for each axis, hall or potentiometer or similar.


Thanks.

Well, I am thinking of doing a full joystick setup.
The column stick, rudder, engine controls and then a pletora of buttons and switches for a WW2 plane. Therefore nothing extra fancy is needed.

I have found that Allegro A1302 can be used for the Joystick Axis.

#4249653 - 04/14/16 02:19 PM Re: MMJoy - Build your own USB controller [Re: buccaneer89]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted By: buccaneer89

-Breadboards for prototype
-Cables for prototype


Use this only for test, for final assembly make a PCB - order online or DIY.

Quote:

-32 switches
-Shift Register IC 74HC165 How many?


Each 74HC165 handle 8 buttons, so you need four (no limit in numbers).

Quote:

-6 Hall sensors (What type)


Honeywell SS495A-1 or Allegro A1324, they are more sensitive.

A1302 work but require almost 180 degrees of magnet turn, what will limit the axis resolution.
Movement in joystick gimbal is tipycally 20~25 degrees.

But instead HALL use Magneto Resistor sensor TLE5011, more easy to setup.

Quote:

-6 External ADC MCP3208 One for each axis?


You need MCP3208 (12 bits) for axis that plan use above 10 bits - ATMEGA32u4 native ADC resolution - typically for X, Y, rudder axes. IMO - Are much hype about need of big resolutions, although this help to deal with axis movement limitation, e.g. use 14 bits for reach practical 10/12 bits.

Each MCP3208 has 8 inputs. So one fill you needs.

If use TLE5010/11 MPC3208 is not need, this sensor has internal (14 bits) ADC.





Page 35 of 112 1 2 33 34 35 36 37 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
Roy Cross is 100 Years Old
by F4UDash4. 04/23/24 11:22 AM
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0