Sensor Detection Circuit

by EnGineer in Circuits > Arduino

300 Views, 3 Favorites, 0 Comments

Sensor Detection Circuit

Working Danger Cicuit.png
Danger Cicuit Schematic.png

I made this specific circuit to replicate many different utilizations of this circuit in: car object detection system, monitoring circuits, and other applications with distance sensors. This specific circuit can be utilized in many different applications that require a sensor to notify if they are too close to various objects, by alerting them with an RGB LED, LCD Screen, and a Buzzer for noise. As you progressively get closer to an object, the LED lights up red, the LCD displays a "DANGER!" statement, and the piezo buzzer starts to buzz loudly. To conclude, this circuit has various utilizations, and acts as a sensing circuit: green = safe (no buzz), orange = caution (beeping buzz), and red = DANGER (constant buzz)!

Supplies

Specific supplies include:

  • Any Arduino - Preferably Arduino Uno R3
  • A RGB LED
  • 270 Ohm Resistor
  • An I2C LCD Screen
  • Piezo Buzzer
  • 4 Male to Female Wires
  • 9 Male to Male Wires

TinkerCAD

Danger Cicuit .png
Danger Cicuit Schematic.png
TinkerCAD.png

Open TinkerCAD


Electronic Components

Collect the specific electronic components: I2C LCD Screen, Piezo Buzzer, 270 Ohm Resistor, Ultra-Sonic Sensor, and a RGB LED


RGB LED

Connect the RGB LED Based upon the schematic


Resistor

MAKE SURE TO CONNECT THE RESISTOR TO THE BLACK GROUND LEAD PLEASE (to change the resistance of the resistor, simply click on it and change the symbol to Ohms, and add 270, instead of 1)


Connection

Designate the wires to each of the RGB LED wires - (Left to Right) Red, Ground, Blue, Green


Ultra-Sonic Sensor

Connect the Ultra-Sonic Sensor's power and ground


Connection

Connect the Ultra-Sonic Sensor's data pin according to the schematic


I2C LCD Screen

Connect the I2C LCD Screen according to the schematic


Piezo Buzzer

Designate the piezo buzzer pins too


Block Code

Danger Cicuit Schematic Code.png

Lastly, follow the block code procedure listed above