Back to Browse

I/O PORT Programming in PIC18 Microcontroller || LED as peripheral device with PIC microcontrollers

17.3K views
Sep 30, 2020
15:35

#PORT #TRIS #SFR #INPUT #OUTPUT #PIC18 #MICROCONTROLLER This video tutorial explains how one can program the input and output port of PIC Microcontroller (PIC18) in Assembly language. These ports are composition of hardware pins of chip which served as communication path between microcontroller chip and external world. Same pin can be used for both input and output purpose. This input and output mode of pin is selected using the another important special function register (SFR) present in file register of pic microcontroller called TRISx. So In this video we will also learn about what are TRIS and how they can controller the various PORTS available in PIC 18 Microcontroller. By default, Each PORT is input PORT. To make a port as OUTPUT PORT, One need to put 0 (zero logic level) in corresponding TRIS register. For example PORTC is supposed to be configured as an output port then TRISC register must have (0s) in all bits . Or SFR ( TRISC) have value 0x00 or 00 hex. .............................................................................. To find interesting video tutorials regarding microprocessors, microcontrollers and embedded systems assembly language programing. .............................................................................. Our Top rated playlists are : Microprocessors and Assembly language Programming "https://www.youtube.com/playlist?list=PLEacQ4Oes1V0EI9Gt5tp88pAsNehrqwN6" .............................................................................. Playlist2: Microcontroller Programming PIC18F "https://www.youtube.com/playlist?list=PLEacQ4Oes1V2nics4y5DhmeDsXTgh3kKv" .............................................................................. Playlist3: MPLAB "https://www.youtube.com/playlist?list=PLEacQ4Oes1V1M5dLf_eTJspR_TneNa7SW" .............................................................................. Playlist4:Lab Online Sessions "https://www.youtube.com/playlist?list=PLEacQ4Oes1V1CvuAN23K6VN99Z5FhvI1w" .............................................................................. Playlist5:MSI (Fall20) "https://www.youtube.com/playlist?list=PLEacQ4Oes1V1mQRMswz27qyFKrHCoExbR" .............................................................................. Playlist6: PIC18F Instruction Set "https://www.youtube.com/playlist?list=PLEacQ4Oes1V2ygQyi-jQKuXNIZQLfc75V" .............................................................................." .............................................................................. Comment on our pages, playlist, videos to feedback us: .............................................................................. Subscribe to have notifications of our recent upload "https://www.youtube.com/channel/UCg8Z-VwEQ1B21gI3MaYM1qQ?sub_confirmation=1" .............................................................................. Videos on demand can be featured on your requirements.

Download

0 formats

No download links available.

I/O PORT Programming in PIC18 Microcontroller || LED as peripheral device with PIC microcontrollers | NatokHD