Тёмный
No video :(

40. STM32CubeIDE DHT11 Temperature and Humidity Sensor / OLED with STM32F103C8T6 

MicroPeta by Nizar Mohideen
Подписаться 7 тыс.
Просмотров 11 тыс.
50% 1

STM32 Blue Pill for intermediate
Code and diagram are at www.micropeta....

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@lazylad7465
@lazylad7465 Год назад
i am getting 16 warnings and the oled is not turning on used the same code and libraries as in this video
@machmanish1
@machmanish1 8 дней назад
its working. Thank you. All the steps you had given, i have followed. One question, its only running in debug mode, after porting of code nothing is showing up, how to solve that?
@NizarMohideen
@NizarMohideen 8 дней назад
After upload, remove power and supply power again
@jesussarang2003
@jesussarang2003 2 года назад
Thank you for your video.
@MuhammadTE
@MuhammadTE 2 года назад
Thanks this video helps alot
@NizarMohideen
@NizarMohideen 2 года назад
Glad to hear it!
@avulanarasimha8286
@avulanarasimha8286 2 месяца назад
Hlo how write DS18B20 temperature value print in stm32 cube programmer application
@yhy_official2750
@yhy_official2750 4 месяца назад
My project is use dht22 sensor and OLED as well & i already watch all ur videos, with dht22 and dht11. Ur vids show the programs running well, but mine is the opposite. It wont running, the OLED wont shows the temperature on the display. Can u give me the solution? I'd be so thankful🙏
@NizarMohideen
@NizarMohideen 4 месяца назад
My suggestion is to try without OLED. Then try simple print "Hello World" in the OLED without the DHT22 If both borks, combine them together
@user-oq6cn6rg5d
@user-oq6cn6rg5d 7 месяцев назад
How did you upload the code to the uC card? I can't see STlink in the video. With the micro usb cable (white cable) shown in the video? Please answer.
@SatishKumar-yn8tr
@SatishKumar-yn8tr Год назад
How did you upload code into uC board? I can't see STlink in video. Is it with micro usb cable shown in video ( white cable)? Please reply.
@nhtylcn9976
@nhtylcn9976 Год назад
Thank you so much. I wonder where do you learn all these things. Do you read books, documentations? I am a CS student and I want to learn how to develop this kind of projects on my own. Otherwise, I always need RU-vid videos :)
@umoipravoce
@umoipravoce 9 месяцев назад
Hi! Thank you for the video. Does it works if the DHT11 sensor doesn't has the black module (only the blue sensor itself). ?
@YoussefAboud-ff5ml
@YoussefAboud-ff5ml 7 месяцев назад
the code should work the same but you'll need to link the DHT with a 47K resistor, that is what the black module is for
@sumittambe2543
@sumittambe2543 11 месяцев назад
Can you please give me the code for interfacing max30100 with stm32f103c8t6 and showing result on lcd display And also give. The library for this sensor plzzz sir
@sohammane6449
@sohammane6449 2 года назад
I m getting 3 errors... It is saying that" htim undeclared (use this function)"
@NizarMohideen
@NizarMohideen 2 года назад
STM32CubeIDE Settings Click Timer → Click TIM1 → Clock Source set to Internal Clock
@DiegoPerez-bz8tv
@DiegoPerez-bz8tv 2 года назад
Hello, instead of the display can I use the Uart port ?
@DiegoPerez-bz8tv
@DiegoPerez-bz8tv 2 года назад
Can a tft spi 2.4 inch screen be used instead of the oled ?
@funwithinsiya4899
@funwithinsiya4899 2 года назад
Will this code and wiring work on stm32f04?
@Ahmet-jb2zv
@Ahmet-jb2zv 3 месяца назад
How do I set this code at 16Mhz
@NizarMohideen
@NizarMohideen 3 месяца назад
Click Timer → Click TIM1 → Clock Source set to Internal Clock Configuration → Parameter Settings → Prescaler set to 15 (Fifteen ******) Thanks
@huyang677
@huyang677 20 дней назад
I have wrong statistic about 1.59 degree celcius :)))
@NizarMohideen
@NizarMohideen 20 дней назад
You are right Accoring to www.atlantis-press.com/article/125989928.pdf DHT11 accuracy is 97.19% DHT22 accuracy is 98.15% DS18B20 accuracy is 99.05% Comparing these three sensors, DS18B20 is better than DHT11/DHT22
@huyang677
@huyang677 20 дней назад
@@NizarMohideen but i am living in VietNam:((( . The avarage temperature is about 20 degree celcius
@AnuragSingh-zm8iy
@AnuragSingh-zm8iy 3 года назад
Sir can you please provide me with simulation of this project in proteus or keil
@NizarMohideen
@NizarMohideen 3 года назад
Hi Anurag Brijesh, www.mouser.com/datasheet/2/758/DHT11-Technical-Data-Sheet-Translated-Version-1143054.pdf Thanks for watching, I give you the steps. You can try Set the pin to output Set the pin to low Wait 20000 micro seconds Set the pin to high Wait 30 micro seconds Set the pin to input Wait 40 micro seconds If the pin is now low and after 80 micro seconds if the pin is high, sensor responded Wait for the pin to go low Now in loop (40 iterations) Wait for the pin to go high Wait 40 micro seconds bit(i) = pin value Wait for the pin to go low Do above 4 steps 40 times First 8 bits will have Relative humidity integral (A) Next 8 bits will have Relative humidity decimal (B) Next 8 bits will have Celsius integral (C) Next 8 bits will have Celsius decimal (D) Next 8 bits will have Check sum (E) If A+B+C+D=E, all good Regards,
@H25639SRV
@H25639SRV 4 месяца назад
excuse me sir, can i use the lcd instead of oled screen? thank you so much
@NizarMohideen
@NizarMohideen 4 месяца назад
Yes, of course See this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TCrmxJuvzyY.html
@H25639SRV
@H25639SRV 4 месяца назад
@@NizarMohideen thank you sir your video help me a lot
@architdukhande4565
@architdukhande4565 2 года назад
Do we need an external programmer? If yes then which one?
@NizarMohideen
@NizarMohideen 2 года назад
You need ST-LINK for STM32CubeIDE as shown in video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kXg467nVd_A.html
@architdukhande4565
@architdukhande4565 2 года назад
@@NizarMohideen can I use a ftdi?
@NizarMohideen
@NizarMohideen 2 года назад
Yes. You can use FTDI. But, it will not work with CubeIDE. You can use STM32 via FTDI using other IDE's for example ArduinoIDE. I have seen there are many videos available in the youtube.
@bakhtawar8782
@bakhtawar8782 Год назад
@@NizarMohideen If we have OLED and STM32CubeIDE installed then we don't need ST_LINK??RIGHT? Kindly reply as soon as possible.
@limemmontassar3690
@limemmontassar3690 2 года назад
is this works on discovery borad ?
@NizarMohideen
@NizarMohideen 2 года назад
Yes. It will work. It is all same except you need to change the timer Prescalor according to clock speed. Prescalor should be one less than timer clock speed. I don't have discovery board with me to demonstrate. Thanks
@Hayden-Healthy-Lifestyle
@Hayden-Healthy-Lifestyle 2 года назад
anyone have hex code
@NizarMohideen
@NizarMohideen 2 года назад
I am sorry I don't have hex code
@p.kaikieu4796
@p.kaikieu4796 5 месяцев назад
dear sir, can i use this type of OLED instead of that OLED in your video? i wonder the size of display may be effect the code: , the OLED i say is in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MHogSbRPa28.html ; sorry for give u another channel, but i dunno the name of that OLED lcd
@NizarMohideen
@NizarMohideen 5 месяцев назад
That OLED will also work with this setup. It can work on exact same code
@p.kaikieu4796
@p.kaikieu4796 5 месяцев назад
@@NizarMohideen thanks for replying sir, also, can u make video about using SPI, i search in your channel but only has a video about SPI, can u make some videos that use SPI to trans data and can display like LCD, 7_seg led, etc
@NizarMohideen
@NizarMohideen 5 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ujEqJRWthjw.html RFID ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8hypVJ2U7OE.html Display ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6c7FEaiqlV4.html Display
@samiasultananiha5687
@samiasultananiha5687 9 месяцев назад
I have done all the steps you showed. But nothing is displaying in the led display. How to fix this ?🥹
@umoipravoce
@umoipravoce 8 месяцев назад
Im facing the same problem!
Далее
STM32 + OLED = Display Anything
18:01
Просмотров 19 тыс.
ПАВЕЛ ДУРОВ АРЕСТОВАН
1:45:21
Просмотров 83 тыс.
SSD1306 OLED and STM32 || 128x64 || SW4STM || CubeMX
14:22
INTERFACING DHT11 SENSOR | SMT32F103C8T6 | I2C LCD
16:25
STM32 I2C Setup Temperature and Humidity Sensor
8:50
The AMA Club Model is Failing. Here's Why.
16:10
Просмотров 18 тыс.
6 Horribly Common PCB Design Mistakes
10:40
Просмотров 191 тыс.