How to Upload an Arduino Sketch from Linux Terminal

preview_player
Показать описание
In this tutorial I show you how to upload an Arduino sketch without the use of the Arduino IDE. If you're interested in using a different program to write your Arduino code, you need a way to upload it. The command line / terminal of a Linux or Mac computer allows you to do this easily. Or if your computer connected to the Arduino is remote (say a Raspberry Pi) you may not want to run a full fledged VNC server and instead want the ease of terminal access. Either way, this tutorial shows you how to upload a program to your Arduino from the terminal.

You can find this tutorial on my website at:

Рекомендации по теме
Комментарии
Автор

i watched this video in 2020 but now i am writing a comment. simple and perfect solution. i owe you :)

aka_alperen
Автор

superb, perfect clarity to install and upload the sketch

nagavarmadandu
Автор

I am so glad that you made this video. I was dreading staring at that white Arduino IDE to work on my QMK configs.

nonamebear
Автор

This is exactly what I needed. So easy and to the point. Thanks and subbed!

victoryu
Автор

Great video. Helped me set up remote updates for a project! Makes my job that much easier!

jonb
Автор

This was great, very clear for someone moderately new and inexperienced in the land of raspberry pi!

LunaofSkyfold
Автор

Don't like video tutorials, but this is what I was looking for and found among the many lessons. Thank you!!!

andrikllkuzichkin
Автор

Very nice video... but what kind of psychopath terminates lines with a space before the semicolon?? :)

ErikBoesen
Автор

A big thumbs up for this video. You have saved me a ton of trouble while I learned many new things. Your video was to the point and with perfect narration. Informative and enjoyable at the same time. Keep up the good work. Thanks.

georgekot
Автор

Thank you so much!!
Yesterday i tried the same with some other libary, took me 8 hours, and it still didn't work.
Your tutorial worked the first time and it only took me 10 minutes.

joppekoers
Автор

Thank for this interesting Tutorial! Exactly what i need.

romainmura
Автор

many many many thanks, I'm really grateful. Greetings from Peru

raspicc
Автор

Great tutorial, even I could understand and make things work! A note though for anyone copying text off the video by eye; they are commas separating the settings not periods (they looked like periods on my screen), so it is pinMode (13, OUTPUT); etc. I guess my eyes are not so good. Failure to notice this will give a load of compile errors like "error: expected ‘)’ before numeric constant". Also, "pi" is the user's (i.e. Alexander's) name, so it is USER_LIB_PATH = I know these seem obvious, but this video will attract real 100% beginners, to whom nothing is obvious (yet).

treebeard
Автор

really good video.
Also i can't help but notice your (i think ) engineer iron ring. I respect a lot this symbol. Thank you for wearing it.

e
Автор

This is awesome ! very helpful! thank you so much!

dhanushdazz
Автор

I would have enjoyed going through the same process but since compiling over and over seems to be more time consuming. But loved the way you did that with wonderful terminal.

radeonblue
Автор

Wow, thank you so much! Have my like.

metalh
Автор

Whouah ! Awesome ! I see that you use avr dude indirectly (with the "make" script). I suppose that the next episode will be "programming Uno with cpp11" (which is possible - few people know that). Thank's for all.

IGBeTix-Electronique
Автор

Great!!!!, thank you, this video is very very nice

Saturno..
Автор

very nice, this will surely help me around automating my workflow, although i do still have one little problem; the Makefile doesnt seem to be able to load the libraries directory, it just outputs "no such file or directory" during compilation. any idea why is this ?

mlerp
welcome to shbcf.ru