Smart Home ESP8266 LED Controller Setup
ADC analog,  RGBW 4Kanal Modul

EI-OT ESP8266 RGBW LED Controller LDR Lichtsensor anschliessen

ADC Lichtsensor

Das EI-OT ESP8266 RGBW LED Controller Modul unterstützt analoge Sensoren über einen ADC (Analog Digital Converter). Dabei werden analoge Spannungswerter auf einen digitalen Wert von 0 bis 1023 umgesetzt.

Der ESP8266 unterstützt maximal 1000mV am ADC Signaleingang, höhere Signalwerte (über 1V) können zu Beschädigung des ESP8266 führen.

Diesbezüglich verfügt das EI-OT ESP8266 RGBW LED Controller Modul über einen Spannungsteiler um die maximale Signalstärke auf 1000mV zu begrenzen.

Die Verwendung, Anschluss und Einstellung wird nachfolgend am Beispiel eines einfachen LDR (lichtempfindlichen Widerstand) beschrieben.

Selbstredend bedarf es einem Multimeter zur Messung von Gleichspannung um die Signalspannung entsprechend zu limitieren!

ADC Light Sensor

The EI-OT ESP8266 RGBW LED Controller Module supports analog Sensors thru ADC. In this process analog values / voltage are converted into digital values from 0 to 1023.

The ESP8266 supports analog values / voltage up to 1000mV thru ADC. Signal voltage above 1V will damage the ESP8266.

In this regard the EI-OT ESP8266 RGBW LED Controller Module has a voltage divider for limiting analog Signals to 1000mV.

Typical application, connection and setup is described below, using a simple LDR Light Dependent Resistor) as an example.

Of course you need a multimeter to measure DC voltage in order to limit the signal voltage accordingly.

ESP8266 RGBW Module RGB LED and Power Supply connection
LDR anschliessen

Vor Beginn stelle sicher das

  • keine Spannungsversorgung am EI-OT ESP8266 RGBW LED Controller Modul anliegt
  • der Jumper A1 A2 nicht gesetzt ist

Das Funktionsprinzip eines LDR ist sehr einfach, je stärker der Lichteinfall desto niedriger der Widerstand und somit die Ausgangsspannung. Dementsprechend wird der LDR über das EI-OT ESP8266 RGBW LED Controller Modul mit 3,3V+ versorgt.

Klemme hierzu einen Pin des LDR an den + Pin des EI-OT ESP8266 RGBW LED Controller Modul

Der verbleibende Pin des LDR gibt die auszuwertende Signalspannung die mittels ADC auf einen digital Wert umgesetzt wird. Die positive Signalspannung muss mit dem Spannungsteiler des  EI-OT ESP8266 RGBW LED Controller Modul verbunden werden.

Klemme hierzu die LDR Signalspannung auf die KF350 Schraubklemme Kontakt ADC+

Abschliessend muss nun noch der Spannungsteiler mit GND verbunden werden.

Klemme hierzu den – Pin des EI-OT ESP8266 RGBW LED Controller Modul auf die KF350 Schraubklemme Kontakt ADC-

Der Anschluss des LDR ist abgeschlossen.

Signalspannung einstellen

Vor Beginn stelle sicher dass

  • der Jumper A1 A2 nicht gesetzt ist
  • wie bereits erwähnt ein Multimeter zur Messung der Signalspannung zur Hand ist

Versorge das EI-OT ESP8266 RGBW LED Controller Modul mit Spannung.

Die Ausgangsspannung des Spannungsteiler (Signalspannung) liegt nun am Pin A2 an.

  1. Mittels dem Potentiometer kann nun die Signalspannung (Pin A2) entsprechend variiert werden
  2. Um die aktuelle Signalspannung zu messen muß lediglich die positive Prüfspitze des Multimeters mit Pin A2 und die negative Prüfspitze mit GND verbunden werden
Signalstärke Lux

Im Bezug der Bestimmung der Signalstärke bzw. der maximalen Signalspannung sei folgendes zugrunde gelegt.

Typische Lichtstärken in beleuchteten Innenräumen liegen im Bereich von max. 1.000 Lux (typisch 400-500 Lux). Direktes Sonnenlicht erreicht weit über 100.000 Lux. Dementsprechend sollte der Maximalwert der Signalspannung im Aussenbereich bei direkter Sonneneinstrahlung  entsprechende reduziert werden, sodass selbst bei höherer Strahlenexposition 1000mV nicht überschritten werden.

Sobald die Signalspannung / Ausgangsspannung des Spannungsteilers eingestellt (auf max. 1000mV limitiert) wurde, muss der Jumper auf A1 und A2 gesetzt werden, sodass der ADC des ESP8266 ein digitales Signal ausgibt.

LDR connection

Before you start, make sure

  • There is no power supply connected to the EI-OT ESP8266 RGBW LED Controller Module
  • the jumper A1 A2 is not set

A LDR is a passive component that decreases resistance with respect to receiving luminosity (light) and increases signal voltage. Accordingly, the LDR is supplied with 3.3V+ via the EI-OT ESP8266 RGBW LED Controller Module.

in this regard connect one pin of the LDR to the + pin of the EI-OT ESP8266 RGBW LED controller module

The second pin of the LDR is the signal voltage output to be evaluated, which is converted to a digital value using an ADC. This positive signal voltage must be connected to the voltage divider of the EI-OT ESP8266 RGBW LED Controller Module.

in this regard connect the LDR signal voltage Pin to the KF350 screw terminal contact ADC+

Finally, the voltage divider must be connected to GND.

To do this, connect the – pin of the EI-OT ESP8266 RGBW LED controller module to the KF350 screw terminal contact ADC-

Connection of the LDR is complete.

Signal voltage adjustment

Before you start, make sure

  • the jumper A1 A2 is not set
  • as already mentioned, a multimeter is available to measure the signal voltage

Supply the EI-OT ESP8266 RGBW LED controller module with voltage.

The output voltage of the voltage divider (Signal Voltage) is now present at pin A2.

  1. The signal voltage (pin A2) can now be varied thru the potentiometer
  2. To measure the current signal voltage, you only have to connect the positive test tip of the multimeter to pin A2 and the negative test tip to GND
Signal Lux

Typical light levels in inside rooms are in the range of max. 1,000 lux (typically 400-500 lux). Direct sunlight reaches well over 100,000 lux. Accordingly, the maximum value of the signal voltage outdoors in direct sunlight should be reduced accordingly so that 1000mV is not exceeded even with higher radiation exposure.

Once the signal voltage / output voltage of the voltage divider has been set / limited to max. 1000mV, the jumper must be placed on A1 and A2 to forward signal voltage to ESP8266 ADC.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert