Using an Arduino with Python LESSON 8: Live Thermometer 3D Visual Using DHT11

preview_player
Показать описание
In this video we create a show how to wire up the DHT11 to measure temperature and humidity and how to pass data from the arduino to python. We then create an animated 3D graphic of a thermometer that updates in real time with the data coming from arduino. In this class, we will be using an Elegoo Super Starter Kit, available below (affiliate link):

With this kit, we will will both be working on the same hardware which will make your life and my life easier.

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

#Python
#Tutorial
#Arduino

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

The river view is so refreshing 😍. Thnx for these amazing lessons Paul .

theblackkingff
Автор

Thanks for another excellent lesson. I am legend. My solution consists of two separate needles in two different areas of a cylindrical face plate. The upper needle indicates the humidity level. Markings are for 10% to 100% humidity. The lower needle shows the temperature. Markings show 0 to 50 degrees centigrade.

daviddirac
Автор

I am legend. This is a great continuation of the Arduino and Python lessons. Thank you Paul!

benthompson
Автор

Thanks for another most excellent lesson, Paul. This series illustrates the potential value of combining the Arduino with Python’s computational power.

cbrombaugh
Автор

This entire series is excellent. I brought the arduino uno and my tackle box of electronic gizmos out of the basement and love the visual interface to vpython. And I'm doing it all on a cheap chromebook which is great. Thank you for this series of exercises.

dough
Автор

I am especially excited to see the real world applications of how this can help with agriculture...the right humidity for mushrooms and plants as well temperature and npk and LEDs for plants

mattphorwich
Автор

I am legend, after 2 days of work i was able to the full homework, thank you for the lessons

agonslay
Автор

I always look forward to Tuesday and Thursday for ai!

mattphorwich
Автор

Thanks Paul! This is an outstanding example of applied math. No issues here, the lesson is clearly explained.

edSabio
Автор

These are awesome, Paul. Thank you for putting them together.

scottwait
Автор

Thanks Paul, I was following your lessons and so far was able to get bme280 working with Ubuntu on an old laptop. Wanted to try a raspberry pi 4b, but that’s set up as a Minecraft server for the Grandkids. You have a lot of followers in underdeveloped countries, so keeping equipment cost down would be a benefit, but I also know you have to work with standard equipment

Dasol
Автор

Thanks paul, this did not help me what so ever but it was nice watching.

basedAron
Автор

I am legend. I have not the time to make good videos of my homework.

starRunnerX
Автор

Modestly speaking, I am legend. I did both temp and humidity.

steveholt
Автор

You can program the Arduino, as well as esp32 from VS code, using an extension called platform io. It has a serial monitor and everything.

TheRealFrankWizza
Автор

(Reffering to min 20:17 ) When I encountered this, my mind avoided math via a workaround for the issue -> 'map' and 'constrain' function from Arduino:
def mapValue(x, in_min, in_max, out_min, out_max):
return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min

def constrainValue(cVal, lowB, uppB):
return max(lowB, min(uppB, cVal))

nakiros
Автор

Hey Paul,
I want to thank you for this series of video. Its great help!!
I have two doubts:
1.) Do we need an arduino file to be run before python file?
2.) If no, why cant we describe the whole code in arduino to Python, like assigning pins and other libraries?

inderjitsaini
Автор

Hi Paul, raelly a good series here. What app are you using on the iPad ?

marcdurbach
Автор

Thanks for your lessons they are absolutely brilliant! I do however keep coming up with an issue, i have it all working great, im receiving the data from the Arduino and my display looks fine. Then when i come out of the runtime or when i change something (even if i put it back to how it was) its as if i get no data into python. Arduino is still fine and i can see the data on the serial monitor. It seems to occur when i get an error in Visual Studio stating 'RuntimeError Cant register atexit after shutdown'. Its stopping my progress alot and im stuck at what i can do to fix this problem?

whity
Автор

Hi Paul, Thanks for another great lesson.

I have posted my solution here:


My Arduino sketch still has some "poor man" multitasking with "millis()" and the Python code now has a round meter! The round meter was interesting as I had to use a list for all the parts in the curved indicator bar.

ianneill
visit shbcf.ru