Pages: [1] 2   Go Down
Author Topic: PIC micro-controller vs Arduino  (Read 3538 times)
0 Members and 1 Guest are viewing this topic.
London UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ,
« Last Edit: July 16, 2013, 11:16:46 am by nish1013 » Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 52
Posts: 1990
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I am asking about general content not specif details
Generally there is no difference.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Different assembler, different memory architecture.
Different I/O capabilities, different tools.
Logged

"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.

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2808
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Different code too..

Doc
Logged

--> 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

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4549
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Logged

No, I don't answer questions sent in private messages...

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 168
Posts: 12431
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 -
Logged

Rob Tillaart

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

Offline Offline
Edison Member
*
Karma: 18
Posts: 1170
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)
Logged

UK
Offline Offline
Faraday Member
**
Karma: 47
Posts: 3568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley ].

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
Logged

London UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Useful for what?
Logged

"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.

London UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

to get an idea about how MCU internally works
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"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.

UK
Offline Offline
Faraday Member
**
Karma: 47
Posts: 3568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"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.

London UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
4) see if there's been an interrupt

could you please elaborate this step
Logged

Pages: [1] 2   Go Up
Jump to: