r/arduino • u/Blitzbeastgames • Oct 18 '25
Help learning to code
What is the best free online tutorial to learn how to cade an arduino which is decently short but still educational
1
Upvotes
r/arduino • u/Blitzbeastgames • Oct 18 '25
What is the best free online tutorial to learn how to cade an arduino which is decently short but still educational
5
u/Noobcoder_and_Maker Oct 18 '25
paul mcwhorter arduino tutorials are a pot of gold - https://youtube.com/playlist?list=PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP&si=09kFYAJsQUr7y-LJ
2
u/gm310509 400K , 500K , 600K , 640K , 750K Oct 18 '25 edited Oct 19 '25
There is a bit more to Arduino than just coding - what makes it interesting is hooking stuff up to it (e.g. sensors, displays, buttons etc). So, learning the electronics is also equally important.
You might want to have a look at some of the builtin examples which are documented here: https://docs.arduino.cc/built-in-examples/
You might also find the C/C++ language syntax (Arduino call this "structure") to be helpful: https://docs.arduino.cc/language-reference/#structure
Along with the APIs/basic functions: https://docs.arduino.cc/language-reference/#functions
If it helps, I've also published some howto videos that don't so much teach programming, but do teach programming techniques and good practices. Start with these:
The debugging guides teach basic debugging using a follow along project. The material and project is the same, only the format is different.
Also, Paul McWhorter's videos are highly thought of - you can easily find them via a google search.
2
u/ficskala Oct 18 '25
when i first started, i found it easiest to just look up existing code, either via the examples, or how others programmed things, reading up on the libraries i was using, etc.
https://docs.arduino.cc/language-reference/ here's something i used as a cheatsheet, on the left, there's 3 sections to choose from, and you get most things you'd ever need for programming an arduino, everything from the basics like if statements, to arduino specific code like digitalWrite
i'd generally open an example file of something i wanted to implement, and copy over the parts that were required for it to function over to my code, using that cheatsheet to figure out the logic behind my program
i was 11 when i started playing around with arduino, so i might've forgotten some of the sources i used, but it was mostly this, and just trying stuff out until i got something to happen, even if that something wasn't exactly what i was looking for, at least i knew what worked, and eventually what i did wrong
1
u/Flimsy_Cat1912 Oct 20 '25
Check out crunch labs Arduino 101
1
u/yungfishx Oct 28 '25
https://www.youtube.com/playlist?list=PL-ykYLZSERMRDkKIkIq7DliDU5xdJEw3t
-4
u/Middle_Phase_6988 Oct 18 '25
Arduino Cloud editor now has AI that will write your code for you! It's claimed to be better than ChatGPT AI.
1
u/[deleted] Oct 19 '25
[removed] — view removed comment