santhosh reddy
INDIA • + Follow
Edit Project
Components
|
Arduino_UNO_R3 |
x 1 | |
![]() |
CUSA-T80-12-2600-THCUI DEVICES
|
x 1 | |
![]() |
CEM-14R06CTCUI DEVICES
|
x 1 |
Tools, APP Software Used etc.
![]() |
arduino IDEArduino
|
Description
SPECIALIZED SPECTACLES WITH ARDUINO UNO
#define trigPin 13
#define echoPin 12
#define motor 7
#define buzzer 6
void setup()
{
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(motor, OUTPUT);
pinMode(buzzer,OUTPUT);
}
void loop()
{
long duration, distance;
digitalWrite(trigPin, LOW);
delayMicroseconds(15);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (100/2);
if (distance < 100) // This is where checking the distance you can change the value
{
digitalWrite(motor,HIGH); // When the the distance below 100cm
digitalWrite(buzzer,HIGH);
} else
{
digitalWrite(motor,LOW); // when greater than 100cm
digitalWrite(buzzer,LOW);
} delay(500);
}
Code
arduino code
Python
#define trigPin 13 #define echoPin 12 #define motor 7 #define buzzer 6 void setup() { pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); pinMode(motor, OUTPUT); pinMode(buzzer,OUTPUT); } void loop() { long duration, distance; digitalWrite(trigPin, LOW); delayMicroseconds(15); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance = (100/2); if (distance < 100) // This is where checking the distance you can change the value { digitalWrite(motor,HIGH); // When the the distance below 100cm digitalWrite(buzzer,HIGH); } else { digitalWrite(motor,LOW); // when greater than 100cm digitalWrite(buzzer,LOW); } delay(500); }
Schematic and Layout

Dec 24,2022
713 views
end-flag
SPECIALIZED SPECTACLES WITH ARDUINO UNO
My PROJECT helps the BLIND people to walk comfortably on TRAFFIC roads ultra sonic sensor makes sound to detect the objects in front of man
713
0
0
Published: Dec 24,2022
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
File Last Updated: 2022/12/26 (GMT+8)
File update record
2022-12-2615:30:52
CAD or technical drawing file is updated.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-NonCommercial (CC BY-NC)
License.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
Topic
- Comments(0)
- Likes(0)

Upload photo
0 / 10000
It looks like you have not written anything. Please add a comment and try again.
You can upload up to 5 images!
Image size should not exceed 2MB!
File format not supported!
View More
VOTING
0 votes
- 0 USER VOTES
0.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
More by santhosh reddy
You may also like
-
Modifying a Hotplate to a Reflow Solder Station
176 0 2 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
132 0 1 -
-
Nintendo 64DD Replacement Shell
184 0 1 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
377 4 1 -
How to measure weight with Load Cell and HX711
423 0 3 -
-
Instrumentation Input, high impedance with 16 bit 1MSPS ADC for SPI
531 0 0