Which Arduino IDE should I use?

preview_player
Показать описание
🤩 FREE Arduino Crash Course 👇👇

***Want to learn more? Check out our courses!***

***Get your Free Trial of Altium PCB design Software***

***Get the code, transcript, challenges, etc for this lesson on our website***

***We designed this circuit board for beginners!***

FOLLOW US ELSEWHERE
---------------------------------------------------
________________________________
Did you know that the Arduino company provides for free three different tools for programming your Arduino board?

They're called Integrated Development Environments or IDEs. If you're trying to figure out which one you should use, then check out this episode. We're gonna talk about the Arduino Web Editor, the original Arduino IDE and the new Arduino IDE 2.0. By the end of this lesson, you'll have an idea of which one's gonna be the best fit for what you need to do.

You know, when you're just getting into Arduino, there's a lot to learn. Because you know, there's hardware and there's also software. The software that you need to program in Arduino or an Arduino-compatible board is all free provided by Arduino. It's all open source software. And to get that software, you just go to the Arduino website and you click on the software tab. And when you're here, you're kind of greeted by a bunch of different options. And it might be like, "Hey, which one am I supposed to get? Just tell me, you know."

So we're gonna talk about all three options:
-Web Editor
-Arduino IDE
-Arduino IDE

So let's go ahead and start talking about the original Arduino IDE version. It's simple to download, you just pick your operating system on the right-hand side, it'll start a download. You go through the installation steps and it'll open up. These are the most current stable versions, right here. Now, if you wanted to get a previous version, you can click here and you can get a bunch of the previous versions, or if you wanna get the absolute hot off the press, newest version of this IDE, then you can download it here. Now they're still maintaining the original Arduino IDE. So this is gonna be the most recent updated features and bug fixes of the original Arduino IDE.

So the original Arduino IDE looks like this. Right here, it looks like a kind of a text editor. Now, if you've been into software development for awhile, this might look a little rinky-dink to you. There's really not a lot going on. Like, there's not buttons everywhere to have like 10 million preferences and, there's really not much like code highlighting or anything like that. There's no auto-complete. There's not a lot of anything. It's like very much just a trimmed down text editor. You know, you just put in your code and run it. You know, like one, two, three, four, there's like five buttons up here. So it's just a really simple editor. And it hasn't changed much, like the appearance of it hasn't changed much in a long time. And that is one of its biggest features, I think. That it's super simple. And I think that's one of its best features actually, is that it is super simple. Especially if you're new to programming, sometimes trying to figure out what an IDE can do and how it works, can get really confusing.

CONTINUED...

***About Us:***
This Arduino lesson was created by Programming Electronics Academy. We are an online education company who seeks to help people learn about electronics and programming through the ubiquitous Arduino development board.

***We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.***
Рекомендации по теме
Комментарии
Автор

I’m a 65 year old electrical HW/SW engineering guy (yes, I cut my teeth on vacuum tube circuits and B&W TVs with round picture tubes). These days I make a living designing my own line of magnetic stud finders and I’m manufacturing them in my injection mold factory. Lots of very old machines from the 60s that use mechanical relays to perform their functions—-no microprocessors at all. Just relays. And nothing but red wire. Everywhere. And did I mention that there’s no documentation?Needless to say they are extremely difficult to repair.
A couple of weeks ago, I decided to look at ways to bring their automation forward by 60 years. The Arduino was an obvious choice but I had zero experience programming in “C” code.
Enter YouTube with its thousands of tutorials on the subject.
Anyway, all that to say, yours are by far the best! Your calm voice, your clever presentation along with your almost subliminal humorous snippets, make for an awesome learning experience. I’ve done a lot of video editing so I know how much work goes into your well crafted productions.
So keep up the great work and thank you.

TheStudpop
Автор

I haven't used an Arduino IDE since PlatformIO came out. It's much more refined than any of the Arduino IDE.

randyriegel
Автор

I did an arduino app using visual studio. I created stubs for the hardware functions, added a command line interface, and a timer emulation. I developed and debugged the app as a windows command line app. I tested with manual and automated unit tests using the command line app also. I only used the arduino ide for its target compiler and loader.

johnklaus
Автор

As always, great video. Super useful knowledge in a way that anyone can understand. One of the things I love about your videos and style of teaching, is that you show the little things that other instructors skip over. There are certain pieces of information that explain the what and why. Others assume that everyone automatically knows about coding already so they skip explaining the most important things IMO.
You always focus on those. That makes your videos useful to everyone. Beginner, intermediate, master, and sorcerers like you alike.
Thank you so much for this invaluable information.

tbwpf
Автор

Great overview of the three options. I have never considered the web based IDE but you have me thinking this might be a great option to resurrect an old laptop as an Arduino programming machine.

timaverbeck
Автор

6:00 If you enable Dev Mode, you can get both IDEs with Linux. This is what I do. Dev Mode is usually blocked by schools and such, so yeah, the web editor is helpful.

neriyarosenthal
Автор

5:25 No, we can do that too in basic Arduino IDE, just Enable Code Folding on Preference.

muhammadhabibalkhairi
Автор

What about library management?
The very first versions of the Arduino IDE had a simple 'libraries' folder where you could put yourr libraries in.
In later versions, the IDE *also* started to use a central libraries folder somewhere deep in the Windows directry structure.
That's where it all got bad.. I had conflicting libraries (same name but different code), old sketches didn't work anymore, etc..
When i had to update a sketch after, let's say, 2 years, with the old version i could have an instance of the IDE especially for that project, with all folders and libraries.
Now, with the central stored libraries it's a hassle.. Just stay in the Arduino folder please! :-(
I hate that, it used to be so simple.

winandd
Автор

I use the IDE mostly to run library examples or other short prices of test code. For larger projects that include multiple source files and libraries I find PlatformIO on either VSCode or Atom to be a more robust solution.

andrebaskin
Автор

Platform IO is the best because you get actual code completion

harrytsang
Автор

What about the arduino cli
(Command line interface)

I wish if you talked about it

faisal
Автор

I use the original but now will load up the version 2, which I didn't know existed. (shows how much I program arduinos!) Visual studio I find too overwhelming to learn. (I'm an old TurboC user!)

glasslinger
Автор

The IDE might be simple but setting up the serial port via usb was a hassle on my iMac. I think that AdaFruit is a viable alternative now when Arduino is leaving the open source world for the professional when the boards are getting really expensive for the hobbyist. You can’t have both idealists doing free work and at the same time making big money on the products. The same goes for RedHat Linux but that is a separate track. Speaking of being open: I loved the movie ”Rome - open city” but maybe we cannot dream ourselves back to then!

fredrikbergquist
Автор

I personally use Visual Micro, a paid Visual Studio plugin. Features like auto complete and adding break points on there is quite useful!

mechee
Автор

Seems to be that for Digispark ATTiny85 board, the 2.0 RC version don't work, at least for programming the board. For the case, I suggest to use the 1.8 version instead, that works like a charm.

Kikutuca
Автор

And, there is Great Cow BASIC - the only open source compiler for 8bit AVRs. PICs and LGTs.

evanvenn
Автор

Thanks for the help.
I installed the ESP32 board package (ESP32 by espressif) and all the stuff in the Boards Manager is there but I can’t get a com!
This is the output I get Failed uploading: no upload port provided.
The following works fine, Arduino NANO ESP32, UNO, UNO R4 WiFi and UNO R2 WiFi.

JeanCantalini
Автор

Is there any place to find a list of all the functions, commands, options, etc.. for Arduino code? Like a huge cheat sheet or reference?
I guess for the libraries you can just shuffle around in the code to see what's what.

patrickmclaughlin
Автор

Watched whole video just due to interest on view perspective of others :) good overview!
Yet nothing of those 3 can replace platform IO installed on Visual Code, where I've moved to years ago for more functionality :D

crckdns
Автор

Thank you for the great information in the video. I'm looking for a video that explains how OTA is used with ESP 32. Can someone recommend good explanatory videos? Thanks.

DOVI