An alternative to PIC16F84A?

Discussion in 'General Electronics Chat' started by Fuji, Nov 21, 2014.

  1. Fuji

    Thread Starter Member

    Nov 8, 2014
    100
    1
    PIC16F84A is getting obsolete and more expensive. I want to know an alternative to this Microcontroller with the same amount of pins.

    Anybody aware of the cheapest Microcontroller out there with 18+ pins as well? Sometimes its hard to choose the right Microcontroller with more options.
     
    Last edited: Nov 21, 2014
  2. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    Unanimously, the 16f84 has a pretty small memory, and is expensive too.

    The 16f1709 isnt bad, not sure if it has 18 or 20 pins tough, well, you can remove the two extra pins, and wire them from the top ahaha. Or put the SOIC on adapter PCB.
     
  3. RichardO

    Well-Known Member

    May 4, 2013
    1,235
    384
  4. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,992
    745
    i use 16f690
     
  5. Fuji

    Thread Starter Member

    Nov 8, 2014
    100
    1
    Thanks for the input.

    What do you think of PIC16F54-E/P ?
    https://www.microchipdirect.com/Pro...ip&Category=PIC16F54&mid=1&treeid=1&lmid=1002

    All I am using is an XT oscillator, 2 LED's and a buzzer. Basically wanting to program the microcontroller in C language for these components only.

    When I look for more functions in a microcontroller, what is more important to look at? Is it Ram, KBytes, KWords or Timers? Or all if I should say are important in general?
     
  6. JohnInTX

    Moderator

    Jun 26, 2012
    2,347
    1,029
    Nope. It doesn't have the same stack and memory. If your program uses them, pffft.

    Take a look at 16F627. I ported some C54 and F84A stuff to it awhile back with no issues (that I can recall :) ) and with no code changes other than config bits, configuring shared analog pins etc. Same 18 pinout.
     
    Last edited: Nov 21, 2014
    Fuji likes this.
  7. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    Its cheap. You can buzz a buzzer or blink some LEDs.

    But you cant use a small TFT.

    you should have 8K FLASH at least, and 1K RAM, there is the case when you dont need it, get some 16F54...

    You can decode LED 7seg with 16F54 and stuff like that
     
    Fuji likes this.
  8. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,058
    3,820
    16f628A was my favorite 18 pin. Make sure it is the "A" version.
     
  9. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,392
    1,605
  10. Fuji

    Thread Starter Member

    Nov 8, 2014
    100
    1
    Very good page. Makes searching specs for Microcontrollers a lot easier.
     
  11. ian field

    Distinguished Member

    Oct 27, 2012
    4,415
    784
    Years ago I went to Maplin for a couple of 84s - they pretty much stung me on price!

    They advised me to switch to the 627 - or the 628 with more memory etc.
     
  12. RichardO

    Well-Known Member

    May 4, 2013
    1,235
    384
    First you want to find a part with all the features you need -- for instance UART, A/D, analog comparator and the like. Then find a part that has all of the features you need plus a few you may need. Finally, order parts that have more pins and a lot more memory than the part you found. Use this part for prototyping hardware and software.

    When you have everything working to your satisfaction, choose a part that has only what you actually need to get the cost down.
     
    Fuji likes this.
Loading...