Answered step by step
Verified Expert Solution
Question
1 Approved Answer
assemply languch please help me in pic The economical smart fan system, is a fan which automatically adjusts its RPM speed depending on the number
assemply languch please help me in pic
The economical smart fan system, is a fan which automatically adjusts its RPM speed depending on the number of objects
in this project, people
in a room. The fan's speed is initially zero, and it increases linearly as a function of the number of objects in the room. The maximum speed is reached when the number of objects in the room
is a equal to a maximum value of objects
N
max
Figure
: general setup.
An infra red
IR
sensor should be installed on the room's door and connected to the PIC microcontroller
see Figure
Once a person traverses the entrance
i
e
enters the room through its door
the IR sensor detects this event and signals it to the PIC microcontroller. The basic idea of IR object detection is illustrated in Figure
Once the PIC microcontroller detects an object, an object counter is incremented
i
e
NlarrN
The speed of the motor which is already connected to the PIC microcontroller is then increased by an amount linearly proportional to the the count value.
Page
Figure
: basic idea of IR object detection.
Specifically, the speed of fan's D
C
motor is controlled via Pulse Width Modulation
PWM
according to the following equation:
where,
D: is the duty cycle of the PWM signal
: number of objects in the room.
N
max: maximum number of objects in the room.
The average PWM voltage
V
avg
applied to the D
C
motor is in the range of
and is specified according to equation
:
The circuit has a toggle switch. When the toggle switch is logic
the count value
is displayed on two seven
segment displays and two push
button switches are used to modify the current speed of the motor
UP and DOWN
if needed. When the toggle switch is logic
the maximum number of objects in
Page
the room
max
is displayed on the two seven
segment displays and the two push
button switches are used to modify the sensitivity of the fan
i
e
increase
decrease the value of N
max
In this project, you are required to implement the functionality when the toggle switch is logic
This is a mandatory part of this project. Implementing the functionality when the toggle switch is logic
is optional and is considered as bonus.
Design and Development
For this project, you are required to design, implement and test the system in simulation using MPALB and Proteus, and then build the hardware prototype for the system. For the software part, you need to program in assembly, and you are encouraged to maximize the use of interrupts, subroutines and hardware timers in your design. Make sure to include detailed explanation for your design and all the calculations that you do
Project Groups
You must form groups of three to four students to work on this project. We prefer that you form groups from within your own lab session, but if you cannot find a partner, then you can form a group with colleagues from the other sessions. Please fill in the names of your team members using the following Google form by DD
MM
YYYY
One form is required for each group. For those who don't fill the form, they will be grouped randomly with each other.
Google Form Link
WE ARE NOT RESPONSIBLE IF YOU CANNOT FIND PARTNERS, OR IF YOUR PARTNER IS NOT GIVING ENOUGH EFFORT, OR DROPS THE COURSE!
Important Notes
Start as early as possible on your project, though the project description sounds simple, there is inherent complexity in both hardware and software aspects, so do not underestimate the time it needs, you will have many problems along the way which you will have to resolve!
Never think of buying a model or commissioning someone to do it for you, not only will you get a zero in the project, but also your act will be considered as a direct violation to JU laws and your actions shall be reported as cheating in the final exam!
Code sharing between groups is NOT allowed and leads to
points
If you acquire a part of your software from a book, website, etc, then kindly reference it properly, else it will be considered as plagiarism.
You are only allowed to base your project on PIC
F
A or PIC
F
A
You are free to use any material to build the model and the holding structure of the hardware devices you use. You might use LEGO parts, wood, strengthened cartoon, or even metallic components.
All programming must be done in PIC ASSEMBLY language only; using high
level programming languages in this project will get you a zero.
Your submitted work must be professional:assemply languch please help me in pic
The economical smart fan system, is a fan which automatically adjusts its RPM speed depending on the number of objects
in this project, people
in a room. The fan's speed is initia
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started