Sergey_Pe Posted April 28, 2022 Share Posted April 28, 2022 22 hours ago, TomVR said: those arent CD4021B shift registers, so you can't make them 1:1 compatible with TM bases Absolutely correct. But this is a thread about MMJoy2, not TM controller, and the guy who asked about the boards didn't mention TM at all. So it might be an easier solution, providing that MMJoy is working with both shift register types. Link to comment Share on other sites More sharing options...
RightStuff Posted May 8, 2022 Share Posted May 8, 2022 What about these ones: https://www.aliexpress.com/item/32819715560.html Can they be used with MMJoy oder FreeJoy? Link to comment Share on other sites More sharing options...
Sergey_Pe Posted May 8, 2022 Share Posted May 8, 2022 8 hours ago, RightStuff said: Can they be used with MMJoy oder FreeJoy? If the chip is really a 74HC165 (the description says serial input/ parallel output while it should be the opposite)- yes, it can be used with both controllers. Link to comment Share on other sites More sharing options...
TomVR Posted December 15, 2022 Share Posted December 15, 2022 On 9/26/2020 at 10:49 AM, Sergey_Pe said: Wrong. Calibration always needs to be done for the actual angle- this is exactly what it's done for. Otherwise you won't get a full range of OUTPUT signal for the particular axis. However the INPUT signal with the 360 deg. sensor will be much smaller, so much of the ADC resolution will be lost, as you correctly mentioned. I would strongly recommend using AS5600 sensor- calibrating it after installation (before MMJoy calibration) you'll get a full 0-5V voltage swing for any angle more than 18 degrees without any hassle with the magnet/ sensor positioning as with SSxx or Allegro sensors. I am losing my mind trying to program an as5600 in 3 wire mode. I remove the R4 resistor on the aliexpress pcb to enable analog mode. I then wire up vcc, out and ground. Then I get the gpo (pgo) pin to ground. The out goes to high as expected. Then I go to the start position. Short out to ground and then disconnect (float the pin) and then turn clockwise to the end position, short out to ground and then float the out pin again… and then reconnect everything and the range is unaffected but now the chip programming is burnt and cant be redone. Wasted 3 ships so far and only got 2 unused left (for my two axis stick) so really want to figure out what I am doing wrong before I try again. Link to comment Share on other sites More sharing options...
Sergey_Pe Posted December 24, 2022 Share Posted December 24, 2022 On 12/15/2022 at 1:09 PM, TomVR said: so really want to figure out what I am doing wrong before I try again. Well, quite frustrating since your programming sequence looks correct. OK; for a start let's check if your chips are really working in analog mode. After you wire up VCC, OUT and GROUND and rotate the axis, does the OUT signal change? The second question- have you defined the direction of axis rotation by shorting the DIR pin either to VCC or to GROUND as described in the Wiki? BTW- merry Christmas and happy New Year! Link to comment Share on other sites More sharing options...
Bucic Posted December 28, 2022 Share Posted December 28, 2022 Is MMJoy2 still limited to 10-bit (1024 steps) resolution? While I don't mind it for throttle axes etc., I'd use at least 12-bit for rudder control. Is there an example implementation of MMJoy2 with an external clock or a viable MMJoy2 alternative that features 12-bit resolution out of the box? https://akaagar.github.io/briefing-room-for-dcs/ F-5E simpit project https://forum.dcs.world/topic/318106-f-5e-simpit-cockpit-dimensions-and-flight-controls/ Link to comment Share on other sites More sharing options...
crash test pilot Posted December 28, 2022 Share Posted December 28, 2022 You can use an external adc like the mpc3208 (-3202, -3204) for higher resolution or sensors with digital communication like the tle5011. Freejoy offers 12 bit but the bluepill boards are not really famous for their analoge input readings... 1 Link to comment Share on other sites More sharing options...
Bucic Posted January 11, 2023 Share Posted January 11, 2023 Hi @crash test pilot I am yet to find a guide on implementing an external ADC with MMJOY2. I'm not savvy enough to dive in without a guide. "bluepill boards are not really famous for their analoge input readings..." Now that's interesting! What do you mean? And what is the 'bluepill' you speak of? https://akaagar.github.io/briefing-room-for-dcs/ F-5E simpit project https://forum.dcs.world/topic/318106-f-5e-simpit-cockpit-dimensions-and-flight-controls/ Link to comment Share on other sites More sharing options...
crash test pilot Posted January 11, 2023 Share Posted January 11, 2023 (edited) Bluepill is a nickname for the STM32F103C8 boards (used for freejoy) because of their blue pcb and as a reference to the matrix films... And because of cheapness their analogue inputs tend to pick up a lot of noise and need filtering so the higher resolution gets turned down by that. External ADCs are not really difficult to use with either mmjoy or freejoy. Here are links to the wikis: https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Connecting-analog-axes-to-MCP320x.md Currently not at home, can post a fritzing diagram and pics later. Edited January 11, 2023 by crash test pilot spelling 1 1 Link to comment Share on other sites More sharing options...
crash test pilot Posted January 11, 2023 Share Posted January 11, 2023 As promised, here a fritzing diagram and a pic: Green wire is mosi, yellow is miso, orange is clock. Blue is CS and can be any pin. 2 1 Link to comment Share on other sites More sharing options...
Bucic Posted January 13, 2023 Share Posted January 13, 2023 On 1/11/2023 at 11:08 AM, crash test pilot said: Bluepill is a nickname for the STM32F103C8 boards (used for freejoy) because of their blue pcb and as a reference to the matrix films... And because of cheapness their analogue inputs tend to pick up a lot of noise and need filtering so the higher resolution gets turned down by that. External ADCs are not really difficult to use with either mmjoy or freejoy. Here are links to the wikis: https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software https://github.com/FreeJoy-Team/FreeJoyWiki/blob/master/eng/Connecting-analog-axes-to-MCP320x.md Currently not at home, can post a fritzing diagram and pics later. I can snatch this board for cheap https://allegro.pl/oferta/stm32f103c8t6-dev-board-rozszerzony-arduino-10141187972 Isn't it going to make my FreeJoy adventure a nightmare? You can gauge my expertise level by my questions https://akaagar.github.io/briefing-room-for-dcs/ F-5E simpit project https://forum.dcs.world/topic/318106-f-5e-simpit-cockpit-dimensions-and-flight-controls/ Link to comment Share on other sites More sharing options...
crash test pilot Posted January 13, 2023 Share Posted January 13, 2023 (edited) Lets continue this in the freejoy thread. I wrote you a message there. Edited January 13, 2023 by crash test pilot spelling 1 Link to comment Share on other sites More sharing options...
slowmover Posted February 9, 2023 Share Posted February 9, 2023 Okay guyz i am working MMJOY for years now and it is great.The problem i have is the board from the arduino pro micro. All time is break, there are so sensitive. I see that we can use the arduino micro.Searching today on alliexpress i found those here: 1- Pro Micro ATmega32U4 5V 16MHz Replace ATmega328 For ATMega 32U4 Pro Mini With 2 Row Pin Header The type-C and the mini-USB i believe the are better.(But a little expensive). I know this can work with mmjoy it is ATmega32U4 5V 16MHz. 2- Mini / Type-C / Micro USB Nano 3.0 With the bootloader compatible Nano controller for arduino CH340 USB driver 16Mhz ATMEGA328P Those here are working with MMjoy? I want the Micro USB with ATMEGA328P. [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Sokol1_br Posted February 13, 2023 Author Share Posted February 13, 2023 No, ATMEGA328 is not supported in MMjoy2 firmware. Only these: ATMEGA32u4, ST90USB646, ST90USB1286 m/c - all 16 MHZ, 5V. For avoid broken off the USB connector imobilize the cable: 1 Link to comment Share on other sites More sharing options...
Sneakpeek Posted July 1, 2023 Share Posted July 1, 2023 Hi there, it seems like all "official" sources for the firmware are dead. Unfortunately I need the exact version "v20160818upd1". Does anyone know where to get it? Cheers, SP Link to comment Share on other sites More sharing options...
Tanuki44 Posted July 26, 2023 Share Posted July 26, 2023 MP Link to comment Share on other sites More sharing options...
AntiBird Posted August 4, 2023 Share Posted August 4, 2023 (edited) возможно ли подключение через матрицу такой кнопки? https://static.chipdip.ru/lib/609/DOC016609123.pdf для начала хотя бы без всех этих возможностей в виде фиксации и индикации. (у меня ПКБ1-2) Edited August 4, 2023 by AntiBird Link to comment Share on other sites More sharing options...
Sneakpeek Posted September 13, 2023 Share Posted September 13, 2023 Hi there, sorry for the late response. At the time I've posted my request the official website seemed to be gone. In the meantime everything's up and running again: https://sites.google.com/site/mmjoyproject/файлы-для-скачивания Thanks to the guys that sent me a PM! Link to comment Share on other sites More sharing options...
Roger01 Posted November 21, 2023 Share Posted November 21, 2023 Hello, I want to make MFDs with around 30 buttons on each. How do I go about it? Do I put a 74HC165 on every 8 buttons (4 in total)? Any other solution? Is there a diagram showing how to wire all this up? How do I do this? Link to comment Share on other sites More sharing options...
Roger01 Posted November 21, 2023 Share Posted November 21, 2023 I would like to do a thing like this : Link to comment Share on other sites More sharing options...
Richi Posted November 21, 2023 Share Posted November 21, 2023 https://www.aliexpress.com/item/1005003693617908.html?spm=a2g0o.order_list.order_list_main.5.20ad1802Rby3IJ I'm ordering this. The first SH has been working perfectly for a year already, I recently ordered the other three. The photos show 5V on the bottom of the PCB, but there is GND and it works great with the Arduino. Of course, if you don't have a better solution for your 90 buttons and 12 SH, I recommend it at least for the exam. Link to comment Share on other sites More sharing options...
TomVR Posted March 14 Share Posted March 14 Does MMJOY2 not work at all on windows 11? I tried opening up (v20160818upd1) and it doesn't display any window and then the troubleshooter comes up to ask if the app installed correctly. Trying to run in any compatibility mode doesn't make a difference. Link to comment Share on other sites More sharing options...
Richi Posted March 14 Share Posted March 14 I run it on Win 11 without any problems. Link to comment Share on other sites More sharing options...
Tanuki44 Posted March 16 Share Posted March 16 Same for me, no problem Link to comment Share on other sites More sharing options...
Recommended Posts