Thursday, March 26, 2009

Learning embedded systems with PIC microcontrollers Part 1 :

This section will help you to develop embedded system applications using PIC 18 series of microcontrollers. The following software and hardware tools are required to make and embedded system besides basic requirements like basic harwdware knowledge and familiarity with assembly language and C programming concepts.

1. MPLAB IDE ( This IDE can downloaded from microchip website www.microchip.com )

2. MPLAB C18 Compiler ( If your are going to write your program in embedded C )

3. Programmer ( This thing you have to buy or make; I will be providing a section for programmer desiging. You can develop your programmer for few bucks.)

4. A PIC controller ( You have to get it from market; No other way go )

5. Clock Crystal ( Not the clock at your home )

6. Few Capacitors ( Very cheap )

7. 5 V power supply ( You are very familiar with it )

8. Some LEDs ( das bliken..)

The other component needed depends upoon your application.

The art of making embedded systems will be a tiresome and boring process in the begining, but once if you make your hands dirty, then its a cakewalk not a herculean task.

From my experience, blinking an LED on a microcontroller port will take atleats 10 days @ 6 hours per day. But once if you blinked the LED at your own, then a simple application with LCD will not take more than 2 hours.

Likewise you can master all other peripherals in the microcontroller and once after that you can make any complex system , which your controller supports. I am planning to provide here a complete tutorial of all the peripherals of a PIC microcontroller such as SPI, I2C, USART, UART, ADC, PWM, SSP, PSP, CAN, USB, etc

No comments: