Passer au contenu

Lesson 26: Voltage divider

English

Share the voltage

  • Two resistors in a line from 5V to GND make a voltage divider. The point between them has a voltage between 0 and 5 V.
  • Sensors such as the light sensor (LDR) and the thermometer work this way: the sensor is one of the two resistors.
  • analogRead turns the voltage into a number from 0 to 1023. raw * 5.0 / 1023 turns it back into volts.

Words for this lesson

Word Meaning
voltage divider two resistors in a line that share the voltage
in series one after the other, so the same current flows through both
share a part of the whole
ADC analogue-to-digital converter: voltage in, number out

Se connecter ou créer un compte

IGCSE, A-Level & AP