Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Name:

No. matric :
Answer all question.

An embedded system is a computer system designed for specific control functions


within a larger system—often with real-time computing constraints. It is embedded
as part of a complete device often including hardware and mechanical parts.
Among the hardware interfacing LCD,7 SEGMENT, ADC and DAC, RELAY and
MOTOR.

In group with 3/4 student, choose ONE of the hardware interfacing below ,
( make sure each group does not have the same number of questions)
a. Construct a program code ( MICRO C PRO )
b. Draw the related circuit ( PROTEUS PROFESIONAL)
c. Report ( power point )
 Introduction & flow chart
 Program and circuit
 Result
 Conclusion
d. Do demo presentation and upload at YouTube. Put the link at Report
Presentation.
HARDWARE INTERFACING 1:
Interface microcontroller PIC16F877A with digit calculator. Do any simple one digit
calculator which implements any 4 functions addition (+), subtraction (-),
multiplication (x) and division (/) s and display on LCD.
Interface any keypad (e.g 4x4 or 4x3 etc) with PIC16F877A microcontroller.

HARDWARE INTERFACING 2:
Interface one motor DC with this sequence;
- When the circuit connect, turn motor clockwise for 4 second,
- Motor stop for 2 second
- Turn motor anticlockwise for 5 second,
- Motor stop for for 3 second.

HARDWARE INTERFACING 3:
Interface microcontroller PIC16F877A with 7 segment with this sequence,
- 7 segment display start from ‘0’ until ‘F’.
- After display ‘F’, it repeat again the sequence.

HARDWARE INTERFACING 4:
Interface microcontroller PIC16F877A with LED with traffic light function.

HARDWARE INTERFACING 5:
Interface microcontroller PIC16F877A with LCD with sequence,
- Starts running word with 'DJM 50122 Embedded system application' in first is displayed
on the first line of LCD first. On the second line ‘ put group name ‘ displayed . Then whole
screen starts to scroll towards left. Following animation shows the result of simulating the
code in Proteus.
HARDWARE INTERFACING 6:
Interface microcontroller PIC16F877A with 4 LED with sequence.
- LED 1 ON for 2 second and OFF
- LED 2 and LED 3 ON for 3 second and OFF
- LED 4 ON for 2 second anf OFF
- This process continue for 4 times

HARDWARE INTERFACING 7:
Interface microcontroller PIC16F877A with LCD with sequence,
- Starts word with ‘HARDWARE INTERFACING 7 ' in first is displayed on the first line of
LCD first. On the second line running word ‘ DONE EOC1 ‘ displayed . Then whole screen
starts to scroll towards left. Following animation shows the result of simulating the code in
Proteus.

HARDWARE INTERFACING 8:
Interface microcontroller PIC16F877A with LM35 analog temperature sensor.

HARDWARE INTERFACING 9:
Interface microcontroller PIC16F877A with 7 segment with 3 switch:
- SW1 is pressed it will increment the count on 7 segments display.
- SW2 is pressed it will decrement the count on 7 segments display.

HARDWARE INTERFACING 10:


Interface microcontroller PIC16F877A with servo motor

~ Good luck ~

You might also like