Still the best tutorial I've seen. Even explained things I thought I knew that turnsd out not quite right. Now I wish I knew someone that was messing with Arduino so I could refer/share this channel.
Just getting into arduino and found this really helpful. I think it's assumed most people using this type of device are programming savvy and the basics are often ignored whereas you have taken nothing for granted which is refreshing. Well done!
What Larry Abbernathy sad : "...Thanks!! I was having major problems with libraries. Your tutorial cleared up my issues. It was clear, concise and complete. Based on this, I subed and am looking forward to your other videos... " was EXACTLY my major issue during the last 3 month at least !!! . Actually You SAVED MY LIFE ! . I spend more than 50 hours Installing / deleting and Reinstalling HOLE Arduino program and the Numerous Libraries . MANY THANKS for that Video . Please don't stop here . "We Are Watching You " . Be well and Stay Safe .
When you reached the point in this tutorial about zip files, remember, there are people on planet earth whom may have never been exposed to zip files, or, have heard of them, however, never personally been involved in Unzipping them. The information you present is quite helpful . Those whom are quite familiar will just follow along. Those who are not, can rewind the tutorial until they feel most comfortable moving forward. I feel very fortunate to be able to view your tutorials.
Thank you so much for this tutorial! I will view it many more times so I get it. I just built a Amateur Radio transceiver that uses the Arduino Nano that causes this transceiver to have a digital frequency readout on a liquid crystal display along with a variable frequency selection. I have it all of the hardware put together, but getting the proper sketches uploaded to the Nano, for me, is another story! Your tutorials should help me a lot, thanks.
tutorial videos help understand more about arduino I thought arduino is hard to learn.... but watching all you video makes easy for me.... thanks alot GOD BLESS YOU
One day this is all going to make perfect sense to me. Unfortunately today is not that day, not quite there yet. Thanks for the tutorials my friend. They are a great resource for anyone wanting to learn the Arduino.
I think it’s more accurate to say that the “include (library)” statement inside your sketch is a compiler directive to pull (library) code in when assembling the executable build.
Wow i picked an arduino like one month ago, and after some search i found your videos, you are the only one who explains everything like we are complete noobs, which is true, so its awsome! I love your videos, and ive learn a hell lot with you. Thanks and keep up the good work!!!
I'm retired and new to all this. Wow, thanks for knocking the fairy dust off Libraries. Great job. I'm using a newer IDE, they have made it more obvious on .zip files. 1.8.10.
Thank you for making this video, you have set me on the right track. I can now clean up some of my problems, I can't wait for the next video on libraries.
Bitchin vid! Finally, a real explanation on how to! I've been pulling my hair out trying to understand this. Thanks for the video upload! I didn't know that the platform had its own tool to set up a library. And also, the issue of some libraries that weren't named the exact same. Now I can go through all of my libraries and clean them up! Again, thank you! Nice job on the tutorial!
Thanks!! I was having major problems with libraries. Your tutorial cleared up my issues. It was clear, concise and complete. Based on this, I subed and am looking forward to your other videos. Thx again.
Such a simple fix, but far from intuitive! It took me a while to figure out why it seemed so many of the libraries I would import were not working. So glad it could help.
Hello I have a task to do and I am new to Arduino. The task is to create a project in Arduino IDE, using the FreeRtos library. Then I have to find all the library files that are included (that belong to RTOS) and combine those parts that are needed into a single file together with the code. How can I do it any help would be really greatful. Thanks
Sorry I am just getting started on WINDOWS 10 downloading Libraries and found unlike your path on your Apple Mac i.e Documents---ARDUINO----libraries--- and you had your library Frequency Timer2 , in which you had the Frequency Timer.ccp and Frequency Timer.h files, My path is Local Disk (C): -----Programs Files(x86) -----ARDUINO------libraries---inside which I got my files , say Stepper ,---and opening that I see two files example and scr files and opening scr I see Stepper.ccp and Stepper .h , is that right or am I doing something wrong? sorry again not very good at this.
I had "Hello World", and "Blinky" working, but was stuck with the next step of library integration. The libraries were for a simple robot platform (Hercules 4WD). With the motor control libraries installed correctly, I got the motor-blinky code (FWD, STOP, REV, STOP, REPEAT) to work. Then the R/C receiver to Arduino variable to work. (with SERIAL feedback) Then the R/C receiver to Motor speed and direction to work. Then 2 R/C receiver channels to 2 motors, with FWD/REV and steering! Yesterday was a great day! Thank you again! Sean
Question on these libraries, I came across your video while looking up how to write a library but thought I would try understanding them a little bit more, however I now find myself with a working solution (sort of, I'm still learning) and a question (or two). Why go to all the hassle of writing the library the way libraries are written with two files, I get the header file references the actual code but my work-around I found seemed to work in the same way (as far as I know so far) and is to just create a .h file, write all my functions in there, include it in the main file the same way you would add a library and simply call them. Better yet I don't need to set it up in my code and reference it everytime I want to use a command (ie. I don't need to type libraryName.commandName, I just need to type commandName();) There must be a reason why the library method is better but I don't know why or currently understand why either. My second question, I sort of answered myself in my method above was how to include and call from a library without needing to referencing the library after it is included and just call the commands?
Very good explanation. Kt may have answered an issue I am having. Quick question, i have an lcd library written by someone else, when i add my lcd, it powers on but no text on the screen. I noticed the naming of the connectors are different. For example, the En pin on the code is named E on my lcd. Should i edit the lcd library to reflect that? I have matched the pin connections to what is written in the code so i am a bit lost as to why i have no text showing up.
Hello, i am trying to interface with an real car cluster so it can show me all the data from the game in real time, i have the code but i cannot upload tone2.h i searched the hole internet no answer...
Thanks for the kind words! I am glad this one helped. I know for me, all the library syntax took a while (and is still taking a while) to wrap my head around.
when i verify my sketch it says: Arduino: 1.5.8 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)" CheapassReceiver.ino:136:40: error: invalid suffix "clockMultiplier" on integer constant CheapassReceiver.ino:140:52: error: invalid suffix "clockMultiplier" on integer constant CheapassReceiver.ino: In function 'void __vector_11()': CheapassReceiver.ino:112:25: error: expected ';' before numeric constant CheapassReceiver.ino:122:29: note: in expansion of macro 'clockMultiplier' Error compiling. what should i do now?
C:\Users\HomePC\Documents\Arduino\libraries\ps2x_lib.h\examples\ps2x_lib.h\ps2x_lib.h.ino:1:34: fatal error: PS2X_lib.h: No such file or directory #include //for v1.6 ^ compilation terminated. exit status 1 Error compiling. "IT ALWAYS SHOWS THIS WHEN I VERIFY THE CODE U HAVE GIVEN IN EXAMPLES" (PS2XDpadLED_OdinExample.ino) IM BEGINNER TO THIS.......CAN HELP ME TO SORT OUT THIS PROBLEM
Nice video , Can you please help me out to send text message of arduino Mega 2560 and GSM 800. I have used the code of GSM shield does it need to be edited for for the GSM 800 or not ?
Thanks a lot man. Exactly what I'm looking for. Thanks for the great tips in managing a libraries. I have a question though and this is related to a sketch project that I have downloaded. I want to compile it but every time I did it gives me a bunch of errors. Now I have made a research for the errors and it seems that I don't have the correct libraries for it to compile properly. So what I did is download the libraries and try to compile it but I got the same error. After watching your video I remember that the libraries I have downloaded and added to arduino libraries have a different and long names name in it. So my question is, if I rename the library so that they are all the same,is there no effect in the sketch that I'm trying to compile? Thank you and I hope you make it clear to me. By the way I'm just starting to learn the arduino environment.
Hi'gak Iya Great question! So here is how it should be... The folder that holds the library usually has a weird name when first downloaded - it should be renamed to the same name as the .h and .cpp files that it holds. For example - Adafruit_MotorShield (renamed folder) matches the file name inside it -> Adafruit_MotorShield.h and Adafruit_MotorShield.cpp As long as your sketches are using the correct #include statement (that is, the name of the library header file i.e. Adafruit_MotorShield.h), then you should be ok - that should not be creating errors. Hope that helps some...
Open Source Hardware Group Thanks so much sir. Now I know how to deal with those libraries :). I will definitely watch all your videos as much as I can to gain more knowledge from you.
I started to investigate how to write library files and failed to set up morse from scratch. I then down loaded and installed the morse zip file as per you video. I have morse in the library and SOS in examples but it simply won't compile!! If gives error WProgram.h no such file etc. Am totally stuck. All other examples I have down loaded or that came with Arduino are fine. Can you help Please! Prof Ron
Hi Ron Atkinson, That can be truly frustrating. Here is the post that should clear it up, from the Arduino Forum: forum.arduino.cc/index.php/topic,97455.0.html The issue is that the .cpp and .h file in the Morse example make reference to include "WProgram.h", well, after Arduino version 1.0, this changed to "Arduino.h". So if you open your .cpp and .h files in something like notepad, and change the "WProgram.h" to "Arduino.h" it should work fine. I think I mention the issue in another video in this series, but I cannot recall if it is on RUclips or not. Have a great one!
Open Source Hardware Group OMG. Yes!! I picked up this change on my journey to here but didn't notice the error/update needed in the old files I downloaded. When one is "focussed" one can become Blind! :-) Thanks so much. By the way your tutorial was great, clear expression and systematic. Much appreciated.
****If you like this, I think you'll like the premium Arduino training we offer. You can check it out here**** bit.ly/3lHyzcB
Still the best tutorial I've seen. Even explained things I thought I knew that turnsd out not quite right. Now I wish I knew someone that was messing with Arduino so I could refer/share this channel.
hi Carl, i seem to fit the description messing about with arduino if you wish to contact me. I have subscribed to your channel.
Just getting into arduino and found this really helpful. I think it's assumed most people using this type of device are programming savvy and the basics are often ignored whereas you have taken nothing for granted which is refreshing. Well done!
Glad you like it! Thanks for watching.
Programming Electronics Academy are there going to be more lessons on the free course? thanks,
What Larry Abbernathy sad : "...Thanks!! I was having major problems with libraries. Your tutorial cleared up my issues. It was clear, concise and complete. Based on this, I subed and am looking forward to your other videos... " was EXACTLY my major issue during the last 3 month at least !!! .
Actually You SAVED MY LIFE ! . I spend more than 50 hours Installing / deleting and Reinstalling HOLE Arduino program and the Numerous Libraries .
MANY THANKS for that Video . Please don't stop here . "We Are Watching You " .
Be well and Stay Safe .
Thanks MARIUS Petcu! Much appreciated.
When you reached the point in this tutorial about zip files, remember, there are people on planet earth whom may have never been exposed to zip files, or, have heard of them, however, never personally been involved in Unzipping them. The information you present is quite helpful . Those whom are quite familiar will just follow along. Those who are not, can rewind the tutorial until they feel most comfortable moving forward. I feel very fortunate to be able to view your tutorials.
Thank you. This video cleared up a lot for me. Its impossible to get into 3d printing, without knowing the basics about Arduinos.
Well done. You have a good narrative voice. I will def recommend your videos.
David Connolly Thanks!
Thank you so much for this tutorial! I will view it many more times so I get it. I just built a Amateur Radio transceiver that uses the Arduino Nano that causes this transceiver to have a digital frequency readout on a liquid crystal display along with a variable frequency selection. I have it all of the hardware put together, but getting the proper sketches uploaded to the Nano, for me, is another story! Your tutorials should help me a lot, thanks.
this guy does the best arduino programming tutorials on youtube :) many thanks
Thank you!
tutorial videos help understand more about arduino I thought arduino is hard to learn.... but watching all you video makes easy for me.... thanks alot GOD BLESS YOU
+rael lancer Thanks for watching - I hope you enjoy the rest.
Doing my first setup every which is a little complex. thanks for your video. cleared a lot up for me
One day this is all going to make perfect sense to me. Unfortunately today is not that day, not quite there yet. Thanks for the tutorials my friend. They are a great resource for anyone wanting to learn the Arduino.
I think it’s more accurate to say that the “include (library)” statement inside your sketch is a compiler directive to pull (library) code in when assembling the executable build.
Wholesome set of folders in Documents 😄
Ha!
Great vid! Answered TONS of questions I had regarding library maintenance. TYVM!!!!
Wow i picked an arduino like one month ago, and after some search i found your videos, you are the only one who explains everything like we are complete noobs, which is true, so its awsome! I love your videos, and ive learn a hell lot with you. Thanks and keep up the good work!!!
Excellent tutorial. I needed this . Thanks.👍💕
Many thanks for this video, it answered all my questions, and I work on an Apple as well! Could not be better for me.
Very nice and clear instructions and explanation. Thank you.
I'm retired and new to all this. Wow, thanks for knocking the fairy dust off Libraries. Great job. I'm using a newer IDE, they have made it more obvious on .zip files. 1.8.10.
Thank for watching Donald!
You have a gift for teaching. Thank You!
Thank you for making this video, you have set me on the right track. I can now clean up some of my problems, I can't wait for the next video on libraries.
VERY helpful, thank you! Got me out of a ditch. The little video that goes a long way!
Bitchin vid! Finally, a real explanation on how to!
I've been pulling my hair out trying to understand this. Thanks for the video upload! I didn't know that the platform had its own tool to set up a library. And also, the issue of some libraries that weren't named the exact same.
Now I can go through all of my libraries and clean them up!
Again, thank you!
Nice job on the tutorial!
Exactly what I needed and exactly for dot matrix...
Thanks!! I was having major problems with libraries. Your tutorial cleared up my issues. It was clear, concise and complete. Based on this, I subed and am looking forward to your other videos. Thx again.
Thanks Larry Abbernathy , I hope you find the other videos useful as well.
holy crap man, you're a good teacher! thank you so much.
Thanks for watching! I hope these video help.
Thank you. Very informative!
This is an excellent tutorial and I love the way it is presented. Thank you very much.John :)
+karen berry Thanks a ton for watching! I hope you like the other videos too.
I like your document's folder names more than video. Btw Nice Video
Many thanks for this video.
eally helped me a great deal.
Thank you so much this helped a lot with my code!
A big help ,learnt alot many thanks for sharing
really greatful for the video as i'm a arduino noob. naming the the folder the same as the .h and .cpp files fixed my problem. many thanks
Such a simple fix, but far from intuitive! It took me a while to figure out why it seemed so many of the libraries I would import were not working. So glad it could help.
Nice, thank you voor good INFO!
Greetings from the Netherlands/Rotterdam
Rob.
Thanks for the note - much appreciated! Thanks for watching.
Nice video very helpful
I appreciate ...u know ur stuff very well
That was awesome! Thank you so much!!!
Very helpful.
Yes this is still very helpful even though I am using Arduino IDE 2.2.1
Hello
I have a task to do and I am new to Arduino. The task is to create a project in Arduino IDE, using the FreeRtos library.
Then I have to find all the library files that are included (that belong to RTOS) and combine those parts that are needed into a single file together with the code. How can I do it any help would be really greatful.
Thanks
Thanks,, very very good. It helped me a lot.
Sorry I am just getting started on WINDOWS 10 downloading Libraries and found unlike your path on your Apple Mac i.e Documents---ARDUINO----libraries--- and you had your library Frequency Timer2 , in which you had the Frequency Timer.ccp and Frequency Timer.h files, My path is Local Disk (C): -----Programs Files(x86) -----ARDUINO------libraries---inside which I got my files , say Stepper ,---and opening that I see two files example and scr files and opening scr I see Stepper.ccp and Stepper .h , is that right or am I doing something wrong? sorry again not very good at this.
Fantastic! This really helped! Thumbs-up!
+Sean O'Keefe Glad you liked it - and thank you!
I had "Hello World", and "Blinky" working, but was stuck with the next step of library integration.
The libraries were for a simple robot platform (Hercules 4WD).
With the motor control libraries installed correctly, I got the motor-blinky code (FWD, STOP, REV, STOP, REPEAT) to work.
Then the R/C receiver to Arduino variable to work. (with SERIAL feedback)
Then the R/C receiver to Motor speed and direction to work.
Then 2 R/C receiver channels to 2 motors, with FWD/REV and steering!
Yesterday was a great day!
Thank you again!
Sean
Simply Awesome! thank you!!
Question on these libraries, I came across your video while looking up how to write a library but thought I would try understanding them a little bit more, however I now find myself with a working solution (sort of, I'm still learning) and a question (or two).
Why go to all the hassle of writing the library the way libraries are written with two files, I get the header file references the actual code but my work-around I found seemed to work in the same way (as far as I know so far) and is to just create a .h file, write all my functions in there, include it in the main file the same way you would add a library and simply call them. Better yet I don't need to set it up in my code and reference it everytime I want to use a command (ie. I don't need to type libraryName.commandName, I just need to type commandName();) There must be a reason why the library method is better but I don't know why or currently understand why either.
My second question, I sort of answered myself in my method above was how to include and call from a library without needing to referencing the library after it is included and just call the commands?
Very good explanation. Kt may have answered an issue I am having. Quick question, i have an lcd library written by someone else, when i add my lcd, it powers on but no text on the screen. I noticed the naming of the connectors are different. For example, the En pin on the code is named E on my lcd. Should i edit the lcd library to reflect that? I have matched the pin connections to what is written in the code so i am a bit lost as to why i have no text showing up.
Hello, i am trying to interface with an real car cluster so it can show me all the data from the game in real time, i have the code but i cannot upload tone2.h i searched the hole internet no answer...
good lesson thank you
Glad you liked it!
Helps a lot, Thak you.
thank you so much!! nice tutorial!
Excellent, thanks!
Great video. Thanks
Great video. So helpful. Thanks
Thanks for the kind words! I am glad this one helped. I know for me, all the library syntax took a while (and is still taking a while) to wrap my head around.
when i verify my sketch it says:
Arduino: 1.5.8 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"
CheapassReceiver.ino:136:40: error: invalid suffix "clockMultiplier" on integer constant
CheapassReceiver.ino:140:52: error: invalid suffix "clockMultiplier" on integer constant
CheapassReceiver.ino: In function 'void __vector_11()':
CheapassReceiver.ino:112:25: error: expected ';' before numeric constant
CheapassReceiver.ino:122:29: note: in expansion of macro 'clockMultiplier'
Error compiling.
what should i do now?
C:\Users\HomePC\Documents\Arduino\libraries\ps2x_lib.h\examples\ps2x_lib.h\ps2x_lib.h.ino:1:34: fatal error: PS2X_lib.h: No such file or directory
#include //for v1.6
^
compilation terminated.
exit status 1
Error compiling.
"IT ALWAYS SHOWS THIS WHEN I VERIFY THE CODE U HAVE GIVEN IN EXAMPLES"
(PS2XDpadLED_OdinExample.ino)
IM BEGINNER TO THIS.......CAN HELP ME TO SORT OUT THIS PROBLEM
sir i have a problem with uploading sketch when i tried to upload it it is showing that wire.h is not included in library please help me
I don't have frequencyTimer file btw can I skip this tutorial? to come back when I need this
Did this project take long to build?
Make same video but about adding new boards becouse i want to program atmega88 with USBasp and i have trouble with arduino ide
can u please make a tutorial for put libraries of stepper motor on the arduino IDE
Thanks. It was helpful.
+John Perkins Thanks for watching! I hope you like the other videos too.
Hello sir,
Is it possible to initialize global variable from EEPROM in Header file ?
Excellent, tutorial.
Nice video , Can you please help me out to send text message of arduino Mega 2560 and GSM 800. I have used the code of GSM shield does it need to be edited for for the GSM 800 or not ?
Hi can u tell me how can I use a USB key board with aurdino
Can you explain how to add a Afmotor in library
Thank you
thank you very much sir
Happy to help - thanks for watching Zawar!
that was really helpful! btw what song was playing in the beginning?
Thanks a lot man. Exactly what I'm looking for. Thanks for the great tips in managing a libraries.
I have a question though and this is related to a sketch project that I have downloaded. I want to compile it but every time I did it gives me a bunch of errors. Now I have made a research for the errors and it seems that I don't have the correct libraries for it to compile properly. So what I did is download the libraries and try to compile it but I got the same error. After watching your video I remember that the libraries I have downloaded and added to arduino libraries have a different and long names name in it. So my question is, if I rename the library so that they are all the same,is there no effect in the sketch that I'm trying to compile? Thank you and I hope you make it clear to me.
By the way I'm just starting to learn the arduino environment.
Hi'gak Iya Great question! So here is how it should be...
The folder that holds the library usually has a weird name when first downloaded - it should be renamed to the same name as the .h and .cpp files that it holds.
For example - Adafruit_MotorShield (renamed folder) matches the file name inside it -> Adafruit_MotorShield.h and Adafruit_MotorShield.cpp
As long as your sketches are using the correct #include statement (that is, the name of the library header file i.e. Adafruit_MotorShield.h), then you should be ok - that should not be creating errors.
Hope that helps some...
Open Source Hardware Group Thanks so much sir. Now I know how to deal with those libraries :). I will definitely watch all your videos as much as I can to gain more knowledge from you.
I started to investigate how to write library files and failed to set up morse from scratch. I then down loaded and installed the morse zip file as per you video. I have morse in the library and SOS in examples but it simply won't compile!! If gives error WProgram.h no such file etc. Am totally stuck. All other examples I have down loaded or that came with Arduino are fine. Can you help Please! Prof Ron
Hi Ron Atkinson, That can be truly frustrating. Here is the post that should clear it up, from the Arduino Forum:
forum.arduino.cc/index.php/topic,97455.0.html
The issue is that the .cpp and .h file in the Morse example make reference to include "WProgram.h", well, after Arduino version 1.0, this
changed to "Arduino.h". So if you open your .cpp and .h files
in something like notepad, and change the "WProgram.h" to
"Arduino.h" it should work fine.
I think I mention the issue in another video in this series,
but I cannot recall if it is on RUclips or not. Have a great one!
Open Source Hardware Group
OMG. Yes!! I picked up this change on my journey to here but didn't notice the error/update needed in the old files I downloaded. When one is "focussed" one can become Blind! :-) Thanks so much. By the way your tutorial was great, clear expression and systematic. Much appreciated.
Ron Atkinson Thanks Ron - Glad this helped!
Where can I register for the Arduino course. Thank you.
+Carlo Corteza Right here:
opensourcehardwaregroup.com/thearduinocourse/
whats your intro and outro song? sounds nice
nice video :) some of the zip file has a .ino file. Is this the main sketch?
Thanks a million already subed
Hossam Zayed Awesome - thanks for watching!
thanks
awesome,,thanks
I keep getting an error. The error is #include files nested too deeply. Otherwise, great video, thank you for helping me install my library! :-)
awesome explaining! thanks!!
*like, sub, bell, comment!!!
Thank you!
thnx
Very good Tuts. but this one was as if you weren't prepared
I could see why you might say that...
you consumed more than 10 minuets to clarify where the library is located !!!
Conclusion: doughnut beats apples.
Najs job
Is your friend Roman B.?
If so, can you contact me, I need help with one of his projects and maybe you can help shed more light on what what he means