grizz Posted March 9, 2010 Report Share Posted March 9, 2010 Hey all, I have one last troubleshoot with my MB-6582 that I am having trouble fixing. The problem is simple enough... The resonance encoder, although mounted properly, is reversed. When turned right it decreases in value, and when turned left it increases in value. Does anyone know of any obvious issues that would cause this? I'm thinking it is not a shift register since it is just 1 encoder acting up. Also, all my resister networks are oriented correctly. Thanks, Alex Quote Link to comment Share on other sites More sharing options...
jbartee Posted March 9, 2010 Report Share Posted March 9, 2010 you could try reversing the connections to the two data pins on the encoder. Quote Link to comment Share on other sites More sharing options...
lucem Posted March 9, 2010 Report Share Posted March 9, 2010 Mine shows the same behaviour... from my perspective this is the correct and intended way it should work though. If you don't like it that way, you can reverse the encoder behaviour in the source code setup and re-compile the application. Quote Link to comment Share on other sites More sharing options...
jbartee Posted March 9, 2010 Report Share Posted March 9, 2010 Mine shows the same behaviour... from my perspective this is the correct and intended way it should work though. If you don't like it that way, you can reverse the encoder behaviour in the source code setup and re-compile the application. Interesting, I guess this behavior is unique to the Wilba machines then, since my modular mbsid definitely doesn't work that way. Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 9, 2010 Report Share Posted March 9, 2010 The resonance knob should work like all the others... clockwise = increasing value. All the encoders should work the same way. Are you sure you used the same kind of encoder in all locations? Check for shorts with those pads, though a short would probably show up as the value always increasing or decreasing regardless of turn direction. Quote Link to comment Share on other sites More sharing options...
grizz Posted March 9, 2010 Author Report Share Posted March 9, 2010 Ok... So it is actually the depth encoder, right next to the resonance. I checked for shorts, and it appears that the three pins are all connected... which I believe would be a short ;-), especially since none of the other encoders have all three pins connected.... Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 10, 2010 Report Share Posted March 10, 2010 Note that encoders work by "shorting" between the common pin (connected to ground) and the other two pins. Let's call A and B the pins connected to the input pins (i.e. the DIN module, or 74HC165). C is connected to ground. Thus as the encoder turns clockwise (for example), A and then A+B and then B are shorted to ground. If turned anticlockwise, it would be B, then A+B, then A. Hence you can tell which way the encoder is turning based on the pattern. http://en.wikipedia.org/wiki/Rotary_encoder So an encoder with all pins being connected isn't necessarily faulty if it happens to be at one of the positions where A and B are both connected to C. If it were always connected, it wouldn't work at all. I am a bit confused now... I can't see how a hardware fault can cause encoders to work backwards... I mean if the wires were swapped that would make sense, but this is a PCB with fixed connections between encoders and the shift registers. Shorts on the PCB would result in encoders either not working or maybe only working one way (increasing values regardless of turn direction). Could there be swapped wires between the CS PCB and the base PCB? Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 10, 2010 Report Share Posted March 10, 2010 Mine shows the same behaviour... from my perspective this is the correct and intended way it should work though. If you don't like it that way, you can reverse the encoder behaviour in the source code setup and re-compile the application. Can you explain exactly what you mean? Do you have knobs that decrease values when turned clockwise? Quote Link to comment Share on other sites More sharing options...
grizz Posted March 10, 2010 Author Report Share Posted March 10, 2010 Ah well... I checked JD3, which is where the said encoder runs through, and sure enough someone swapped D3 and D4. I wonder who would do such a thing? ;-)... Haven't fixed it yet, but once again, thanks! Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 10, 2010 Report Share Posted March 10, 2010 Cool... good to hear you solved it! Quote Link to comment Share on other sites More sharing options...
lucem Posted March 10, 2010 Report Share Posted March 10, 2010 (edited) W, just what I described in the post, the resonance encoder decreases value when turned clockwise. But I don't really mind, since a rather simple change in the code can fix that... It is positively the very same encoder as all others, and it is the only one showing that kind of behaviour. The connections between mainboard and cs board are all 1:1, I did not accidentally solder the wrong wires in the wrong place. Due to that, I initially concluded that this is the intended behaviour for that specific knob. Edited March 10, 2010 by lucem Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 10, 2010 Report Share Posted March 10, 2010 It's very strange that it still works with inverted behaviour. It would be good (for me) to confirm that it really is a hardware issue and know what it is, so if anyone else has similar problems with anything, I can help troubleshoot better. Are the resistor networks (R39) correctly oriented for that 74HC165? If it was my MB-6582, I'd be curious to work out what's wrong... I'd desolder the JD5 cable, connect that encoder to different pins to work out if it was the encoder or the shift register doing strange things.... but I won't ask you to desolder anything... if it works and you don't care, then leave it alone I guess... :whistle: Quote Link to comment Share on other sites More sharing options...
lucem Posted March 10, 2010 Report Share Posted March 10, 2010 Resistor networks are correctly oriented all the way. Quote Link to comment Share on other sites More sharing options...
Wilba Posted March 11, 2010 Report Share Posted March 11, 2010 :frantics: Quote Link to comment Share on other sites More sharing options...
lucem Posted March 11, 2010 Report Share Posted March 11, 2010 W, if you need pictures, just say so... You can haz beautiful shots of the guts if you need 'em. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.