Tuesday, 17 October 2017

INTERFACING LEDS WITH ATMEGA8 MCU

INTERFACING LEDS WITH ATMEGA8 MCU

INTERFACING LEDS WITH ATMEGA8 MCU:

SCHEMATIC DIAGRAM:



CODING:

#include<avr/io.h>
#include<util/delay.h>

int main(void)
{
DDRD=0xFF;            // set portD as out put
while(1)                     // run forever
{
PORTD=0xFF;          //All the pins of portD is set
_delay_ms(1000);      //wait  for 1sec
PORTD=0x00;          //all the pins of portD is reset
_delay_ms(1000);      // wait for 1 sec
}
return(0);

}

SOFTWARE AND HARDWARE REQUIREMENTS:

SOFTWARE:

  • AVR STUDIO
  • PROTEUS SIMULATION
  • EMBEDDED C PROGRAMMING LANGUAGE
HARDWARE:
  • ATMEGA8 MCU
  • LEDS
  • POWER SUPPLY SECTION


VIDEO:

https://www.youtube.com/watch?v=Vy94lCerEkY&t=6s

Sunday, 15 October 2017

IOT BASED LED SCROLLING BOARD DISPLAY USING NODEMCU

IOT BASED LED SCROLLING DISPLAY USING NODEMCU:



AIM:
The main of this project is to develop an e circular based on Wi-Fi and web server technology
PURPOSE:
In this paper, we have designed a notice board display system access to a range of personalized information direct from mobile devices here, any user who needs to the access this app has to first get registered by the administrator (admin) of that particular organization. The following outlines the various categories of content which will be available from within the application. They can view their course details assignments/lectures, attendance posted in e-learning site and their course/exam timetables to notice board display.
EXISTING SYSTEM:
Paper circular is a piece of printed matter distributed to a defined group of people. Paper circulars are widely used in industries, schools, colleges etc., It is distributed for a group of people but its matter can’t reaching some peoples. And for distributing some manpower is needed. The normal message is transferred by using a mobile phone only. Here display is small size not visible for more peoples.
PROPOSED SYSTEM:
The proposed system E-Circular is to overcome the existing problems. It is to display the circulars from Transmitter unit to the respective receiver unit using the wireless transfer. The transmitter unit consists of the microcontroller, Wi-Fi transceiver combined with pc. If we type any matter in the pc it will transfer from Bluetooth transmitter unit to receiver unit. The receiver unit receives the transmitted data and it displays in LED board.

DESCRIPTION:
Currently, almost all universities offer their electrical notice board access to e-learning platform on their websites, which contain the educational material of the subjects taught at the university, attendance, library activity, academic calendar etc., in the same way, we have to open the website to check for the attendance, timetable and any videos about our college. The principal objective of this project is to develop a mobile application which gives students access to a range of personalized information directly to mobile devices. It enables students to stay informed with the ease and convenience that mobility brings.
This application can be loaded on mobile phones which support java making it easier than ever to access University specific information on the goes every one the college.

SOFTWARE USED:
ü  Arduino IDE
ü  Embedded C Programming Language
ü  Proteus
HARDWARE USED:
ü  ESP8266 NODEMCU
ü  LED Display board
ü  Power supply adapters
APPLICATIONS:
  • Educational Institutions and Organizations
  • Railway Station
  • Advertisement
  • Crime Prevention
  • Managing Traffic


Sunday, 8 October 2017

Interfacing Switch with LED using Arduino

Circuit Diagram:


Code:

const int buttonPin = 2;           // the number of the pushbutton pin
const int ledPin =  8;                  // the number of the LED pin

int buttonState = 0;             // variable for reading the pushbutton status

void setup() {           // initialize the LED pin as an output:
  pinMode(ledPin, OUTPUT);          // initialize the pushbutton pin as an input:
  pinMode(buttonPin, INPUT);
}

void loop() {
  buttonState = digitalRead(buttonPin); // read the state of the pushbutton value:

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonState == LOW) {
    // turn LED on:
    digitalWrite(ledPin, HIGH);
  }
  else {
    // turn LED off:
    digitalWrite(ledPin, LOW);
  }

}

Interfacing LED with Arduino

Interfacing Circuit:



Code:

int led=13; //LED CONNECTED TO DIGITAL PIN 13

void setup()
{
  pinMode(led, OUTPUT); // DEFINE LED IS OUTPUT DEVICE
}

void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}