Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 24 of 112 1 2 22 23 24 25 26 111 112
#4171484 - 09/21/15 01:39 PM Re: MMJoy/MMjoy2 - Build your own USB controller ***** [Re: mega_mozg_13]  
Joined: Sep 2015
Posts: 7
Bromius Offline
Junior Member
Bromius  Offline
Junior Member

Joined: Sep 2015
Posts: 7
Michigan
Originally Posted By: mega_mozg_13
no. nunchuck link with Bluetooth to PC...


The Wii Remote connects to PC via bluetooth. But the Nunchuck is an accessory that connects to the Wii Remote and communicates with it using I2C.



couple places make a breakout board for the connector but the Nunchuck sells for like $10 so getting one to cut the cord open is no big thing either. It's only 4 wired to deal with anyway; Voltage, Ground, SCL, and SDA.

I think it would make a nice supplemental thruster control for Elite: Dangerous for landing or whatever, or a dedicated map control. I'm pretty sure I can use an old arduino pro mini or an ATtiny chip if I can get it to talk SPI to MMjoy and I2C to nunchuck at same time.

Couple projects along this line...


Inline advert (2nd and 3rd post)

#4173425 - 09/25/15 08:44 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 4
loopingz Offline
Junior Member
loopingz  Offline
Junior Member

Joined: Sep 2015
Posts: 4
Hi there,

The other day, I did some experiments with MMJoy2 20150727 and a Arduino Leonardo (from Itead). After a while I was able to understand and test a 2x2 matrix using directly some 1n4148.
Today I wanted to go further and I am back some steps.
I can see the stuff from MMjoy. I can load the programmed set. I can save the programmed set. Sometimes I have a error message like that: mmjoy error write config_hid.[A device attached to the system is not functionning]
Sometimes I dont have it.
My matrix is
D4 D1
D2 D3
Button 1 2 3 4 declared as ----
After the restart if for exemple by 1N4148 is between D4 and D2 (Arduino D4 -|<|- Arduino D0), then 1 is red in MMjoy, anyway it is not red as a button input and not blanked when I unplug it.
I dont see any refresh like if it was crashing on first state at boot.


What I am doing wrong? How can I troubleshoot that?
Thanks.

Edit: reboot windows and work go figure.

Last edited by loopingz; 09/25/15 09:14 PM.
#4173598 - 09/26/15 09:39 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
loopingz
maybe mistake - "D4" "D1" "D2" "D3" are you read from arduino pcb? - this is wrong. mmjoy use native ATMEL port names, look for "Pins_Arduino[leonardo]" from "pictures" subfolder.

#4173607 - 09/26/15 11:07 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 4
loopingz Offline
Junior Member
loopingz  Offline
Junior Member

Joined: Sep 2015
Posts: 4
Hey mega_mozg_13,

Thanks for taking the time to answer.
Anyway the reboot solved my issue. I was trying previously to do revive a pro micro and I guess I kind of crashed the arduino driver.
Yes I know the correspondance between arduino pins and MMjoy/atmel pins. I took me a while on the first day. Maybe you should use these picture directly in the Mmjoy soft or being able to see both arduino and atmel in the soft.

One other thing I was thinking about is about having some analog as multiple switch with no ghosting. I understand that there is already more switch than most will need but I was thinking about something like that:

Which would be no ghosting for sure 4 switch easy more is possible but then you need to check with the adc resolution and the noise.
It might work better than the classic:

Maybe it is already there and I missed it.
Let me know your thoughts.

Last edited by loopingz; 09/26/15 11:09 AM.
#4174237 - 09/28/15 05:53 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Czary]  
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: Czary
Now I have freezeing axis problem again- I need to restart the device in MMjoy2 to work.

Hi, update "MMJOY2 [v20150928]". check, and tell me is freezeing is solved?

#4174845 - 09/29/15 12:44 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 7
Bosk666 Offline
Junior Member
Bosk666  Offline
Junior Member

Joined: Sep 2015
Posts: 7
Hi,

MMJOY2[v20150928] : there is no freezing right now. i am using 3 internal inputs a1302 hall sensor.

Jens

#4174947 - 09/29/15 04:30 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
Bosk,

What filter value you are using in axes for A1302 HALL?

#4174975 - 09/29/15 05:08 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 7
Bosk666 Offline
Junior Member
Bosk666  Offline
Junior Member

Joined: Sep 2015
Posts: 7
Hi Sokol1
i use 10 bit and filter value 2.

Without a filter the values were jumping around.

i use the controller with diy pedals for car racing.

#4175550 - 09/30/15 08:12 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
Is it possible to add more buttons in "mouse and keyboard" emulation. Now it is possible to add 15 emulated buttons. Can this be 24? Shift registers from thrustmaster sticks support up to 24.

Thank you!

Last edited by Debolestis; 09/30/15 08:14 PM.
#4175726 - 10/01/15 06:17 AM Re: MMJoy - 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

Is it possible to add more buttons in "mouse and keyboard" emulation. Now it is possible to add 15 emulated buttons. Can this be 24?

no. not enough free space for saving configuration at eeprom.

Last edited by mega_mozg_13; 10/01/15 06:19 AM.
#4177234 - 10/04/15 01:00 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 1
Cory Offline
Junior Member
Cory  Offline
Junior Member

Joined: Sep 2015
Posts: 1
Does anyone know the best way to find pin-numbers with cloned boards? I have a Pololu A-Star 32U Mini RV and so far I have figured out the MMJoy labelling for the analogue inputs. However I am trying to set up a 4x4 push button matrix and it's a little harder to do it by trial and error. Is there an easy way of testing pins without saving and restarting the device?

Here's the diagram for the board, I have had some success using the labelling of the Arduino mini as reference but not for the matrix.



Currently my matrix is hooked up as follows:

Rows are on 0,1,2,3 and columns are pins 4,5,6,7.

Any help would be greatly appreciated, I'll be trawling the thread here and looking about for more info in the mean time.

Cheers,

Cory.

Edit: Decided not to be lazy and look at the schematics myself, will dig them out now.

Edit 2: Didn't need the ATmega32U4 schematics as the pin-out schematics are accurate, I just haven't had my breakfast.

Last edited by Cory; 10/04/15 02:16 PM.
#4177378 - 10/04/15 11:12 PM Re: MMJoy - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 7
Bromius Offline
Junior Member
Bromius  Offline
Junior Member

Joined: Sep 2015
Posts: 7
Michigan
Seems like you found it out but there's a lot of info on that diagram you can just throw away. Like a story problem in math class that gives you a whole lot of info you don't need to find out when those damn trains will hit the kid playing on the tracks or whatever...

Just look at the Arduino analog and digital pin numbers and go from there.

#4177465 - 10/05/15 04:46 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
Cory

just sample 3 axis + 3*3=9 buttons

#4177712 - 10/05/15 05:56 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Bosk666]  
Joined: Nov 2001
Posts: 3,955
Sokol1 Offline
Senior Member
Sokol1  Offline
Senior Member

Joined: Nov 2001
Posts: 3,955
Internet
Originally Posted By: Bosk666
Hi Sokol1
i use 10 bit and filter value 2.

Without a filter the values were jumping around.


I ask because I have problem with Honeyweel SS495A1 (3.125mVg), only with 10x filter they flotation in readings are reduced to tens numbers.

By "accident" (broken one sensor leg...) I replace then with Allegro A1302 and this became stable with only 2x filter, only reveled a little more trick to set the magnet, is need place the magnet more close to sensor possible. The result is very good. smile

#4180016 - 10/10/15 11:54 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Oct 2015
Posts: 1
Coluck Offline
Junior Member
Coluck  Offline
Junior Member

Joined: Oct 2015
Posts: 1
hi everyone,
I'm new to this website have an hi electronic background and want to start some personal project for controllers for star citizen and got a couple of questions because i find this tread very interesting and that a lot of job that i want to be done is mostly covered here.

i look MMjoy2 and was asking myself how many different device work with it because i think my setup will need at least 2 or 3 device if working.

i'm thinking using xbox 360 joystick as controller and want to know if any of you have use some so i know if there a bad side to them?

i was thinking of using arduino leonardo before seen they where not any more produce by them and want to know if you think supporting the zero or the due anytime?

and the last onne do your interface accept toggle switch?

those are my question atm i just start my project atm i'm at the first phase of dev. and prefer know a bit more of past experience before starting to buy my gear.


already done micro controller programming and pcb conception so i know where i'm going but don't know you coding and windows interfacing so could be nice to have some light on it.

Thanks
Coluck

Last edited by Coluck; 10/10/15 11:57 PM.
#4180106 - 10/11/15 06:31 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Coluck]  
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: Coluck

i look MMjoy2 and was asking myself how many different device work with it because i think my setup will need at least 2 or 3 device if working.

mmjoy accept to setup any VID/PID, so you can connect different devices as you wish.
(0000 0000 / FFFF FFFF - 4294967295)

Originally Posted By: Coluck

and the last onne do your interface accept toggle switch?

accept, and more - all of buttons can be as toggle switch.

other questions do not relate to MMjoy2...

Last edited by mega_mozg_13; 10/11/15 06:46 AM.
#4180898 - 10/13/15 06:26 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Sep 2015
Posts: 7
Bosk666 Offline
Junior Member
Bosk666  Offline
Junior Member

Joined: Sep 2015
Posts: 7
HI,

is there a way to connect the hx711 loadcell amp modul ? https://github.com/sparkfun/HX711-Load-Cell-Amplifier

loadcells are often used for pedals eg brake

thanks

bosk

#4181116 - 10/13/15 05:14 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: mega_mozg_13]  
Joined: Aug 2002
Posts: 46
Czary Offline
Junior Member
Czary  Offline
Junior Member

Joined: Aug 2002
Posts: 46
Lodz, PL
Originally Posted By: mega_mozg_13
Originally Posted By: Czary
Now I have freezeing axis problem again- I need to restart the device in MMjoy2 to work.

Hi, update "MMJOY2 [v20150928]". check, and tell me is freezeing is solved?


New version tested for last couple of days - no freezing axis found. Thank you again, mega_mozg_13. Best regards !

#4181402 - 10/14/15 06:08 AM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Bosk666]  
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: Bosk666
HI,
is there a way to connect the hx711 loadcell amp modul ? https://github.com/sparkfun/HX711-Load-Cell-Amplifier
loadcells are often used for pedals eg brake

If you send to me samples, I try to add support...

#4183023 - 10/18/15 01:10 PM Re: MMJoy/MMjoy2 - Build your own USB controller [Re: Sokol1]  
Joined: Jan 2015
Posts: 5
Jokeri Offline
Junior Member
Jokeri  Offline
Junior Member

Joined: Jan 2015
Posts: 5
Hello!

Has someone got this working as wireless HID game controller?

Page 24 of 112 1 2 22 23 24 25 26 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
Actors portraying British Prime Ministers
by Tarnsman. 04/24/24 01:11 AM
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
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0