Maswi Posted January 20, 2019 Share Posted January 20, 2019 Hello together, some days ago my Hotas Warthog Stick Base PCB got poof :( The stick is Pretty old and out of guarantee, so I decided to try a repair with MMJoy2 based on an Arduino Leonardo. I uploaded the Firmware successfully, as described in the tutorial. I decided to start with the Buttons first. I connected the SPI-CS to A0. GND to GND SPI-MISO to A5 SPI-SCK to SCK on the ICSP and VCC to VIN By using this Image (the Colors were off) http://i.imgur.com/L5guG7g.jpg In the Software, I select button as shift Registers. 3 of 4021. CS at A0 and MISO at A5. And then i write the set to the Arduino. However, when i try to press the Buttons, Nothing happens. To be precise, all Buttons are red all the time. I read often, that it is possible (or even "Plug and Play") with the Warthog HW. But I don't find a detailed implementation of this. Did anyone ever do this, or at least have enough understanding to help me and tell me, what I am doing wrong :)? Thank you! Link to comment Share on other sites More sharing options...
rel4y Posted January 20, 2019 Share Posted January 20, 2019 (edited) The ProMicro does not have an A0 pin broken out. You need to use the correct pin numeration. MISO is B5 eg. Use the following scheme: (wrong scheme) Edited January 21, 2019 by rel4y 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...
Maswi Posted January 20, 2019 Author Share Posted January 20, 2019 I'm not really sure about your answer: I am not using the pro micro board but the Arduino Leonardo as written above. The board is listed here as compatible and has A0 pin. https://github.com/MMjoy/mmjoy_en/wiki/Controllers-(compatible-base-boards) This is why I also can choose A0 inside the SW. When I read through the patch notes it appears the MISO pin can be chosen to be any arbitrary digital pin on the latest version (You also can set it inside the SW). However, I already used the standard ICSP MISO pin of the Leonardo, but it didn't work either. The only thing that is changing is, that on MISO A5, all buttons are red and on ICSP MISO all buttons are white. Pressing a button works never. Any ideas? Link to comment Share on other sites More sharing options...
rel4y Posted January 21, 2019 Share Posted January 21, 2019 (edited) Sorry posted the wrong layout... The ProMicro has almost the same pinout as the Leonardo however and both dont have pin A0. Use the pin numeration of the following scheme then. You probably want to put in F7 instead of A0. MISO is B3. :) Edited January 21, 2019 by rel4y 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...
Maswi Posted January 21, 2019 Author Share Posted January 21, 2019 Thanks very much for your help. I will give it a go this evening when returning from work. I think it is really confusing, since in MMJoy the first pin you see in the dropdown list is actually A0 But now I realized that they do not match the Arduino pins. Assuming that this is going to work: Another question still is open - the axis I found some wiring diagrams for the FCLS or the Cougar stick but they are talking about potis. My warthog is supposed to have hall sensors. It seems the flat cable coming from the plug in the base covers both axis but I absolutely don't have an idea of the wiring or how to connect them. Do you have any information on this? What colors refer to what on the hall sensors? What do I have to configure in MMJoy2? Is it an internal or external ADC? I appreciate this work pretty much, however for my current understanding it is not much of a plugnplay compatibility to Warthog HW. Thanks Link to comment Share on other sites More sharing options...
Sokol1_br Posted January 21, 2019 Share Posted January 21, 2019 (edited) I have not good news for you. MMjoy2 firmware don't support the Melexis 90333 "3D" HALL sensor used in Warthog - that is set for use digital mode through SPI connection. * MMjoy2 support only TLE5010/11 sensor in digital mode - SPI connection. All other contactless sensors supported by MMjoy2 - MagRez, KMA200... i/c only HALL sensor like Alegro A-1324 LUAT, Honeyweel SS495A1, use analog mode - 3 wires connection. * In SimHQ MMjoy2 topic are post of guy trying connect T.16000M sensor (same of Warthog) in MMJoy2, and report some success using MCP3202 ADC as interface, but the guy is not much informative about what he did and disappear from the topic. Edited January 21, 2019 by Sokol1_br Link to comment Share on other sites More sharing options...
Recommended Posts