How to Wire a Pressure Sensor to Arduino: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "*First, see how to program a button - [https://programmingelectronics.com/tutorial-17-using-a-button-old-version/] :*Connecting a button involves connecting one wire to 5V fro...")
 
No edit summary
Line 1: Line 1:
*First, see how to program a button - [https://programmingelectronics.com/tutorial-17-using-a-button-old-version/]
*First, see how to program a button - [https://programmingelectronics.com/tutorial-17-using-a-button-old-version/]
:*Connecting a button involves connecting one wire to 5V from one of the Arduino pins, and connecting the other wire to the Arduino pin that does the reading. We also need a resistor to ground - so that when the putton is not presssed, the pin is pulled down to 0.
:*Connecting a button involves connecting one wire to 5V from one of the Arduino pins, and connecting the other wire to the Arduino pin that does the reading. We also need a resistor to ground - so that when the putton is not presssed, the pin is pulled down to 0.
*Read about pins on Arduino - [https://www.arduino.cc/en/Tutorial/DigitalPins]

Revision as of 03:28, 11 January 2019

  • First, see how to program a button - [1]
  • Connecting a button involves connecting one wire to 5V from one of the Arduino pins, and connecting the other wire to the Arduino pin that does the reading. We also need a resistor to ground - so that when the putton is not presssed, the pin is pulled down to 0.
  • Read about pins on Arduino - [2]