Skip to main content
Engineering LibreTexts

Digital and analog signals

  • Page ID
    51997
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)

    Digital and analog signals-ulg0FWawaubfdGbu0NPcMg.jpg

    An analog signal is a change in voltage over time.

    A digital signal is a voltage that is set to on or off over time.

    The record player is analog and the CD player is digital.

    Here is a list of some sensors and the interfacing type.

     

    Analog:

    • Grove moister sensor
    • Grove air quality sensor

    Digital:

    • Grove infrared reflector sensor
    • Grove LED

     

    What are digital signals used for?

     

     

    The digital I/O (input/output) ports on the RPi the can be set to read an input high or low or output a high or low signal.

     

     

    An example of an output is to set the port high to turn on an LED or a relay.

     

     

    An example of a relay is shown here;

     

     

    https://eng.libretexts.org/Courses/University_of_Arkansas_Little_Rock/IFSC_4399_-_The_Internet_of_Things_(IoT)/Controllable_Four_Outlet_Power_Relay

     

     

     

     

     

     

     


    Digital and analog signals is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?