Smart solution for collision at doors using Arduino
-
Upload
amon-olimov -
Category
Engineering
-
view
228 -
download
1
Transcript of Smart solution for collision at doors using Arduino
Smart solution for collision at doors using Arduino
Olimov Amon, Ryum-Duck Oh
Department of Software, Korea National University of Transportation
Presentation date: 15.07.07
Contents
• Introduction • Collision notifier device design and methods
– Working algorithm
– Noise removing algorithm from sensor output
– Receiver algorithm for DYP-ME007TX ultrasonic sensor
– From theory to practice, device tests and results
• Conclusion
Introduction • Lots of people work in offices in modern life, scientists,
economists, program developers and such mental workers. At least little troubles or problems may be affected to employment rates of office workers. In fact these kind little troubles happen at solid doors. Without being aware of there is other person behind the door two person trying to open it at the same time. Result of these kinds of collisions might be fear, falling the documents, losing the mind, splitting coffee.
Introduction Consequences of collision:
-Loosing the mind
-Fear
-Stain the cloth in result of splitting coffee
-Falling the documents
-etc.
Introduction Consequences of collision:
-Loosing the mind
-Fear
-Stain the cloth in result of splitting coffee
-Falling the documents
-etc.
Introduction Consequences of collision:
-Loosing the mind
-Fear
-Stain the cloth in result of splitting coffee
-Falling the documents
-etc.
Collision notifier device design and methods (1)
• How to notify if somebody behind the door?
• How to sense collision moments? How to make ubiquitous device?
Collision notifier device design and methods (1)
• How to notify if somebody behind the door?
• How to sense collision moments? How to make ubiquitous device?
Collision notifier device design and methods (1)
• How to notify if somebody behind the door?
• How to sense collision moments? How to make ubiquitous device?
Collision notifier device design and methods (1)
• How to notify if somebody behind the door?
• How to sense collision moments? How to make ubiquitous device?
Collision notifier device design and methods (1)
• How to notify if somebody behind the door?
• How to sense collision moments? How to make ubiquitous device?
Collision notifier device design and methods (2)
• 2x ultrasonic sensors
• 2x LED lights
• 4x AA battery
• 1x Arduino Uno
Working algorithm
aSideDistance < 100 cm
turnOn(bSideLED)
bSideDistance < 100 cm
turnOn(aSideLED)
o If somebody is in 100 cm to A side of door turn on B side LED
o If somebody is in 100 cm to B side of door turn on A side LED
loop
Working algorithm
• On Arduino sketch programming language:
aSideDistance < 100 cm
turnOn(bSideLED)
bSideDistance < 100 cm
turnOn(aSideLED)
loop
Noise removing algorithm from sensor output
Ultrasonic waves are longitudinal mechanical waves, which travel as a sequence of compressions and rarefactions along the direction of wave propagation through the medium. Sensing degree of this sensor illustrated above, best sensing in 30 degree.
After few days testing this sensors there detected some noises on sensing correct distance. To get correct distance value without aberration we have to clear the values array with mode filter or median filter algorithm.
Noise removing algorithm from sensor output
• The robust mode filter is simple "Do the last two readings agree?" (With in a certain distance, and the certain distance depends upon how much variation one expects in the actual use. Even so most use the logic of "are these readings exactly the same")? If so, use the readings, otherwise throw away to oldest reading, and compare the next reading with the most current reading and do this again. Obviously with very noisy data, one might have to sample a larger group of readings, and pull out the most common reading, but for most applications, this simple two reading filter works very well.
Receiver algorithm for DYP-ME007TX ultrasonic sensor
• Our second sensor is DYP-ME007TX that sends only distance between sensor and near object. The output from this sensor comes in packets of 4-bytes, only thing we have to do is extract second and third bytes from package.
From theory to practice, device tests and results (1)
From theory to practice, device tests and results (2)
Conclusion
• We suggest that collision function can be included to the Smart Door Lock devices. If door lockers notify about person through the door, instead of only locking doors, they could be more capable and smarter devices.
Thank you
Olimov Amon1*, Ryum-Duck Oh2
Department of Software, Korea National University of Transportation [email protected], [email protected]