SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Information Technology
Information technology (IT) is a branch of engineering dealing with the use of computers and
telecommunications equipment to store, retrieve, transmit and manipulate data. The
Information Technology Association of America has defined IT as "the study, design,
development, application, implementation, support or management of computer-based
information systems". The term is commonly used as a synonym for computers and computer
networks, but it also encompasses other information distribution technologies such as
television and telephones.
APPLICATIONS OF MICROCONTROLLER
Microcontroller-Based Solar Charger
As the sources of conventional energy deplete day by day, resorting to alternative
sources of energy like solar and wind energy has become need of the hour.
Solar-powered lighting systems are already available in rural as well as urban areas.
These include solar lanterns, solar home lighting systems, solar streetlights, solar garden
lights and solar power packs. All of them consist of four components: solar photovoltaic
module, rechargeable battery, solar charge controller and load.
In the solar-powered lighting system, the solar charge controller plays an important role
as the system’s overall success depends mainly on it. It is considered as an
indispensable link between the solar panel, battery and load.
Main Feautures
The microcontroller-based solar charge controller described here has the following
features:
1. Automatic dusk-to-dawn operation of the load.
2. Built-in digital voltmeter (0V-20V range)
3. Parallel- or shunt-type regulation
4. Overcharge protection
5. System status display on LCD
6. Deep-discharge protection
7. Low battery lock
8. Charging current changes to ‘pulsed’ at full charge
9. Low current consumption
10. Highly efficient design based on microcontroller
11. Suitable for 10-40W solar panels for 10A load
Circuit Diagram
Circuit Description
Basically, there are two methods of controlling the charging current: series regulation
and parallel (shunt) regulation. A series regulator is inserted between the solar panel
and the battery. The series type of regulation ‘wastes’ a lot of energy while charging the
battery as the control circuitry is always
active and series regulator requires the input voltage to be 3-4 volts higher than the
output voltage. The current and voltage output of a solar panel is governed by the angle
of incidence of light, which keeps varying.
Parallel regulation is preferred in solar field. In parallel regulation, the control circuitry
allows the charging current (even in mA) to flow into the battery and stop charging once
the battery is fully charged. At this stage, the charging current is wasted by converting
into heat (current is passed through low-value, high-wattage resistor); this part of the
regulation dissipates a lot of heat.
In this project, we have used parallel regulation technique but instead of wasting the
charging current as heat, we have made it pulsed and applied to the battery to keep the
battery topped-up.
After power-on, the microcontroller reads the battery voltage with the help of the ADC
and displays the values on the LCD. It monitors the input signal from the dusk-to-dawn
sensor and activates the load or charging relay RL1 accordingly. The digital voltmeter
works up to 20V. As Vref of the ADC is connected to VCC (5V), the input voltage to the
ADC cannot exceed +5V. A potential divider is used at pin 2 of the ADC (IC2) using
resistors R5, R6 and R7 to scale down the voltage from 0V-20V to 0V-05V. The ADC
output is multiplied four times and displayed on the LCD as battery voltage.
When the solar panel voltage is present, the dusk-to-dawn sensor provides a signal to
the microcontroller, which then displays ‘charging’ message on the LCD. During
charging, the battery voltage is continuously monitored. When the voltage reaches
14.0V, the microcontroller interrupts the charging current by energising the relay, which
is connected to MOSFET BS170 (T2), and starts a 5-minute timer. During this stage, the
LCD shows “battery full.”
After five minutes, the relay reconnects the panel to the battery. This way, the charging
current is pulsed at the intervals of five minutes and the cycle repeats until the panel
voltage is present.
When the panel voltage falls below the zener diode (ZD1) voltage of the dusk-to-dawn
sensor, the microcontroller senses this and activates the load by switching on MOSFET
T3 via optocoupler IC3 and “load on” message is displayed.
In this mode, the microcontroller monitors for low battery. When the battery voltage
drops below 10 volts, the microcontroller turns off the load by switching off MOSFET T3
and “battery low—load off” message is displayed.
Normally, when the load is switched off, the battery voltage tends to rise back and the
load oscillates between ‘on’ and ‘off’ states. To avoid this, the microcontroller employs a
hysteresis control by entering into a ‘lock’ mode during low-battery state and comes out
of the lock mode when the dusk-to dawn sensor receives the panel voltage (the next
morning). During lock mode, the microcontroller keeps converting the ADC value and
displays the battery voltage on the LCD.
Wireless Equipment Control Using AT89C51
here is a microcontroller based wireless equipment controller that can switch on or
switch off up to four devices at a desired time interval set by the user in the transmitter.
The devices can be controlled remotely from a distance of up to 30 metres from the
transmitter. In the transmitter, an LCD module is used to show the device numbers and
preset control time for the devices (00 to 99 seconds). Concepts of wireless RF
communication and automation with AT89C51 microcontroller are used here.
Pros
The system is small, simple, cost-effective and good for wireless
control of home appliances or industrial instrumentation.
Block Diagram of Transmitter Section
Transmiter Section
Four pushbutton switches (S1 through S4) are used as inputs to select
the devices and set the time-out in the transmitter section. These are
designated as up, down, enter and run keys, respectively. The time-out
data is transferred over the RF wireless link to the receiver section.
The 8-bit AT89C51 microcontroller is the main controlling part of the transmitter section.
It is connected to the LCD module, input switches and encoder IC (HT12E). The device
control program is stored in the memory of the microcontroller to control the devices as
per the time-out settings done through input switches S1 through S4.
A two-line, 16-character LCD module shows the status of the main program that is
running inside the microcontroller.
The HT12E is an 18- pin DIP package encoder IC that encodes 4-bit data and sends it to
TRX-434 RF transmitter module.
The TRX-434 RF transmitter module uses a digital modulation technique called
amplitude-shift keying (ASK) or on-off keying. In this technique, whenever logic ‘1’ is to
be sent, it is modulated with carrier signal (434MHz). This modulated signal is then
transmitted through the antenna.
Block Diagram of Reciever Section
Reciever Section
The 12V DC supply, used along with a 5V regulator, can be provided by a 12V battery or
power adaptor.
The RX-434 radio receiver module receives the ASK signal from TRX-434. The HT12D
decoder demodulates the received address and data bits. IC CD4519 is a quadruple two-
input multiplexer that selects the appropriate data bits to control the devices.
The ULN 2003 relay driver consists of seven npn Darlington pairs that feature high-
voltage outputs with common-cathode clamp diodes for switching the inductive loads.
The collector-current rating of a single Darlington pair is 500 mA.
Secured Room Access System
Security is a prime concern in our day-to-day life. And access control system forms a
vital link in a security chain.
The microcontroller-based digital lock presented here is an access control system that
allows only authorised persons to access a restricted area. When someone tries to enter
the restricted area by entering invalid passwords continuously, the system locks itself
and can be unlocked only by the master user.
The system comprises a small electronic unit with a numeric keypad, which is fixed
outside the entry door to control a solenoid-operated lock. When an authorised person
enters a predetermined number (password) via the keypad, the relay energises for a
limited time to unlock the solenoid-operated lock, so door can be pushed/pulled open. At
the end of the preset delay, the relay de-energises and the door gets locked again. A
prompt message is displayed on the LCD module.
Circuit Diagram
Circuit Description
The system uses a compact circuitry built around AVR microcontroller ATmega8535. The
ATmega8535 is a low power CMOS 8-bit microcontroller based on the AVR-enhanced
RISC architecture. It provides the following features: 8 kB of in-system programmable
Flash memory with read-while-write capabilities, 512-byte EEPROM, 512-byte SRAM, 32
general purpose I/O lines, 32 general-purpose working registers, three flexible
timer/counters with compare modes, and internal and external interrupts. The built-in
power-on-reset circuitry of the microcontroller eliminates the need for external power-
on-reset circuit.
Switch S3 is used to reset the system, which is accessible only to the master user. Port
D (PD0 through PD7) is interfaced with the numeric keypad. Port C is interfaced with a
16x2 line LCD. Four pins (PC4 through PC7) of Port C are used as data lines for the LCD
module and three lines (PC0 through PC2) are used for controlling the LCD. Pin 40 (PAO)
of port A is connected to the relay driver circuit through optocoupler MCT2E (IC3) and
transistor T1.
When port pin PA0 goes high, the internal transistor of IC3 drives transistor T1 into
saturation and relay RL1 energises. As the solenoid valve is connected through normally-
closed (N/C) contact of the relay, the solenoid coil de-energises and the gate is locked.
An 8MHz crystal is used with two 22pF capacitors for providing clock. Preset VR1 is used
to adjust the contrast of the LCD.
The 230V, 50Hz AC mains is stepped down by transformer X1 to deliver a secondary
output of 9V, 500 mA. The transformer output is rectified by a full-wave bridge rectifier
comprising diodes D1 through D4, filtered by capacitor C1 and regulated by IC 7806
(IC1). Use adequate heat-sink for 7806 as the solenoid draws a high current. LED1
glows when power is ‘on’ and resistor R6 acts as the current limiter.
A 16-key numeric keypad for password entry is connected to the microcontroller. The
keypad is also used for password change and application of master password when
required. To economise the use of I/O pins, we have used here only eight pins for
scanning and sensing 16 keys.
The keypad is arranged in a 4x4 matrix. There are four scan lines/pins, which are set in
output mode, and four sense keys, which are used as input lines to the microcontroller.
At a small time interval, the microcontroller sets one of the four scan lines as low and
the other three scan lines as high. Then it checks for the status of sense lines one by one
at the intersection of a specific scan line and sense line to find out if any key has been
pressed.
Similarly, after a small time interval, the next scan line is made low and remaining three
scan lines are taken high, and again all three sense lines are checked for low level. This
way the microcontroller checks which of the 16 keys is pressed.
Due to the high speed of the microcontroller, the status of different keys is checked in
less than 100 ms and a key press is detected and identified. As the keys are pressed
manually by the user, this delay of 100 ms is not noticeable. The net result is that you
save on I/O pins of the microcontroller by sacrificing almost nothing.
When a person wants to enter the room, he enters the 6-digit password, say ‘123456.’ If
the password matches successfully, the gate is unlocked for 15 seconds.
If you want to change the user password (123456) and enter the master password
‘291279,’ the system will ask you to change the user password. On successfully entering
the password, pin A0 of port A becomes high for 15 seconds, because of which transistor
T1 starts conducting through the emitter of the optocoupler and the relay energises. The
connection between the solenoid lock and the power supply is broken and the door is
unlocked for 15 seconds.
Microcontroller-Based Ring Tone Player
Mobile phone ring tones sound like real audio recordings. It’s not because of the way the
melodies are composed, but the protocol behind playing the melody. The ring tone text
transfer language (RTTTL) is behind those wonderful lullabies and songs you have on
your mobile phone.
Basically, a ring tone is the sound made by a mobile phone to indicate an incoming call
or text message. Here we present a microcontroller-based ring tone generator.
Circuit Diagram
Circuit Description
At the heart of the circuit is microcontroller AT89C51. It is a low-power, high-
performance, 8-bit microcontroller with 4kB Flash programmable and erasable read-only
memory. It has 128 bytes of RAM, 32 input/output (I/O) lines, two 16-bit
timers/counters, a five-vector two-level interrupt architecture, on-chip oscillator and
clock circuitry.
The 11.0592MHz crystal provides the basic clock frequency to the microcontroller. Port
pin P2.0 of the microcontroller provides the ringtone melody signal for speaker LS1.
Transistor BC337 is used for amplification. The power-‘on’ reset signal for the
microcontroller is generated by the combination of capacitor C3 and resistor R2. Switch
S1 provides manual reset to the microcontroller.
The 230V AC mains is stepped down by transformer X1 to deliver the secondary output
of 9V, 500 mA. The transformer output is rectified by a full-wave bridge rectifier
comprising diodes D1 through D4, filtered by capacitor C1 and regulate by IC 7805
(IC2). Capacitor C2 bypasses the ripples present in the regulated power supply. LED1
acts as the power-‘on’ indicator and resistor R1 limits the current through LED1.
Software
The program plays “happy birthday to you” in RTTTL ring tone format using the
microcontroller AT89C51. The source program, written in Assembly language and
assembled using assembler ASM51, is self-explanatory and easy to understand.
Initialise timer 0 and timer 1 as 16-bit timers with predetermined value. When you start
timer 0, the data pointer register is loaded with memory address labeled as ‘SONG.’
After playing the current note, the control jumps to the next note and it starts playing.
This process continues until the end of music data is reached. Thereafter, it starts
playing the music from the beginning.
Nokia RTTTL ringtones can be downloaded from the following websites:
1. http://www.2thumbswap.com/members/tones/nokia/tones_nokia_latest.html
2. http://nokiatone.ifrance.com/nokiatone/rtttf.htm
3. http://ringtones.frostzone.com/index.htm
4. http://arcadetones.emuunlim.com/files.htm
RTTL ringtones can also be tested on the computer, the software for which can be
downloaded from the link ‘http://arcadetones.emuunlim.com/files/nokring_full.zip.’
Applications of microcontroller
Applications of microcontroller

Weitere ähnliche Inhalte

Was ist angesagt?

Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training pptNishant Kayal
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 MicrocontrollerASHISH RANJAN
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR FundamentalsVinit Vyas
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACBurdwan University
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.pptDr.YNM
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introductionShubham Singh
 
Seven segment interfacing with 8051.pdf
Seven segment interfacing with 8051.pdfSeven segment interfacing with 8051.pdf
Seven segment interfacing with 8051.pdfSrikrishna Thota
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Current source inverter
Current source inverterCurrent source inverter
Current source inverterPrashant Kumar
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.parthi_arjun
 

Was ist angesagt? (20)

Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
 
SCR
SCRSCR
SCR
 
Digital voltmeter project
Digital voltmeter projectDigital voltmeter project
Digital voltmeter project
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIAC
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Thyristor
Thyristor Thyristor
Thyristor
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Thyristor
ThyristorThyristor
Thyristor
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Seven segment interfacing with 8051.pdf
Seven segment interfacing with 8051.pdfSeven segment interfacing with 8051.pdf
Seven segment interfacing with 8051.pdf
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Current source inverter
Current source inverterCurrent source inverter
Current source inverter
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 

Andere mochten auch

Applications of 8051 microcontrollers
Applications of 8051 microcontrollersApplications of 8051 microcontrollers
Applications of 8051 microcontrollersDr.YNM
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applicationsKartik Kalpande Patil
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)Ismail Mukiibi
 
I2C BUS
I2C BUSI2C BUS
I2C BUSp_ayal
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CAvinash Reddy Penugonda
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1Sally Salem
 
Presentation on History of Microcontroller(Updated - 2)
Presentation on History of Microcontroller(Updated - 2)Presentation on History of Microcontroller(Updated - 2)
Presentation on History of Microcontroller(Updated - 2)ALPESH MARU
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsmanishpatel_79
 
Microprocessor applications
Microprocessor applicationsMicroprocessor applications
Microprocessor applicationsRohit Gothwal
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsmanishpatel_79
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systemsanishgoel
 
8051 microcontroller introduction
8051 microcontroller introduction8051 microcontroller introduction
8051 microcontroller introductionANJUSHA R
 
Project on Electronic voting machine
Project on Electronic   voting   machineProject on Electronic   voting   machine
Project on Electronic voting machineDeepak Kumar
 
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEM
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEMSOLAR PV-WIND HYBRID POWER GENERATION SYSTEM
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEMtulasi banala
 

Andere mochten auch (20)

Applications of 8051 microcontrollers
Applications of 8051 microcontrollersApplications of 8051 microcontrollers
Applications of 8051 microcontrollers
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
Microcontroller in automobile and applications
Microcontroller in automobile and applicationsMicrocontroller in automobile and applications
Microcontroller in automobile and applications
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
Microprocessor application (Introduction)
Microprocessor application (Introduction)Microprocessor application (Introduction)
Microprocessor application (Introduction)
 
I2C BUS
I2C BUSI2C BUS
I2C BUS
 
ankit
ankitankit
ankit
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded C
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1
 
Presentation on History of Microcontroller(Updated - 2)
Presentation on History of Microcontroller(Updated - 2)Presentation on History of Microcontroller(Updated - 2)
Presentation on History of Microcontroller(Updated - 2)
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systems
 
Microprocessor applications
Microprocessor applicationsMicroprocessor applications
Microprocessor applications
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systems
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systems
 
8051 microcontroller introduction
8051 microcontroller introduction8051 microcontroller introduction
8051 microcontroller introduction
 
CPU Architecture
CPU ArchitectureCPU Architecture
CPU Architecture
 
Project on Electronic voting machine
Project on Electronic   voting   machineProject on Electronic   voting   machine
Project on Electronic voting machine
 
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEM
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEMSOLAR PV-WIND HYBRID POWER GENERATION SYSTEM
SOLAR PV-WIND HYBRID POWER GENERATION SYSTEM
 

Ähnlich wie Applications of microcontroller

4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll newMainak Nandi
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter docPrem Kumar
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLshiv kapil
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Boxncct
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYEldhose George
 
Dtmf based home appliance control 2
Dtmf based home appliance control 2Dtmf based home appliance control 2
Dtmf based home appliance control 2Krish Karn
 
Dtmf based home appliance control(1)
Dtmf based home appliance control(1)Dtmf based home appliance control(1)
Dtmf based home appliance control(1)Sanjay Kumar
 
Dtmf based home appliance control
Dtmf based home appliance controlDtmf based home appliance control
Dtmf based home appliance controlKrishna Malhotra
 
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET Journal
 
Advanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using MicrocontrollerAdvanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using MicrocontrollerIOSR Journals
 
BHH POWER PLANT ppt.pptx
BHH POWER PLANT ppt.pptxBHH POWER PLANT ppt.pptx
BHH POWER PLANT ppt.pptxAnil764767
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project reportkaushal chaubey
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based TransmitterAbhishek Sutrave
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuVignan Munna
 
Iisrt aprajitha malini(21 25)
Iisrt aprajitha malini(21 25)Iisrt aprajitha malini(21 25)
Iisrt aprajitha malini(21 25)IISRT
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature ControllerSupriya Gorai
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controllerShubham Sharma
 
Traffic Light Controller
Traffic Light ControllerTraffic Light Controller
Traffic Light Controllershubham sharma
 

Ähnlich wie Applications of microcontroller (20)

4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll new
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
 
Dtmf based home appliance control 2
Dtmf based home appliance control 2Dtmf based home appliance control 2
Dtmf based home appliance control 2
 
Dtmf based home appliance control(1)
Dtmf based home appliance control(1)Dtmf based home appliance control(1)
Dtmf based home appliance control(1)
 
Dtmf based home appliance control
Dtmf based home appliance controlDtmf based home appliance control
Dtmf based home appliance control
 
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
 
Advanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using MicrocontrollerAdvanced Three Phase PWM Inverter Control Using Microcontroller
Advanced Three Phase PWM Inverter Control Using Microcontroller
 
BHH POWER PLANT ppt.pptx
BHH POWER PLANT ppt.pptxBHH POWER PLANT ppt.pptx
BHH POWER PLANT ppt.pptx
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
 
Atomatic light controller
Atomatic light controllerAtomatic light controller
Atomatic light controller
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docu
 
ROHIT PPT - Copy
ROHIT PPT - CopyROHIT PPT - Copy
ROHIT PPT - Copy
 
Iisrt aprajitha malini(21 25)
Iisrt aprajitha malini(21 25)Iisrt aprajitha malini(21 25)
Iisrt aprajitha malini(21 25)
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature Controller
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Traffic Light Controller
Traffic Light ControllerTraffic Light Controller
Traffic Light Controller
 

Mehr von babak danyal

Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Socketsbabak danyal
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streamsbabak danyal
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Javababak danyal
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the desbabak danyal
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network securitybabak danyal
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systemsbabak danyal
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systemsbabak danyal
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systemsbabak danyal
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systemsbabak danyal
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systemsbabak danyal
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systemsbabak danyal
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systemsbabak danyal
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systemsbabak danyal
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signababak danyal
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systemsbabak danyal
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniquesbabak danyal
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Securitybabak danyal
 

Mehr von babak danyal (20)

applist
applistapplist
applist
 
Easy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client SocketsEasy Steps to implement UDP Server and Client Sockets
Easy Steps to implement UDP Server and Client Sockets
 
Java IO Package and Streams
Java IO Package and StreamsJava IO Package and Streams
Java IO Package and Streams
 
Swing and Graphical User Interface in Java
Swing and Graphical User Interface in JavaSwing and Graphical User Interface in Java
Swing and Graphical User Interface in Java
 
Tcp sockets
Tcp socketsTcp sockets
Tcp sockets
 
block ciphers and the des
block ciphers and the desblock ciphers and the des
block ciphers and the des
 
key distribution in network security
key distribution in network securitykey distribution in network security
key distribution in network security
 
Lecture10 Signal and Systems
Lecture10 Signal and SystemsLecture10 Signal and Systems
Lecture10 Signal and Systems
 
Lecture8 Signal and Systems
Lecture8 Signal and SystemsLecture8 Signal and Systems
Lecture8 Signal and Systems
 
Lecture7 Signal and Systems
Lecture7 Signal and SystemsLecture7 Signal and Systems
Lecture7 Signal and Systems
 
Lecture6 Signal and Systems
Lecture6 Signal and SystemsLecture6 Signal and Systems
Lecture6 Signal and Systems
 
Lecture5 Signal and Systems
Lecture5 Signal and SystemsLecture5 Signal and Systems
Lecture5 Signal and Systems
 
Lecture4 Signal and Systems
Lecture4  Signal and SystemsLecture4  Signal and Systems
Lecture4 Signal and Systems
 
Lecture3 Signal and Systems
Lecture3 Signal and SystemsLecture3 Signal and Systems
Lecture3 Signal and Systems
 
Lecture2 Signal and Systems
Lecture2 Signal and SystemsLecture2 Signal and Systems
Lecture2 Signal and Systems
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signa
 
Lecture9 Signal and Systems
Lecture9 Signal and SystemsLecture9 Signal and Systems
Lecture9 Signal and Systems
 
Lecture9
Lecture9Lecture9
Lecture9
 
Cns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption TechniquesCns 13f-lec03- Classical Encryption Techniques
Cns 13f-lec03- Classical Encryption Techniques
 
Classical Encryption Techniques in Network Security
Classical Encryption Techniques in Network SecurityClassical Encryption Techniques in Network Security
Classical Encryption Techniques in Network Security
 

Kürzlich hochgeladen

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Kürzlich hochgeladen (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

Applications of microcontroller

  • 1. Information Technology Information technology (IT) is a branch of engineering dealing with the use of computers and telecommunications equipment to store, retrieve, transmit and manipulate data. The Information Technology Association of America has defined IT as "the study, design, development, application, implementation, support or management of computer-based information systems". The term is commonly used as a synonym for computers and computer networks, but it also encompasses other information distribution technologies such as television and telephones. APPLICATIONS OF MICROCONTROLLER Microcontroller-Based Solar Charger As the sources of conventional energy deplete day by day, resorting to alternative sources of energy like solar and wind energy has become need of the hour. Solar-powered lighting systems are already available in rural as well as urban areas. These include solar lanterns, solar home lighting systems, solar streetlights, solar garden lights and solar power packs. All of them consist of four components: solar photovoltaic module, rechargeable battery, solar charge controller and load. In the solar-powered lighting system, the solar charge controller plays an important role as the system’s overall success depends mainly on it. It is considered as an indispensable link between the solar panel, battery and load. Main Feautures The microcontroller-based solar charge controller described here has the following features: 1. Automatic dusk-to-dawn operation of the load. 2. Built-in digital voltmeter (0V-20V range) 3. Parallel- or shunt-type regulation 4. Overcharge protection 5. System status display on LCD 6. Deep-discharge protection 7. Low battery lock
  • 2. 8. Charging current changes to ‘pulsed’ at full charge 9. Low current consumption 10. Highly efficient design based on microcontroller 11. Suitable for 10-40W solar panels for 10A load Circuit Diagram
  • 3. Circuit Description Basically, there are two methods of controlling the charging current: series regulation and parallel (shunt) regulation. A series regulator is inserted between the solar panel and the battery. The series type of regulation ‘wastes’ a lot of energy while charging the battery as the control circuitry is always active and series regulator requires the input voltage to be 3-4 volts higher than the output voltage. The current and voltage output of a solar panel is governed by the angle of incidence of light, which keeps varying. Parallel regulation is preferred in solar field. In parallel regulation, the control circuitry allows the charging current (even in mA) to flow into the battery and stop charging once the battery is fully charged. At this stage, the charging current is wasted by converting into heat (current is passed through low-value, high-wattage resistor); this part of the regulation dissipates a lot of heat. In this project, we have used parallel regulation technique but instead of wasting the charging current as heat, we have made it pulsed and applied to the battery to keep the battery topped-up. After power-on, the microcontroller reads the battery voltage with the help of the ADC and displays the values on the LCD. It monitors the input signal from the dusk-to-dawn sensor and activates the load or charging relay RL1 accordingly. The digital voltmeter works up to 20V. As Vref of the ADC is connected to VCC (5V), the input voltage to the ADC cannot exceed +5V. A potential divider is used at pin 2 of the ADC (IC2) using resistors R5, R6 and R7 to scale down the voltage from 0V-20V to 0V-05V. The ADC output is multiplied four times and displayed on the LCD as battery voltage. When the solar panel voltage is present, the dusk-to-dawn sensor provides a signal to the microcontroller, which then displays ‘charging’ message on the LCD. During charging, the battery voltage is continuously monitored. When the voltage reaches 14.0V, the microcontroller interrupts the charging current by energising the relay, which is connected to MOSFET BS170 (T2), and starts a 5-minute timer. During this stage, the LCD shows “battery full.” After five minutes, the relay reconnects the panel to the battery. This way, the charging current is pulsed at the intervals of five minutes and the cycle repeats until the panel voltage is present. When the panel voltage falls below the zener diode (ZD1) voltage of the dusk-to-dawn sensor, the microcontroller senses this and activates the load by switching on MOSFET T3 via optocoupler IC3 and “load on” message is displayed. In this mode, the microcontroller monitors for low battery. When the battery voltage drops below 10 volts, the microcontroller turns off the load by switching off MOSFET T3 and “battery low—load off” message is displayed.
  • 4. Normally, when the load is switched off, the battery voltage tends to rise back and the load oscillates between ‘on’ and ‘off’ states. To avoid this, the microcontroller employs a hysteresis control by entering into a ‘lock’ mode during low-battery state and comes out of the lock mode when the dusk-to dawn sensor receives the panel voltage (the next morning). During lock mode, the microcontroller keeps converting the ADC value and displays the battery voltage on the LCD. Wireless Equipment Control Using AT89C51 here is a microcontroller based wireless equipment controller that can switch on or switch off up to four devices at a desired time interval set by the user in the transmitter. The devices can be controlled remotely from a distance of up to 30 metres from the transmitter. In the transmitter, an LCD module is used to show the device numbers and preset control time for the devices (00 to 99 seconds). Concepts of wireless RF communication and automation with AT89C51 microcontroller are used here. Pros The system is small, simple, cost-effective and good for wireless control of home appliances or industrial instrumentation. Block Diagram of Transmitter Section
  • 5. Transmiter Section Four pushbutton switches (S1 through S4) are used as inputs to select the devices and set the time-out in the transmitter section. These are designated as up, down, enter and run keys, respectively. The time-out data is transferred over the RF wireless link to the receiver section. The 8-bit AT89C51 microcontroller is the main controlling part of the transmitter section. It is connected to the LCD module, input switches and encoder IC (HT12E). The device control program is stored in the memory of the microcontroller to control the devices as per the time-out settings done through input switches S1 through S4. A two-line, 16-character LCD module shows the status of the main program that is running inside the microcontroller. The HT12E is an 18- pin DIP package encoder IC that encodes 4-bit data and sends it to TRX-434 RF transmitter module. The TRX-434 RF transmitter module uses a digital modulation technique called amplitude-shift keying (ASK) or on-off keying. In this technique, whenever logic ‘1’ is to be sent, it is modulated with carrier signal (434MHz). This modulated signal is then transmitted through the antenna. Block Diagram of Reciever Section
  • 6. Reciever Section The 12V DC supply, used along with a 5V regulator, can be provided by a 12V battery or power adaptor. The RX-434 radio receiver module receives the ASK signal from TRX-434. The HT12D decoder demodulates the received address and data bits. IC CD4519 is a quadruple two- input multiplexer that selects the appropriate data bits to control the devices. The ULN 2003 relay driver consists of seven npn Darlington pairs that feature high- voltage outputs with common-cathode clamp diodes for switching the inductive loads. The collector-current rating of a single Darlington pair is 500 mA. Secured Room Access System Security is a prime concern in our day-to-day life. And access control system forms a vital link in a security chain. The microcontroller-based digital lock presented here is an access control system that allows only authorised persons to access a restricted area. When someone tries to enter the restricted area by entering invalid passwords continuously, the system locks itself and can be unlocked only by the master user. The system comprises a small electronic unit with a numeric keypad, which is fixed outside the entry door to control a solenoid-operated lock. When an authorised person enters a predetermined number (password) via the keypad, the relay energises for a limited time to unlock the solenoid-operated lock, so door can be pushed/pulled open. At the end of the preset delay, the relay de-energises and the door gets locked again. A prompt message is displayed on the LCD module. Circuit Diagram
  • 7. Circuit Description The system uses a compact circuitry built around AVR microcontroller ATmega8535. The ATmega8535 is a low power CMOS 8-bit microcontroller based on the AVR-enhanced RISC architecture. It provides the following features: 8 kB of in-system programmable Flash memory with read-while-write capabilities, 512-byte EEPROM, 512-byte SRAM, 32 general purpose I/O lines, 32 general-purpose working registers, three flexible timer/counters with compare modes, and internal and external interrupts. The built-in power-on-reset circuitry of the microcontroller eliminates the need for external power- on-reset circuit. Switch S3 is used to reset the system, which is accessible only to the master user. Port D (PD0 through PD7) is interfaced with the numeric keypad. Port C is interfaced with a 16x2 line LCD. Four pins (PC4 through PC7) of Port C are used as data lines for the LCD module and three lines (PC0 through PC2) are used for controlling the LCD. Pin 40 (PAO) of port A is connected to the relay driver circuit through optocoupler MCT2E (IC3) and transistor T1. When port pin PA0 goes high, the internal transistor of IC3 drives transistor T1 into saturation and relay RL1 energises. As the solenoid valve is connected through normally- closed (N/C) contact of the relay, the solenoid coil de-energises and the gate is locked. An 8MHz crystal is used with two 22pF capacitors for providing clock. Preset VR1 is used
  • 8. to adjust the contrast of the LCD. The 230V, 50Hz AC mains is stepped down by transformer X1 to deliver a secondary output of 9V, 500 mA. The transformer output is rectified by a full-wave bridge rectifier comprising diodes D1 through D4, filtered by capacitor C1 and regulated by IC 7806 (IC1). Use adequate heat-sink for 7806 as the solenoid draws a high current. LED1 glows when power is ‘on’ and resistor R6 acts as the current limiter. A 16-key numeric keypad for password entry is connected to the microcontroller. The keypad is also used for password change and application of master password when required. To economise the use of I/O pins, we have used here only eight pins for scanning and sensing 16 keys. The keypad is arranged in a 4x4 matrix. There are four scan lines/pins, which are set in output mode, and four sense keys, which are used as input lines to the microcontroller. At a small time interval, the microcontroller sets one of the four scan lines as low and the other three scan lines as high. Then it checks for the status of sense lines one by one at the intersection of a specific scan line and sense line to find out if any key has been pressed. Similarly, after a small time interval, the next scan line is made low and remaining three scan lines are taken high, and again all three sense lines are checked for low level. This way the microcontroller checks which of the 16 keys is pressed. Due to the high speed of the microcontroller, the status of different keys is checked in less than 100 ms and a key press is detected and identified. As the keys are pressed manually by the user, this delay of 100 ms is not noticeable. The net result is that you save on I/O pins of the microcontroller by sacrificing almost nothing. When a person wants to enter the room, he enters the 6-digit password, say ‘123456.’ If the password matches successfully, the gate is unlocked for 15 seconds. If you want to change the user password (123456) and enter the master password ‘291279,’ the system will ask you to change the user password. On successfully entering the password, pin A0 of port A becomes high for 15 seconds, because of which transistor T1 starts conducting through the emitter of the optocoupler and the relay energises. The connection between the solenoid lock and the power supply is broken and the door is unlocked for 15 seconds. Microcontroller-Based Ring Tone Player Mobile phone ring tones sound like real audio recordings. It’s not because of the way the melodies are composed, but the protocol behind playing the melody. The ring tone text transfer language (RTTTL) is behind those wonderful lullabies and songs you have on your mobile phone.
  • 9. Basically, a ring tone is the sound made by a mobile phone to indicate an incoming call or text message. Here we present a microcontroller-based ring tone generator. Circuit Diagram Circuit Description At the heart of the circuit is microcontroller AT89C51. It is a low-power, high- performance, 8-bit microcontroller with 4kB Flash programmable and erasable read-only memory. It has 128 bytes of RAM, 32 input/output (I/O) lines, two 16-bit timers/counters, a five-vector two-level interrupt architecture, on-chip oscillator and clock circuitry. The 11.0592MHz crystal provides the basic clock frequency to the microcontroller. Port pin P2.0 of the microcontroller provides the ringtone melody signal for speaker LS1. Transistor BC337 is used for amplification. The power-‘on’ reset signal for the microcontroller is generated by the combination of capacitor C3 and resistor R2. Switch S1 provides manual reset to the microcontroller. The 230V AC mains is stepped down by transformer X1 to deliver the secondary output of 9V, 500 mA. The transformer output is rectified by a full-wave bridge rectifier comprising diodes D1 through D4, filtered by capacitor C1 and regulate by IC 7805 (IC2). Capacitor C2 bypasses the ripples present in the regulated power supply. LED1 acts as the power-‘on’ indicator and resistor R1 limits the current through LED1.
  • 10. Software The program plays “happy birthday to you” in RTTTL ring tone format using the microcontroller AT89C51. The source program, written in Assembly language and assembled using assembler ASM51, is self-explanatory and easy to understand. Initialise timer 0 and timer 1 as 16-bit timers with predetermined value. When you start timer 0, the data pointer register is loaded with memory address labeled as ‘SONG.’ After playing the current note, the control jumps to the next note and it starts playing. This process continues until the end of music data is reached. Thereafter, it starts playing the music from the beginning. Nokia RTTTL ringtones can be downloaded from the following websites: 1. http://www.2thumbswap.com/members/tones/nokia/tones_nokia_latest.html 2. http://nokiatone.ifrance.com/nokiatone/rtttf.htm 3. http://ringtones.frostzone.com/index.htm 4. http://arcadetones.emuunlim.com/files.htm RTTL ringtones can also be tested on the computer, the software for which can be downloaded from the link ‘http://arcadetones.emuunlim.com/files/nokring_full.zip.’