|
Joined: Jan 2014
Posts: 274
Member
|
Member
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.
|
|
|
|
Joined: Jan 2014
Posts: 274
Member
|
Member
Joined: Jan 2014
Posts: 274 |
|
|
|
|
Joined: Jan 2010
Posts: 464
Member
|
Member
Joined: Jan 2010
Posts: 464 |
hi mega_mozg, thanks for the explanation. sorry I do not understand what you mean by "you eat my brain". 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
Member
|
Member
Joined: Jan 2014
Posts: 274 |
Tirta, x4 faster at minimum.
|
|
|
|
Joined: Jan 2010
Posts: 464
Member
|
Member
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-/140972980117does 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
Junior Member
|
Junior Member
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
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
is there any difference between sparkfun pro micro and arduino pro micro?
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-/140972980117does 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 ). Is advisable buy the in pairs... just in case. Sokol1
Last edited by Sokol1; 10/20/14 05:35 PM.
|
|
|
|
Joined: Jan 2010
Posts: 464
Member
|
Member
Joined: Jan 2010
Posts: 464 |
hi triggahappy & sokol1, thanks for clarifying about pro micro. now I am going to order it
|
|
|
|
Joined: Jan 2014
Posts: 274
Member
|
Member
Joined: Jan 2014
Posts: 274 |
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
Member
|
Member
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-...=item2ececa28e3it 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
Junior Member
|
Junior Member
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
Member
|
Member
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
Junior Member
|
Junior Member
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
Senior Member
|
OP
Senior Member
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/ExtenralADCSokol1
|
|
|
|
Joined: Jan 2014
Posts: 274
Member
|
Member
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
Senior Member
|
OP
Senior Member
Joined: Nov 2001
Posts: 3,957 |
and "Thrustmaster Warthog/Cougar" grips using native 5 wire connector.
That's reminder-me that I have a old Tm F22PRO somewhere ...
|
|
|
|
Joined: Jan 2010
Posts: 464
Member
|
Member
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: Jan 2010
Posts: 464
Member
|
Member
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
Member
|
Member
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...
|
|
|
|
|