Using Media Files in DjangoThis is must-know Django stuff 👍Let’s walk through media files in Django clearly, from setup → usage → best practices. 1️⃣ What are media files? Media files are user-uploaded files, like: Profile photos Blog featured images PDFs, documents, etc....Feb 8 · 3 min readblog.aarav.com.np
Functions in Python🔹 1. What is a Function in Python? A function is a reusable block of code that performs a specific task. Instead of writing the same code again and again, you define once, use many times. Why functions? Reduce code repetition Improve readability ...Feb 2 · 4 min readblog.aarav.com.np
Using the DHT11 Sensor with ArduinoIntroduction The DHT11 is a low-cost digital sensor used to measure temperature and humidity. It is widely used in electronics, IoT, weather monitoring systems, smart homes, and automation projects beDec 22, 2025 · 3 min readblog.aarav.com.np
Height Measurement Using Ultrasonic sensorheight measurement #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 16, 2); // Change 0x27 to 0x3F if not working #define TRIG 9 #define ECHO 10 // Height of sensor from ground in cm int sensorHeight = 200; void set...Dec 5, 2025 · 1 min readblog.aarav.com.np
Using 16*2 display16×2 LCD with I²C backpack (PCF8574) on Arduino/ESP boards. ✅ Hardware Connections Since it uses I²C, only 4 wires are required: LCD PinConnect to VCC5V GNDGND SDAESP8266 → D2 (GPIO4) / ESP32 → GPIO21 / Arduino Uno → A4 SCLESP8266 → D1 (GP...Nov 28, 2025 · 2 min readblog.aarav.com.np