Previous Thread
Next Thread
Print Thread
Rating: 5
Hop To
Page 6 of 112 1 2 4 5 6 7 8 111 112
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
tirta
you eat my brain.

"mmjoy2" by default no axis and no buttons, no any fixed presets.
just setup as you like as you need.
1) open "Pins_Sparkfun[promicro].PNG" and you see a pins names(F4/D3/B6) and possible pins fuctions(AI/AE/BM).
2) think what you want, make decision, set X pins to axis, Y pins to button raw and Z pins to button column.
3) solder / setup and enjoy.

Inline advert (2nd and 3rd post)

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274





Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
hi mega_mozg,

thanks for the explanation. biggrin

sorry I do not understand what you mean by "you eat my brain".

Quote:
set "USB Poll" to "1" = 1000 Hz
2=500
4=250
and 8=125 (OS Windows limit for old mjoy8 / mjoy16).


so if i use 8 axis with 42 buttons,
do I get faster response using mmjoy2 compared to the old mjoy16?

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
Tirta, x4 faster at minimum.

Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
thanks mega_mozg,

the reason I ask for the sparkfun pro micro is the one I get from ebay:
http://www.ebay.com/itm/New-Pro-Micro-AT...i-/140972980117

does not have "sparkfun" in it.

so since I know almost nothing about electronics,
I wonder if it is the same product or not.

I have googled this, and find out that sparkfun is a brand name.
And the one from ebay is a chinese clone.

so I guess it is the same, but I am not very sure about it.

Joined: Oct 2014
Posts: 15
T
Junior Member
Offline
Junior Member
T
Joined: Oct 2014
Posts: 15
Hello.

@Mega mozg

I know its possible to use pro micros 5v to power up mcp 3208 however in your original pro micro and extension board you have used external 12v power supply converted to 5v to power up both mcp 3208.

My knowledge of electronics is limited and i can only guess why did you do that way.
Am i correct guessing that the only reason to use external power supply (stable 5v) to mcp3208 is to get highest sampling rate from the chip.

Thanks

@tirta

i am using 'ebay' pro micro and it works just fine, just make sure its pro micro and not any 'other'micro

Last edited by triggahappy; 10/20/14 09:26 AM.
Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
Quote:

is there any difference between sparkfun pro micro and arduino pro micro?


Originally Posted By: tirta
thanks mega_mozg,

the reason I ask for the sparkfun pro micro is the one I get from ebay:
http://www.ebay.com/itm/New-Pro-Micro-AT...i-/140972980117

does not have "sparkfun" in it.

so since I know almost nothing about electronics,
I wonder if it is the same product or not.

I have googled this, and find out that sparkfun is a brand name.
And the one from ebay is a chinese clone.

so I guess it is the same, but I am not very sure about it.



Tirta,

This one you buy in Ebay is Chinese no brand clone of PRO-Micro (Sparkfun is only manufacturer) - work in the same way (if work... like all cheap China goods smile ).

Is advisable buy the in pairs... just in case. hahaha

Sokol1




Last edited by Sokol1; 10/20/14 05:35 PM.
Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
hi triggahappy & sokol1,

thanks for clarifying about pro micro.
now I am going to order it biggrin

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
Originally Posted By: triggahappy

Am i correct guessing that the only reason to use external power supply (stable 5v) to mcp3208 is to get highest sampling rate from the chip.

Yes it is for stable 5v.

Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
Hi mega_mozg,

after studying and looking at your pictures and explanations, then comparing the prices at ebay:
http://www.ebay.com/itm/Leonardo-R3-Pro-...=item2ececa28e3

it seems that using arduino leonardo is better for only 6 axis & 42 buttons.

it has total 23 pins, 11 internal axis.
if I use only 6 axis, there are 17 pins left for button matrix.
so 17 is more than enough, for 42 buttons I only need 13 pins.
13 = 6+7
6 colums x 7 rows = 42 buttons.

so there is no need to add mcp3208.

is this correct?

Joined: Oct 2014
Posts: 15
T
Junior Member
Offline
Junior Member
T
Joined: Oct 2014
Posts: 15
Thanks mega_mozg

@tirta

As long as you have enough pins that long one device will do the job and you wont have to use mcp3208

I think the reason to use mcp3208 in general is not only to extend the number of axis but also to use 12bit adc instead of built in 10 bit adc.

As far as i am aware pro micro offers 10 bit internal adc (axis sensor) which offers resolution of 1024 and mcp3208 is a 12 bit adc with resolution of 4095.

Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
thanks triggahappy.

what is the advantage using 12bit?
is it more accurate?
can you feel it when playing the game?

Joined: Oct 2014
Posts: 15
T
Junior Member
Offline
Junior Member
T
Joined: Oct 2014
Posts: 15
@tirta

That's the thing.... i don't know:P
It's only my assumption that with higher resolution you should get more precise response.
And i expect to see results while playing game.

I am rebuilding logitech extreme 3d pro with hall sensors and belkin n52te as a throttle control with additional second pov and 2 additional axis. i need around 40 buttons and 6 axis. one way or another i need mcp3208.

I was hoping mega_mozg would shed some light on how 12bit compares to 10bit.

Since we are on the subject it would be good to know if there is significant difference in mcp3208 performance while using 4.5v instead of full 5v

Cheers

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
Other (theoretical) advantage is that communication between MCP3208 and the controller board is in Digital mode (binary code) instead Analog (voltage variation), what means axis less subject to external interferences (electrical/magnetic noise).

https://code.google.com/p/mmjoy/wiki/ExtenralADC

Sokol1

Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
MMJOY2 [v20141021]
'Shift registers' now posible connecting "Defender Comba m5" and "Thrustmaster Warthog/Cougar" grips using native 5 wire connector.

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
Quote:
and "Thrustmaster Warthog/Cougar" grips using native 5 wire connector.


That's reminder-me that I have a old Tm F22PRO somewhere ... smile

Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
hi mega_mozg,

what is the advantage using 12bit (mcp3208)?
is it more accurate compared to 10bit?
can you feel it when playing the game?

Joined: Nov 2001
Posts: 3,957
S
Sokol1 Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: Nov 2001
Posts: 3,957
Tirta,

My 0,02$

Probable you don't feel difference in practice, because this will be masked by joystick gimbal imperfections.

A good read about this matter (sensors) is what Milan and Slaw post in the "Battle of pedals".

http://simhq.com/forum/ubbthreads.php/topics/3977757/Slaw_VS._Milan_the_battle_of_t#Post3977757

Sokol1


Last edited by Sokol1; 10/23/14 07:13 PM.
Joined: Jan 2010
Posts: 464
T
Member
Offline
Member
T
Joined: Jan 2010
Posts: 464
Hi Sokol1,

Thanks for the link.

it seems what those guys say is mostly true,
so there is no need to use 12bit or adding mcp3208 for my purpose.

Last edited by tirta; 10/24/14 03:03 PM.
Joined: Jan 2014
Posts: 274
M
Member
Offline
Member
M
Joined: Jan 2014
Posts: 274
driving 10 Pcs WS2811/WS2812 RGB LED(on strip).


for indicating any data from any games (gears/flaps/overheating).
more information later...

Page 6 of 112 1 2 4 5 6 7 8 111 112

Moderated by  RacerGT 

Link Copied to Clipboard
Quick Search
Support SimHQ

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


Recent Topics
The Gynecologist
by KRT_Bong - 11/08/24 03:04 AM
What to play?
by Snow46 - 11/08/24 01:18 AM
Quincy Jones (March 14, 1933 – November 3, 2024)
by NoFlyBoy - 11/04/24 01:52 PM
You Expect Me To Fly Without My HUD and MFDs....
by Spidey - 11/02/24 01:26 PM
Teleworking
by PanzerMeyer - 11/01/24 11:44 AM
Does anyone understand this?
by NoFlyBoy - 10/31/24 07:14 PM
Where are Voyager 1 & 2?
by JohnnyChemo - 10/26/24 01:36 PM
Popular Topics(Views)
6,540,578 SAM Simulator
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.7.5