ESP32 with APDS-9960 Gesture Sensor

The APDS-9960 is an advanced, compact sensor from Broadcom (formerly Avago Technologies) that offers multiple sensing capabilities in one chip. It is widely used in gesture recognition, proximity sensing, ambient light detection, and color sensing, making it highly useful for smart devices and human-machine interfaces (HMIs).🔍 Key Features of APDS-9960FeatureDescriptionGesture DetectionRecognizes hand gestures (up, down, left, right, near, far).Proximity SensingDetects how close an object is to the sensor (up to ~10 cm).Ambient Light SensingMeasures surrounding light intensity (lux value).Color SensingDetects Red, Green, Blue, and Clear...

Read more...

Button with ESP32

🧠 What is a Push Button?A push button is a simple mechanical switch that connects two points in a circuit when pressed.Normally Open (NO): Most common type — the circuit is open (OFF) when the button is not pressed.When pressed: The circuit closes, allowing current to flow.🧾 Components NeededESP32 boardPush button10kΩ resistor (for pull-down, optional if using internal pull-up)Jumper wiresBreadboard🔌 Wiring Push Button to ESP32Option 1: Using Internal Pull-Up (Recommended)Button PinESP32One legGNDOther legGPIO 14 (or any digital pin)No resistor needed — we'll use the internal pull-up.🧠 Working Logic (with...

Read more...

Smart Display Interface Using SSD1306 OLED & ESP32

The SSD1306 is a popular controller used in OLED (Organic Light Emitting Diode) displays, most commonly found in small monochrome displays like 128x64 or 128x32 resolution screens. These displays are perfect for small embedded projects like IoT dashboards, sensor readouts, clocks, etc.📦 1. What is SSD1306?SSD1306 is a display driver IC developed by Solomon Systech.It controls monochrome OLED panels using I²C or SPI communication.Often embedded in 0.96-inch or 1.3-inch OLED displays.📐 2. Common SpecificationsFeatureDescriptionResolution128x64 or 128x32 pixelsDisplay TypeMonochrome OLED (white/blue/yellow)InterfaceI²C (2-wire) or SPI (4-wire)Voltage3.3V to 5V (check module)Power ConsumptionVery low (great for battery use)Color1-bit (pixel on or off)Size (Popular)0.96" diagonal🧪...

Read more...

ESP32 with 1.8″ TFT LCD Display (ST7735S)

🔧 1. Hardware Overview: 1.8" TFT DisplayMost 1.8" TFT modules are based on the ST7735 driver and communicate using the SPI (Serial Peripheral Interface) protocol.📦 Key Features:Resolution: 128×160 pixelsInterface: SPIColor depth: 16-bit (65K colors)Driver IC: ST7735 / ST7735SOperating voltage: 3.3V logic level (some have onboard regulators for 5V compatibility)Pins:VCC: Power (3.3V or 5V depending on module)GND: GroundSCL/SCK: SPI ClockSDA/MOSI: SPI DataRES/RST: ResetDC/A0: Data/Command selectorCS: Chip Select🔌 2. Wiring TFT to ESP32Assuming the display uses SPI and ESP32's VSPI (default) pins:TFT DisplayESP32 PinVCC5VGNDGNDSCL (CLK)GPIO 18SDA (MOSI)GPIO 23RESGPIO 15DCGPIO 32CSGPIO 5✅ Always check your specific...

Read more...

ESP32 with BMP180 Pressure & Temperature Sensor

BMP180 Sensor: Digital Barometric Pressure SensorThe BMP180 is a digital barometric pressure sensor developed by Bosch Sensortec. It is commonly used in weather stations, altimeters, and GPS navigation systems. It can measure atmospheric pressure, temperature, and estimate altitude.🔧 Key FeaturesFeatureDescriptionPressure Range300 to 1100 hPa (hectopascal)Temperature Range0 to 65°CAltitude Resolution~0.17 metersInterfaceI²C (default), also supports SPISupply Voltage1.8V to 3.6VLow PowerIdeal for battery-operated devicesSizeVery compact (3.6 x 3.8 x 0.93 mm package)🧠 How It Works1. Pressure MeasurementThe sensor has a piezo-resistive element which changes resistance with pressure.A built-in ADC (analog-to-digital converter) digitizes this analog signal.Compensation algorithms (from...

Read more...