Question: Communication & interfaces [ 9 ] The litter box to be designed will make use of a UART to Wi - Fi converter to allow
Communication & interfaces
The litter box to be designed will make use of a UART to WiFi converter to allow it to be
integrated into an IoT environment. The litter box transmits a byte packet via WiFi every
ms containing its current status, allowing for nearlive monitoring of the device. Due to
its low cost, you select an ESP WiFi to UART module. The UART protocol to be
implemented is N with a baud rate of bps
Question
You transmit an AT command to the ESP module and receive the following
response:
Figure Received Data Bits
Decode the response and provide the received ASCII characters.
Text
What should the value of the SPBRGHx:SPBRGx register be if the BRGH bit is set to
and the desired EUSART mode is bit asynchronous at bps
Downloaded by Ester Swart ysterswart@gmail.com
lOMoARcPSD
Decimal
What is the percentage error in the true baud rate of the device if the
SPBRGHx:SPBRGx registers are loaded with the value calculated above?
Decimal
What alternative standard baud rate can be used for the same EUSART configuration
to provide the lowest error?
Decimal
Using the baud rate of question how long does it take to transmit a single
packet?
Decimal
Question
The litter box should be capable of storing a log of its cleaning activity for a months period.
A healthy cat visits a litter box between three and five times a day. Each time the cat visits
the automated litter box, the current time and date should be stored in memory using an
Downloaded by Ester Swart ysterswart@gmail.com
lOMoARcPSD
external EEPROM module. The date is stored in the format DDMMYY followed by the time
stored as HHMMSS Assume that the date and time are stored in ASCII format.
Assume that only a single cat uses the litter box.
To ensure adequate memory is available, assume that a cat will not visit the litter box
more than times a day. How much memory, in bytes, is required to store the logs of
the visits for a day month?
Decimal
How many day months worth of logs can be stored in the AAUID external IC
serial EEPROM?
Decimal
You decide to cascade five the EEPROMs. The PIC records the current time and date of
an entry and writes the data to a AAUID connected to the PIC via IC The
AAUID is addressed as the th EEPROM module. The final byte to be written to the
device is x and is to be stored in the highest writeable address of the device that is not
write protected Give the byte write sequence, which should be transmitted from the PIC
via IC to store the required bit in EEPROM. Give the bytes in order starting at the control
byte.
First byte
Second byte
Third byte
Fourth byte
Binary
General system description
Cat boxes, also known as litter boxes, are an infamous part of a cat owner's life. Although
these boxes provide a facility within which a cat can excrete its metabolic waste, they need
to be cleaned regularly to prevent the odor from spreading through a household. Cleaning
the litter box can be the biggest downside of owning a cat. The popularity of selfcleaning
litter boxes is rising. These litter boxes offer a plethora of features on top of removing
metabolic waste from the box and controlling odours.
You set out to design a litter box that cleans itself after being used. The presence of a cat is
detected using weight sensors The weight sensors are also used to monitor and track the
weight of a cat and can be used to distinguish between cats if more than one cat uses the
litter box. The weight of a cat and the number of times it uses the litter box in a day can be
used to detect abnormal behaviour and health problems.
Figure shows a selfcleaning litter box with a cylindric design. The cylindric design allows
the inside of the box to rotate slowly while the sand is sifted through a meshed surface. The
clean sand falls through the holes of the mesh while the clumped sand and other metabolic
waste rolls off into a waste container. The box then reverses direction to allow the clean
sand to shift back into position.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
