Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to go about learning PIC microcontrollers?

Status
Not open for further replies.

alvarorahul

Advanced Member level 4
Joined
Apr 13, 2005
Messages
110
Helped
6
Reputation
12
Reaction score
1
Trophy points
1,298
Activity points
2,062
hi

i am well versed in 81051/52 programming

ive also done quite a bit on 8085 µPs

i now want to venture into PIC programing

so i would like to know how to go abt it

1)wat bk shd i refer

2)_which PIC µCshd i go for

3)is programming for all PIC µCs the same?
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,919
newbee to PIC µCs

first of all go to https://www.winpicprog.co.uk and read the PIC tutorials on that site.

there are many books related to PIC microcontrollers like "The Quintessential PIC Microcontroller", "Programming and Customizing the PIC Microcontroller", "PIC'n up the pace" etc. you can download a number of books from the Ebooks Upload/Download section of edaboard.

i would say that you should go for the PIC16F628A and the PIC16F877A.

"is programming for all PIC µCs the same?"

no and yes. if you program in assembly then the programming for all the 14-bit core PICs are same but for the 16-bit core the programming is different because they have different instruction sets. but if you program in C then it makes no difference at all.

if you have more questions then please ask

i hope that helps
 

kchandra85

Newbie level 5
Joined
Feb 27, 2006
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,366
Re: newbee to PIC µCs

it would be better if you go to www.microchip.com and check the data sheets of the microcontrollers.

It is the best way to know abt any micro controller.


i suggest you go for PIC16F877A


Programming in C is same for all pics but is different for each in case of assembly lang...


Also the most imp part is to know abt Ports.....
 

yousafzai

Full Member level 5
Joined
Jun 1, 2006
Messages
244
Helped
15
Reputation
30
Reaction score
8
Trophy points
1,298
Activity points
2,295
Re: newbee to PIC µCs

The best book is the " Customising PIC microcontroller by Myke Predko". The programming is more or less the same for all micros of this family. Michrochip website is a great resource for learning since it has a lot of application notes etc
 

polymath

Full Member level 4
Joined
May 2, 2006
Messages
231
Helped
28
Reputation
56
Reaction score
4
Trophy points
1,298
Location
England
Activity points
3,113
Re: newbee to PIC µCs

kchandra85 said:
................

Programming in C is same for all pics but is different for each in case of assembly lang...

.................

This is incorrect:

There are three basic groups of PIC µC:
12, 14, & 16 bit wide devices

33/35 instructions for the 12/14 bit wide devices
75/83 instructions for the 16 bit wide devices

Assembly code is upwardly compatible.
The code generated from writing in C may not perform the same on different devices especially on time critical code.

Check this link for a correct description and introduction.
https://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2119

Hope this helps ... Polymath
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top