Go Down

Topic: PIC micro-controller vs Arduino (Read 9095 times) previous topic - next topic

nish1013

Jul 16, 2013, 06:11 pm Last Edit: Jul 16, 2013, 06:16 pm by nish1013 Reason: 1
what is the different between PIC micro-controller vs Arduino ?

If I refer to http://www.mikroe.com/products/view/476/pic-microcontrollers-programming-in-basic/  would it  be big different of content between Arduino ? Here I am asking about general content not specif details ,

pito

Quote
I am asking about general content not specif details

Generally there is no difference.

AWOL

Different assembler, different memory architecture.
Different I/O capabilities, different tools.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Docedison

--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

fungus


what is the different between PIC micro-controller vs Arduino ?

If I refer to http://www.mikroe.com/products/view/476/pic-microcontrollers-programming-in-basic/  would it  be big different of content between Arduino ? Here I am asking about general content not specif details ,


If you want to program an Arduino in BASIC, check out this thread:

http://forum.arduino.cc/index.php?topic=145855.30


No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

robtillaart

Different name,
PIC is an accronym if I recall correctly
- Programmable Integrated Circuit - Programmable Interrupt Controller or Peripheral Interface Controller - something

Arduino is no acronym although - http://forum.arduino.cc/index.php?topic=130849.0 -
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

KeithRB

A similar thing to Arduino in the Pic world is the PicAxe, which uses Pic microprocessors and uses a bootloader to load programs. It is programmed in Basic, though, and is more limited than Arduino. (No classes or floating point, for example.)

Robin2

I built some projects with PICs in the past and I have only started with Arduino a few months ago when I found the Uno boards on sale in Maplin. I have never used the PicAxe system.

For me the Arduino wins on all counts simply because it is so easy to use and has everything you need to get started on a single board, including the USB interface and, within the IDE, the SerialMonitor to view output from the Arduino board. For me "it just works". I don't like programming in C but the Arduino IDE makes it bearable [and you can't put much of it on a Uno anyway :) ].

I'm sure there is no significant difference between the capabilities of Atmel and Microchip MCUs - but there is no equivalent of the Arduino system for PICs.

And I like the fact that the Arduino system is OpenSource.

...R

nish1013

Ok , Seems like the content in this link is not useful .
Quote

I'm sure there is no significant difference between the capabilities of Atmel and Microchip MCUs - but there is no equivalent of the Arduino system for PICs.


But is this http://www.mikroe.com/chapters/view/74/pic-basic-book-chapter-1-world-of-microcontrollers/ will be useful ?

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

nish1013

to get an idea about how MCU internally works

AWOL

It looks like it would be OK to find out how a PIC MCU works internally.

I'd dispute this
Quote
. For this reason, one of the registers of RAM is called the 'sum' and used for storing results of addition.

This suggests that there's another register called "difference", another called "product", etc.
This is not normally the case - often there is a single register for the results of arithmetic and logical operations (though not on the AVR)
Usually, such a register is called the accumulator.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Robin2

It would help a lot if you explained why you are wondering about the difference between PIC and Arduino/Atmel. The small differences between the devices can spark a very strongly polarized and useless debate.

You can use explanations about any type of MCU to get a general understanding about how they work. If you are the sort of person that can easily transpose concepts between (say) PIC and Atmel MCUs and between programming languages (Basic and C++) then it really doesn't matter where you start. On the other hand you may find it easier to confine your early learning to the type of device you intend to use for your projects.

As I said before, in my mind the Arduino is by far the easiest system for beginners.

...R


to get an idea about how MCU internally works

AWOL

Put very simply, a bit like internal combustion engines, most processors operate on the same principles.

Instead of "suck, push, bang, blow", the steps are
1) fetch the next instruction
2) decode the instruction
3) execute the instruction (which may involve fetching operands too)
4) see if there's been an interrupt
5) increment the program counter
6) rinse and repeat
and so on

There are details like cache, CISC vs. RISC, SIMD vs. MIMD and Harvard vs. von Neumann, real vs. virtual memory etc, but that's pretty much all there is to it.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

nish1013

Quote
4) see if there's been an interrupt


could you please elaborate this step

Go Up