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....3 min read·blog.aarav.com.npFeb 8
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 ...4 min read·blog.aarav.com.npFeb 2
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 be3 min read·blog.aarav.com.npDec 22, 2025
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...1 min read·blog.aarav.com.npDec 5, 2025
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...2 min read·blog.aarav.com.npNov 28, 2025