This textbook on microcontroller programming introduces many original, proven and important software programmes as well as schematics of circuitry. It fully describes all programmes and includes exercises with detailed debugging.
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.
introduces many original, proven and important software programmes as well as schematics of circuitry;
all programmes are described in detail;
includes exercises with detailed debugging.
Bohdan Borowik holds a position as an associate professor at the Electrical & Automation Department in Bielsko, Poland.
He holds Degree of Technical Sciences Doctor and is a holder of FCC license given in the USA.
H posesses the long-standing practice in Hi-Tech Companies in the USA and Europe. He actually works as the lecturer in the field of processor systems. He cooperates with universities in Czech Republic.
Table of contents; Preface; Testing board description; Test examples; Test 1. Turn the LED on for the calculated period of time. Test 2. Turn on the LEDs connected to various lines of port B; Test 3. Turn on the LEDs connected to various lines of port B; Test 4. All LEDs connected to portb blink with different frequencies; Test 5. Acoustic signal of 1 kHz frequency generated with PWM module ; Test 6. Morse code: PIC generated with PWM; Test 7. LED turn on after pressing switch on RB4; Test 8. Waking the device from SLEEP with RB4 interrupt-on-change; Test 9. Working with debugger. Turn the LED on for the calculated period of time. ; Test 10. Driving a 7-Segment LED Display with PIC16F628 microcontroller; Test 11. Driving a 7-Segment LED Display with PIC16F628 microcontroller (cont.); TTest 12. Interfacing a PIC microcontroller to an LCD Hitachi DisplayTest; 13. Timer; Test 14. Dual RS232 software interface for PC and PIC microcontroller; Test 15. Matrix Keypad + serial transmission; The Stack Memory Tables, Table instructions; Data memory; The application of the PIC24FJ microcontroller with the 240x128 LCD display and the analog accelerometer sensor; Interfacing microcontroller to Graphics display T6963C; References