catalog → 💡 light / optical → light level
Monitor Light level over the internet in 5 minutes
Paste the ready-made code into your board and watch light level live on a public dashboard — free, no server, no account.
BH1750LDR
ESP32ESP8266Raspberry Pi
Light level
BH1750 · LDR
420 lux
range 0–1200 lux
🧩
1 · Pick and generate
Select Light level (and anything else you want) in the generator. The code comes out ready, with your key embedded.
🔌
2 · Paste into your board
ESP32, ESP8266 or Raspberry Pi. Set your WiFi, plug it in — it starts streaming in seconds.
📡
3 · Watch and share
Public dashboard with an mc-XXXXXX link and a QR for your phone. Updates on its own, from anywhere.
The code the site generates for you
Full ESP32 firmware — just paste, set the WiFi and flash (the real key comes from the generator):
// Gerado por Meca 3D Lab — meca3dlab.com.br
#include <WiFi.h>
#include <HTTPClient.h>
const char* SSID = "SUA_REDE";
const char* PASS = "SUA_SENHA";
const char* URL = "https://meca3dlab.com.br/api/ingest";
const char* KEY = "sk_live_SUACHAVE";
const long EVERY = 30000;
void setup() {
Serial.begin(115200);
WiFi.begin(SSID, PASS);
while (WiFi.status() != WL_CONNECTED) delay(400);
}
void loop() {
// leia seus sensores aqui:
float lux = 0;
String body = "{\"lux\":420}";
HTTPClient http;
http.begin(URL);
http.addHeader("Content-Type", "application/json");
http.addHeader("X-Write-Key", KEY);
http.POST(body);
http.end();
delay(EVERY);
}