Licht Sensor

Dependencies:   mbed

/media/uploads/marcel1691/light.png

Ein Fotowiderstand (englisch Light Dependent Resistor, LDR) ist ein Lichtabhängiger Widerstand aus einer amorphen Halbleiter-Schicht. Je höher der Lichteinfall, desto kleiner wird aufgrund des inneren fotoelektrischen Effekts sein elektrischer Widerstand.

Der Fotowiderstand kann nicht direkt mit einem analogen Pin verbunden werden, da dieser nur Spannungen und keine Widerstände messen kann. Die Lösung ist die die Spannungsteiler Schaltung. Die Kombination Fotowiderstand und Spannungsteiler ergibt einen Licht Sensor.

Anwendungen

  • Dämmerungsschalter
Revision:
2:79735a854c53
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/makefile	Sat Aug 15 20:01:13 2015 +0200
@@ -0,0 +1,20 @@
+# Copyright 2015 Adam Green (http://mbed.org/users/AdamGreen/)
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+PROJECT         := LichtSensor
+#DEVICES         := MCU_K64F
+#GCC4MBED_DIR    := D:/Sourcen/gcc4mbed
+NO_FLOAT_SCANF  := 1
+NO_FLOAT_PRINTF := 1
+
+include $(GCC4MBED_DIR)/build/gcc4mbed.mk