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
493 views
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
493
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.
Topic
- Comments(0)
- Likes(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
Remove
It looks like you have not written anything. Please add a comment and try again.
View More
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
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
494 0 0 -
RF Control training board for students based on ESP32 C3
666 0 2 -
Aquarius+ Computer, Standard PCB
880 0 4 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
600 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
527 0 1 -
Nintendo Famicom HVC-001 Controller Shells
621 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
584 0 4 -
COMMODORE 128 15KHz DISPLAY ADAPTER (C128 80 COLUMN ADAPTER)
793 1 6 -