Load cells have a strain gauge, which deforms when pressure is applied to it. And then strain gauge generates an electrical signal on deformation as its effective resistance changes on deformation. A load cell usually consists of four strain gauges in a Wheatstone bridge configuration.
Project report on the Digital clock using RTC and microcontroller 8051Maulik Sanchela
In this is project report, its display on LCD screen that the time, alarm time which we set. It will ring up when the alarm set time and main time are same.
Load cells have a strain gauge, which deforms when pressure is applied to it. And then strain gauge generates an electrical signal on deformation as its effective resistance changes on deformation. A load cell usually consists of four strain gauges in a Wheatstone bridge configuration.
Project report on the Digital clock using RTC and microcontroller 8051Maulik Sanchela
In this is project report, its display on LCD screen that the time, alarm time which we set. It will ring up when the alarm set time and main time are same.
Wireless transmission of voice signal using nRF24L01 moduleSunil Kumar Shesma
This is a Communication System Project(Electronics Engineering).In this project we are transmit the the voice signal by transceiver in different conditions
1.Normal Condition
2.Ab-normal Conditions(With interrupt input signals)
Contactless digital tachometer using microcontroller IJECEIAES
Tachometer is a device that used for counting or for the measuring purpose of the number of revolutions (that is the total number rotations made by the device in unit of measuring time) of an object in unit time. It is expressed in the unit of RPS or RPM, the model uses a set of infrared transducer receiver to count the RPM pulses, and the Arduino microcontroller is used for the implementation of the project. The individual pulses are counted by the microcontroller to give the final output of the RPM.
final Year Projects, Final Year Projects in Chennai, Software Projects, Embedded Projects, Microcontrollers Projects, DSP Projects, VLSI Projects, Matlab Projects, Java Projects, .NET Projects, IEEE Projects, IEEE 2009 Projects, IEEE 2009 Projects, Software, IEEE 2009 Projects, Embedded, Software IEEE 2009 Projects, Embedded IEEE 2009 Projects, Final Year Project Titles, Final Year Project Reports, Final Year Project Review, Robotics Projects, Mechanical Projects, Electrical Projects, Power Electronics Projects, Power System Projects, Model Projects, Java Projects, J2EE Projects, Engineering Projects, Student Projects, Engineering College Projects, MCA Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, Wireless Networks Projects, Network Security Projects, Networking Projects, final year projects, ieee projects, student projects, college projects, ieee projects in chennai, java projects, software ieee projects, embedded ieee projects, "ieee2009projects", "final year projects", "ieee projects", "Engineering Projects", "Final Year Projects in Chennai", "Final year Projects at Chennai", Java Projects, ASP.NET Projects, VB.NET Projects, C# Projects, Visual C++ Projects, Matlab Projects, NS2 Projects, C Projects, Microcontroller Projects, ATMEL Projects, PIC Projects, ARM Projects, DSP Projects, VLSI Projects, FPGA Projects, CPLD Projects, Power Electronics Projects, Electrical Projects, Robotics Projects, Solor Projects, MEMS Projects, J2EE Projects, J2ME Projects, AJAX Projects, Structs Projects, EJB Projects, Real Time Projects, Live Projects, Student Projects, Engineering Projects, MCA Projects, MBA Projects, College Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, M.Sc Projects, Final Year Java Projects, Final Year ASP.NET Projects, Final Year VB.NET Projects, Final Year C# Projects, Final Year Visual C++ Projects, Final Year Matlab Projects, Final Year NS2 Projects, Final Year C Projects, Final Year Microcontroller Projects, Final Year ATMEL Projects, Final Year PIC Projects, Final Year ARM Projects, Final Year DSP Projects, Final Year VLSI Projects, Final Year FPGA Projects, Final Year CPLD Projects, Final Year Power Electronics Projects, Final Year Electrical Projects, Final Year Robotics Projects, Final Year Solor Projects, Final Year MEMS Projects, Final Year J2EE Projects, Final Year J2ME Projects, Final Year AJAX Projects, Final Year Structs Projects, Final Year EJB Projects, Final Year Real Time Projects, Final Year Live Projects, Final Year Student Projects, Final Year Engineering Projects, Final Year MCA Projects, Final Year MBA Projects, Final Year College Projects, Final Year BE Projects, Final Year BTech Projects, Final Year ME Projects, Final Year MTech Projects, Final Year M.Sc Projects, IEEE Java Projects, ASP.NET Projects, VB.NET Projects, C# Projects, Visual C++ Projects, Matlab Projects, NS2 Projects, C Projects, Microcontroller Projects, ATMEL Projects, PIC Projects, ARM Projects, DSP Projects, VLSI Projects, FPGA Projects, CPLD Projects, Power Electronics Projects, Electrical Projects, Robotics Projects, Solor Projects, MEMS Projects, J2EE Projects, J2ME Projects, AJAX Projects, Structs Projects, EJB Projects, Real Time Projects, Live Projects, Student Projects, Engineering Projects, MCA Projects, MBA Projects, College Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, M.Sc Projects, IEEE 2009 Java Projects, IEEE 2009 ASP.NET Projects, IEEE 2009 VB.NET Projects, IEEE 2009 C# Projects, IEEE 2009 Visual C++ Projects, IEEE 2009 Matlab Projects, IEEE 2009 NS2 Projects, IEEE 2009 C Projects, IEEE 2009 Microcontroller Projects, IEEE 2009 ATMEL Projects, IEEE 2009 PIC Projects, IEEE 2009 ARM Projects, IEEE 2009 DSP Projects, IEEE 2009 VLSI Projects, IEEE 2009 FPGA Projects, IEEE 2009 CPLD Projects, IEEE 2009 Power Electronics Projects, IEEE 2009 Electrical Projects, IEEE 2009 Robotics Projects, IEEE 2009 Solor Projects, IEEE 2009 MEMS Projects, IEEE 2009 J2EE P
Overview of the world's first true single-chip wireless power transmitter (IDTP9030), and the world's highest-output-power single-chip receiver solution (IDTP9020). This silicon-based IC solution facilitates the design of wireless power (electromagnetic inductive) charging bases and wirelessly powered battery charging on mobile devices. The highly integrated multi-mode transmitter reduces board footprint by 80 percent and bill-of-materials (BOM) cost by 50 percent compared to existing solutions. Designed to be WPC Qi-compliant, both devices are capable of "multilingual" (multi-mode) operation, supporting both the Qi standard as well as proprietary formats for added features, improved safety, and increased power output capability. Demonstration presented by Jack Deans, Field Applications Manager at IDT. Visit http://www.idt.com/products/power-management/wireless-power.
This was my final year project based on embedded system
this is the code
http://downloads..com/download/24001476/code.rar.html
and the pcb are
http://downloads..com/download/24001498/pcb.rar.html
Wireless transmission of voice signal using nRF24L01 moduleSunil Kumar Shesma
This is a Communication System Project(Electronics Engineering).In this project we are transmit the the voice signal by transceiver in different conditions
1.Normal Condition
2.Ab-normal Conditions(With interrupt input signals)
Contactless digital tachometer using microcontroller IJECEIAES
Tachometer is a device that used for counting or for the measuring purpose of the number of revolutions (that is the total number rotations made by the device in unit of measuring time) of an object in unit time. It is expressed in the unit of RPS or RPM, the model uses a set of infrared transducer receiver to count the RPM pulses, and the Arduino microcontroller is used for the implementation of the project. The individual pulses are counted by the microcontroller to give the final output of the RPM.
final Year Projects, Final Year Projects in Chennai, Software Projects, Embedded Projects, Microcontrollers Projects, DSP Projects, VLSI Projects, Matlab Projects, Java Projects, .NET Projects, IEEE Projects, IEEE 2009 Projects, IEEE 2009 Projects, Software, IEEE 2009 Projects, Embedded, Software IEEE 2009 Projects, Embedded IEEE 2009 Projects, Final Year Project Titles, Final Year Project Reports, Final Year Project Review, Robotics Projects, Mechanical Projects, Electrical Projects, Power Electronics Projects, Power System Projects, Model Projects, Java Projects, J2EE Projects, Engineering Projects, Student Projects, Engineering College Projects, MCA Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, Wireless Networks Projects, Network Security Projects, Networking Projects, final year projects, ieee projects, student projects, college projects, ieee projects in chennai, java projects, software ieee projects, embedded ieee projects, "ieee2009projects", "final year projects", "ieee projects", "Engineering Projects", "Final Year Projects in Chennai", "Final year Projects at Chennai", Java Projects, ASP.NET Projects, VB.NET Projects, C# Projects, Visual C++ Projects, Matlab Projects, NS2 Projects, C Projects, Microcontroller Projects, ATMEL Projects, PIC Projects, ARM Projects, DSP Projects, VLSI Projects, FPGA Projects, CPLD Projects, Power Electronics Projects, Electrical Projects, Robotics Projects, Solor Projects, MEMS Projects, J2EE Projects, J2ME Projects, AJAX Projects, Structs Projects, EJB Projects, Real Time Projects, Live Projects, Student Projects, Engineering Projects, MCA Projects, MBA Projects, College Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, M.Sc Projects, Final Year Java Projects, Final Year ASP.NET Projects, Final Year VB.NET Projects, Final Year C# Projects, Final Year Visual C++ Projects, Final Year Matlab Projects, Final Year NS2 Projects, Final Year C Projects, Final Year Microcontroller Projects, Final Year ATMEL Projects, Final Year PIC Projects, Final Year ARM Projects, Final Year DSP Projects, Final Year VLSI Projects, Final Year FPGA Projects, Final Year CPLD Projects, Final Year Power Electronics Projects, Final Year Electrical Projects, Final Year Robotics Projects, Final Year Solor Projects, Final Year MEMS Projects, Final Year J2EE Projects, Final Year J2ME Projects, Final Year AJAX Projects, Final Year Structs Projects, Final Year EJB Projects, Final Year Real Time Projects, Final Year Live Projects, Final Year Student Projects, Final Year Engineering Projects, Final Year MCA Projects, Final Year MBA Projects, Final Year College Projects, Final Year BE Projects, Final Year BTech Projects, Final Year ME Projects, Final Year MTech Projects, Final Year M.Sc Projects, IEEE Java Projects, ASP.NET Projects, VB.NET Projects, C# Projects, Visual C++ Projects, Matlab Projects, NS2 Projects, C Projects, Microcontroller Projects, ATMEL Projects, PIC Projects, ARM Projects, DSP Projects, VLSI Projects, FPGA Projects, CPLD Projects, Power Electronics Projects, Electrical Projects, Robotics Projects, Solor Projects, MEMS Projects, J2EE Projects, J2ME Projects, AJAX Projects, Structs Projects, EJB Projects, Real Time Projects, Live Projects, Student Projects, Engineering Projects, MCA Projects, MBA Projects, College Projects, BE Projects, BTech Projects, ME Projects, MTech Projects, M.Sc Projects, IEEE 2009 Java Projects, IEEE 2009 ASP.NET Projects, IEEE 2009 VB.NET Projects, IEEE 2009 C# Projects, IEEE 2009 Visual C++ Projects, IEEE 2009 Matlab Projects, IEEE 2009 NS2 Projects, IEEE 2009 C Projects, IEEE 2009 Microcontroller Projects, IEEE 2009 ATMEL Projects, IEEE 2009 PIC Projects, IEEE 2009 ARM Projects, IEEE 2009 DSP Projects, IEEE 2009 VLSI Projects, IEEE 2009 FPGA Projects, IEEE 2009 CPLD Projects, IEEE 2009 Power Electronics Projects, IEEE 2009 Electrical Projects, IEEE 2009 Robotics Projects, IEEE 2009 Solor Projects, IEEE 2009 MEMS Projects, IEEE 2009 J2EE P
Overview of the world's first true single-chip wireless power transmitter (IDTP9030), and the world's highest-output-power single-chip receiver solution (IDTP9020). This silicon-based IC solution facilitates the design of wireless power (electromagnetic inductive) charging bases and wirelessly powered battery charging on mobile devices. The highly integrated multi-mode transmitter reduces board footprint by 80 percent and bill-of-materials (BOM) cost by 50 percent compared to existing solutions. Designed to be WPC Qi-compliant, both devices are capable of "multilingual" (multi-mode) operation, supporting both the Qi standard as well as proprietary formats for added features, improved safety, and increased power output capability. Demonstration presented by Jack Deans, Field Applications Manager at IDT. Visit http://www.idt.com/products/power-management/wireless-power.
This was my final year project based on embedded system
this is the code
http://downloads..com/download/24001476/code.rar.html
and the pcb are
http://downloads..com/download/24001498/pcb.rar.html
The GE8808B is a 3-channel constant current LED drive with resumable data transfers and internal display patterns. There are three open-drain constant current outputs, with a build-in PWM of grayscale. The range of input power is from +9V to +15V, and voltage-endurance of LED port is +12V. There is a built-in 12bits GAMMA correction module. PWM maximum refresh frequency is 8Khz, the GE8808B use the e-RZ (extended return to zero code)as the signal transmission mode,
which can control the output current channel by channel and cascade infinitely,it provides two-signal data input as redundant control, which ensures the transmission of the signal if any single chip damages.In the displays the built-in display patterns that is suitable for those applications without a controller. There is the built-in power-on and power-off protection in the drive,which can enhance the service life of the chip. It alsohas the automatic test function while power on, working environment is from -40 ° C to + 85 ° C.
Temperature Based Fan Controller can be used for reducing the power consumption & also to assist people who are disabled and are unable to control the speed of fan.It may also be used for monitoring changes in environment.
Remote Controlled Home Appliance is a microcontroller based wireless system. we choose infrared to design the remote control system for home appliances for our project. Here we used IR Transmitter (Commonly Used remotes for home appliances) and IR Sensor Modules The major aim of this project is to deliver the technology of modern world in our country at low price to general people. The overall performance of the power supply (PS) is excellent as a constant supply to drive any small load
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Welocme to ViralQR, your best QR code generator.ViralQR
Welcome to ViralQR, your best QR code generator available on the market!
At ViralQR, we design static and dynamic QR codes. Our mission is to make business operations easier and customer engagement more powerful through the use of QR technology. Be it a small-scale business or a huge enterprise, our easy-to-use platform provides multiple choices that can be tailored according to your company's branding and marketing strategies.
Our Vision
We are here to make the process of creating QR codes easy and smooth, thus enhancing customer interaction and making business more fluid. We very strongly believe in the ability of QR codes to change the world for businesses in their interaction with customers and are set on making that technology accessible and usable far and wide.
Our Achievements
Ever since its inception, we have successfully served many clients by offering QR codes in their marketing, service delivery, and collection of feedback across various industries. Our platform has been recognized for its ease of use and amazing features, which helped a business to make QR codes.
Our Services
At ViralQR, here is a comprehensive suite of services that caters to your very needs:
Static QR Codes: Create free static QR codes. These QR codes are able to store significant information such as URLs, vCards, plain text, emails and SMS, Wi-Fi credentials, and Bitcoin addresses.
Dynamic QR codes: These also have all the advanced features but are subscription-based. They can directly link to PDF files, images, micro-landing pages, social accounts, review forms, business pages, and applications. In addition, they can be branded with CTAs, frames, patterns, colors, and logos to enhance your branding.
Pricing and Packages
Additionally, there is a 14-day free offer to ViralQR, which is an exceptional opportunity for new users to take a feel of this platform. One can easily subscribe from there and experience the full dynamic of using QR codes. The subscription plans are not only meant for business; they are priced very flexibly so that literally every business could afford to benefit from our service.
Why choose us?
ViralQR will provide services for marketing, advertising, catering, retail, and the like. The QR codes can be posted on fliers, packaging, merchandise, and banners, as well as to substitute for cash and cards in a restaurant or coffee shop. With QR codes integrated into your business, improve customer engagement and streamline operations.
Comprehensive Analytics
Subscribers of ViralQR receive detailed analytics and tracking tools in light of having a view of the core values of QR code performance. Our analytics dashboard shows aggregate views and unique views, as well as detailed information about each impression, including time, device, browser, and estimated location by city and country.
So, thank you for choosing ViralQR; we have an offer of nothing but the best in terms of QR code services to meet business diversity!
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
Embedded System[586]
1. 1
Chapter 1
Basic Electronics Components
1.1 Resistor:-
A resistor restricts the flow of current, for example to limit the current passing through an LED.
A resistor is used with a capacitor in a timing circuit.
Fig 1.a. Resistor symbol Fig1. b. variable resistor symbol
1.2 Capacitor:-
A capacitor stores electric charge. It can also be used as a filter, to block DC signals but pass
AC signals. It acts as short circuit with AC and open circuit with DC. The 2 types of capacitors
we frequently use in circuits are ceramic and electrolytic capacitors. Ceramic Capacitor don't
have polarity but electrolytic capacitor have polarity.
Fig 2.capacitor symbol
1.3 Diode:-
Diode is a unidirectional semiconductor device which only allows current to flow in one
direction.
fig 3. diode symbol
1.4 Transistor:-3
A Transistor is a three terminal semiconductor device . It can be used with other components
to make an amplifier or switching circuit.
2. 2
There are two types of transistor:-
1. NPN transistor 2. PNP transistor
Fig .4 a. NPN transistor Fig 4.b. PNP transistor
1.5 LED (Light Emitting Diode):-
LED (Light Emitting Diode) is a transducer which converts electrical energy to light frequently
used to display the outputs at various stages of the circuit. It is essentially a Diode with the
energy released in the form of photons due to electron transitions falling in the visible region.
It glows only in fwd bias mode i.e. with p junction connected to +ve voltage and n junction to
negative.
Diodes are essentially low power devices. The current through the LED should be less than
10mA.Hence always put a 220 ohm resistor in series with the LED.
Voltage rating =2v to 3v and current rating =10mA.
fig 5. led symbol
1.6 LCD (Liquid Crystal Display):-
LCD (Liquid Crystal Display) is a device that use to display alphanumeric digit. LCD screen
is an electronic display module and find a wide range of applications. A 16x2 LCD display is
very basic module and is very commonly used in various devices and circuits.
Basic two types of LCD:-
1. Alphanumeric LCD:-This type of LCD use to display alphanumeric digit.
2. Graphic lcd :-This type of LCD use to display graphical representation.
3. 3
Based on size:-
1. 16x1 2. 16x2 3. 20x1 4. 20x2 etc.
In 16x2:- 16-number of column
2-number of row
lcd pixel is block on per unit use for resolution.
Addressing:-
Row1 : 0x80 ----------------------------------------------------------0x8f,
R0w2 :0xc0-----------------------------------------------------------0xcf.
16 x2 LCD consists two controller one for address and second for data.
Fig 6:-16x2 LCD
pin configuration :-
VSS - Ground
VDD - pixel voltage connected with VDD
VEE - brightness controlling pin connected with potentiometer.
RS : Select Register
There are two important register inside the LCD. The RS pin is used for their Selection as
follow . If RS=0,the instruction command code register is selected, allowing the user to send a
command such as clear display, cursor at home etc. If RS=1, the data register is selected ,
allowing the user to send to de displayed on the LCD.
4. 4
RW: Read/Write
R/W input allow to user to write information to the LCD or read information from it. R/W=1
when reading; R/W=0 when writing.
EN :Enable
The enable pin is used by the LCD to letch information presented to its data pins. It is generally
High ti low transition.
D1-D7 = data pins
Table 1.LCD Command:-
Command Use
0x01 Clear screen
0x02 Home screen
0x28 4-bit mode
0x38 8-bit mode
0x80 First pixel
0x0c Display on, cursor off
0x0e Display on, cursor off
0x0f Display on cursor blinking
0x04 Shift the cursor to left
0x06 Shift the cursor to right
5. 5
0x1c Shift data towards to left
0x18 Shift data towards to right
1.7 Seven Segment Display(SSD):-
Seven segment display is the array of 8 led that have been combined into one case to make a
convenient device for displaying numbers and some letters. The seven LEDs in the seven
segment display are labeled with the letters A, B, C, D, E. F and G as indicated below.
there are two type of seven segment.
1. Common Cathode (CC)-common of all led connected with ground.
for led ON=1, for led OFF=0.
2. Common Anode (CA)- common of all led connected with VCC.
for led ON=0, for led OFF=1.
fig 7:-Seven Segment
Table 2.Code for display numeric digit:-
Common Cathode Common Anode
Digit Binary Hexadecimal Binary Hexadecimal
6. 6
0 0b00111111 0x3f 0b11000000 0xc0
1 0b00000110 0x06 0b11111001 0xf9
2 0b01011011 0x5b 0b10100100 0xa4
3 0b01001111 0x4f 0b10110000 0xb0
4 0b01100110 0x66 0b10011001 0x99
5 0b01101101 0x6d 0b10010010 0x92
6 0b01111101 0x7d 0b10000010 0x82
7 0b00000111 0x07 0b11111000 0xf8
8 0b01111111 0x7f 0b10000000 0x80
9 0b01101111 0x6f 0b10010000 0x90
1.8 Integrate Circuit (IC):-
ICs or Integrated Circuits are packaged circuits designed for some fixed purpose. An IC has its
fixed IC name/number that can be used to get catalog of its functions and pin configuration.
ICs come in various sizes and packages depending upon the purpose.
1.8.1 Voltage Regulated IC :-
Voltage regulator IC use for fixed output voltage. it is three pin IC .series of voltage regulator
Ic is 78xx. The 78XXseries of three-terminal positive regulator are available in the TO-220/D-
PAK package and with several fixed output voltages, making them useful in a wide range of
7. 7
applications. Each type employs internal current limiting, thermal shut down and safe operating
area protection, making it essentially indestructible. If adequate heat sinking is provided, they
can deliver over 1A output current. Although designed primarily as fixed voltage regulators,
these devices can be used with external components to obtain adjustable voltages and currents.
1.8.2 7805 Voltage Regulated IC :-
7805 voltage regulator is used to get +5 V output out of a higher voltage supply (7.5V-20V).We
use adapter’s supply to generate +5V here. Connect the gnd and +12V of adapter to the pins as
shown and get +5V directly as an output out of the 3rd pin. Current up to 0.5 A can be obtained
from thisregulator without any significant fall in voltage level.
Fig 8:-7805 regulated IC
8. 8
Chapter 2
Embedded System
2.1 Introduction to Embedded System
An Embedded system is a combination of hardware & software that specifically designed for
particular purpose. This reduces human effort to a great extent. A single chip contains both
hardware and software.
Definition of Embedded System:-
• A combination of hardware and software which together form a component of a larger
machine.
• An example of an embedded system is a microprocessor that controls an automobile
engine.
• An embedded system is designed to run on its own without human intervention, and
may be required to respond to events in real time.
2.2 Application of Embedded System
1. TV 8. electric tooth brush
2. stereo 9. oven / rice or bread cooker
3. remote control 10. watch
4. phone / mobile phone 11. alarm clock
5. refrigerator 12. electronic musical instruments
6. microwave 13. electronic toys (stuffed animals, handheld toys, etc.)
7. washing machine 14. medical home equipment (e.g. blood pressure, thermometer)
9. 9
2.3 Introduction to Microcontroller
2.3.1 What is microcontroller .
Microcontroller is a programmable integrated device that use for a specific purpose.
It have external register, timer and counter for processing.
2.3.2 Microcontroller classification :-
2.3.2.1 Based on bit
a. 4-bit (it can process on maximum 4-bit data)
b. 8-bit (it can process on maximum 8-bit data)
c. 16-bit (it can process on maximum 16-bit data)
d. 32-bit (it can process on maximum 32-bit data)
2.3.2.2 Based on memory
a. Embedded memory :-It is a permanent memory. one time data write it cannot be erase.
b. External memory:-In this data can be erase.
2.3.2.3 Based on Architecture
a. Harvard :-It consists two buses first for address and second for data.
b. Von-Neumann :-It consist only single bus that first work as address bus and after data bus.
2.3.2.4. Based on Instruction Set
a. RISC (Reduced Instruction Set Computing) :-It follow the pipelining concept.
Pipelining concept:-In this two data are in process at a time.data1 is executing and data2 is
fetching at a time .
b. CISC (Complex Instruction Set Computing ) :-In this one data in process at a time.
2.4 Programmer
Programmer Basically Consists two parts:-
1. Hardware: to connect microcontroller
10. 10
Hardware depends on the communication port we are using in our computer like Serial,
Parallel or USB etc.
2. Software: to open hex file on our computer
some famous software are:
a. Sina Prog (Serial)
b. Atmel Studio (Support Atmel's hardware)
c. USB-ASP (USB)
d. ISIS: Proteus (Schematic design of Circuit)
2.5 Introduction to Atmega16 Microcontroller
Atmega16 microcontroller is AVR family microcontroller made by the Atmel company and
consists mega series. The ATmega16 is a low-power CMOS8-bit microcontroller based on the
AVR enhanced RISC architecture. .It is a 40 pin IC follow DIP (dual in line package).voltage
rating =5v(3.5-5v) and current rating=20mA.
2.5.1 Feature
Advanced RISC Architecture
Up to 16 MIPS Throughput at 16 MHz
16K Bytes of In-System Self-Programmable Flash
512 Bytes EEPROM
1K Byte Internal SRAM
32 Programmable I/O Lines
In-System Programming by On-chip Boot Program
8-channel, 10-bit ADC
Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
Four PWM Channels
11. 11
Programmable Serial USART
Master/Slave SPI Serial Interface
Byte-oriented Two-wire Serial Interface
Programmable Watchdog Timer with Separate On-chip Oscillator
External and Internal Interrupt Sources .
2.5.2 Pin configuration
Fig 9. Atmega16 pin Diagram
2.5.3 Pin Description
VCC: Digital supply voltage. (+5V)
GND: Ground. (0 V) Note there are 2 ground Pins.
Port A (PA7-PA0)
12. 12
Port A serves as the analog inputs to the A/D Converter. Port A also serves as an 8-bit
bidirectional I/O port, if the A/D Converter is not used. When pins PA0 to PA7 are used as
inputs and are externally pulled low, they will source current if the internal pull-up resistors
are activated.
The Port A pins are tri-stated when a reset condition becomes active, even if the clock is not
running.
PortB(PB7-PB0)
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).
Port B also serves the functions of various special features of the ATmega16 .
Port C (PC7 - PC0)
Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit
Port D (PD7 - PD0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).
Port D also serves the functions of various special features of the ATmega16 .
RESET: Reset Input. A low level on this pin for longer than the minimum pulse length will
generate a reset, even if the clock is not running.
XTAL1: External oscillator pin 1
XTAL2: External oscillator pin 2
AVCC: AVCC is the supply voltage pin for Port A and the A/D Converter
AREF: AREF is the analog reference pin for the A/D Converter
2.5.4 Registers
All the configuration in microcontroller is set through 8-bit location on RAM of the
microcontroller is called register. the register size of this microcontroller is 8 bit ,so it is called
8 bit microcontroller. these register store controller data temporary at operation time.
13. 13
2.5.5 Input Output port
Input output function are set by three Register for each PORT. these resister are:
1. DDRX (Data Direction Register):-
DDR use to define that device PORT use as input or output. It is a 8-bit register. If we want to
make Port pin as input bit is set 0 and to make the output bit set to 1.
2. PORTX (PORTX Data Register):-
PORT Register use for assign logic either high (1) or low (0).
3.PIN Register:-
The PIN register is used to read the value of a PORT. If a pin is set as a input then corresponding
bit on PIN register is,0 for low input and 1 is for high input.
We can only read bits of the PINX register; can never write on that as it is meant for reading
the value of PORT.
14. 14
Chapter 3
UART Communication Protocol
3.1 Introduction to Communication
Communication is a process in which we exchange information between two endsor send
information from one end to another end. Communication is a Process to exchange data
between two or more devices.
3.2 Types of communication:-
1. Duplex communication-
this type of comm. is one way comm. means transmitting end transmit signal and receiving
end receive. Broadcast comm. is Duplex type comm.
Tx Rx
Fig 10.Duplex Communication
2. Half Duplex Communication:-
In half duplex communication both end consists transmitting and receiving part but at a time
one end transmit signal Other end receive.
Tx Rx
Rx Tx
Fig 11.Half DuplexCommunication
3. Full Duplex Communication:-
This is two way comm. In full duplex comm. we can transmit signal from both end but the
probability of error is high.
Tx Rx Tx Rx
Fig 12.Full DuplexCommunication
15. 15
4. Parallel Communication:-
In parallel comm. the data required data lines equal to data bit. parallel comm. fast compare to
serial communication.
Fig 13. Parallel Communication
5.Serial Communication:-
In serial comm. the data is send by bit by bit. It required two data lines one for transmission
and
second for receiving the data. It is better than the parallel communication and slow compare to
parallel communication. It is acknowledgement comm. system.
O
U
T
P
U
T
C
O
N
T
R
O
L
L
E
R
16. 16
Rx
CONT-
ROLLER
Tx
Fig 14. Serial Communication
3.3 Communication Protocols:-
1.USART (Universal Synchronous Asynchronous Receiver and Transmission)
The Universal Synchronous and Asynchronous serial Receiver and Transmitter (USART) is a
highly flexible serial communication device. The main features are:
• Full Duplex Operation (Independent Serial Receive and Transmit Registers)
• Asynchronous or Synchronous Operation
• Master or Slave Clocked Synchronous Operation
2.UART (Universal Asynchronous Reception and Transmission)
These protocols are based on serial communication.
Computer use RS-232 protocol to communicate or transfer data from one device to another.
3.4 UART Communication Protocol & It's Register
1. UCSRA (UART Control & Status Register A)
2. UCSRB ( UART Control & Status Register B)
Tx
OUTPUT
Rx
17. 17
3. UCSRC (UART Control & Status Register C)
4. UDR (UART Data Register)
5. UBRRL (UART Baud Rate Register Low)
6. UBRRH (UART Baud Rate Register High)
UDR:- UDR receive data from pc or other devices and hold data for processing. This is 8-bit
register.
PC
Tx
UDR
Tx
Controller
Fig 15. UDR Process
UBRR:- UBRR is a 16-bit register divided into two registers UART Baud Rate Register Low
and Baud Rate Register High because Atmega16 is 8-bit controller.
Baud Rate:- number of data packets transmitted in one second.
Bit Rate:- number of data bit (0/1) transmitted in one second.
standard baud rate for UART is 9600 and value for UBRRL is 12.
UCSRA, B & C:- these registers are 8 bit register use for data controlling ,status and
processing of data.
1. UCSRA (UART Control & Status Register A):-
UCSRA
RXC TXC UDRE FE DOR PE U2X MPCM
18. 18
Read/write R R/W R R R R R/W R/W
initial value 0 0 1 0 0 0 0 0
• Bit 7 – RXC: UART Receive Complete
This flag bit is set when there are unread data in the receive buffer and cleared when the receive
buffer is empty(that is, does not contain any unread data).If the receiver is disabled, the receive
buffer will be flushed and consequently the RXC bit will become zero. The RXC Flag an be
used to generate a Receive Complete interrupt .
• Bit 6 – TXC: UART Transmit Complete
This flag bit is set when the entire frame in the transmit Shift Register has been shifted out and
there are no new data currently present in the transmit buffer (UDR). The TXC Flag bit is
automatically cleared when a transmit complete interrupt is executed, or it can be cleared by
writing a one to its bit location. The TXC Flag can generate a Transmit Complete interrupt .
• Bit 5 – UDRE: UART Data Register Empty
The UDRE Flag indicates if the transmit buffer (UDR) is ready to receive new data. If UDRE
is
one, the buffer is empty, and therefore ready to be written. The UDRE Flag can generate a Data
Register empty Interrupt . UDRE is set after a reset to indicate that the transmitter is ready.
• Bit 4 – FE: Frame Error
This bit is set if the next character in the receive buffer had a Frame Error when received.
• Bit 3 – DOR: Data Over Run
This bit is set if a Data Over Run condition is detected. Always set this bit to zero when
writing to UCSRA.
• Bit 2 – PE: Parity Error
19. 19
This bit is set if the next character in the receive buffer had a Parity Error when received and
the parity checking was enabled at that point . This bit is valid until the receive buffer (UDR)
is
read. Always set this bit to zero when writing to UCSRA.
• Bit 1 – U2X: Double the UART Transmission Speed
This bit only has effect for the asynchronous operation. Write this bit to zero when using
synchronous operation.
• Bit 0 – MPCM: Multi-processor Communication Mode
This bit enables the Multi-processor Communication mode.
2. UCSRB ( UART Control & Status Register B):-
read/write R/W R/W R/W R/W R/W R/W R R/W
initial value 0 0 0 1 1 0 0 0
• Bit 7 – RXCIE: RX Complete Interrupt Enable
Writing this bit to one enables interrupt on the RXC Flag.
• Bit 6 – TXCIE: TX Complete Interrupt Enable
Writing this bit to one enables interrupt on the TXC Flag
• Bit 5 – UDRIE: USART Data Register Empty Interrupt Enable
Writing this bit to one enables interrupt on the UDRE Flag. A Data Register Empty Interrupt
will be generated only if the UDRIE bit is written to one.
RXCIE TXCIE UDRIE RXEN TXEN UCSZ2 RXB8 TXB8
20. 20
• Bit 4 – RXEN: Receiver Enable
Writing this bit to one enables the UART Receiver
• Bit 3 – TXEN: Transmitter Enable
Writing this bit to one enables the UART Transmitter. The Transmitter will override normal
port operation for the TxD pin when enabled
• Bit 2 – UCSZ2: Character Size
The UCSZ2 bits combined with the UCSZ1:0 bit in UCSRC sets the number of data bits
(Character Size) in a frame the receiver and transmitter use.
• Bit 1 – RXB8: Receive Data Bit 8
RXB8 is the ninth data bit of the received character when operating with serial frames with
nine data bits. Must be read before reading the low bits from UDR.
• Bit 0 – TXB8: Transmit Data Bit 8
TXB8 is the ninth data bit in the character to be transmitted when operating with serial frames
with nine data bits. Must be written before writing the low bits to UDR.
3. UCSRC (UART Control & Status Register C):-
UCSRB
read/write R/W R/W R/W R/W R/W R/W R/W R/W
initial value 1 0 0 0 0 1 1 0
• Bit 7 – URSEL: Register Select
This bit selects between accessing the UCSRC or the UBRRH Register. It is read as one when
URSEL UMSEL UPM1 UPM0 USBS UCSZ1 UCSZ0 UCSPOL
21. 21
reading UCSRC. The URSEL must be one when writing the UCSRC.
• Bit 6 – UMSEL: UART Mode Select
This bit selects between Asynchronous and Synchronous mode of operation.
• Bit 5:4 – UPM1:0: Parity Mode
These bits enable and set type of parity generation and check. If enabled, the transmitter will
automatically generate and send the parity of the transmitted data bits within each frame. The
Receiver will generate a parity value for the incoming data and compare it to the UPM0 setting.
If a mismatch is detected, the PE Flag in UCSRA will be set.
• Bit 3 – USBS: Stop Bit Select
This bit selects the number of Stop Bits to be inserted by the Transmitter. The Receiver ignores
this setting.
• Bit 2:1 – UCSZ1:0: Character Size
The UCSZ1:0 bits combined with the UCSZ2 bit in UCSRB sets the number of data bits
(Character Size) in a frame the Receiver and Transmitter use.
• Bit 0 – UCPOL: Clock Polarity
This bit is used for Synchronous mode only
3.5 UART Initialization ,Transmitting and Receiving C Code example
//UART Initialization:-
void uartini()
{
UBRRL=12;
UCSRA|=(1<<U2X);
UCSRB|=(1<<RXEN)|(1<<TXEN);
23. 23
Chapter 4
ADC :Analog to Digital Conversion
4.1 Introduction to ADC:-
All the sensor's give the analog value in the output but microcontroller understand only digital
value either high (1) or low (0), The ADC converts an analog input voltage to a 10-bit digital
value through successive approximation.The minimum value represents GND and the
maximum value represents the voltage on the AREF pin minus 1 LSB. Optionally, AVCC or
an
internal 2.56V reference voltage may be connected to the AREF pin by writing to the REFSn
bits in the ADMUX Register. The internal voltage reference may thus be decoupled by an
external capacitor at the AREF pin to improve noise immunity. Port A is the ADC port. Port A
of Atmega16 have the 8-pins and 10-bit data resolution. the ADC gives the value between 0 to
1023.
4.2 Register use in ADC:-
Three register are use for ADC.
1. ADMUX (Analog to Digital Multiplexing Register )
2. ADCSRA (Analog to Digital Control & Status Register A)
ADMUX & ADCSRA both are 8-bit register. ADMUX use for choose port pin for ADC input.
ADCSRA use for start ADC, enable ADC port & complete ADC.
The ADC is enabled by setting the ADC Enable bit, ADEN in ADCSRA. Voltage reference
and input channel selections will not go into effect until ADEN is set. The ADC does not
consume power when ADEN is cleared.
24. 24
3 ADC (Analog to Digital Conversion Register)
It is a 16-bit register use for store ADC value after conversion and divided into two 8-bit
registers ADCH & ADCL. The ADC generates a 10-bit result which is presented in the ADC
Data Registers, ADCH and ADCL. By default, the result is presented right adjusted, but can
optionally be presented left adjusted by setting the ADLAR bit in ADMUX.
4.3 ADC Register Description:-
ADMUX:-
7 6 5 4 3 2 1 0
REFS1 REFS0 ADLAR MUX4 MUX3
These bits select the voltage reference for the ADC, as shown in Table 3. If these bits are
changed during a conversion, the change will not go in effect until this conversion is complete
(ADIF in ADCSRA is set). The internal voltage reference options may not be used if an
external reference voltage is being applied to the AREF pin.
REFS:-reference selection bit 1,0
Table 3. Voltage Reference Selections for ADC
REFS1 REFS0 Reference Voltage
0 1 Vref=AVcc=5V
1 0 Vref=AVcc=2.5V
25. 25
ADLAR: ADC left adjustment register
The ADLAR bit affects the presentation of the ADC conversion result in the ADC Data
Register. Write one to ADLAR to left adjust the result. Otherwise, the result is right adjusted.
Changing the ADLAR will affect the ADC Data Register immediately, regardless of any
ongoing conversions.
if ADLAR=0
7 6 5 4 3 2 1 0
ADCH X X
ADCL X X X X X X X X
if ADLAR=1
7 6 5 4 3 2 1 0
ADCH X X X X X X X X
ADCL X X
MUX: Multiplexing enable
The value of these bits selects which combination of analog inputs are connected to the ADC
Table 4.Input Channel Selection
MUX4 MUX3 MUX2 MUX1 MUX0
0 0 0 0 0
26. 26
0 0 0 0 1
0 0 0 1 0
0 0 0 1 1
0 0 1 0 0
0 0 1 0 1
0 0 1 1 0
0 0 1 1 1
ADCSRA: Analog to Digital Control & Status Register A
ADEN ADSC ADATE ADIE ADIF ADPS2 AD
P
S
1
AD
P
S
0
• Bit 7 – ADEN: ADC Enable
Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned off. Turning
the ADC off while a conversion is in progress, will terminate this conversion.
• Bit 6 – ADSC: ADC Start Conversion
In Single Conversion mode, write this bit to one to start each conversion. write this bit to one
to start the first conversion. The first conversion after ADSC has been written after the ADC
has been enabled.
27. 27
• Bit 5 – ADATE: ADC Auto Trigger Enable
When this bit is written to one, Auto Triggering of the ADC is enabled. The ADC will start a
conversion on a positive edge of the selected trigger signal. The trigger source is selected by
setting the ADC Trigger Select bits.
• Bit 4 – ADIF: ADC Interrupt Flag
This bit is set when an ADC conversion completes and the Data Registers are updated.
• Bit 3 – ADIE: ADC Interrupt Enable
When this bit is written to one and the I-bit in SREG is set, the ADC Conversion Complete
Interrupt is activated.
• Bits 2,1,0 – ADPS2,1,0: ADC Prescaler Select Bits
These bits determine the division factor between the XTAL frequency and the input clock to
the ADC. ADC work on 50-250KHz Frequency.
Table 5. Prescaler Selection for ADC
ADPS2 ADPS1 ADPS0 Frequency
0 0 0 F_CPU/2
0 0 1 F_CPU/2
0 1 0 F_CPU/8
0 1 1 F_CPU/16
1 0 0 F_CPU/32
1 0 1 F_CPU/64
28. 28
1 1 0 F_CPU/128
1 1 1 F_CPU/256
ADEN is necessary 1 for enable ADC.
ADSC -it gives manually 1 for start conversion. ADATE & ADIE set automatically.
4.4 ADC Initialize and adc_ read C code example
//ADC Initialize
void adcini()
{
ADMUX=0b01000000;
ADCSRA=0b10000100;
}
//ADC read function
int adc_read(char ch)
{
ADMUX&=0b11111100;
ch &=0b00000011;
ADMUX|=ch;
ADCSRA|=(1<<ADSC);
while(!(ADCSRA&(1<<ADIF)));
return ADC;
}
29. 29
Sensor's:-
Sensor's use to detect or sense physical quantity from the nature.
4.5 IR Sensor
IR sensor detect the infrared light and give a electric voltage.
Normally human eye cannot detect IR light.
IR sensor module consists the following elements-
1. Photo Diode
2. IR Led
3. Power led
4. LM358 OP-Amp IC (consists two op-amp)
Photo Diode receive the IR light, the photon of photo diode is excited and produce kinetic
energy ,this energy is converted into electric voltage.
LM358 amplify the photo diode output voltage and give the required voltage for controller and
convert into digital form.
Application of IR Sensor:-
a. Follower's
b. Obstacle avoiders
30. 30
c. Visitor counters etc.
Fig 17. IR Sensor Module
4.6 Accelerometer
Accelerometers are devices that measure acceleration, which is the rate of change of the velocity of
an object. Accelerometers are useful for sensing vibrations in systems or for orientation
applications. Generally, accelerometers contain capacitive plates internally. Some of these are
fixed, while others are attached to miniscule springs that move internally as acceleration forces
act upon the sensor.
Fig 18. Accelerometer
31. 31
4.7 Temperature sensor (LM35)
It is a three terminal device work on ADC. LM35 is temperature sensor useful for temperature
measurement, it give the temperature in degree centigrade. it is follow the ADC protocol. LM35
is a precision IC temperature sensor with its output proportional to the temperature (in o C).
The sensor circuitry is sealed and therefore it is not subjected to oxidation and other processes.
With LM35, temperature can be measured more accurately than with a thermistor. It also
possess low self-heating and does not cause more than 0.1 o C temperature rise in still air. The
operating temperature range is from -55°C to 150°C. The output voltage varies by 10mV in
response to every o C rise/fall in ambient temperature, i.e., its scale factor is 0.01V/ oC.
1 degree centigrade = 10 mv
Fig 11.temoerture sensor
32. 32
Chapter 5
PWM: Pulse Width Modulation and Motor
5.1 Definition of PWM
In pulse width modulation the width of carrier signal pulse is varied accordance to the message
signal or modulating signal keep frequency constant.
5.2 Application of PWM:-
1. Device brightness control
2. Motor speed control
3. Angle rotation
5.3 Register use in PWM:-
1. TCCR (Timer counter & Control Register)- It is 8-bit register.
2. OCR (Output Compare Register)
Duty Cycle:-It is the ratio of on time to the total time of a complete cycle.
PB3 pin of Atmega16 microcontroller is oscilloscope pin.
5.4 PWM Register Description:-
TCCR0:-
7 6 5 4 3 2 1 0
FOCO WGM00 COM01 COM00 WGM01 CS02 CS01 CS00
33. 33
Pin7:FOCO(force output compare)-It always set to zero.
Pin6,3:WGM(wave form generation mode 00,01)
Pin4,5:COM(compare output mode 00,01)
Pin0,1,2:CS(clock select 00,01,02)
Table 6.Clock Select for PWM (CS02,01,00):-
CS02 CS01 CS00 Frequency
0 0 0
0 0 1 F_CPU/8MHz
0 1 0 F_CPU/16MHz
0 1 1 F_CPU/32MHz
1 0 0 F_CPU/64MHz
F_CPU/32MHz -011-give a standard rotation.
Table 7. Waveform Generation mode for PWM (WGM01,00):-
WGM01 WGM00 Mode
0 0 Normal mode
0 1 Phase correct mode
1 0 CTC mode (clear timer on compare)
1 1 Fast PWM mode
34. 34
We use phase correct mode or fast PWM mode.
Table 8. Compare output Mode for PWM (COM01,00):-
COM01 COM00 Mode
0 0 Normal mode
0 1 Toggle mode
1 0 Non-inverting mode
1 1 Inverting mode
Non-inverting mode:-clear timer on compare.
Inverting mode:-set timer on compare.
5.5 Motor:-
Motor is a device that convert electrical energy into the rotational mechanical energy.
motor don't have polarity.
5.6 Types of motor-
1. Dc motor :- Dc motor convert dc electrical energy into rotational mechanical energy.
There are two type of dc motor:
a. BLDC (Brush less dc motor)
b. Geared dc motor
current and voltage rating for dc motor.
voltage rating = 5v for slow speed and 9 to 15v for high speed
35. 35
current rating = 60mA to 600mA
2. Stepper motor 3. Servo motor
stepper and servo motor provide angle rotation. Servo motor is mechanical arrangement with
simple dc motor. Itis use for angle rotation.
It can gives maximum 180 degree angle rotation.
5.7 motor Driver IC (L293D) :-
L293D is 16-pin motor driven IC. controller give the 20mA current in output and motor drive
on 60mA current. this IC give 60mA current in output for motor. It consists 4-transistor in H-
section for amplify the current.
Maximum 4 motor drive by L293D in unidirection and 2 motor in Bidirection.
Input IP1,IP2,IP3 & IP4 connected from controller.
Table 9.Input table for motor rotation-
Input Movement
IP1 IP2 IP3 IP4
1 0 1 0 Forward
0 1 0 1 Backward
0 0 1 0 Left
1 0 0 0 Right
0 0 0 0 Stop
37. 37
Chapter 6.
Interfacing Components Using microcontroller With
C code & Proteus Design and Application
6.1 Interfacing of LEDProgram for single led blinking.
#include <avr/io.h> //main header file
#include <util/delay.h> //for delay
int main(void)
{
DDRA=0x01; //for output
while(1)
{
PORTA=0x01; //led at port A 0th pin
_delay_ms(1000);
PORTA=0x00;
_delay_ms(1000);
}
}
Proteus circuit for led blinking.
Fig 13. Proteus design for led blinking
38. 38
Application:-
1. Lighting & decoration. 3. Indicators
2. Message display 4. Logic circuit testing
6.2 Interfacing of Seven Segment
Program for display 0 to 99 digit on common Anode seven segment display using multiplexing.
#include <avr/io.h>
#include<util/delay.h>
int main(void)
{
DDRC=0xff;
DDRD=0xff;
chararray[10]={0b11000000,0b11111001,0b10100100,0b10110000,0b10011001
,0b1001000,0b10000010,0b11111000,0b10000000,0b10010000};
while(1)
{
for(int j=0;j<10;j++)
{
for(int i=0;i<=9;i++)
{
for(int m=0;m<5;++m)
{
PORTD=0b00000001;
PORTC=array[j];
_delay_ms(10);
PORTD=0x02;
PORTC=array[i];
_delay_ms(10);
}
}
39. 39
Fig 14. Proteus design for Seven Segment
Applications:
1. Digital Watch.
2. Stop Watch
3. At many places like hospitals, railway stations, offices etc.
4. With Traffic lights.
6.3 Interfacing of Different Sensors using ADC
6.3.1 Interfacing of IR sensor
Program for line following robot using IR sensor's.
#include <avr/io.h>
46. 46
}
}
}
Proteus design for Bluetooth control robot with lcd.
fig 16.Proteus design of bluetooth interfacing with LCD
Application:-
1.Bluetooth controlled Robot
2. Hand Gesture Robot
47. 47
Chapter 7
Introduction to Robotics
7.1 Introduction
Robotics is a branch of engineering that involves the conception, design, manufacture, and
operation of robots. This field overlaps with electronics, computer science, artificial
intelligence, mechatronics, nanotechnology, and bioengineering.
Robots are machines capable of carrying out a complex series of actions automatically.
Robotics is branch of technology that deals with the design, construction, operation, and
application of robots. Well it is a system that contains sensors, control systems, manipulators,
power supplies and software all working together to perform a task.
7.2 Characteristic of Robot
A. Sensing: First of all your robot would have to be able to sense its surroundings. It would do
this in ways that are similar to the ways that you sense your surroundings. Giving your robot
sensors: light sensors (eyes), touch and pressure sensors (hands), chemical sensors (nose),
hearing and sonar sensors (ears), and taste sensors (tongue) will give your robot awareness of
its environment.
B. Movement: A robot needs to be able to move around its environment. Whether rolling on
wheels, walking on legs or propelling by thrusters a robot needs to be able to move. It can move
their arms, head, neck, fingers as well.
C. Energy: A robot needs to be able to power itself. A robot might be solar powered,
electrically powered, battery powered. The way your robot gets its energy will depend on what
your robot needs to do.
D. Intelligence: A robot needs some kind of "smartness" This is where programming enters
the pictures. A programmer is the person who gives the robot its 'smartness'. The robot will
have to have some way to receive the program so that it knows what it has to do.
48. 48
7.3 Basic Elements in Robotics
A Movable body: Robots may have wheels, limbs connected by mechanical joints, or other
types of movable segments.
An Actuator: In order to be activated, robots may use an electric motor, a hydraulic system, a
pneumatic system or a combination of all the three.
An Electric Circuit: The electrical circuit powers the electric motor, solenoid or valves that
control hydraulic or pneumatic systems.
A Power source: A robot needs a power source to drive its actuators. Electric Robots use
batteries or extension cords. Hydraulic Robots needs pumps to pressurize the hydraulic fluid
and pneumatic robots need air compressors.
A Reprogrammable Brain (Computer): A computer controls all other components. In order
to change the robot’s behavior, you just have to reprogram the computer.
A Sensory System: Some robots have the capability to collect the information about their
environment and react to it.
49. 49
Conclusion
I successfully learnt about the working of Microcontroller. It was a great experience as I learnt
about interfacing devices with the help of microcontroller. I studied about
ATMEGA16.MicrocontrollerThey are reliable and is very fast because of using RISC
architecture.Power consumption is also very less when compared to other micro controllers.
When we see in the programmer point of view interfacing is very easy, also we can connect
analog devices directly without any extra circuitry and use them. Programming is also very
easy when compared to other microcontrollers. It is low cost. It is a RISC (Reduced Instruction
Set Computer) design (Only thirty seven instructions to remember). This module discusses the
basics of Microcontroller. It provides information about microcontroller (MC) and
microprocessor(MP), comparison between MC and MP, lists the evolution of MC and MP.
This module also describes the Harvard and Princeton Architectures and the I/O memory
organization and details on the comparison between micro-coded and hard coded architecture.
50. 50
Reference
Atmega16 Microcontroller Data Sheet
Voltage Regulated IC 7805 Data Sheet
http:// www.wikipedia.com
http:// www.electronichub.org
http:// www.atmel.com
http://www.atmel.com/images/doc2512.pdf