Voltage Divider: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
|||
Zeile 1: | Zeile 1: | ||
see also: | |||
http://hyperdramatik.net/mediawiki/index.php?title=Voltage_Divider_what%3F | |||
https://www.kobakant.at/DIY/?p=6102 | |||
=Voltage Divider= | |||
https://live.staticflickr.com/3928/33787539925_11f58e1bb9.jpg | |||
=External voltage divider connected to Arduino= | |||
https://live.staticflickr.com/65535/47844868021_7592a0a688.jpg | |||
=Internal voltage divider inside Arduino= | |||
You can use the following line of code to turn on the internal pull-up resistors inside the Arduino's ATmega328 chip: | |||
<source lang="js" line start="2" highlight="4-6"> | |||
pinMode(A0, INPUT_PULLUP); | |||
</source> | |||
https://live.staticflickr.com/65535/47792748122_86de07b563.jpg | |||
https:// | |||
Aktuelle Version vom 24. Mai 2022, 15:08 Uhr
see also:
http://hyperdramatik.net/mediawiki/index.php?title=Voltage_Divider_what%3F
https://www.kobakant.at/DIY/?p=6102
Voltage Divider
External voltage divider connected to Arduino
Internal voltage divider inside Arduino
You can use the following line of code to turn on the internal pull-up resistors inside the Arduino's ATmega328 chip:
pinMode(A0, INPUT_PULLUP);