PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: barber

Input/output pins on the Arduino - Stanford University

Input/output pins on the ArduinoENGR 40M lecture notes July 14, 2017 Chuan-Zheng Lee, Stanford UniversityNote: An extended version of this handout is in the spring 2017 notes on the class pin, orI/O pin, is the interface between a microcontroller and another circuit. In theArduino, you configure whether a pin is an input or output using thepinMode() pinsAn output pin providesVDDor 0 V, by making a connection toVDDor ground via a transistor. You set itsstate toHIGH(forVDD) orLOW(for 0 V) using thedigitalWrite()function. A (simplified) schematic of anoutput pin is shown below. You might notice that it looks a bit like a CMOS inverter (or rather, two).ArduinoVDDpinVout(state set by software)The transistors in the output pin have non-negligible on resistance, so aren t suitable for driving large talking about this resistance in relation to an output pin, we call it theoutput resistanceof the pin inother words, the resistance seen by a device connected to the pin.

An input/output pin, or I/O pin, is the interface between a microcontroller and another circuit. In the Arduino, you con gure whether a pin is an input or output using the pinMode() function. Output pins An output pin provides V DD or 0V, by making a connection to V DD or ground via a transistor. You set its state to HIGH (for V

Tags:

  Arduino, Output

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Input/output pins on the Arduino - Stanford University

Related search queries