Simple MiniProject Ideas Using Arduino
[Simple Mini Projects using Arduino]
Arduino is the name of the carporation that
manufactures the varies microcontrollers in which Arduino uno is the one of the
Microcontroller, which is commonly used in the Embedded Applications, Embedded
System is nothing but a system is designed to perform the specific task, which
is the combination of software, hardware & Firmware.
Microcontroller
Microcontroller is a
heart of the Embedded System, It is a mini computer consists of CPU, CU,
I/O, Memory, Power Supply etc.
How Microcontroller Works?
The main part of Microcontroller is CPU called Brain
of the Microcontroller consists of ALU & CU which helps in performing arithmetic
or logical operations based on the set of instruction given to the
microcontroller and those instructions or data is stored in the memory such that specific works
is done. In order to perform task on the microcontroller input must be in the
form of electric signal, so to analyze any physical parameter it is essential
to convert it into electric form & also when we need to show some output
from the microcontroller it is even important to convert the output signal
coming from the microcontroller because it is in the form of electric signal we
human being can’t understand the electric signal it again converted into the physically
from of signal such as Vibration, light, motion ect. Which can be done with
help of the transducers.
Transducer
Since our Microcontroller can understand only the
electric signals it is essential to convert the physical form of the
signal into electric signal such that
expected operation can be performed on the signal.
transducer converts one from of energy into other form
of energy, for example electric energy into physical form of the energy that is
Actuator and vice-versa that is Sensor.
Arduino UNO (Microcontroller).
Here you can find some Simple Arduino based Mini Projects ideas.
1. Distance Measuring using Ultrasonic sensor.
2. Street Light Control.
3. Day/Night Light ON/OFF-for street lights.
4. Automatic Sanitizer.
5. Fire Detector.
6. Turn ON/OFF Lamp if person enters the room.
7. Automatic Water level controller.
8. Automatic Dustbin.
9. Agricultural Humidity Controller.
10. Calp switch ON/OFF Light.
Interfacing of Ultrasonic Sensor with Arduino
// Distsnce Measuring using the ultrasonic Sensor
#define tri 2
#define eco 3
float duration;
float distance;
void setup(){
Serial.begin(9600);
pinMode(tri,OUTPUT);
pinMode(eco,INPUT);
}
void loop(){
digitalWrite(tri,LOW);
delayMicroseconds(2);
digitalWrite(tri,HIGH);
delayMicroseconds(10);
duration=pulseIn(eco,HIGH);
distance=(duration*0.034)/2;
Serial.print("Distance =");
Serial.print(distance);
Serial.print("cm\n");
}
Program in Arduino IDE
Comments
Post a Comment