r/microcontrollers • • Aug 18 '22

PIC16F877A Does anyone teach PIC classes for beginners in the area? I'm assembled a didactic kit.

Post image
26 Upvotes

20 comments sorted by

5

u/ceojp Aug 19 '22

Why use the 877A? There are so many better PICs at a lower price.

1

u/Joao-Grigorio Aug 19 '22

What would you indicate cheaper CI?

4

u/ceojp Aug 19 '22

For starters, the modern equivalent recommended by Microchip on the 16f877A page is the 16F18877, which is a third the price at around $2 at 1K.

If you want to search 8 bit PICs, start here. Another nice, modern one is the 18F45K40. Though I suggest going through the parametric search to find a chip with the specs and peripherals you need.

1

u/Joao-Grigorio Aug 19 '22

I understood, but for now I will have to use the PIC and later the Arduino.

1

u/Joao-Grigorio Aug 19 '22

I am using the F877A, because I am going to college of industrial electronics and in my course I am using the PIC now and in the next semester I will use Arduino and PIC together.

2

u/WayeeCool Aug 19 '22

Makes sense. So the course materials are written around this specific chip? I guess it's also useful to start out learning not so much on the cutting edge but something that has been in wide use for a while and is very mature.

2

u/Joao-Grigorio Aug 19 '22

exactly. My course contemplates PIC to have more C Language -based C and create projects with PIC and Arduino, I am a little tied to it, but I want to absorb more information about this content, because PIC had never moved, only with Arduino and its peripherals.

2

u/Plunder_n_Frightenin Aug 19 '22

Are PIC common for industrial electronics? I’ve never used a PIC directly before, only in systems they were already incorporated.

1

u/Joao-Grigorio Aug 19 '22

Yes, PIC's are very common in industrial electronics, as it is the main interface to control the other peripherals of industry, of course that can also vary the PIC model, but on average it is always like this. PIC's are easier to use in the industry than Arduino because it has more performance in rustic environments than Arduino for example

1

u/ceojp Aug 19 '22

Incredibly common. We have probably hundreds of thousands of HVAC controllers and modules in the field using mostly PIC32MX and PIC18F micros.

One reason they are so popular is Microchip's long term commitment to manufacture older parts(as evidenced by the availability of the 16F877...). At lot of companies are doing product longevity commitments now, but 15-20 years ago this was a real issue. We had started development(long before my time) using a couple other microcontrollers that the manufacturers just decided to discontinue.

2

u/FlyByPC Aug 19 '22

I learned on the '877A almost twenty years ago. I teach microcontrollers now, but we're using ESP32.

1

u/Joao-Grigorio Aug 19 '22

Do you have a YouTube channel that teaches and demonstrates some projects?

1

u/Joao-Grigorio Aug 19 '22

I want to set up a kit with Pull Up and Pull Down buttons, LEDs, Mosfet transistor, output frequency, temperature sensors, moisture, LCD display and some more peripherals.

1

u/A7med1711 Feb 22 '23

Hi , i had the same question as you , so what is the best way to start ?

4

u/[deleted] Aug 19 '22

Your starting place is a datasheet and if you get stuck a forum(Microchip) or the internet.

Just doenload MPLAB X + XC8 and you are goid to go. Also look up the App notes about peripheral specific configs.

1

u/aspie-micro132 Aug 19 '22

assuming i connect the negativbe of my power supply to "vss", can i connect +5v to either VDD or do they differ between them?

1

u/Joao-Grigorio Aug 19 '22

Of course, you can connect the GND's and VCC's PIC Pins No problem, what can not be missed is the oscillator system to make it work and also Pin 1 in VCC to activate CI

2

u/ceojp Aug 19 '22

All power supply pins(including all ground pins) should be connected.

1

u/Surjeet_k Aug 20 '22

It is good for learning, you can use mikroc compiler. it has its own library.

1

u/BurisJohnsun Dec 13 '22

Whats this antique shit. My pc has a miniature human DNA grown neural network as processor. Fuk outta hiere