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

ExperimenterUK
Mon May 25 2015, 06:21 PM
@Subrat Sahu not a simple answer.Create a thread in "General help Guidance and Discussion" forum
Sun May 24 2015, 06:51 AM
Subrat Sahu
I have a confusion about 10 bit adc formula as describe bellow that resolution = Vref/1023 or Vref / 1024
ExperimenterUK
Sat May 23 2015, 08:54 PM
@utpal.. Create a thread in the Pic forum
Thu May 21 2015, 01:04 AM
utpal
i am a hobbist. i work on 8051. just i have started with pic 16f877. but a bitter experiance is going on. as i am programming any code to my pic877 and putting it in my board and it is working, but the 2nd time it is not taking any program,I have experimented just 7 new one pic mcus. result is the same. please tell me the reason. my programmer is TOP3000(universal programmer).
ajay_bhargav
Wed May 20 2015, 04:48 AM
@lak you can use the same code provided you are not using any s52 specific ports and registers.
Mon May 18 2015, 05:58 AM
lak
i used to develop a code for at89s52 shall i use the same code for at89c4051
Sun May 17 2015, 07:57 AM
Ayoosh
what if i have to rotate motor continuously at a step angle of 1.8 degree
ExperimenterUK
Fri May 15 2015, 06:02 PM
@oracle1946.. Post your question in the PIC forum
Fri May 15 2015, 03:48 AM
nadeem232
if some has solution kindly share solution Principles of Electric Circuits,by Thomas L. Floyd
oracle1946
Thu May 14 2015, 03:39 PM
I want to build a PIC16F684 sun logger using either a solar cell (0.5v solar cell or photoresistor). Any help out there?

Downloads

Comments

vipinpathakg
Wed May 27 2015, 05:57 AM
MuhammadTanvir
Sun May 24 2015, 11:02 AM
as_rog
Sun May 17 2015, 08:00 AM
oracle1946
Thu May 14 2015, 03:34 PM
kakaru32
Tue May 12 2015, 04:29 PM
Yateesh
Sat May 09 2015, 02:46 AM
scmg
Fri May 08 2015, 06:40 PM
OMERO
Fri May 08 2015, 11:53 AM

Online

Guests: 46, Members: 0 ...

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

Members: 37662
Newest member: vipinpathakg
Forum Activity
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu May 28 2015, 05:06 AM
UDN2981 is an 8-channel driver which can source cu...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu May 28 2015, 04:53 AM
[Topic moved to Electronics forum]
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 04:25 PM
UDN2981 IC is not available in local market. pleas...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 27 2015, 02:17 PM
UDN2981 is required to drive the LED matrix, are y...
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 06:28 AM
I have created all the hardware of 5x7 LED Dotmatr...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 25 2015, 06:16 PM
We need to do some simple tests.Get the speaker to...
mayank058 Avatar
Posted By mayank058
Mon May 25 2015, 04:57 AM
Dear sir, I am taking output from PI...
MuhammadTanvir Avatar
Posted By MuhammadTanvir
Sun May 24 2015, 11:11 AM
Hey guys !! Can somebody please share the proteus ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:52 PM
Does the speaker work?.'Exactly' where on the boa...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:44 PM
For all your questions there is a proper, very tec...