Arduino Basics: Understanding Libraries

preview_player
Показать описание
Arduino Basics: Understanding Libraries

In this video we look at how you can begin to understand what is happening inside the libraries you have downloaded. We use the DHT Temperature & Humidity Sensor library because it is a very common sensor and a simple library to understand. But this will work for any library you download because they are all written the same way.

-~-~~-~~~-~~-~-
Please watch: "Diodes: The basic building block of all digital circuits"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Libraries are the lifeblood of a programmer! I just have a problem with how Arduino squirrels them away, in fairley undisclosed locations. But I'm learning, thanks to you and a few others around YouTube.

georgechambers
Автор

This video was a revelation. Thank you so much!

heyitsandrew
Автор

Thank you very much! That was exactly what I've been searching for!

robbeiber
Автор

Thanks! Trying to get my homemade Martian Rover's Arduino libraries installed and working!

thcenturyboy
Автор

Thanks for the excellent explanation of library files and where Arduino hides from

edksdw
Автор

Libraries have cause me SO much grief as someone very new to Arduino. They are generally skipped over fairly quickly in other tutorials but are often key to an error free compile. Thanks for connecting the dots within the *.h file in the library to the calls in the sketch. This made perfect sense!

Would discussing the role of the *.cpp library files be useful?

cloudsuck
Автор

wow short simple video but an awesome quick explanation

robertlloyd
Автор

I don't understand... The things you highlight and say "we've done", are those things that were part of the code before or things that you added to it before the video?

sophiel
Автор

I am also a beginner in the world of programming and especially Arduino and then libraries, BUT this was quite helpful.

I am still struggling to be able to figure out what library need to be included for a specific statement.

I guess this world of home automation has sucked in so many noobs and unfortunately there are only a handful knowledgeable people that have to help us strugglers.

So what I do is to start a project with basic code and if it works start adding additional sensors and perhaps relays, and that is where it becomes foggy.
I would youtube for hours to identify a video that covers what I need to ADD and then I am stuck because I am unsure which library covers what portion.

Hoe do I figure that out?

onlyiwilknow
Автор

Hi there, newbie here im trying to build a sketch to use sound using a df mini player and having trouble wrighting it, because its not agreeing with the servo.h library.
Having allot of trouble could you possibly help ?

cadillacescalade
Автор

is there an issue with calling more than 1 library for the same module. i find code example but it seems they used different libraries. i find this lack of continuity/standard confusing.

odiliomartinez
Автор

1 question : dht.begin() is initialization of sensor or activation .right? Now in library begin function is only used in that DHT class . question is where is begin function/methode is defined?

rZERO_game
Автор

As a beginner with Arduino and taking my first steps at trying to understand, libraries, how they are used and how to create them, you lost me within the first 4 minutes. Naming or referencing everything as DHT doesn't help anyone who hasn't the slightest clue to distinguish between various aspects of what you are trying to convey. I am sure you mean well, and perhaps this video was aimed at someone who already has some knowledge rather than someone like myself, but at the moment I am none the wiser.

Sorarse
Автор

would you happen to have a similar walk through for the Plantower PMS5003. I have not be able to find the correct .h file to work in PlatformIO with a WEMOS D1 mini. Also tried looking in Arduino IDE' library

TheRealoldcar
Автор

Plz make a video on the esp8266 library, i really want to know whether all the function are inherently uses either AT commands or lua commands and anything else

puneetdagoria
Автор

Sir, I don´t know if It´s my display or your video but something happened because I can only see coloured lines instead of an image of this video and I can hear the sound but I can´t see anything else. I´ll appreciate if you´ll fix it.

alexismoreno
Автор

So I am playing with a WiFi library, but apparently I have 2 different WiFi.h files in different locations. How do i know which one my sketch is using and can I specify the one I want to use?

briankendall
Автор

Is the begin the same with any library, like on a lcd library

taranagnew
Автор

Sorry i'm a beginner and i don't understand the whats and the how's of this video. It doesn't explane what this is and where you can find it. It seems that there in the code there are references to the library....but please...explain this!

mutmong
Автор

Hello Sir! I Hope you can help me solve my problem! I brought TFT LCD ILI 9488 Shield with Arduino Mega 2560 but no works i tried all the driver Who send me the seller FROM CINA BUT the display always White Hope you can help me kindly

sammykibwana