Tuesday, 20 March 2018

How to simulate vibration sensor using arduino uno in proteus ISIS profe...



Embedded systems basics:


How to simulate vibration sensor using arduino uno in proteus ISIS professional Here I have show you how to use vibration sensor in proteus ISIS professional What's the simplest way to check vibration with Arduino and proteus? COMPONENTS
  • Arduino uno
  • LED light
  • vibration sensor
  • Resistor
  • Virtual terminal
We use two conditions for vibration sensor using arduino uno in proteus ISIS
CONDITIONS: vibration sensor value HIGH - Blinking LED light vibration sensor value LOW - Not Blinking -It will show output value in virtual terminal
CODING FOR VIBRATION SENSOR:

#define v_Pin 13
int v_value;
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600); // Initializing Serial Port
  pinMode(2,OUTPUT);   
}
void loop() {
  // put your main code here, to run repeatedly:
   v_value = digitalRead(v_Pin); 
Serial.println(v_value);
   if(v_value==HIGH){
      digitalWrite(2,HIGH);
      Serial.println(" HIGH VALUE");
   }
   else{
      digitalWrite(2,LOW);
      Serial.println(" LOW VALUE");
   }
   delay(1000);  
}

----------------------------------------------------------------------------------------------------------------------------------- Embedded systems basics -Digital Universe Click below link for gas sensor https://youtu.be/ALm-okkKRPY Click below link for PIR sensor https://youtu.be/4gRo1ijpMmQ Click below link for temperature sensor https://youtu.be/1GJC_6eF7Xg Subscribe To My Channel and Get More Great Ideas https://bit.ly/2UlZJcb

If you like this Video Please like and Share to your friends...
Basics of embedded systems -Digital Universe
Thanking you..

No comments: