Hacking Electronics: An Illustrated DIY Guide for Makers and Hobbyists by Simon Monk

Hacking Electronics: An Illustrated DIY Guide for Makers and Hobbyists by Simon Monk

Author:Simon Monk [Simon Monk]
Language: eng
Format: epub, pdf
Tags: DIY & Hardware, Engineering
Publisher: McGraw-Hill Education TAB
Published: 2013-03-22T04:00:00+00:00


Arduino Outputs

Arduino outputs, and for that matter inputs, are referred to as “pins,” even though if you look at the connectors along the sides of the Arduino, they are most definitely sockets rather than pins. The name harkens back to the pins on the microcontroller IC at the heart of the Arduino that were connected to the sockets.

Each of these “pins” can be configured to act as either an input or an output. When they are acting as an output, each pin can provide up to 40mA. This is more than enough to light an LED, but not enough to energize a relay coil, which typically requires more like 100mA.

This is a problem we have already discussed. Since we want to use a small current to control a larger one, a good way to do this is by using a transistor.

Figure 6-8 shows a schematic diagram of what we are going to build.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.