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

hiast
Thu Jun 16 2016, 03:03 PM
help please how do i initiate port 3 as an input port in assembly? acutely there is push switch connecting to p3.2 push switch connecting to p3. 3 push switch connecting to p3.4 push switch connecting to p3.5 and i need to call function when the user pressed the push switch for the previous pins (not used as counter and not as timer… just call a function ( do special thing) when any push switch is pressed ???????
Mon Jun 06 2016, 12:02 PM
nida hussain
hi.. i need some help with keypad interfacing code.like i want to write a code in c language that takes an input of 2 digit numbers from a keypad interfaced with 8051 mc and stores the entered values in some array
Sat May 28 2016, 04:34 PM
kibrom berhe
c code for locker security system based on rfid and gsm
ExperimenterUK
Wed May 25 2016, 05:05 AM
@ Ramanjaneyulu, post in forum,explain your problem
Mon May 23 2016, 11:34 PM
Ramanjaneyulu
Hi, I Am using at89c4051 for my application, I want 5u sec dely.. Up to 1milli sec iam able to producing delay. Beyond the 1milli second, I am unable to produce the acceurate dely. Plz any one help me
Sat May 21 2016, 09:51 PM
A K
i want to mak an auto dialer using gsm and atmega 16. please helpe me how to write a code to auto dial a number saved in sim
Sat May 21 2016, 10:42 AM
Alec
Hi im trying to program my 89s51 with a usbasp so any ideas on the circuit?
Wed May 18 2016, 10:08 AM
Tashu joshi
anyone know how to develop
Wed May 18 2016, 10:07 AM
Tashu joshi
i'm working for resporatry system using 8051,
Wed May 18 2016, 10:06 AM
Tashu joshi
i'm developing a respiratory system using Arduino

Downloads

Comments

dyoussef
Wed Jun 29 2016, 07:29 PM
sung7333
Tue Jun 28 2016, 06:23 AM
Bonolai
Fri Jun 24 2016, 06:02 AM
hiast
Sat Jun 11 2016, 02:30 PM
alex1311
Thu Jun 09 2016, 06:57 AM
zaft93
Sun May 15 2016, 01:52 AM
CELEBI
Thu May 12 2016, 08:28 AM
Suro1996
Wed May 11 2016, 06:07 PM

Online

Guests: 37, Members: 0 ...

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

Members: 37770
Newest member: dyoussef
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Jun 30 2016, 05:44 AM
I think the display/ editor software added the a...
dyoussef Avatar
Posted By dyoussef
Wed Jun 29 2016, 07:34 PM
Hello, I am referencing this project: http://www.8051projects.net/wiki/I2C_Implementation_on_PICI am using PIC16F1847 and XC8 so I've had to make a few changes to the code. While making changes, my compiler gave me an error for the I2CWait function for the while statement. It says "unexpected token amp". Here is the line in question:while ((SSPCON2 & 0x1F ) || ( SSPSTAT & 0x04 ) );I changed the register names to be consistent with my PIC but it didn't solve the problem.What changes do I need to make to this function so that this error does not occur?
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 22 2016, 07:54 PM
I can't see why it should work sometimes and not o...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 22 2016, 12:58 AM
You could use T0 and T1 to trigger interrupts but ...
Karan123 Avatar
Posted By Karan123
Tue Jun 21 2016, 04:40 AM
I am not Getting you . the project is to interfac...
Karan123 Avatar
Posted By Karan123
Tue Jun 21 2016, 04:34 AM
Hello,Thanks , It Works . Master-Slave address Ma...
alex1311 Avatar
Posted By alex1311
Mon Jun 20 2016, 11:38 AM
Football is my passion and I have dreamt of becomi...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jun 17 2016, 11:00 PM
>But Can't modify code at Receiver End for Differe...
hiast Avatar
Posted By hiast
Fri Jun 17 2016, 03:25 PM
thanks for help,i wanted to write this code as you...
Karan123 Avatar
Posted By Karan123
Fri Jun 17 2016, 12:19 PM
I don't your applications . But below should help ...