PIC Microcontroller Programming (E-book)
Using the lessons in this e-book you learn how to program a microcontroller. You’ll be using JAL, a free but extremely powerful programming language for PIC microcontrollers, which enjoys great popularity in the hobby world. Starting out from scratch virtually, you slowly build up the knowledge. No previous knowledge is needed: anyone can get started with this e-book. Assuming you have absorbed all lessons — meaning you have actually completed all the exercises — you should be confident to write PIC microcontroller programs, as well as read and understand programs written by other people.
You learn the function of JAL commands such as include, pin, delay, forever loop, while loop, case, exit loop, repeat until, if then, as well as the use of functions, procedures and timer- and port interrupts.
You make an LED blink, build a time switch, measure a potentiometer’s wiper position, produce sounds, suppress contact bounce, and control the brightness of an LED. And of course you learn to debug, meaning: how to spot and fix errors in your programs.
You learn to recognize various components including the PIC microcontroller, potentiometer and quartz crystal, and how to wire up a PIC microcontroller and effectively link it to your PC. A breadboard is used for the purpose, allowing you to easily modify the component arrangement for further experimenting.
The companion software with this e-book can be downloaded free of charge, including the JAL programming language. In addition, you may order a kit of parts so you don't have to go shopping for the required components. Especially for a beginner, this is the easiest way to start with this unique pastime. For further information visit the special support page related to this e-book.
Having finished this e-book does not mean you are through with your pastime. You can get your hands dirty again, and if desired use other books packed with fun projects using the JAL programming language. More information may be found at the end of the lessons in the chapter "Done! What’s next?"
|Author(s)||Bert van Dam|