Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

125% SULIT (BMCG 2212) - English Version - Q2 Consider the circuit as shown in Figure 2.1. DO AL109 RAD -0- OSOBE KOUT RA TER

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

125% SULIT (BMCG 2212) - English Version - Q2 Consider the circuit as shown in Figure 2.1. DO AL109 RAD -0- OSOBE KOUT RA TER RAS HER 62 HHI RE g! R4 RE! BE TID TUTTI Figure 2.1 Circuit to control lamp ya ha 76F Partly cloudy Deflection of beam 4 / 15 125% (2 marks) Assume that pin RB1 will supply HIGH signal that will make the lamp Ll turned on. Also assume that this situation occurs only when certain pin at PORT A receive HIGH signal. Consider current situation where all switches connected to PORTA are latched as shown in the figure, and it cannot be opened. Propose a bitwise operation to be done onto the received inputs and show the calculation where the lamp L1 will still be turned on in each one of the following desired situations: i. 11. 111. only switch attached with RAO is latched. only switch attached with RAl is latched. only switch attached with RA2 is latched. only switches attached with RAO and RA2 are.latched. switches attached with RAO, RAT and RA2 are latched. iv. v. (10 marks) (d) Microcontrollers have always been a great choice for experts since their inception long while ago. They are widely used for embedded system, industrial automation and roboties as they contain an onboard chip that requires no external components for making it work and reduces the space required for the development of any project. PIC16F84A is an 8-bit PIC microcontroller that comes with enhanced EEPROM and is a successor of PIC16C84 that was introduced back in 1993 by Microchip Technology with the intention of making electronic tasks easy. It is an 18-pin PIC microcontroller that comes with serial programming algorithm (Figure 2.2). Figure 2.2 PIC16F84A microcontroller Here, you are required to use PIC16F84A, push button and 7-segment display in designing a circuit for a simple counter. The components must be configured according to TRISA and TRISB setting as follows: TRISA = 00000101; TRISB = 10000000. Draw a design of the required circuit according to this information. (10 marks) Ad beo WhatsApp Image....jpeg

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago

Question

Differentiate sin(5x+2)

Answered: 1 week ago

Question

Compute the derivative f(x)=1/ax+bx

Answered: 1 week ago