By Paul , 15 September 2025
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <Servo.h>

// TFT Display pins - using easy-to-find digital pins
#define TFT_CS     10  // Chip Select
#define TFT_RST    9   // Reset
#define TFT_DC     8   // Data/Command
#define TFT_MOSI   11  // SDI on your display
#define TFT_CLK    13  // SCK on your display  
#define TFT_MISO   12  // SDO on your display

// Sensor and servo pins
#define TRIG_PIN   4   // Ultrasonic TRIG
#define ECHO_PIN   5   // Ultrasonic ECHO
#define SERVO_PIN  6   // Servo signal

// Display dime
By Paul , 15 September 2025
#include <LedControl.h>  // Library for driving MAX7219 LED matrices

// MAX7219 wiring pins
#define DIN_PIN     6    // Data input
#define CLK_PIN     5    // Clock pin
#define CS_PIN      3    // Chip select
#define NUM_MODULES 4    // Number of 8×8 modules in cascade

LedControl lc(DIN_PIN, CLK_PIN, CS_PIN, NUM_MODULES);

// Joystick and button pins
#define VRx A0  // Joystick X-axis (left/right)
#define VRy A1  // Joystick Y-axis (up/down)
#define SW  2   // Push-button switch for rotation

// Display dimensions
const int SCREEN_W = 8;           
By Paul , 15 September 2025

Simple Arduino Radar with Processing - Step by Step Guide

Why This Approach is Much Easier

Only 3 components - Arduino Mega, servo, ultrasonic sensor
No complex TFT display wiring - uses your computer screen instead
Easy troubleshooting - see data in real-time
Professional radar display - looks just as good as TFT version
Works on any computer - no special hardware needed

By Paul , 15 September 2025

Build Your Own Arduino Radar System with TFT Display

Project Overview

Create a professional-looking radar system using an Arduino Mega, ultrasonic sensor, servo motor, and TFT display. This project displays real-time object detection on a 2.8" color screen with classic radar sweep effects, making it perfect for educational demonstrations or impressive maker projects.

By Paul , 15 September 2025

ESP32 Weather Station Project

Overview

This project creates a complete weather station using an ESP32 microcontroller that reads temperature, humidity, and pressure data from sensors and displays the information on an OLED screen.

Tags

By Paul , 8 September 2025
// Smart Plant Watering - Complete Version for Arduino Nano with OLED
#include <DHT.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

// Display settings - Use 32px height to save memory
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 32
#define OLED_RESET -1
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

// Pin definitions
#define DHT_PIN 2
#define DHT_TYPE DHT22
#define SOIL_PIN A2
#define WATER_PIN A3
#define PUMP_PIN 7
#define BUZZ_PIN 8

DHT dht(DHT_PIN, DHT_TYPE);

// 
By Paul , 8 September 2025
/*
 * Burglar Alarm System with Keypad
 * Arduino Uno + 20x4 LCD (I2C) + 4x4 Keypad + Buzzer
 * 
 * Features:
 * - Arm/Disarm with passcode
 * - Entry delay
 * - Motion sensor support
 * - LCD status display
 * - Buzzer alarm
 */

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Keypad.h>

// LCD Configuration (I2C address 0x27, 20 columns, 4 rows)
LiquidCrystal_I2C lcd(0x27, 20, 4);

// Keypad Configuration
const byte ROWS = 4;
const byte COLS = 4;
char keys[ROWS][COLS] = {
  {'1','2','3','A'},
  {'4','5','6','B'},
  {'7','8','
By Paul , 8 September 2025

LCN 2004A1 is a 20x4 LCD (20 columns, 4 rows)! The contrast fix is still the same, but let me give you the correct setup:

Step 1: Fix Contrast (Same as before)

Connect LCD pin 3 (V0) to GND temporarily to test. If squares turn dark, use a 10kΩ potentiometer or 1kΩ-10kΩ resistor to GND.