This book is targeted for students of electronics and computer sciences. The first part of the book contains 15 original applications working on the PIC microcontroller, including: lighting diodes, communication with RS232 (bit-banging), interfacing to 7-segment and LCD displays, interfacing to matrix keypad 3 x 4, working with PWM module and others. This material can be used to cover one semester's teaching of microcontroller programming or similar classes.
The volume contains schematic diagrams and source codes with detailed descriptions. All tests were prepared on the basis of the original documentation (data sheets, application notes). The next three chapters: The Stack, Tables and Table Instruction and Data Memory pertain to PIC18F1320. Software referred to is also presented in assembly language. Finally the application of the PIC24FJ microcontroller with the 240x128 LCD display, T6963C and with accelerometer sensor, written in C are described.
Author(s): Bohdan Borowik (auth.)
Series: Intelligent Systems, Control and Automation: Science and Engineering 49
Edition: 1
Publisher: Springer Netherlands
Year: 2011
Language: English
Pages: 168
Tags: Robotics and Automation; Control, Robotics, Mechatronics; Electronics and Microelectronics, Instrumentation
Front Matter....Pages i-xii
Turn the LED on for the calculated period of time.....Pages 1-3
Turn on the LEDs connected to various lines of port B....Pages 4-5
Turn on the LEDs connected to various lines of port B (continued)....Pages 6-7
All LEDs connected to portb blink with different frequencies....Pages 8-9
Acoustic signal of 1 kHz frequency generated with PWM module....Pages 10-14
Morse code: PIC generated with PWM....Pages 15-19
LED turn on after pressing switch on RB4....Pages 20-22
Waking the device from SLEEP with RB4 interrupt-on-change....Pages 23-25
Working with debugger. Turn the LED on for the calculated period of time.....Pages 26-38
Driving a 7-Segment LED Display with PIC16F628 microcontroller....Pages 39-46
Driving a 7-Segment LED Display with PIC16F628 microcontroller (cont.)....Pages 47-55
Interfacing a PIC microcontroller to an LCD Hitachi Display.....Pages 56-76
Timer....Pages 77-87
Dual RS232 software interface for PC and PIC microcontroller....Pages 88-104
Matrix Keypad + serial transmission....Pages 105-127
Back Matter....Pages 128-166