Question: Que: 1 Application: Password checking system using PIC18F microcontroller. It is required to check the entering of password of size of 4 digits from 0

Que: 1

Application: Password checking system using PIC18F microcontroller.

It is required to check the entering of password of size of 4 digits from 0 to 9 and special characters * and #. If the password entered by the user is correct, then display message on LCD Password is Correct or else display Wrong Password.

Add one extra feature, as per your wish to make this application more reliable and informative.

  1. Explain the logic sequence of the password checking method, by steps or by flow chart.
  2. Write the PIC C code with the comment on each instruction.
  3. Draw interfacing diagram or block diagram of all required components for above objective.

Assume that key input read function is provided for 43 Keypad.

Assume all suitable data with explanation.

Que: 2

Application: A fluid-level control system using PIC18F microcontroller.

The aim is to control the level of the fluid at a given point. Use the PIC18F microcontroller to read the fluid level via a level sensor device. The level sensor is providing the analog output in voltage (0-5V) as per resolution say for example, 10mV per 1cm. PIC can be setup with 10bit resolution with reference voltage=5V.

Design automatic level control as per user input. In general, the pump is used to fill the tank and output-valve to realize the liquid from the tank. It requires controlling the fluid level at the required value. If the fluid level is low, PIC operates the pump to draw more fluid from the reservoir. In practice, the pump is controlled continuously in order to keep the fluid at the required level.

  1. Give all calculation steps to convert ADC reading to level measurement between 1 cm to 200cm.
  2. Write a PIC C code as per above objectives and to maintain the level as per user input.
  3. Draw a block diagram with pin to show interface with main devices.

Assume all suitable data with explanation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!