Node MCU ESP8266 Setup in Arduino IDE

 18-01-2024Node MCU ESP8266 Board are so popular? Mainly because of the following features.Its true Arduino KillerLow-costWiFiLow PowerHigh GPIO PINCompatiblityMultiple Language supportMain Differences Between ESP8266 and ESP32There is a successor of the ESP8266—the ESP32. The ESP32 combines Wi-Fi and Bluetooth and is dual-core. If you want to start with any of these boards, we recommend getting an ESP32. If you already have an ESP8266, don’t worry. It works great, it has a huge community and it does the job for most...

Read more...

ESP32 with L298N DC Motor Driver

 08-06-2025🔧 Basic IntroductionL298N is a dual H-Bridge motor driver IC that allows controlling the direction and speed of two DC motors or one stepper motor.It operates on high voltage and high current, making it suitable for robotics and mechatronics applications.⚙️ Technical SpecificationsOperating Voltage: 5V to 35V (Motor supply); 5V logic supply.Current Handling: Up to 2A per channel continuously.Logic Level Inputs: Compatible with 5V logic (Arduino, ESP32, etc.).Heat Sink: Comes with a built-in heat sink to dissipate heat during high load.Control Pins: IN1, IN2, IN3, IN4 to control motor direction.Enable...

Read more...

ESP32 Setup in Arduino IDE

ESP32 Board are so popular? Mainly because of the following featuresLow-costBluetoothWiFiLow PowerDual CoreHigh GPIO PINCompatiblityMultiple Language supportSetup ESP32 with Arduino IDETo be able to program the ESP32 using Arduino IDE, you need to add support for the ESP32 boards. Follow the next steps:Go to File > Preferences.Enter the following into the “Additional Board Manager URLs” field. This will add support for ESP32 and ESP8266 boards as well.https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.jsonSee the figure below. Then, click the “OK” button.Open the Boards Manager. Go to Tools > Board >Boards Manager…Search for...

Read more...

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...