Skip to main content

UCD COSMOS

·2 mins· loading
Michelle Liao
Author
Michelle Liao
Hi. I’m Michelle, a high schooler at Quarry Lane
Table of Contents

BeepBeep
#

For our COSMOS 2024 Cluster 8 (Internet of Things) final project, Jessie Luo and I prototyped BeepBeep, an IoT device that utilizes four different sensors to turn a white cane smart.

We programmed our device with the Arduino, although we spent most of the program learning with the Ti MSP432.

cluster board

Obstacle Detection
#

We used an ultrasonic sensor to detect obstacles within a certain range. As you get closer to the object the frequency of the buzzing increases. Turn the trigger pin high which sends an ultrasonic signal which is received by the sensor as an echo. The pulseIn() function returns how long the signal takes to return back to the sensor. The speed of sound travelling in air is approximately 0.0343 cm/microseconds so we can use that and the time to calculate how far away the obstacle is.

Fall Detection
#

Using the accelerometer, we implemented a feature that detects when the user has dropped the cane. Once dropped, the cane will start buzzing until picked back up again. By continuously measuring the net acceleration from x, y, and z, we can check if the net acceleration is 0 and in free fall.

Lightsaber
#

This was my favorite feature. The cane automatically turns on LEDS to helps other people or vehicles notice the user in dark areas. This was done with the Adafruit TSL2591 light sensor, constantly checking the light levels with our defined threshold.