Electrical characteristics | Module ML | Module MX |
Switching voltage | 12 V AC / DC max. | 12 V AC / DC max. |
Switching current | 10 mA AC / DC max. | 10 mA AC / DC max. |
Dielectric strength | 500 V / 50Hz | 500 V / 50Hz |
Durability at 5V, 1mA linear actuation | 50 x 106 | |
Durability at 5V, 1mA tactile feel click | 20 x 106 | 50 x 106 |
Durability at 5V, 1mA alternate action | 0,5 x 106 | |
Durability at 5V, 1mA alternate action | 50 x 106 |
Thanks for clearing that up, I am up and running now :thumb:
It is working quite nicely on my breadboard setup so I am ready to eternalize this project. It'll be a tight fit so I am considering taking off the little plastic bumps that are on the back of those switches.
What are these for? Mounting support? How can I take them off easily?
I only have the one in the middle.
I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
I wasn't trying to be sarcastic, I just assumed he was handwiring and plate mounting so no point for the middle peg.I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
Do I smell sarcasm? Trolls? Wonderful thread =D
I wasn't trying to be sarcastic, I just assumed he was handwiring and plate mounting so no point for the middle peg.I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
Do I smell sarcasm? Trolls? Wonderful thread =D
I wasn't trying to be sarcastic, I just assumed he was handwiring and plate mounting so no point for the middle peg.I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
Do I smell sarcasm? Trolls? Wonderful thread =D
It can still serve a purpose. If it is cut off, and then the switches are lubed with something that migrates over time, the lube will seep out of the switches and onto the desk over time. Plus it is now another point of dust intrusion.
I wasn't trying to be sarcastic, I just assumed he was handwiring and plate mounting so no point for the middle peg.I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
Do I smell sarcasm? Trolls? Wonderful thread =D
It can still serve a purpose. If it is cut off, and then the switches are lubed with something that migrates over time, the lube will seep out of the switches and onto the desk over time. Plus it is now another point of dust intrusion.
What is the likelihood that this dust will effect switch performance, and could a solution be as simple as carefully placing tape or hot glue over the hole to still get the benefit of the space that MrFex would like to have.
I wasn't trying to be sarcastic, I just assumed he was handwiring and plate mounting so no point for the middle peg.I assume the middle one is for PCB mounting as well, here is a picture with all three of the pegs cut off, the switch still works perfectly fine.
Do I smell sarcasm? Trolls? Wonderful thread =D
It can still serve a purpose. If it is cut off, and then the switches are lubed with something that migrates over time, the lube will seep out of the switches and onto the desk over time. Plus it is now another point of dust intrusion.
What is the likelihood that this dust will effect switch performance, and could a solution be as simple as carefully placing tape or hot glue over the hole to still get the benefit of the space that MrFex would like to have.
Actually, now that I think about it, those switches that the middle part got cut out on, may not even be usable anymore. I think that might be where the bottom of the spring sits.
There might have to be a way to stop the leg of the stem from going through the hole, if it is pressed down far enough then the switch will get stuck, this might be nice for a makeshift mx lock but isn't ideal
const int buttonPins[] = {3, 4, 15, 14, 16, 10};
const int size = sizeof(buttonPins) / sizeof(int);
const int pollRate = 50;
long m = millis();
JoyState_t joyState;
void setup() {
for (int i = 0; i < size; i++)
pinMode(buttonPins[i], INPUT_PULLUP);
m = millis(); // You're screwed when this overflows
}
void loop() {
if (millis() - m > pollRate)
{
m = millis();
joyState.buttons = 0;
for (int i = 0; i < size; i++) {
int state = digitalRead(buttonPins[i]);
if (state == LOW)
joyState.buttons += 1 << i;
}
Joystick.setState(&joyState);
}
}
Joy1::SendCode("#Down")
Joy2::SendCode("#Up")
Joy3::SendCode("#Full")
Joy4::SendCode("#Change")
Joy5::SendCode("#Wheel")
Joy6::SendCode("#Fade")