Overview
Serial communication and Analog to Digital Converter
- The student will be able to use two-way serial communication with the PIC18F4550
- The student will be able to design and implement simple circuits with serial communication
- The student will be able to handle analog signals with the PIC18F4550
- The student will be able to design and implement simple circuits with analog signals
- The student will be able to connect the PIC18F4550 to the TMP36 temperature sensor
- The student will be able to load and animate a microcontroller program in the Proteus Design Suite
- The student must know the use of the
Direction Register and the Data Register of a microcontroller parallel port, PIC18F4550 datasheet (I/O ports, p.
113)
- The student must know the commands of CCS C Compiler associated with the use of parallel ports, CCS C Compiler Manual (Built In Functions, DISCRETE I/O p. 159, set_tris_x() command p.244)
- The student must be familiarized with the Proteus Design Suite
Τhe duration of this module is 3 hours
Tip1. The microcontroller and the monitor must have the same baud rate
Tip2. ADC resolution is 10 bit (number range 0~1023)
Tip3. The temperature of the
TMP36 sensor is given by the formula
\( T (^oC) = \frac{Vout (mV) – 500}{10}
\)
Last modified: Sunday, 21 November 2021, 3:52 PM