Author Topic: pic18f !  (Read 9554 times)

0 Members and 1 Guest are viewing this topic.

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
pic18f !
« on: April 05, 2015, 09:48:31 am »
Hello everyone, i want to ask you what is the best versiion of pic18f that you would choose for the same price:
p18f4550 p18f4580 p18f2550 .... ? what's the better deal, because i've got them all at the same price and i want to know wich one to choose thank you very much :)

cordially
B.Z
God, i'm begging your mercy !
 

Offline picandmix

  • Frequent Contributor
  • **
  • Posts: 395
  • Country: gb
Re: pic18f !
« Reply #1 on: April 05, 2015, 10:02:01 am »
Its down to your choice, read the specifications on the opening page of the datasheet for each chip and decide which one has the most features you need.

The most obvious differences are the 4550 has USB and the 4580 has ECAN    - what do you want ?
 

Offline DavidDLC

  • Frequent Contributor
  • **
  • Posts: 755
  • Country: us
Re: pic18f !
« Reply #2 on: April 05, 2015, 10:14:14 am »
If you want it for development once you decide if you want USB or ECAn as picandmix mentioned, also consider the one with more I/Os, for example instead of the 2550 go for the 4550, again if this for development, if you want it for a specific project then choose accordingly.

David.
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
Re: pic18f !
« Reply #3 on: April 05, 2015, 10:19:48 am »
ok thank you for guiding me both of you  , obviously i need the first option wich is the usb, thank you for advicing me and i'm developing a project but then the microcontroller will return to me so as @David said, i'll choose more pin and usb wich means 4550  :). thank you again : )
God, i'm begging your mercy !
 

Offline android

  • Regular Contributor
  • *
  • Posts: 135
  • Country: au
Re: pic18f !
« Reply #4 on: April 05, 2015, 10:31:52 am »
If you want USB then I'd go with a PIC18F25K50 which is cheaper than a 2550 and doesn't require an external crystal ... saves PCB real estate. It's SMD but that's no biggie these days.
Lecturer: "There is no language in which a double positive implies a negative."
Student:  "Yeah...right."
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
God, i'm begging your mercy !
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
Re: pic18f !
« Reply #6 on: April 05, 2015, 10:47:24 am »
@Android : i'm looking for more feature too for more developpements in the future : )
God, i'm begging your mercy !
 

Offline atferrari

  • Frequent Contributor
  • **
  • Posts: 314
  • Country: ar
Re: pic18f !
« Reply #7 on: April 05, 2015, 10:49:18 am »
Isn't buying two of each, an option? Later you will have all them at home and, they will be available any time.

That is what I did some 3 years ago (18F4520, 4431, 4550, 4585). I can select amongst my own micros without going to buy new ones. Until now, I was lucky that they suited my needs.
Agustín Tomás
In theory, there is no difference between theory and practice. In practice, however, there is.
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
Re: pic18f !
« Reply #8 on: April 05, 2015, 10:58:24 am »
Hey ferrarista : D we'll bring a win at china this saturday :p yes it's a good option to  have 'em all at home but please help me know the difference between the two link i've posted in the previous comment .
God, i'm begging your mercy !
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: pic18f !
« Reply #9 on: April 05, 2015, 11:42:44 am »
Put your country in the profile so it's easier to advice.

Use mouser, digikey, rs, farnell etc to order chips.

The two on amazon are the same, but from two different sellers..

I have ordered some chips from ebay, but find them more expensive than if I ordered from Farnell (And you don't know what you get from ebay)
 

Offline android

  • Regular Contributor
  • *
  • Posts: 135
  • Country: au
Re: pic18f !
« Reply #10 on: April 05, 2015, 11:54:33 am »
The Microchip Advanced Part Selector makes it quite easy to determine which PIC best suits your needs. As one who has used both PIC18Fx550 and PIC18Fx5K50, I think that that the more modern K series is cheaper and generally better...at least for what I wanted. YMMV.

You may be able to buy from Microchip Direct.
Lecturer: "There is no language in which a double positive implies a negative."
Student:  "Yeah...right."
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9178
Re: pic18f !
« Reply #11 on: April 05, 2015, 01:20:39 pm »
Some of the PICs have only 100 cycles(!) endurance rating on their flash, it's best to compare the datasheets carefully.
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2187
  • Country: au
Re: pic18f !
« Reply #12 on: April 05, 2015, 02:18:53 pm »
Some of the PICs have only 100 cycles(!) endurance rating on their flash, it's best to compare the datasheets carefully.
Please tell me you are joking, or should I dust off my UV eraser for future pic development
 

Offline atferrari

  • Frequent Contributor
  • **
  • Posts: 314
  • Country: ar
Re: pic18f !
« Reply #13 on: April 05, 2015, 03:50:00 pm »
Some of the PICs have only 100 cycles(!) endurance rating on their flash, it's best to compare the datasheets carefully.

Could you mention just two two (2) of the 18F family still in poduction so limited in their endurance?

Working right now with a somewhat old 18F4585. As per datasheet: up to 100K erase/write cycles  (program memory) and up to 1.000.000 (EEPROM).
Agustín Tomás
In theory, there is no difference between theory and practice. In practice, however, there is.
 

Offline atferrari

  • Frequent Contributor
  • **
  • Posts: 314
  • Country: ar
Re: pic18f !
« Reply #14 on: April 05, 2015, 04:04:02 pm »
Hey ferrarista : D we'll bring a win at china this saturday :p yes it's a good option to  have 'em all at home but please help me know the difference between the two link i've posted in the previous comment .

As somebody suggested  already, use the parts selector in MCP site and then make few wish lists separately by something like this:

Number of IO pins

Package

Peripherics that could interest you (shooting in the dark is a hobby in itself  :P)

Program/data and EEPROM memory size. One or two big ones is good for fancy software (like 18F4585)

Then check which ones are in two or three of your lists and buy some. I did like that but I bought actually 3 of each and never regretted it.

When you receive them, buy 3 small bottles of nail polish of very different colors. Mark them to make sure you could not confuse them even if they are all together on the bench.

Make sure that pin 1 is always evident.
Agustín Tomás
In theory, there is no difference between theory and practice. In practice, however, there is.
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
Re: pic18f !
« Reply #15 on: April 05, 2015, 05:59:33 pm »
thank you guys, i've got the 18f4550 and it appearently suits my needs, and because i have a book based on them, the author of the book is Dogan ibrahim, if someone is intereesteed i can send it to him. it costs on amazon 49 dollar lol
God, i'm begging your mercy !
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: pic18f !
« Reply #16 on: April 05, 2015, 07:57:00 pm »
thank you guys, i've got the 18f4550 and it appearently suits my needs, and because i have a book based on them, the author of the book is Dogan ibrahim, if someone is intereesteed i can send it to him. it costs on amazon 49 dollar lol

do you have the isbn on that book?
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: pic18f !
« Reply #17 on: April 05, 2015, 08:08:46 pm »
"Advanced PIC Microcontroller Projects in C".
================================
https://dannyelectronics.wordpress.com/
 

Offline e-thoughtTopic starter

  • Contributor
  • Posts: 30
  • Country: 00
  • if you live twice, then you should think twice too
Re: pic18f !
« Reply #18 on: April 05, 2015, 08:15:37 pm »
i have it on pdf version, my professor gived it to me and it's : Advanced PIC Microcontroller Projects in C".
God, i'm begging your mercy !
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 14135
Re: pic18f !
« Reply #19 on: April 05, 2015, 08:36:25 pm »
Don't forget to buy some without fancy high bandwidth communications peripherals like USB, CAN and Ethernet.  The software stacks for these peripherals are large and complex and if you are not using the interface in question, the limitations of the oscillator module that is optimised for the fixed peripheral clock required for successful comms and the dedicated pins you dont get back as normal I/Os can be a PITA.

PIC18FxxK22 are a good general purpose series that can handle 5V Vdd. 

If you use a PICkit 2, check it has debug support for the chip you want to use *BEFORE* ordering!

Nearly all PIC18(L)F1x/2x/4xK.... parts are available in DIP.  Its the 64 pin and upwards PIC18(L)F6x/8xK... parts that are SMD only.
« Last Edit: April 05, 2015, 11:41:06 pm by Ian.M »
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: pic18f !
« Reply #20 on: April 05, 2015, 08:49:24 pm »
i have it on pdf version, my professor gived it to me and it's : Advanced PIC Microcontroller Projects in C".

cool, found it, I bought the sequel to that book.. The new book, "PIC Microcontroller Projects in C, 2nd Edition", doesnt use USB functionality in chips (atleast I couldn't find it), but that older book does.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9178
Re: pic18f !
« Reply #21 on: April 05, 2015, 11:08:40 pm »
Some of the PICs have only 100 cycles(!) endurance rating on their flash, it's best to compare the datasheets carefully.

Could you mention just two two (2) of the 18F family still in poduction so limited in their endurance?

Working right now with a somewhat old 18F4585. As per datasheet: up to 100K erase/write cycles  (program memory) and up to 1.000.000 (EEPROM).
Any of the PIC18FxxJxx are guaranteed for a minimum of 100 cycles only, although they mention "typical" endurance of 1K. 100K are the parts made on the older, larger processes.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: pic18f !
« Reply #22 on: May 04, 2015, 05:02:41 pm »
Any of the PIC18FxxJxx are guaranteed for a minimum of 100 cycles only, although they mention "typical" endurance of 1K. 100K are the parts made on the older, larger processes.

Doesn't seem to be the case. E.g. the PIC18F46J50 datasheet says:

"Flash Program Memory of 10,000 Erase/Write
Cycles Minimum and 20-Year Data Retention"

That is the family that includes also the 18F25j50, 45J50 etc.



 

Offline singlarrysong

  • Contributor
  • Posts: 34
Re: pic18f !
« Reply #23 on: May 05, 2015, 06:49:33 pm »
There no such definition of which one is best.
Choose the one that suit your project than that is the best one.

For example, many new user used to learn PIC16F877A or PIC16F88, because it is most suitable. But I learn everything by my own from PIC16F628A. 

CHEERS :D 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->