Therapeutic ultrasound device
I always saw my father using an ultrasound device for treatment as a physical therapist, and I used to work with him. One of the instructions was that we should not raise the device when it was working in the air so that it would not be disturbed. Therefore, it had a sound and light sensor that alerted us when we moved the device away from the patient’s body.I will try to make a sensor like this this week
electronics tools
aurduino
Jumper wires
Red LED
Resistor
breadboard
Buzzer
Ultrasonic sensor
I began by assembling the components on Tinkercad to simulate the circuit before building it in real life.
I used the ultrasonic sensor as an input to sense the proximity of objects to it, and I used the buzzer and LED indicator as an output to express the proximity of the device to the body.
This block code reads the distance from an ultrasonic sensor using trigger pin 3 and echo pin 2. If the measured distance is less than or equal to 10 cm, it sets pins 12 and 13 to HIGH. Otherwise, it sets them to LOW. This likely controls LED and buzzer based on the detected distance
I took this code from TinkerCad by using the blocks+text icon.
we connected an ultrasonic sensor to an Arduino Uno to measure distance. The trigger pin and echo pin of the sensor are connected to the Arduino's digital pins. A buzzer and an LED are also connected to the circuit through a breadboard.
The Arduino reads the distance from the ultrasonic sensor, and if an object is detected within a certain range, the LED lights up and the buzzer sounds. The circuit is powered by the Arduino
arduino ide file
One of the biggest challenges I faced was with the breadboard. I didn’t realize that the top side wasn’t connected, which caused a lot of confusion. I spent a huge amount of time troubleshooting why the circuit wasn’t working. I finally figured out the problem. To prevent this from happening again, I connected the middle part together to ensure proper continuity in future circuits.
Title of Media