C++ is used extensively in automatic machines to control operations and automate processes. Some examples provided include using C++ for the control systems in automatic washing machines, ATMs, robots, traffic lights, automatic doors, escalators, vending machines, and elevators. C++ allows precise control over timing for things like traffic light sequences or washing machine cycles. It also enables machines to sense inputs from sensors and the environment to trigger automated responses like opening doors when motion is detected or changing elevator floors when buttons are pressed. Overall, C++ provides a powerful and efficient programming language well-suited for developing the control logic and automation in many types of machines.
4. WHATIS C++?
C++ is a multi paradigm programming
language that supports object oriented
programming(OOP)created by Bjarne in
1983 at the Bell labs.
C++ is an extension of C programming
5. ADVANTAGESOF C++
C++ is a highly portable language and is often the
language of selection for multi-device, multi-platform app
development.
C++ use multi-paradigm programming. The Paradigm
means the style of programming. Paradigm concerned
about logics, structure, and procedure of the program.
It is useful for the low-level programming language and
very efficient for general purpose
The wide range of applications: From GUI applications to
3D graphics for games to real-time mathematical
stimulations, C++ is everywhere.
6. AUTOMATIC
MACHINES
“A machine or machine tool (such as a
spinning machine or lathe) that after once
being set operates automatically except for
applying the power, lubricating, supplying
material, and shutting off the power.”
7. TYPESOF AUTOMATION
SYSTEM/MACHINES
1. Industrial Automatic machines:
Industrial automation is the
process of making industrial
production processes more flexible
and simpler at higher efficiencies. Use
of automatic machines in the
industries results improved product
quality and productivity with reduced
downtime and wastes.
This type automation is most popularly
used in automotive, computer and
electronics, medical,
telecommunication, consumer goods
and other industrial applications.
8. 2. Home Automatic machines:
Home automation system does the
operations like
lighting control and regulation
regulating HVAC (Heating,
ventilation and Air Conditioning)
equipment’s
energy and load management
security and monitoring
audio/ video systems
Home automation uses the various
sensors to sense parameters like
temperature, pressure, motion,
illumination, etc.
9. ADVANTAGES OF AUTOMATIC
MACHINES Reduction in production time
Increase in accuracy and
repeatability
Less human error
Increased safety
Higher volume production
shorter workweeks for labor
and reduced factory lead
times.
higher production rates and
increased productivity
more efficient use of
materials
better product quality
10. USESOF
AUTOMATIC
MACHINES
Automatic machines are used in various
control systems for operating equipment
such
processes in factories
boilers and heat treating ovens
steering and stabilization of ships
aircraft
other applications and vehicles with
minimal or reduced human intervention
12. AUTOMATIC WASHING
MACHINES:
C++ is used in automatic
washing machines to set the
timer of machine , no of
revolutions machine take and
after what revolution machine
will quick wash the clothes
and dry the clothes
13. AUTOMATIC TELLER MACHINE (ATM)
:
An automated teller machine (ATM) is an
electronic telecommunications device that
enables customers of financial institutions to
perform financial transactions, such as cash
withdrawals, deposits, transfer funds, or
obtaining account information, at any time
and without the need for direct interaction
with bank staff.
We use C++ language in ATM (Automated
teller machine).
The code carries out all the functions that all
standard ATM machines do.
You can check amount present in your
account, withdraw balance and deposit
amount
14. ROBOTS:
Robots process sensor data, perform
cognition and plan actions using
computer programs that are executed
on a processor.
Example:
A face recognition program in a robot
will:
1. take an image of a person as an
input
2. scan the image for a specific set of
features
3. compare these features to a library of
known faces
4. find a match, then
5. return the name of the person as an
output.
The program will perform exactly these
same set of instructions every time it
executes.
15. TRAFFIC LIFGHTS:
C++ programming is use in
traffic lights to set the timing
after what time red light will
appear and after what time
green and yellow light will
appear
It also check the number of
vehicle before turning the
lights on.
16. AUTOMATIC DOORS:
An automatic door, also known
as an auto door, is a door that
opens automatically, usually on
sensing the approach of a
person.
C++ programming is used in
automatic doors to close , open
the doors by detecting the person
close to door.
17. AUTOMATIC STAIRS
An escalator is a type of vertical transportation in
the form of a moving staircase which carries
people between floors of a building.
C++ is use in automatic stairs to start , stop the
stairs by detecting the person on it and then stop
after a fix time
Escalators are used around the world in places
where lifts would be impractical. Principal areas of
usage include department stores, shopping
malls, airports, transit systems (railway/railroad
stations), convention
centers, hotels, arenas, stadiums and public
buildings.
18. VENDINGMACHINE:
A vending machine is an
automated machine that provides
items such
as snacks, beverages, cigarettes
lottery tickets to consumers after
money, a credit card, or a
specially designed card is inserted
into the machine.
C++ is use in vending machines to
check the amount deposited and
then deliver the product according
to the amount given and return the
remaining cash.
19. ELEVATOR/LIFT:
An elevator or lift is a vertical transport vehicle that efficiently moves people or goods between floors of a
building.
C++ is used in elevator
The program output should be:
The doors are closing.
Going up to floor 2.
Going up to floor 3.
Going up to floor 4.
The elevator is on floor 5.
Please enter a new destination floor.
And if the user enters 2, then the output should look like:
The doors are closing.
Going down to floor 2.
Going down to floor 3.
Going down to floor 4.
The elevator is on floor 5.
Please enter a new destination floor.