Difference between Arduino and PIC microcontrollers
Вставка
- Опубліковано 29 вер 2024
- A short discussion about the difference between Arduino and PIC microcontrollers. It goes into the main difference between them and why should you use PIC MCUs not just Arduino.
you remind of Aladin's head of research... you should watch that scene.. good video anyway.
link it to me
Good video, but you gave no reason to move to PIC other than "you've mastered Arduino". You also missed that you can program the ATMEL MC on an Arduino with assembler and even bit bash the registers and low level stuff just like on the PIC. Arduino does not have to be high level C stuff. So again, no compelling reason. The development tools are more expensive also.
احسنت
it was a good demonstration despite the fact that you didn't talk about performance comparison of the two . specially their performance in noisy places which I think pic does a better job at it. thank you
Very informative, well constructed and clear. Thanks for taking your time to explain how both the arduino and micro-controllers work.
If you want to work with the PIC microcontroller and you do not want to use the C-programming language and if you want to have some basic libraries you can have a look at the JAL (Just Another Language) programming language. This language looks more like Pascal. For more information see: justanotherlanguage.org/
I always advise people to learn the standard tool, which is C here.
Where can I learn how to program the PIC? or maybe find hex files to load onto the PIC.
you can learn from youtube, I made about 6 videos so far. blogs are good too and you must get pickit4 programmer and start working yourself.
you cannot find hex files, they are 0 and 1 file which goes into the pic itself after compilation.
There is no second microcontroller on the Arduino board. The one microcontroller(AVR) is pre-programmed with a boot loader that uses RS232 serial communication to download and self program the flash memory. Newer boards have an FTDI chip which is only an RS232 to USB converter and can not program the AVR chips.
this is what i meant by 2nd microcontroller
I have worked on avr microcontroller I understood the concepts but every time I start programming I have to again search for datasheet. Is it good to use libraries available on net and then use them?
I want to get a job as embedded developer.
Either you compare PIC Microcontrollers with AVR controllers (used in the arduino Uno) or compare Microchip with Arduino.
Arduino is a platform. They create board and write tools for them. You can have an arduino with a pic controller inside.
People think Arduino is a micro controller.. I am here to tell them that it is a dev board.
I thought you were going to compare them in terms of performance. which one is faster, larger processing speed and larger memory?
impossible to do so since there are many PIC parts and Arduino parts
Pics are superior, period.
what if i told you that you’re wrong
@@lucasc5622 Not anymore, I got it. (32 bit ->>> 8bit) . You can thank STM32 for that...
it depends. PIC18 is better than Arduino Uno... but Arduino Due is better than PIC12
عراسي ,, اه هيك بدي شي يلخص و يخلص عالسريع
حياك الله
سعيد لأن محتوى القناة أعجبك
is there anything pic can do arduino cant do?
by the way i can take the arduino micro-controller and use it individually .
It is not about capability but about learning to use microcontrollers directly. If you stick with Arduino alone, you won't learn much and will be restricted to arduino only. All companies prefer using micros directly and arduino adds another software layers.
PIC has way more variety of choices than AVR, so you can get the mcu that fits your product, no more and no less.
I know you can take the AVR chip but the bootloader and the software layers are there, plus only restricted to the chips used in arduino board itself.
Don't get me wrong, Arduino is fantastic but it is always only the first step into embedded world.
Always thanks for your replies!
Actually it's not always the case. E.g. mbed usually introduced it's own hardware abstraction layer across several product branches (like LPC, Kinetis, STM32) which costs a lot (~20KB for printf() to uart, i2c and floating ops on STM32F411), arduino is also IDE which stretches across AVR, Xtensa (ESP8266, ESP32), ARM (SAM, STM32) and there is work to incorporate PIC cores as well. It allows you to easily make advanced applications (sure not size or speed optimized and not particularly crash-safe) but that's not exactly goal for most (and btw Arduino IDE do not force you to use their libraries and functions... you can speak directly to hw using registers as well!)
Very well explained, thank you. The Arduino was designed as an easy first step and the guys did a great job. We have many libraries and thousands of projects to choose from making it easy to complete a task. I did manage to write some assembly code for the 68000 back around 1990 to generate a grey scale for an Amiga 1000 but I found it difficult. Knowing what a register is, is not enough. You have to know what each bit does. This is what uses the cpu cycles in my brain 8-) Although instructions themselves may sound straighforward, fathoming out what a move etc is achieving is not easily apparent. For high speed applications one just has to buckle up.
binarybox Why does something must be complicated to work. I'm saying we are not stuck in 90' , if you want more you can use Raspberry pi or similar. Many machines in industry use Linux os
Arduino can do all which a pic can do but it's not a professional way of doing things. Professional people design a circuit using altium pcb designer and program a micocontroller and fix it on the board. I hope when you open any oem product you will not find a arduino inside it. Now search on a little on PLC, FPGA... if you are from electrical engineer my advice to use PLC if you are from Software development field use Microcontrollers and microprocessor based platform like rubbery pi or pic or AVR if you have more deep knowledge of digital electronics go with FPGA because u can design multiple microcontrollers inside a FPGA.
For designers every thing is Well
yes they can use whatever they want
Very nice information.thanks for your valuable tutorial.
Can you please create a tutorial for programming PIC microcontroller .🙏
I already did but the course is not complete yet. you can see it in playlists
My knowledge base has been broadened thanks a mil
It's really hard actually every time to make a lib for pic and also 16 series lib not working on 18 series need to make a lot of changes. It's time consuming and 2nd problem with all Microcontrollers is multitasking
Hi, why do you say that with arduino you use libraries and everything is easy but with PIC is not easy?, for example I have used the CCS C compiler for write and program the PIC and for use the ADC you use this instructions:
// read in value on AN0
set_adc_channel(0);
value1 = read_adc();
in arduino, nearly everything is ready to use and you can find perfect libraries done by other people. While with PIC you have significantly less chance of finding something that works as you wanted and as easy.
what you did is writing your own function not full library. arduino is much easier
I think platforms like Arduino should be taught at high school level....That would eliminate the microcontroller/programing and logic design phobia among kids.....they would probably learn only 20% but it would help them perform 80% of the tasks
i think you are correct but they should learn basics of mcus too.
sir my question is that in arduino we write a program in c language and we used specific syntax like when we want to give an output we simply write HIGH, OR LOW
my question is that when we use atmal micro-controller like atmaga16 or an other what type of syntax is used and in which software we do its programming
send or we seek all type of micro-controllers like pic and atmal or we need to seek only one type
sorry pure sine wave inverter project
My impression is that, the innard capabilities of a PIC originates from within inside the chip and can be tapped thru an instruction set and required settings. Whereas, Arduino favors expansion from the outside by shields and to tap new capabilities via provided libraries. They have opposite path of evolutions with PIC being more hardware-based from within. Thus, PIC is more specialized and solves the problem by hardware, accessible by new chip instruction sets, thus providing secure execution contexts.
your impression is partially correct.
Arduino should not be compared to PIC since this is like Oranges vs Apples. PICs should be compared to AVRs or STM32 or whatever MCU.
Arduino is a microcontroller development board which has all the features done right, which explains its massive success.
I always think that Arduino is lot of spoon feeding and not a proper way to learn microcontrollers but what to do ,it gives quick results, it's very tangible. Also as a student one must have a top to down approach ,so as to know the things at discreat level. Nice video
yes friend, arduino is spoon feeding. people don't like this, but it is the harsh truth.
arduino is good for all people, but for real engineers they should learn microcontrollers directly. no product will have an arduino in it.
Very informative, well constructed and clear. Thanks for taking your time to explain how both the arduino and micro-controllers work.
Glad it was helpful!
Is that possible to to program atmega328p with pickit3 ?
seems like they are adding such functionality but for PICKit 4 not 3. I don't know.
Very useful - clearly and simply explained. Thank you!
You are welcome!
very good comparison between the two. Thanks!!
Thanks for your awesome feedback.
Really good Video .
What's Scratch ?
scratch? where did you hear it in the video?
Great explanation! Thank you as you answered my questions.
You are welcome!
Arduino may be a developement board but the micro controller is ATmega which can be program independently.
Correct, but I wanted people to know that Arduino is a dev board not a MCU. Also, they should know why everyone calls it "Arduino microcontroller" instead.
thanks for your input.
Exactly and programmed at a low level too just like PIC but without an expensive development kit/progragrammer
Informative & good comparison
Excellent! Thanks a lot for this video.
I hope it helped u
nice explanation, thanks
thanks, I really hope people understand how stuff really work instead of just using them.
thankyou sir this was very well explained
welcome
thank you so much for this tutorial-It’s absolutely brilliant- really appreciate it.
thanks mate
Thank you sir😊. It is very informative .
welcome
I think people from Jordon or Syria having more engineering knowledge but i see most of posts in Saudi Arabia Egyptians engineers are there.
6:35 Arduino uses C++11. Not C.
@SiberNext There is not such a thing as a diluted version of C++. Arduino removed the standard libraries because obviously a course, you are compiling on a controller.
eventually, it is just C or its variants... high level language. Arduino is based on Processing environment.
@@Thundertronics Arduino is not based on Anything. .ino files are simply C++ files. When you click upload, the Arduino IDE has a main.cpp hidden somewhere, looking like this:
#include
int main()
{
setup();
for(;;)
loop();
return 0;
}
Everything is then compiled using gcc-avr-dude, without the standard C++ libraries (std::vector, ...).
There is nothing more, nothing less to this.
Thank you
welcome
Thanks a lot
welcome
With Arduino, only one type 8 bit chip Atmega328 available or whole lot like PIC micro controller in different bits (16, 32 etc.,).
You're completely wrong, there's quite a few different Arduino chips and have been for years.
can i use arduino as avr microconyroller for my project
yes you can since it is an AVR MCU after all
thank you.i almost end from arduino and imma learn pic thats why im here.
what is your main major?
I am Mechatronics engineer.
Can you speak in hindi sir
No I cannot. XD
هذا سعودي أو خليجي واضح من الاكسنت
Jordan
@@Thundertronics I am much sorry