|
| some of you may remember awhile back I was asking about VFD's and such to make a lathe variable speed. Long story short I did it by gutting a treadmill and using the motor and control boards.
Everything works fine, however I want to add my own push buttons in place of the membrane buttons and totally get rid of the treadmill console board. There are a total of 15 buttons that do various functions and 8 wires that go into a ribbon cable that was plugged into the control board. I have unplugged the ribbon cable and replaced the 8 wires with 8 leads (just some CAT5 cable I had laying around. Here's where I am confused. In order to get something to work I have to touch three leads together, not two. So I figured that's weird but I went with it and one by one I found three lead combinations that worked for each function. So I figured I had all the buttons figured out and what wire combination I needed to get that function to work. I thought great I'm good to go and can put in my push buttons I'll just have two leads on one side of the button and one on the other. WRONG! I for the life of me can not figure it out. For example if I have something like orange, orange/white, and green be my start button and I wire it to one button it works fine, but if I add another button and it's something like orange, brown, and green/white it goes haywire and starts another function randomly, or it does nothing at all. I've tried to trace it from the membrane switch console itself just following the green lines, but I can't seem to get it right. Can anyone shed some light on this for me? I've never dealt with membrane switches before, why does it need three leads? Shouldn't it just be "power" and "switch leg"? What the heck is the third one and how do I deal with it so I can add just normal push buttons???? |
Follow-Up Postings:
|
| Chances are that the membrane switches are not switching current (power and switch leg), but rather completing a ground (that otherwise floats) on the circuit board. You'll need a schematic of the circuit board to figure out how this thing really works. I doubt that there's anything special about the switches themselves. |
|
- Posted by ronnatalie (My Page) on Mon, Aug 29, 11 at 10:09
| And the switches may me wired in a matrix (that is, you can hook up 16 buttons with 8 wires which are scanned with some sort of keyboard chip). |
|
| "And the switches may me wired in a matrix (that is, you can hook up 16 buttons with 8 wires which are scanned with some sort of keyboard chip)." This is very likely. The switches are making a connection between a row and column that is decoded. Interconnections are very expensive, thus the desire to reduce their size by scanning. Even most push button phones do this. Three columns, four rows. |
|
- Posted by woodturner79 (My Page) on Mon, Aug 29, 11 at 21:23
| so what are my chances of being able to do what I want to do? I pulled apart the two layers of the membrane and traced everything out. I thought once again I was on the right track, but it looks like some buttons are using 4 wires instead of my original thinking of three. One lead appears to go all the way through every button, so I'm thinking it's a ground or some sort of common. I can get some of the buttons to work (start and stop) but when I start adding things like ramp up and down it causes problems. Like if I add ramp up, my start and stop buttons will no longer work. It's extremely frustrating. |
|
- Posted by yosemitebill (My Page) on Mon, Aug 29, 11 at 22:08
| You have 8 wires, so what you are looking at is a 4x4 switch matrix in to a micro-controller. 4 leads are scan-out and 4 leads are scan-in - that will give you up to 16 identifiable switch combinations. You would need to use an oscilloscope to identify the scan-out leads and then identify which switch sends the pulse train back to which input. While you can replace the membrane switches with other momentary contacts switches, what's the point? You still need the micro-controller to interrupt the input and produce the desired result and output. Unfortunately, taking apart most membrane switch circuit boards and reassembling them, greatly reduces their reliability. As far as the three leads, I think it's just coincidence you're getting a response. While it could be some sort of very unusual switch matrix, it's really quite doubtful. |
|
- Posted by woodturner79 (My Page) on Mon, Aug 29, 11 at 23:59
| "While you can replace the membrane switches with other momentary contacts switches, what's the point? You still need the micro-controller to interrupt the input and produce the desired result and output. " How!? That's exactly what I'm trying to do is just replace them with simple normally open, momentary contact, push buttons. I took another look at it tonight. I have the two "sides". One side has three pins that go into a ribbon, the other 5, so two ribbons total of 8 pins, wires, leads, whatever you want to call them. On the side with only 3 pins it appears that it goes from one of pins, through all of the function buttons, and then out another pin. That makes absolutely no sense to me though how that would work. If two pins are basically one, why even have the second? Is it feeding something (voltage? ground?) through all the function keys and than back into the board? I'll trod back into the shop and try to make sense of it. It seems so simple yet so difficult. I was expecting to be able to just trace everything out, find the two leads I would need and bam be done with it... |
|
- Posted by ronnatalie (My Page) on Tue, Aug 30, 11 at 7:44
| Unless the keyboard controller is on the circuit board in the back, and then you may be thwarted. Frankly, I'd be looking at where to kick it in closer to the motor controller. |
|
- Posted by woodturner79 (My Page) on Tue, Aug 30, 11 at 9:33
| There are 8 wires that come off the signal control board for the function buttons. Whatever combination of wires is needed to get a certain function is what I'm after. I can get certain functions to work but I know it's not right and I can't get them all (like I said I have to use three leads instead of two). From this signal control board another set of wires goes down to the motor control board. From what I understand you press a button, it goes to the first control board, interrupts the input, if it's a motor function it sends it down to the motor controller to control the motor. As I said, I have/had everything working fine. The only thing I'm after is figuring out the buttons so I can relocate them and put them on push buttons. |
|
| Unless you can determine what lines are rows and what are columns you are facing a real uphill battle. The scanner logic is pretty simple. You might be able to play around and figure it out, but an oscilloscope would make it a lot easier to identify the output lines from the keypad decoder and the input line back to the decoder. I have had to design circuits to do this every few years for different applications. Hopefully no one used any of the common tricks to further reduce the interconnections.
|
|
- Posted by woodturner79 (My Page) on Tue, Aug 30, 11 at 19:56
| now I feel like I'm at a complete loss.... using my meter to test continuity I traced pin 1 along the board. Half way through one of the buttons I lost tone (it was reading something like 25 ohms). I have no clue, I feel like I'm loosing my mind and grasping at straws. I've got to get something figured though and get my shop back up and running. As for figuring out what is rows and what are columns, I think I can very easily. Overlaying the two membranes on each other I can see the grid very clearly. But it still doesn't make sense to me that I need to touch three leads together to get a function and not just two. I know it's not just a coincidence either. I get NOTHING with just two leads touching. Of course this frustrates me to no end though because I feel so close yet so far away. I'd have to double up wires on one side of a push button, but of course doing that causes problems the more and more buttons I add because more and more wires get connected together and act as one. So SOMEHOW I need to come up with a button that will momentarily close three connections and open all three when the button is released. |
|
| "So SOMEHOW I need to come up with a button that will momentarily close three connections and open all three when the button is released." It is a 3-pole single throw switch. Often abbreviated to 3PST or 3P1T. You could also use a 3 pole double throw switch (3PDT or 3P2T) and simply not connect the second position contacts. Higher resistance sort of goes along with flex membranes. Double feeding is not uncommon to keep the resistance low enough for operation at low logic voltages. Some membrane switches do not even use DC voltage. A single exciting line may be used for all the switch positions, while the other two 'contacts' are to sense the capacitive coupling at each position that indicates the button has been 'pushed.'
|
|
- Posted by ronnatalie (My Page) on Wed, Aug 31, 11 at 9:17
| Membrane keys typically use a conductive (but not zero resistnance) material to bridge the two conductors. It's a common failure mode and we even have some brush on goo that rejuvenates it. You have ZERO hcance of figuing it out with a simple continuity beeper. |
|
- Posted by woodturner79 (My Page) on Wed, Aug 31, 11 at 21:57
| I think I have it figured out. I took pictures of the membranes and sent it to some electronics guru. I was right in that I need to close three contacts instead of just two. So I guess at least my original work of finding all the three lead combinations for each function can be utilized. He recommended I get double pole single throw (DPST) buttons. The ones I've found are pretty pricey though considering I need so many. I'll look into what you suggested, Brick. I don't want to fork out $35+ per button. Thanks for all the help!!! |
|
- Posted by yosemitebill (My Page) on Wed, Aug 31, 11 at 23:55
| I'm starting to get the feeling that although you called them "membrane switches" what you may actually have "capacitive switches." While the keypad may be similar looking at first glance, it's a different technology altogether. Save your money until you know for certain - if capacitive switches, you can not replace them with momentary contact switches. The only way to know for sure is to reconnect the switch panel and use an oscilloscope to see what the signals are on each lead of the ribbon connector. Then analyze what pressing each key does. It's also not a good idea to troubleshoot these I/O ports with a multimeter, especially with a continuity tester, as they can easily do damage to the ICs.
|
|
| If it is a capacitive switch you are probably out of luck. You might be able to use simple switches depending on how the capacitance is being sensed, but for at least some designs an actual switch will not work. DPST buttons are not very common and will likely cost more than DPDT buttons. DPDT are a pretty common switch. ALCO switches (now TE Connectivity) are very good. Switches have never been inexpensive, with push buttons higher than toggle switches. |
|
- Posted by woodturner79 (My Page) on Fri, Sep 2, 11 at 17:41
| just wanted to give an update. Using two N.O. SPST momentary contact push buttons I have it working. Just like I said from the start, I have to close three contacts instead of two to get a function to work. I just wanted to let you know because there seemed to be some confusion in that, that couldn't be the case. So I have some DPST buttons on order, but for now I'm using two SPST buttons and have to press both buttons down to get a function to work. It's jerry rigged a little (for now), but at least I can turn projects until my new buttons get here and I can wire them in permanently. $50 (for the treadmill off craigslist) variable speed lathe conversion. Not bad considering the factory wanted $800 for a conversion kit. |
|
| "Not bad considering the factory wanted $800 for a conversion kit." And an actual DC motor with a speed control (usually just a dial) from a motor surplus place might have been even cheaper (and would have consumed less time). |
|
- Posted by woodturner79 (My Page) on Sat, Sep 3, 11 at 16:48
| actually no it wouldn't have been. The cheapest 1.5+ HP DC motor I could find anywhere was over $200, not including the controller. |
Please Note: Only registered members are able to post messages to this forum. If you are a member, please log in. If you aren't yet a member, join now!
Return to the Electrical Wiring Forum
Instructions
- You must be a registered member and logged in to post messages on our forums.
- Posting is a two-step process. Once you have composed your message, you will be taken to the preview page. You will then have a chance to review the contents and make changes.
- After posting your message, you may need to refresh the forum page in order to see it.
- It is illegal to post copyrighted material without the owner's consent.
- HTML codes are allowed in the message field only.
- No advertising is allowed in any of the forums.
- If you would like to practice posting or uploading photos, please visit our Test forum.
- If you need assistance, please Contact Us and we will be happy to help.