Push Buttons

solenoid

Overview

There are many different types of buttons and they allow you to control a DC power source, by simply cutting the voltage. Push-button is the simplest type of button; the breakout uses a latching analog circuit that is triggered by a push of the button. Press once to turn on, and then press again to turn off. There are already pre-made modules that can be used with a microcontroller, however in the example below we will you normal push-button to and wire it up using breadboard.

The button works fine with 3V and it can go up to 14V, in this case we will use 5V from the Arduino. We also need to wire a ground, which will complete the circuit; it is safer to connect a 10K pull-down resistor between the GND and button. Also in this example we will add a signal form a button to Arduino that will be connected to any of the digital pins. In this case we can measure the on/off signal on the computer.

Borrow this item

This item is not loanable and is only available from the hackSpace directly. Speak to a technician for more details.

 

Health & safety

  • Ensure you are familiar with all H&S rules that apply to the environment you are working in.
  • Identify where first aid can be found in your work space
  • Keep all components dry and free from liquid spillages
  • To avoid static, make sure your work surface is sufficiently earthed