Discussion in "General help Guidance and Discussion" started by    prajwalsnh    Apr 15, 2013.
Mon Apr 15 2013, 07:14 PM
#1
hi frenz,

I have a doubt regarding the two most popular microcontrollers of this world, the AVR and PIC.

Is AVR better or PIC??? Though AVR is 4 times fast compared to PIC controllers in

most of the projects iv seen people use PIC especially PIC16F877A,Why? what so

special about PIC16F877A... I saw the datasheet of it and its similar to avr's atmega

8. I am very interested to work on PIC since one year but need to know the

advantages and its wide use in industries before getting into it. And i also found AVR

to be confusing becuz in AVR to clear a bit we need to WRITE 1 to that particular bit

and they have not given any explanation in datasheet. It works in opposite way to all

other microcontrollers. So pls guys i'll be waiting for a right explanation for this

question so that i can start to work with PIC ASAP!!! Thanks in advance.
Mon Apr 15 2013, 08:29 PM
#2


[ Edited Thu Apr 18 2013, 07:46 AM ]
Thu Apr 18 2013, 07:45 AM
#3
The one reason I prefer PIC is its cheap with wide variety to choose from. Its easily available in Asian markets. Support for PIC microcontroller is excellent from microchip side. Which is another reason people prefer PIC over AVR when developing commercial projects.

I do not see much difference in using PIC/AVR. Both are single cycle executable. It depends on type of project you are working on. I feel budget and availability is main reason why PIC is preferred. Though if you want to go for technical differences, I suggest go though PIC and AVR architecture manual. Will give you detailed difference between both.
Thu Apr 18 2013, 05:11 PM
#4
@Ajay Bhargav

Thanks a lot sir I want to start working with PIC so pls suggest me the right controller among various series of PIC microcontrollers.


[ Edited Thu Apr 18 2013, 05:27 PM ]
Fri Apr 19 2013, 12:44 PM
#5
You can start with PIC18 series. Go to microchip website and select features you want in your controller. Microchip will give you filtered results. If you have specific requirements then let us know. If I had to select a controller I would go with PIC18F4550. It has got everything. From serial port to USB a great learning device.

http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300
Fri Apr 19 2013, 01:51 PM
#6
@Ajay Bhargav

Thanks a lot sir But one last question sir i'm in a dilemma whether to work with AVR or PIC. I have worked with AVR but not in depth...I want to build ma career in embedded systems so thought of working on a controller in depth so that i could do some nice projects and gain knwoledge. Now whats your suggestion sir whether AVR or PIC??


[ Edited Fri Apr 19 2013, 05:18 PM ]
Sat Apr 20 2013, 07:38 PM
#7
@ prajwalsnh
AVR is fast as compare to PIC
both has pros and cons
AVR is costly as compare to PIC
AVR has less derivatives as compare to PIC
AVR is in standard 28 ,40 and more than 40 pins but pic is available in each package and size
normally now PIC is used in professional circuits
on some places i see AVR also
here is a book on pic and avr
learn both
pic book
http://www.4shared.com/rar/t31nO19g/pic_microcontroller_and_embedd.html
avr book
http://www.4shared.com/rar/hzvyouqW/avr_microcontroller_and_embedd.html
 ajay_bhargav like this.
Mon Apr 22 2013, 09:01 AM
#8
basically its your call I only had in depth of 8051 not even PIC/AVR when I came to industry. But Basics are same for all controller. Once you get a habit of reading datasheet and programming a controller. You wont find any difference working with any controller be it ARM, PIC, AVR or 8051. PIC is huge just like AVR. There is nothing that an AVR can do and PIC can't. So its only a matter of choice. Its your call now
Mon Apr 22 2013, 05:27 PM
#9
@Ajay Bhargav

Great reply .Sir if you don't mind may i know the place were you are working now? And thanks for your guidance i'll decide on that and move on.
Tue Apr 23 2013, 12:33 PM
#10
I am working in Ahmedabad right now.

Get Social

Information

Powered by e107 Forum System

Conversation

Wed Jul 01 2015, 05:14 PM
ShubhamBansal1996
i am making a project of connecting 4 8051's using a can bus for which i am using mcp2515 and mcp2551.but before making it i want to ensure it works by simulating it on proteus though the two ic's mentioned above dont seem to have models in proteus so is there anyone who can help me with that
ExperimenterUK
Tue Jun 30 2015, 05:24 PM
@sachinmm The 8051 timer can't do 1 second. It can do 50ms so count 20 times
sachinmm
Sat Jun 27 2015, 05:01 AM
how calculate 1 second delay in 8051 by using timer and what value should be store in TH0 & TLO register??
sachinmm
Fri Jun 26 2015, 08:25 AM
hello sir plz tell me how to know the 74HC165 parallel in serial out ic is fauty or not?
Wed Jun 24 2015, 08:24 AM
ben mutuku
How can one use XOR gate to ensure the first output is '1' and the next is '0'?
ExperimenterUK
Wed Jun 17 2015, 01:37 AM
@baz..try adding a hash and a semi colon
Sun Jun 14 2015, 06:31 AM
baz
@ExperimenterUK no..i dont do that i just type message example.. Hello my name is baz and then i click send message,
ExperimenterUK
Sun Jun 14 2015, 01:55 AM
@baz..did you end your message with a hash and a semi colon
Sat Jun 13 2015, 06:48 PM
asif Jamadar
I want the program for v/f control technique of 3 phase induction motor
Sat Jun 13 2015, 07:06 AM
baz
@ExperimenterUK okay thank you...but now I already complete and my dot matrix already light up but when i send message from pc to my hardware project it doesnt show any message on my dot matrix..its only blinking when i click send message....I really dont know whats the problem...I had follow all the steps...schematic and use the coding that have been provided..is it because firstly i had wrong burn the coding in AT24C16?? Is that effect ????

Downloads

Comments

Nals99
Fri Jul 03 2015, 08:33 AM
Mc_Comet32
Thu Jun 25 2015, 11:42 AM
yashaswi
Thu Jun 25 2015, 05:56 AM
Riki-cc
Tue Jun 23 2015, 10:48 AM
PadRlp
Thu Jun 18 2015, 02:11 PM
start
Thu Jun 18 2015, 01:30 PM
sheilabajos
Tue Jun 09 2015, 03:35 PM
martintan
Tue Jun 09 2015, 12:08 AM

Online

Guests: 25, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37672
Newest member: Nals99
Forum Activity
ajay_bhargav Avatar
Posted By ajay_bhargav
Sat Jul 04 2015, 06:24 AM
As Phil said this looks more of a hardware problem...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sat Jul 04 2015, 06:16 AM
XC8 is available for free so you can still use it ...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sat Jul 04 2015, 06:14 AM
You need to vary the digital value in DACR registe...
Nals99 Avatar
Posted By Nals99
Fri Jul 03 2015, 09:34 AM
Here you have an example using timer 0: void delay...
Nals99 Avatar
Posted By Nals99
Fri Jul 03 2015, 08:52 AM
Hi guys...I'm having some problems to transmit dat...
Karan123 Avatar
Posted By Karan123
Thu Jul 02 2015, 09:12 AM
@ajay_bhargav i will not prefer costly ic because ...
prajwalsnh Avatar
Posted By prajwalsnh
Wed Jul 01 2015, 05:21 AM
@ExperimenterUKThanks a lot for correcting my misc...
prajwalsnh Avatar
Posted By prajwalsnh
Wed Jul 01 2015, 05:17 AM
@ExperimenterUK Thank you for your simple and usef...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jun 30 2015, 05:45 PM
The 8051 timer can't do 1 second. It can do 50ms, ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jun 30 2015, 05:38 PM
Debugging is the process of finding out why your ...