Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

button push


  • Please log in to reply
4 replies to this topic

#1 unseen

unseen

    New Member

  • Members
  • Pip
  • 3 posts

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 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 September 2012 - 09:21 PM

Hi unseen,

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?

The automated test jigs which test each Netduino push the pushbutton (to test it). We use a solenoid and PWM signals.

Chris

#3 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

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 unseen

unseen

    New Member

  • Members
  • Pip
  • 3 posts

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 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

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

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.