Introduction: ULTRASONIC Patent
Alternative use of 2 hc-sr04
Transmitter the one and receiver the other
Alternative to electromagnetic wireless switch with ULTRASOUND TRIGGER.
Alternative to electromagnetic signal-ULTRASOUND TRIGGER THAT ACTIVATE THE LIGHTS-ALARM OR WHATEVER YOU WANT.
Link to my acount in Github: https://github.com/nektarios25ma/Alternative-to-electromagnetic-signal-ULTRASOUND-TRIGGER-. Trying to activate lights or alarm, wireless with the basic arduino kit, we made a specific ultrasound signal with HC-SR04 that activate another HC-SR04 who act as receiver only .So the first will act as transmitter and the other as receiver. This was used to a school project -AND I WAS THE SUPERVISOR- as a part of smart city miniature THAT PROVIDES "priority" to ambulance of blocked roads with traffic lights. Link to school project : https://github.com/nektarios25ma/GYMNASIO-BRYSWN2 (greece).
1) Arduino uno : https://grobotronics.com/funduino-uno-rev3-arduin...
2) 2 Hc-sr04 : https://grobotronics.com/ultrasonic-sensor-sr04.h...
3) Leds : 2 green ,2 red,1 yellow
4) 1 Buzzer : https://grobotronics.com/buzzer-5v.html
5)Breadboard : https://grobotronics.com/breadboard-mini-transluc...
7) 5 - 220 ohm resistors
Step 1: Presentation to a Class
Student age (13-15)
Previous knowledge (basic physics -waves, electicity- and basic experience with arduino projects)
A.BE AN INVENTER (THE ART OF AN INVENTOR)
Talk about characteristics of an inventor (20 minutes)
B.UNDERSTANTING SOUND AND ULTRASOUND- USE THE PRESENTATION (POWER POINT)
C. HOW TO MAKE A “PATENT”-ULTRASONIC REMOTE CONTROL - BY A MODIFIED ELECTRONIC DEVICE
1) UNDERSTANTING THE HC-SR04-MAKING THE BASIC DISTUNCE DETECTION CIRCUIT (1-2 HOURS)
TUTORIAL: https://create.arduino.cc/projecthub/Isaac100/getting-started-with-the-hc-sr04-ultrasonic-sensor-036380 OR https://www.instructables.com/id/Distance-Detector-1/
3) UNDERSTANTING OUR NEEDS-ACTIONS-see this instructable.
First we need a transmitter that produces a signal constantly-see this instructable (20 minutes)
Second we need a receiver. Talk about the modification of hc sr04, covering the receiver module in order to receive only and not transmit, and construction-code etc -see this instructable (1 hour)
Possibilities i.e. –next project:The application of this “patent” by the student (13-15 years old,Gymnasio Vryswn): Smart city with clever traffic lights and clever gates that give priority to ambulance and more like city alerts of high or too low temp.
Step 2: Transmitter
The transmitter need only to transmit , so we dont need the echo (receiver), thus its optional to cover it but i recomend to let it free to check the functionality of HSR04.
First the code of transmitter:
#define TRIGGERPIN 8
#define ECHOPIN 9
Step 3: RECEIVER
We must cover (with cotton and tape) the trigger becouse we want only to receive . If by mistake dont cover it you will have signal from trigger so the wireless switch will faile.
Then the code of receiver:
#define echo 12
#define trigger 13
//leds and buzzers that will activate after the //signal
int ledRed = 2;
int ledOrange = 10;
int ledGreen = 9;
const int buzzer = 7;
// THE TRIGGER SEND A SIGNAL TO ACTUALLY TURN ON THE leds and buzzer via RECEIVER
digitalWrite(trigger,HIGH); //trick to enable the receiver
return microseconds / 10;
Serial.println(RECEIVER()); //TEST ....IF IS WORKING-SEE THE SERIAL IF THE SENDER-TRANSMITTER //WORKS(OF COURSE ACTIVATE THE TRANSMITTER)
// IF THIS PARTICULAR ULTRASOUND DETECT WHILE TURN ON THE LEDS AND BUZZER OR WHATEVER //YOU WANT
if ( RECEIVER()>= 5 && RECEIVER()<= 29930)
} //WITH NO SIGNAL THE RECEIVER WRITES ZERO
if ( RECEIVER()<= 5 )
Step 4: One Possible Aplication That Took Place to a Greek School
i.e. –next project:The application of this “patent” by the student (13-15 years old,Gymnasio Vryswn): Smart city with clever traffic lights and clever gates that give priority to ambulance and more like city alerts of high or too low temp.
link to github : https://github.com/nektarios25ma/GYMNASIO-BRYSWN2
Participated in the