Jump to content

rabidscoobie

Members
  • Posts

    114
  • Joined

  • Last visited

Everything posted by rabidscoobie

  1. I did make edits Ok ive been playing around. I cut the traces and I get the SW to work fine but the 2 buttons that the encoder is suppose to trigger both light up at once. I make one click(turn) both go off,make another turn(click) they come back on. So I thought maybe something in that board was causing the issue, I removed the PCB and get the same result. As a normal looking encoder I wired like this: Center Pin to BR 2 outer Pins to BC Switch side 1 to BR other to BC You said I could also cut the one leg off inside,you kinda lost me on that.Which leg were you referring to. CLK DT SW + GND As of now its lighting up buttons 14 and 20(encoder) and 33 for SW. Im not getting anywhere now.
  2. Well since I was going to be using all the BC and BR I added them all. Just to verify I am using the right BR and BC BR D3 D2 D1 B1 B2 B3 BC D0 D4 C6 D7 E6 B4 I tried with one encoder 1st and got a bunch light up at once, turn encoder then all but 4 went of turn another notch and back to a bunch. I wired a normal switch just to make sure wasnt an issue with Pro Micro and it worked normal. As for cutting traces, I have some extras and doing that with one will ensure Im understanding the encoder right. Later I'll cut traces on 1 just to see. EDIT: I forgot to mention that wires went to D3 then D0 and D4. Then GND.
  3. I tried wiring it up the way you showed. But all I got where anywhere from 5-20+ buttons lighting up at once in MMjoy. Not sure why. I tried putting them as encoder and as buttons and same results just made less buttons light up. After playing around and getting more understanding of the encoders it just seems like the PCB on the encoder is complicating everything for me. I have like 15+ of those same encoders. So im gonna try Sokol 's idea and cut the traces and just solder onto each lug and see how that works out. Without a PCB and just the encoder looks a lot more simple,they are just fancy buttons. I also noticed where you showed a screenshot in an earlier reply for MMJOY and saw you had a shift register in the button settings or which Im not using. I didnt know if that could have something to do with the problem. Anyway open to ideas what happened.
  4. I'll give that a try. kinda what I was thinking of trying 1st. I should have my Micro in this weekend.
  5. So if I just remove the PCB from the encoder then it would work and wire up like a normal encoder? Then I just run wires for the press down switch into the matrix just like all the other buttons I will be adding? But if I leave the PCB on then I lose out on the press down switch,correct? After playing around with placement in my enclosure I was thinking about removing the PCB anyway. I dont mind removing them,I dont have a lot to do these days and I enjoy this stuff. I got these cause they were kind of cheap and included the knob caps. So far from the help I have gotten from this thread over the last year or 2 has been great.
  6. Thanks. Now I got it. Any idea what the SW pin can be used for? Im assuming its for the push down button but wouldnt know how to wire it or if I would want. EDIT: Or would the SW pin just go to the BC with a diode?
  7. Ok I think I understand this...I think...:noexpression: So in the first pic it works just like a normal button in a matrix. But with the ky-040 I have to also connect the ground wire and Im assuming I can connect say the ground to 4 encoders altogether to 1 ground wire. So then I would start splicing in my buttons plus their diodes inline with the encoders but just acting like im connecting to more buttons instead of encoders. I see you dont have a wire for the "SW" terminal on the encoder. I'm assuming that is for the button press you get when pressing down for the encoder? Any idea how that works? The description says it can be used a reset for the encoder, but I was curious if anything else can be done with it? That maybe getting things confusing a bit.:unsure: Thank you for all the help, I have a much better understanding now I think. Im still waiting on my Pro Micro to come in so I havent been able to really test anything. Also, in your 1st pic, are those 12 seperate wires going to the BC columns? That pic sorta confuses me. In this example I did, would this be right?
  8. Well Im not sure if that amazon link is working now so here is the info on them. Also in the underlined description below, Im not sure if that button switch is only for the reset to zero it says or if can do something else altogether. Be nice if I can make the button do something else. Does an encoder count as 2 different button presses for the -/+ or would it show as 1 button when using it keybinds. Like I said Im new to encoders. KY-040 Rotary Encoder Module Brick Sensor Development for Arduino with Knob cap (5 PCS) -Working voltage: 5V; Pulse number per revolution: 20 -Rotary encoder count number of output pulse output through the process of positive and negative direction rotation -360 degree rotation, this rotation counts are not limited. -Cooperate with the buttons on the rotary encoder, can be reset to the initial state, that starts counting from zero -Knob Cap: Made of aluminium alloy, diameter: 15mm/ 0.59"; height: 16.5mm/ 0.65" And after posting this image I noticed they dont have mounting threads,I can still make em work.
  9. Thanks. From what I read they are pull up resistors. Im still a bit new to Pro Micros and building stuff. As far as wiring Pots and and button matrix's I do fine and no trouble. But I have never messed with encoders. My luck I have the wrong encoders, I did buy them awhile back but just havent gotten around to doing anything yet(surgery). Just planning the layout and trying to plan the matrix. An example I plan to use these encoders is a button box with x4 Momentary 3 way toggles x1 3 way toggle x12 buttons x4 Encoders
  10. Sorry, I forgot to tell how. Ive never used the shift register before and with what Im doing button matrix will be fine, Ive just never used an encoder before. I looked on MMjoy github before that one was kind of confusing to me. In the link above for my encoders they show 5 connections and for just using in games Im not sure all 5 connections are even used. Just by looking at the boards that come on the encoders Im not sure where I need to make the connections to the Pro Micro. I'm sure its simple and I maybe overthinking it....:huh: I under stand what this diagram is showing: https://github.com/MMjoy/mmjoy_en/wiki/Connecting-basic-inputs-and-setting-up-software But it is for 3 pins and I dont know which pins I need to use on these and exactly on the board they go: https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
  11. Button Box Anyone have an easy to follow wiring diagram for rotary encoders using a Pro Micro? The ones I have are 5 pin encoders. These: https://www.amazon.com/gp/product/B07CTJH7MS/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
  12. I need some help figuring something out on a button box Im about to build. I have a good idea now using the Pro Micro with buttons and switches and the wiring. What I cant figure out or not even sure if its possible with the Pro and MMJOY2 is I want to light an LED on a button press then if I press again it turns it off. EX:Lets say I wire a button for start engine. Normal state light is off,press to start engine and the led lights.Press again to turn off engine and light goes off. I tried in the past but couldnt get it to work. I can easily make an LED light up as a power light showing that I plugged the controller into USB but not make them work with buttons. So any sites,diagrams or/and info would be great. EDIT: ALso all I have are momentary buttons and switches.
  13. Yes they show up in Windows and most other programs similar to Antimicro, just not the ones I want to try and use. I just changed the poll and it worked!:thumbup: Antimicro now sees all the MJOY devices. Before I changed they would work fine in the games I tried them in, DCS,CLoD, and Star Citizen. Thanks for helping.
  14. To use the newer MJOY I had to update the firmware. But I did not change poll. I honestly dont know what that does and in the first post of this thread I used the Github link that talked about all the settings but didnt see a description about changing poll. So should I just change it to any number? I assume differently that the other MJOY Sticks. Again these are my first time ever dealing with anything like the Pro Micro.
  15. Name changes didnt work.
  16. Well I just tried something with Antimicro. It will see my stick,pedals and my G13. Just refuses to see the throttle. Ive set it up very similar to the stick in MJOY. Named it,used PID and such but nothing. Something I just thought of on Anitmicro. 1. Is there a certain number range the PID and such have to be in? 2.Does the character length of the MJOY device have to within a certain amount? Really cant think of much else.
  17. Well I still can not get Antimicro to see all 3, only will show my pedals and stick,no throttle. Guess I'll either have to play with it even more to get AM to work or find something similar thats not a pain to use. Thanks for the reply.
  18. Yeah not a fan either. I sort of looked at the LED stuff in Mjoy, but I really didnt know what it was for.
  19. Quick simple question. In the old version MJOY I was using I could bind a joystick button to a keyboard command. EX: Button 5 to Scroll Lock This version that you are using doesnt seem to have that feature anymore. I liked that setup because I use Scroll Lock as my Push To Talk with TeamSpeak key in all games. Normally in games where Im not controlling pedals I use a USB foot switch that I use as PTT so my hands are free. But in sims I use either Rudder or racing pedals(Assetto Corsa and such).
  20. Thanks I didnt even know that could be done. Only I knew was to copy paste into a translator.
  21. Got the switch working. I forgot about checking the show log box...doh Tried your version of MMjoy but Amtimicro still not seeing the throttle.
  22. Where do I get the build your using? I have build 20151118, cant seem to find any others. EDIT: Nevermind I found it. Was kind difficult finding it since I dont read russian. But says it doesnt support my firmware version.
  23. Thanks ICE. I'll give that a look I know its just a setting in MMJoy,I'm still learning to use it. Sokol, Yes I changed the name and ID's of each device. In DCS,IL-2 and Star Citizen they show as separate devices. But in Antimicro it will always shows my stick and rudder pedals, it never shows my throttle. Ive tried plugging into different USB's,only plugging in throttle etc... But it never shows. I even plugged in only throttle and gave it same ID's as stick,didnt change name though and it still wouldnt show in antimicro. Now some of the other programs I used it shows in them just not Anti. Cant figure that one out. I dont know it this matters or not. But in "Device and Printers" the stick shows as keyboard device with the name I gave the stick. The throttle shows as a Gaming Controller with the name I gave it. But then my pedals show as a gaming device also.
  24. My HOTAS is MMJOY2 controllers. It sees the stick and my TM rudder pedals but does not see the throttle. Tried running as admin,pc restart after install, plugging and unplugging USB. I really dont know what else to do.Sort of look with google search but not much came up,will be looking at it some more. Another question of buttons and switches though. I was messing with a toggle switch and I cant really seem to figure out how to make them work in games. If I switch off,its off-no button press. If I switch on,its on- always registers as a button press. I'm sure it can be done but I cant seem to find anything in a google search to figure out of to make it register just as a single button press.
  25. Ok this looks nice. But it's not seeing all my controllers. It see my Combatstick,Rudder pedals, and a vjoy. It does not load my Ch throttle. Any ideas? It does look like what Im looking for though. Simple,easy and does the job.
×
×
  • Create New...