Skip to main content
Engineering LibreTexts

Digital and analog signals

  • Page ID
    51997
  • 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

     

     

     

     

     

     

     

    • Was this article helpful?