Skip to content

Simple IoT App for controlling lamp using esp32 with firebase

Notifications You must be signed in to change notification settings

artfath/IoTArduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

IoTArduino Smart Lamp

Overview

a simple project IoT use ESP32 with dimmer AC lamp to control brightness lamp. Dimmer AC lamp use zerocross pin to detect 0 VAC and PWM pin to make PWM signal with dutycycle. in ESP32 progamming, ESP32 use external interrupt to detect 0 VAC and timer interrupt used to generate PWM signal. to connecting on firebase, this project use library <ArduinoJson.h> and <FirebaseESP32.h>.

Hardware Required

  • 1 x Robotdyn AC Dimmer Module, 1 Channel, 3.3V
  • 1 x ESP32 dev doit
  • 1 x fitting E27
  • 1 x dimmable lamp 3 watt
  • 4 x female-female jumper
  • 1 x cable 2x0.75 sqmm
  • 1 x power cable with electric plug

Wiring Diagram

Pin ESP32 Pin Dimmer AC Lamp
3V3 Vcc
GND GND
GPIO 4 PWM
GPIO 16 Z-C

Documentation

About

Simple IoT App for controlling lamp using esp32 with firebase

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages