Sokol1_br Posted November 9, 2018 Author Share Posted November 9, 2018 What chip you select in MMJoySetup? The DOS windows is over options. Link to comment Share on other sites More sharing options...
slowmover Posted November 9, 2018 Share Posted November 9, 2018 What chip you select in MMJoySetup? The DOS windows is over options. Firmware lufa mmjoy2.atmega32u4.hex atmega32u4 arduino and the correct port [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 9, 2018 Author Share Posted November 9, 2018 Looks OK. Just in case, check if used MMJoySetup is from same package of MMjoy2 firmware - files has similar date (mount/year). Link to comment Share on other sites More sharing options...
rel4y Posted November 9, 2018 Share Posted November 9, 2018 Are you sure you are using the right COM port? Which Arduino do you have? (Pro Micro 5V?) Put the Arduino into bootloader mode (reset to ground) and check in the device manager under COM ports which port it is. You can get to device manager by typing "compmgmt.msc" into the run box. Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916 Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming Link to comment Share on other sites More sharing options...
slowmover Posted November 10, 2018 Share Posted November 10, 2018 Yes it is the correct port I check it from device manager .I have Arduino micro pro 5v.Is there any tutorials on video? On another site a guy with the same problem with same fault he said that he did not launch Joyloader while in bootloader mode.What is that? [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 10, 2018 Author Share Posted November 10, 2018 I think this work in this way: when you press "Upload Firmware" button in MMJoySetup this call the Avrdude.exe in Joyloader_Arduino folder for flash firmware. Similar to how VKB DevCfg + ZBootloader work. In Joyloader_Arduino folder are a file arduino.cmd that call "avr109". See the path in the box above "Windows Joysticks" button in your picture. You can post a picture of error but without DOS window over MMjoySetup window? Why I ask if MMJoySetup and Firmware have similar data (mount/year), if one are from different version don't work. Link to comment Share on other sites More sharing options...
slowmover Posted November 11, 2018 Share Posted November 11, 2018 (edited) If you mean that https://imgur.com/a/Gm7cDL4 Edited November 11, 2018 by slowmover [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 11, 2018 Author Share Posted November 11, 2018 Try with 2016 firmware versions. MJOY2 [v20150928update1] is the last firmware "stable", is said that aftermost MMJOY2 [v20161101] has bug in something, don't know what. MegaMOZG site: https://sites.google.com/site/mmjoyproject/fajly-dla-skacivania Link to comment Share on other sites More sharing options...
slowmover Posted November 11, 2018 Share Posted November 11, 2018 (edited) https://imgur.com/a/n3hnHYY i think i make it.When i was connecting ground and reset the arduino form port com11 was going on port12. for a sort time.On mmjoy2 i was puting com11 and nothing hapend.but when i put COM12 the firmware was upload it.Now i am ready to connect swithes? this is normal? it is happend cause i have nothing connect on arduino?https://imgur.com/a/UAoaOLC Edited November 11, 2018 by slowmover [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
rel4y Posted November 11, 2018 Share Posted November 11, 2018 Thats why I said check the COM port during reset in bootloader mode. ;) The Arduino bootloader has a different COM port than normal EEPROM operation. Windows only recognizes devices that have at least one axis. So set up one axis in MMJoy and that message will go away. Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916 Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming Link to comment Share on other sites More sharing options...
slowmover Posted November 11, 2018 Share Posted November 11, 2018 Thats why I said check the COM port during reset in bootloader mode. ;) The Arduino bootloader has a different COM port than normal EEPROM operation. Windows only recognizes devices that have at least one axis. So set up one axis in MMJoy and that message will go away. Oh i did not understand that,Thanks.Where i can find more instractions how to connect buttons and tune them at mmjoy?Cause i did not understand nothing leobodnar is more easier :P [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 12, 2018 Author Share Posted November 12, 2018 (edited) ... the firmware was upload it.Now i am ready to connect swithes? Congratulations, now you have a... "blank" joystick :D = no axis, no buttons - why Windows don't detec, so in MMjoySetup configure how many axes you want - up to 8, buttons up to 128, through matrix (Columns, Rows) or Shift Register. Can give a custom name, custom VID/PID. After filled what want hit "Save sets to device" (EPROM), reset or unplug/plug and now you have a "PnP" HID joystick visible in Windows Games Controller. Edited November 12, 2018 by Sokol1_br Link to comment Share on other sites More sharing options...
slowmover Posted November 12, 2018 Share Posted November 12, 2018 Ok i set one axis to try it. I connect a b10k pot. but when i turn it the axis does not move.Any idea what i make wrong? Connected ground vcc and A0. https://imgur.com/a/8Wt7cmE [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
rel4y Posted November 12, 2018 Share Posted November 12, 2018 Wrong Pin (and no calibration mode). Arduino Pro Micro doesnt have an A0 pin. Check this scheme here and read the GitHub page about MMJoy, it explains all the basics! :) https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software Cougar, CH and Saitek PnP hall sensor kits + shift registers: https://forums.eagle.ru/showthread.php?t=220916 Shapeways store for DIY flight simming equipment and repair: https://www.shapeways.com/shops/rel4y-diy-joystick-flight-simming Link to comment Share on other sites More sharing options...
slowmover Posted November 16, 2018 Share Posted November 16, 2018 (edited) I need a little bit help how to connect shift register on pro micro :) This should be the connection? https://imgur.com/a/1EpJsd5 or this ?? https://imgur.com/a/gHaOs3t Also this matrix connection is okay?? https://imgur.com/a/IixgVf4 Edited November 19, 2018 by slowmover [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
slowmover Posted November 21, 2018 Share Posted November 21, 2018 Anyone can help guys? [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 21, 2018 Author Share Posted November 21, 2018 For CD4021 Shift Register follow this scheme: http://simhq.com/forum/ubbthreads.php/ubb/download/Number/11734/filename/Handle_FLCS%20Wiring%20Colors.jpg http://simhq.com/forum/ubbthreads.php/ubb/download/Number/11732/filename/FLCS__CD4021%20SR%20Wiring.pdf Link to comment Share on other sites More sharing options...
slowmover Posted November 29, 2018 Share Posted November 29, 2018 For CD4021 Shift Register follow this scheme: http://simhq.com/forum/ubbthreads.php/ubb/download/Number/11734/filename/Handle_FLCS%20Wiring%20Colors.jpg http://simhq.com/forum/ubbthreads.php/ubb/download/Number/11732/filename/FLCS__CD4021%20SR%20Wiring.pdf I am using 74ch165.Can you give a look at this pictures to say who is the correct? https://imgur.com/a/1EpJsd5 or this ?? https://imgur.com/a/gHaOs3t [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 29, 2018 Author Share Posted November 29, 2018 (edited) I have not used 74HC165, but looks the second option is correct. Pinout in Mmjoy2 scheme is labeled different from pins label in Arduino, this may cause confusion. https://s33.postimg.cc/wg643uu27/74_HC165.jpg BTW - Ready to use 74HC165 shift register boards from Sparkfun or Aliexpress need modifications for use with MMJoy2. Edited November 29, 2018 by Sokol1_br Link to comment Share on other sites More sharing options...
slowmover Posted November 30, 2018 Share Posted November 30, 2018 I connected shift register and on MMjoy setup the button to 1 from 8 blinks all time to red.I try to use a single on off switch to see if it is work but i do not use resistors. I should connect 8 switches to work? Or the problem is the resistors? [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted November 30, 2018 Author Share Posted November 30, 2018 Resistors is required. Link to comment Share on other sites More sharing options...
slowmover Posted December 2, 2018 Share Posted December 2, 2018 Well if i connect one button it is okay.When i am trying to go with the shift register nothing happens.Just 8 red buttons.I tried different connections but nothing.Ardunino pro micro and 74CH165 shift register. https://imgur.com/a/L5n0Qhe [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Goblin Posted December 4, 2018 Share Posted December 4, 2018 Sinuos, like Sokol1_br is telling you, you need 10K resistors between VCC and the switch input pins on the shift registers. Have a look at this schematic https://raw.githubusercontent.com/MMjoy/mmjoy_en/master/img/Hardware%20connection/Shift%20register%20project.jpg Also, the blue line, in your schematic, should go to GND, not pin 14. Link to comment Share on other sites More sharing options...
FIN_Centurion1 Posted December 15, 2018 Share Posted December 15, 2018 Hey guys, I am building a new joystick gimbal and elected to use the TLE5010 sensors you can find pre-assembled to PCB on Aliexpress. I attached a picture of it. Now I understand that there are too many resistors on this PCB board if you want to use more than one sensor, and naturally I need to use two for X and Y. Sure enough, with only one sensor connected the results are great, zero noise and great resolution. When I plug in two sensors I dont get any returns. I see that Sokol and Goblin both know how to overcome this, but I am unfortunately too newbie at this to fully understand which resistor I need to remove from the PCB or which wires to bridge.. anyone know how to help? All the outputs of the sensors are shared between boards except CS that gets a separate output cable. I connect the sensor to an Arduino Leonardo, and as I said I got one sensor working great. Looking forward to answers, and thank you to all who contribute here. Link to comment Share on other sites More sharing options...
Sokol1_br Posted December 15, 2018 Author Share Posted December 15, 2018 (edited) Connected in this way should work (already tested): free image uploader TLE5010 CS output is connected in individual pin in Arduino for each used TLE used. Declare the used Arduino pin for CS in MMJoySetup "MCU Port". BTW - Show us you gimbal. :thumbup: Edited December 15, 2018 by Sokol1_br Link to comment Share on other sites More sharing options...
Recommended Posts