int x=1;
int y=0;
int buz=15;
void low()
{
digitalWrite(3,LOW);
digitalWrite(4,LOW);
digitalWrite(5,LOW);
digitalWrite(6,LOW);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
}
void chk()
{
if(digitalRead(9)&& x)
{
digitalWrite(3,HIGH);
x=0;
y=1;
Serial.print(x);
Serial.print("3");
}
else if(digitalRead(10)&& x)
{
digitalWrite(4,HIGH);
x=0;
y=1;
Serial.println("4");
Serial.print(x);
}
else if(digitalRead(11)&& x)
{
digitalWrite(5,HIGH);
y=1;
x=0;
Serial.println("5");
}
else if(digitalRead(12)&& x)
{
digitalWrite(6,HIGH);
x=0;
y=1;
Serial.println("6");
}
else if(digitalRead(13)&& x)
{
digitalWrite(7,HIGH);
x=0;
y=1;
Serial.println("7");
}
else if(digitalRead(14)&& x)
{
digitalWrite(8,HIGH);
x=0;
y=1;
Serial.println("8");
}
}
////////////////////////////////////////////////////////////////////////////////////////////
void setup()
{
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
Serial.begin(9600);
Serial.println("Started");
/////////////////////////////////////////////////////////////////////////////////
pinMode(9,INPUT);
pinMode(10,INPUT);
pinMode(11,INPUT);
pinMode(12,INPUT);
pinMode(13,INPUT);
pinMode(14,INPUT);
////////////////////////
low();
}
void loop()
{
while(1)
{
chk();
if(y)
{
digitalWrite(buz,HIGH);
Serial.println("buzon");
delay(3500);
digitalWrite(buz,LOW);
delay(5000);
break;
}
}
x=1;
y=0;
low();
}
Monday, November 26, 2012
Arduino-Quiz- Buzzer Sytem
A quiz Buzzer System Based on Arduino-Atmega8
Wednesday, September 5, 2012
Getting Started With The STM32F4DISCOVERY In Linux
Building an ARM toolchain
To compile code for the STM32F4DISCOVERY you’ll need an ARM toolchain that supports the Cortex-M3. I used the build script summon-arm-toolchain to build one. Before running the script you need to install several dependencies:
The Summon ARM toolchain is a shell script which will download the source of bintutils, gcc/gdb and two or three other packages (newlib, openocd andlibopencm3) and compiles them (after applying some patches) to get executables for a "bare-metal" arm toolchain; you only have to clone the "summon arm toolchain" git repo and run a script called "summon-arm-toolchain". The executables (arm-none-eabi-gcc and friends) will be installed in the folder ~/sat/bin.
Wednesday, August 15, 2012
IEEE Projects in Embedded System
- Parking spaces detection in indoor environments based on Zigbee(IEEE Transaction 2012)
\
- An efficient approach for sensor deployments in wireless sensor network
- Overview of Security issues in Wireless Sensor Networks
- A GSM Based wireless remote controller
- Automatic Irrigation based on wireless network
- Universal Remote control with haptic interface for Custom Electronic Devices
- A hybrid Wired/Wireless Networking infrastructure for Green House Management
- Design and Implementation of smart home energy management systems based on Zigbee
Friday, August 3, 2012
Sunday, July 15, 2012
Embedded System Projects 2012-13
1.AUTOMATION USING DIGITAL POWER LINE COMMUNICATION PROTOCOL
2.PROTECTION OF POWER TRANSFORMER USING MICROCONTROLLER-BASED RELAY
3.A FOREST FIRE MONITORING SYSTEM BASED ON GPRS AND ZIGBEE WIRELESS SENSOR NETWORKS
4.REMOTE POWER ON/OFF CONTROL AND CURRENT MEASUREMENT FOR HOME ELECTRIC OUTLETS BASED ON A LOW-POWER EMBEDDED BOARD AND ZIGBEE COMMUNICATION
5.DESIGN AND IMPLEMENTATION OF ZIGBEE BASED URC APPLICABLE TO LEGACY HOME APPLIANCES
For More Topics Subscribe to News Letter
2.PROTECTION OF POWER TRANSFORMER USING MICROCONTROLLER-BASED RELAY
3.A FOREST FIRE MONITORING SYSTEM BASED ON GPRS AND ZIGBEE WIRELESS SENSOR NETWORKS
4.REMOTE POWER ON/OFF CONTROL AND CURRENT MEASUREMENT FOR HOME ELECTRIC OUTLETS BASED ON A LOW-POWER EMBEDDED BOARD AND ZIGBEE COMMUNICATION
5.DESIGN AND IMPLEMENTATION OF ZIGBEE BASED URC APPLICABLE TO LEGACY HOME APPLIANCES
For More Topics Subscribe to News Letter
Thursday, July 5, 2012
Friday, June 8, 2012
Temperature Monitoring System using 89V51
P89v51RD2 of NXP is having a inbuilt boot loader which makes
the programming of p89v51rd2 very simple. For that connect EA pin to Vcc
and PSEN Pin to ground. And use Flash Magic Software for downloading your hex
file using a MAX232
In this design ADC808 is interfaced with micro controller 89v51 to read the Temperature from LM35 and displayed on an LCD Interfacing ADC808 <
f
Subscribe to:
Posts (Atom)