-
Categories
-
Platforms
-
Content
I suggest you read about the three languages I mentioned, or at least compare C with Assembly. Many people come to PIC controllers already competent in C, and they continue to use that language. Microchip is designing its newer PIC's to be "optimized" for C. And clearly, C has become the dominant language.
When I started with PIC's I had no experience with C, and my experience with Basic was more than 25 years in the past. So, I started with Assembly on a simple 12F5xx chip. There are lots of tutorials for PIC Assembly (MPASM). I still enjoy Assembly. The reason I would suggest a simple, baseline chip like that to start, assuming you are using Assembly, is that you don't have to worry about about turning off analog inputs and various peripherals that one has to do with mid-range, enhanced mid-range, and higher chips.
Here's a discussion of Microchip's 8-bit chips: http://www.microchip.com/pagehandler/en-us/family/8bit/
John
I suggest you read about the three languages I mentioned, or at least compare C with Assembly. Many people come to PIC controllers already competent in C, and they continue to use that language. Microchip is designing its newer PIC's to be "optimized" for C. And clearly, C has become the dominant language.
When I started with PIC's I had no experience with C, and my experience with Basic was more than 25 years in the past. So, I started with Assembly on a simple 12F5xx chip. There are lots of tutorials for PIC Assembly (MPASM). I still enjoy Assembly. The reason I would suggest a simple, baseline chip like that to start, assuming you are using Assembly, is that you don't have to worry about about turning off analog inputs and various peripherals that one has to do with mid-range, enhanced mid-range, and higher chips.
Here's a discussion of Microchip's 8-bit chips: http://www.microchip.com/pagehandler/en-us/family/8bit/
John
personnally i use the microC pro for pic to program pics. it also very easy to use and also has alot of already made libraries that you draw inspiration from.
There is a trial version that you can use to program up to about 2k of words.
its really fun to also try this one. You can download this at http://microcontrollershop.com/product_info.php?products_id=5045
The people from mikroC has books to program PIC's and the mikroC compiler ,the books are free to read online with examples
here
http://www.mikroe.com/pic/books/
Any ways to program motor to stop when cross on obstacle,drawing more amps or something ?
You can put a current sense resistor (small value, usually <1 ohm) in the motor supply circuit and monitor the voltage across it. Not sure how your motor is hooked up or how you are controlling it. If you post a schematic, we can be more specific.
John