ESP32 with Ultrasonic Sensor (HC-SR04)

🧠 What is an Ultrasonic Sensor?An ultrasonic sensor is a device that uses sound waves to detect how far something is.🧩 HC-SR04 Ultrasonic Sensor: Pinout and FunctionThe HC-SR04 sensor has 4 pins:PinNameFunction1VCCPower supply (+5V)2TrigTrigger pin – sends sound3EchoEcho pin – receives sound4GNDGround (0V)🔌 Pin Details and Use:VCC: Connect to +5V from your microcontroller or Arduino.GND: Connect to ground (GND).Trig (Trigger):You send a short pulse (about 10 microseconds) to this pin.This starts the sound wave.Echo:This pin goes HIGH (on) when the echo is being received.You measure how long it's HIGH to calculate distance.📏 Connection Example...

Read more...

How do I run a script at Pico on boot?

As per official documentation Step by step process for pico program run after power on:Save your python program on whatever device you're running thonny/vs code on.Make a copy of it called main.py Disconnect the pico.Now Hold down the bootsel button and reconnect the pico.Release the bootsel button once the pico has booted and the USB host has detected it as a mass storage device.Copy main.py to the mass storage device provided by the pico.Thats it your first program is ready to...

Read more...

ESP32 with MAX30100 HEART SENSOR

Heart Rate & SpO₂ Sensor (MAX30100/MAX30102)🔬 Pulse Sensor | SpO₂ Monitor | Wearable Health TechThe MAX30100/MAX30102 is a digital pulse oximeter and heart-rate sensor developed by Maxim Integrated. It’s commonly used in fitness bands, medical devices, and IoT-based health monitoring systems. It combines two key measurements in one module: heart rate (BPM) and blood oxygen saturation (SpO₂ %).🔧 Key FeaturesFeatureDescriptionHeart Rate Range30 to 240 BPMSpO₂ Range70 to 100%LED WavelengthsRed (660nm), IR (940nm)InterfaceI²CSupply Voltage1.8V to 3.3V (VIN can tolerate 5V in some modules)Built-in AlgorithmPulse detection, SpO₂ calculationLow PowerIdeal for wearable...

Read more...