currently,I work on a new project with a microcontroller PIC(PIC16LF1574). The problem is that I never use a microcontroller. I usually work with an arduino. And it is very eazy to program an arduino. I have started to learn how to program a microcontroller but the problem is that it is very difficult and I don't understand anything. So I want that you send me some tutorials that can help me to have some base on microcontoller programmation. Please I need your help.
It's possible, indeed probable, that some members here have PIC experience and could "send [you] some tutorials" but wouldn't you have better luck finding PIC tutorials in a PIC forum?
Basically, all microcontrollers (MCU) do the same job -- take command from the user; take data from the user; modify data in a way the user has wanted via the command; give result to the user.
You have already acquired some experiences on MCU Programming using Arduino UNO which contains the ATmega328P chip as its processor. So, you may start learning the ATmga328P Microcontroller itself using the Arduino UNO Learning Kit. Once you have acquired some understandings on the theory and practice of the ATmega328P MCU, you can easily switch over to PIC MCU.
So, what do you want to learn/know about microcontroller (MCU)? The plain answer would be to prove that the MCU does indeed perform the four tasks mentioned in the introductory paragraph of this post.
1. How can we prove that the MCU is able to take command (+ - / *) from the user?
If you have another spare Arduino UNO Board, then we may carry out the following steps to prove the said proposition. This is an arrangement where the MCU will be isolated from the Mother UNO Board in order to give a feeling to the Learner that he is really playing with a MCU.
srnet:
Why are you asking for help with PIC microcontroller in an Arduino forum ?
I'm inclined to agree with that, however...
Hello Takami,
You need the following:
MPLABX and XC8, both of which you download from Microchip's web site.
A PICKit, the current version is PICKit 4, available from lots and lots of online electronics retailers.
The data sheet for the PIC16LF1574, also from Microchip's web site.
I think there is a document on there somewhere about the PICKit and how to connect it to a PIC.
XC8 is Microchip's C (not C++) compiler for PICs, so you write your code in C. (Like C++ without classes).
I don't mind giving general advice but I don't know of any tutorials. There maybe helpful documents on Microchip's web site.