Tekko BDSimSimulatorProjects

সোনার হ্যাপটিক বেল্ট — বাধা কাছে হলে কম্পন বাড়েSonic Haptic Belt

ছড়ি দিয়ে হাতে টের পাওয়া যায়, এই বেল্টে শরীরে টের পাওয়া যায় — সোনার চোখ দূরত্ব মাপে, আর বাধা কাছে হলে কোমরের কম্পন তত জোরে জাগে।

A walking cane warns by touch; this belt warns by feel on the waist. The ultrasonic eye measures the gap, and the coin vibration motor hums harder as it shrinks — the body feels distance before the feet find it.

▶ ফ্রি চালিয়ে দেখো / Run it free Parts অর্ডার করো (WhatsApp)

সার্কিট ডায়াগ্রাম · Circuit diagram

Sonic Haptic Belt circuit diagram — Arduino Uno R3, Ultrasonic distance sensor (HC-SR04 / JSN-SR04T), Vibration motor (coin), Resistor 220Ω, LED (red), Jumper wires

যা যা লাগবে · Parts you need

তার লাগানো · Wiring

Ultrasonic distance sensor (HC-SR04 / JSN-SR04T) VCC→Arduino Uno R3 5V
Ultrasonic distance sensor (HC-SR04 / JSN-SR04T) GND→Arduino Uno R3 GND
Ultrasonic distance sensor (HC-SR04 / JSN-SR04T) TRIG→Arduino Uno R3 D5
Ultrasonic distance sensor (HC-SR04 / JSN-SR04T) ECHO→Arduino Uno R3 D6
Vibration motor (coin) +→Arduino Uno R3 D9
Vibration motor (coin) -→Arduino Uno R3 GND.3
Arduino Uno R3 D13→Resistor a
Resistor b→LED A
LED K→Arduino Uno R3 GND.3

Code (Arduino C++)

// Sonic haptic belt: a walking-cane alternative for low-vision users. The
// ultrasonic eye measures the gap ahead; a coin vibration motor on the waist
// hums harder as the gap shrinks, so the body feels distance before the feet
// find it. PWM duty (analogWrite) sets the strength — close means STRONG.
void setup() {
  Serial.begin(9600);
  pinMode(5, OUTPUT);
  pinMode(6, INPUT);
  pinMode(9, OUTPUT);
  pinMode(13, OUTPUT);
}

void loop() {
  digitalWrite(5, LOW); delayMicroseconds(2);
  digitalWrite(5, HIGH); delayMicroseconds(10);
  digitalWrite(5, LOW);
  long echo = pulseIn(6, HIGH, 30000);
  int cm = echo / 58;                                // microseconds -> centimetres
  int duty = 0;
  String level = "clear";
  if (cm > 0 && cm < 40) { duty = 220; level = "STRONG"; }
  else if (cm < 120) { duty = 130; level = "MEDIUM"; }
  analogWrite(9, duty);
  digitalWrite(13, duty == 220 ? HIGH : LOW);
  Serial.print("Distance: "); Serial.print(cm);
  Serial.print(" cm | Belt: "); Serial.println(level);
  delay(120);
}

আরো project · More projects