Hi
I'm making a box containing 2 Teensy boards configured as keyboards that will be triggered by a grand total of 3 buttons. Each Teensy will be connected to a separate individual computer.
In the past when I've done something similar, I have used a SPST switch which triggers a MOSFET solid state relay which in turn makes the button press to both keyboard circuits - in the past (before I discovered the Teensy boards) I hacked an existing keyboard matrix and fudged it to work.
Anyway, back to my current little project....
I've had the pcbs made, I've soldered everything and it almost works. I'm taking a 5V feed from the 'main' Teensy and routing that to each SPST switch. When pressed each switch triggers a bank of 2 MOSFET SSR - one triggers a LED as a visual feedback, and the other SSR completes the circuits to trigger the key presses on both Teensys. But in this case nothing is being registered on either Teensy - the LED lights so I know the SSRs seem to be working, but my Teensys just sit there idly doing nothing...Leaving me stumped!
I've checked the continuity with my multimeter, the SSRs are working as they should but nothing seems to happen with the Teensys. I've doubled checked all solder joints, in fact I've resoldered a few times to make sure but nothing works... I've also uploaded a different hex file that I know works from a previous project and that works so I guess the Teensys are good....
I'm using Avago ASSR-1228-302E SSRs datasheet here
Would I be correct that the SSRs I'm using need to 'see' a load on it's contacts and that the Teensy pins I'm using aren't providing any load? So if I were to add a resistor somewhere along the line would the general consensus be that it would work? I guess that when I've checked continuity with my multi meter that acts as a resistive load which is why it all seems to, in theory, check out OK
If a resistor is the correct route, the next question is what value resistor would I need (I can't seem to find any values for the maximum mA per pin - I'm guessing 5-10 mA to be safe? ) and would that mess up how the Teensy works as a keyboard?
Thanks for any help!
I'm making a box containing 2 Teensy boards configured as keyboards that will be triggered by a grand total of 3 buttons. Each Teensy will be connected to a separate individual computer.
In the past when I've done something similar, I have used a SPST switch which triggers a MOSFET solid state relay which in turn makes the button press to both keyboard circuits - in the past (before I discovered the Teensy boards) I hacked an existing keyboard matrix and fudged it to work.
Anyway, back to my current little project....
I've had the pcbs made, I've soldered everything and it almost works. I'm taking a 5V feed from the 'main' Teensy and routing that to each SPST switch. When pressed each switch triggers a bank of 2 MOSFET SSR - one triggers a LED as a visual feedback, and the other SSR completes the circuits to trigger the key presses on both Teensys. But in this case nothing is being registered on either Teensy - the LED lights so I know the SSRs seem to be working, but my Teensys just sit there idly doing nothing...Leaving me stumped!
I've checked the continuity with my multimeter, the SSRs are working as they should but nothing seems to happen with the Teensys. I've doubled checked all solder joints, in fact I've resoldered a few times to make sure but nothing works... I've also uploaded a different hex file that I know works from a previous project and that works so I guess the Teensys are good....
I'm using Avago ASSR-1228-302E SSRs datasheet here
Would I be correct that the SSRs I'm using need to 'see' a load on it's contacts and that the Teensy pins I'm using aren't providing any load? So if I were to add a resistor somewhere along the line would the general consensus be that it would work? I guess that when I've checked continuity with my multi meter that acts as a resistive load which is why it all seems to, in theory, check out OK
If a resistor is the correct route, the next question is what value resistor would I need (I can't seem to find any values for the maximum mA per pin - I'm guessing 5-10 mA to be safe? ) and would that mess up how the Teensy works as a keyboard?
Thanks for any help!