PX

BABY CRADLE · IOT

Project X · Infant Swing Controller

SIMULATION ACTIVE

Connection Info

WiFi SSIDBaby Cradle
IP Address192.168.4.1
ModeAP / SIMULATOR
Note: Connect your phone to the "Baby Cradle" WiFi to control real hardware.

Motor Controls

SPEED (PWM) 128

Hardware Pins

ENA (PWM)D2 / GPIO 4
IN1 (Dir)D5 / GPIO 14
IN2 (Dir)D6 / GPIO 12

Live Working Model Animated Prototype

Prototype Videos Hardware Demo

01 / MOTOR WORKING
02 / FINAL OUTPUT

System Architecture Hardware Flow

📱 SMARTPHONE / LAPTOP
↓ Wi-Fi Network ↓
🧠 ESP8266 (Access Point)
↓ HTTP Request (PWM) ↓
⚙️ L298N Motor Driver
↓ Power Output ↓
🌀 DC Gear Motor

Components & Wiring Hardware Map

Component List

  • ESP8266 NodeMCU
  • L298N Motor Driver
  • DC Gear Motor
  • 12V Battery / Supply
  • Jumper Wires

Wiring Map (ESP → L298N)

D2 (PWM) → ENA
D5 (Dir) → IN1
D6 (Dir) → IN2
GND → GND
VIN (5V) → 5V

How It Works Step-by-Step

1
Connect to Wi-Fi
Open your phone's Wi-Fi settings and connect to "Baby Cradle".
2
Open the Dashboard
Open your browser and go to http://192.168.4.1.
3
Control the Motor
Use the START / STOP buttons and adjust the PWM slider to control the swing speed.
⚠
Safety Warning
This is an educational prototype, not a certified infant-care device. Never use it with a real baby.