Smart Wheelchair

Smart Wheelchair

  • Robotics Project

Overview

 

The Complete Smart Wheelchair System comprises four components:

  • Gesture Controller (gesture_controller.ino): An ESP32 with an MPU6050 gyroscope embedded in a glove detects hand tilts to send movement commands (forward, backward, left, right, stop) to the wheelchair via WebSocket over a Wi-Fi network.
  • Wheelchair Base (wheelchair_base.ino): An ESP32 controls the wheelchair’s motors, avoids obstacles using an ultrasonic sensor, and hosts a web server for manual control.
  • Health Monitor (health_monitor.ino): An ESP32 collects heart rate and SpO2 from a MAX30102 sensor and ECG/temperature from an Arduino via Serial2. It sends email alerts for high temperatures (>100Β°F) and uploads data to ThingSpeak.
  • Arduino Sensor Hub (arduino_sensor_hub.ino): An Arduino reads ECG from an AD8232 sensor and temperature from an MLX90614 sensor, sending data to the health monitor in CSV format.

The gesture controller and wheelchair base are integrated via Wi-Fi, while the health monitor and Arduino sensor hub work together to provide real-time health data, enhancing user safety.

Features

 

  • Gesture Controller:
    • Intuitive glove-based control using MPU6050 gyroscope tilt detection.
    • Real-time WebSocket communication for reliable command transmission.
    • Automatic gyroscope calibration for accuracy.
  • Wheelchair Base:
    • Motor control for five movements (forward, backward, left, right, stop).
    • Ultrasonic sensor for obstacle avoidance (stops at <20 cm).
    • Responsive web interface for manual control via a browser.
  • Health Monitor:
    • Monitors heart rate, SpO2 (MAX30102), ECG, and temperature (Arduino).
    • Email alerts for high temperature (>100Β°F or 37.78Β°C).
    • Data upload to ThingSpeak every 20 seconds for remote monitoring.
  • Arduino Sensor Hub:
    • Collects ECG (AD8232) and ambient/object temperature (MLX90614).
    • Sends data to ESP32 health monitor via Serial in CSV format.

Applications

 

  • Assistive Technology: Empowers individuals with mobility challenges through gesture control and health monitoring.
  • Educational Projects: Demonstrates IoT, sensor integration, wireless communication, and embedded systems.
  • Robotics: Showcases gesture-controlled mobility with obstacle avoidance.
  • Telemedicine: Enables remote health monitoring for caregivers or medical professionals.

Repository Structure

 

SmartWheelchair/
β”œβ”€β”€ gesture_controller/
β”‚   β”œβ”€β”€ gesture_controller.ino
β”‚   └── README_controller.md
β”œβ”€β”€ wheelchair_base/
β”‚   β”œβ”€β”€ wheelchair_base.ino
β”‚   └── README_wheelchair.md
β”œβ”€β”€ health_monitor/
β”‚   β”œβ”€β”€ health_monitor.ino
β”‚   └── README_health_monitor.md
β”œβ”€β”€ arduino_sensor_hub/
β”‚   β”œβ”€β”€ arduino_sensor_hub.ino
β”‚   └── README_arduino.md
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ circuit_diagram.md
β”‚   └── pin_mapping_guide.md
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
└── .gitignore

System Requirements

 

Hardware

 

Component Gesture Controller Wheelchair Base Health Monitor Arduino Sensor Hub
Board ESP32 (e.g., ESP32-WROOM-32) ESP32 ESP32 Arduino Uno or compatible
Sensors MPU6050 (I2C: SDA to GPIO21, SCL to GPIO22) Ultrasonic (TRIG to GPIO25, ECHO to GPIO26) MAX30102 (I2C: SDA to GPIO21, SCL to GPIO22), Arduino via Serial2 (GPIO16, GPIO17) AD8232 (LO+ to pin 10, LO- to pin 11, OUTPUT to A0), MLX90614 (I2C: SDA to A4, SCL to A5)
Actuators None Motor driver (e.g., L298N) to GPIO13, GPIO12, GPIO14, GPIO27 None None
Power Supply 5V, 1A (USB or battery) 7-12V, 2A (for motors) 5V, 1A 5V, 1A
Other Glove to mount ESP32 and MPU6050 Wheelchair chassis with DC motors Finger clip for MAX30102 ECG electrodes for AD8232

Software