button push
Started by unseen, Sep 22 2012 06:35 PM
4 replies to this topic
#1
Posted 22 September 2012 - 06:35 PM
Hi all,
I want to simulate a button press, to close a connection for a few ms to be precise. Any idea on how to achieve this?
regards
#2
Posted 22 September 2012 - 09:21 PM
Hi unseen,
Chris
The automated test jigs which test each Netduino push the pushbutton (to test it). We use a solenoid and PWM signals.I want to simulate a button press, to close a connection for a few ms to be precise. Any idea on how to achieve this?
Chris
#3
Posted 22 September 2012 - 11:30 PM
If you have an actual physical button that you need to press, then you could use a solenoid to mechanically push the button like Chris said. A solenoid is kind of an "inductive muscle" that can stretch out when you apply some voltage across it and then retract when you remove the voltage.
If you can galvanically close the circuit, you could use anything from a relay, solid state switch, transistor or even a GPIO pin from an MCU to do the job for you - it all depends on what your circuit looks like.
Please describe a little more in detail what your setup is.
#4
Posted 31 July 2013 - 09:25 AM
Hi again
I know its been almost a year but i thought the solution i found might be useful for somebody else.
I used a 74HC4066 chip. Inside it has 4 switches and you trigger them by giving power to a third pin.
http://upload.wikime..._Pinout.svg.png
See you
#5
Posted 03 August 2013 - 07:08 PM
To think it took you a year to figure that out ;-)
Just kidding of course and thanks for the tip of that chip that seems nice. Haven't looked through the d/s and in wonder, is it straight forward gpio driven (i.e set of switches) or does it have an I2C or SPI imterface?
Either way (or especially in the latter case), could you post some code for it?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users