Thank you for this and all your videos. What an awesome controller.
@chengL104 жыл бұрын
Great video! Could you make an example of sending values (humidity and temperature) by i2c?
@ControllersTech4 жыл бұрын
Sending where ?
@gabrielcabrerasanchez15422 жыл бұрын
@@ControllersTech to the sd card
@abbrobotstudioporadnikipl95532 жыл бұрын
Hi! I have a problem with this project. Im using STM32F401RE microcontroller and sometimes I get an information "Unable to acquire semaphore" in terminal and after that reading are being stopped. Sometimes i have to restert microcontroller multiple times to get some data on SD card. I tried to change frequency to 80 MHz but it doesnt work. Can You help me with this problem?
@mecitpamuk56233 жыл бұрын
Why we used Hardware Timer instead of Software timer in FreeRTOS ?
@embeddedjunction92042 жыл бұрын
how we implement this for esp32 in esp-idf. can u share the code for esp32 idf
@embeddedjunction92042 жыл бұрын
please help me i am using esp32 so how can i store with esp-idf using esp32
@adeshinaajibola51144 жыл бұрын
How can design full inverter circuit with low battery cutoff and overload using stm32
@bears77777774 жыл бұрын
You could find an inverter circuit online and implement with an arduino first. Then port to stm32.
@ivanfernandolesmesroldan45023 жыл бұрын
Bro where are you living, you are the best!!!!!
@Sahana7402 жыл бұрын
Nice video.. I'm also doing this data logger using Dave ide ....but I'm not getting proper result. please help!
@nayanhn9340 Жыл бұрын
sir i need to do on AHT25 temperature sensor can u help
@woldecosgrove5 ай бұрын
Hello... could you do a video on reading from micro-SD card ?
@elmirakassymova3802 жыл бұрын
Why my temperature updates only after reset?
@shyluj.p51152 жыл бұрын
Thanks for great video. I have tried the same method for SD card working fine. while implementing same method to SDHC card it is not working sir. please help me sir
@almightypush22519 ай бұрын
Make a video to store RS485 data on sd card/esp32 using mcu master blue pill😢
@LaboussoleNano2 ай бұрын
Hello thanks for the video, How to save it directly in my computer? Best regards,
@jasmeetsingh77402 жыл бұрын
from where i can download File_Handling_RTOS.h and File_Handling_RTOS.c ????
@harryhan29744 жыл бұрын
please let us know about the module you use for the sd card. how is it named and where can we find it. greetings from greece
@ControllersTech4 жыл бұрын
It's not named anything. They are all the same just ships with different branding.
@markoamon69584 жыл бұрын
Hi, I'm always having a problem reading dht11/dht22. The code always gets stuck and I'm running out of ideas why. Could you please help me? I'm using stm32f303k8.
@ControllersTech4 жыл бұрын
Telegram me @controllerstech
@barrykeane27163 жыл бұрын
I am having the same issue. After a while DHT_Task stops running. What could be the cause?
@markoamon69583 жыл бұрын
@@barrykeane2716 in my case the problem was with the frequency of the microcontroller. I had to increase it from 16MHz to 64MHz. After that it worked like a charm.
@barrykeane27163 жыл бұрын
@@markoamon6958 Thank you, Marko! I changed my HCLK to 64MHz (It was originally 60MHz) and it looked like it was working, but quit after a minute or two. I changed it to 80MHz and it is still working. So, the clock does appear to be critical. Thank you for the help. Of course, I wonder why the program is unreliable at different clock frequencies. I would have to understand why before I would be confident using this in a real design.
@barrykeane27163 жыл бұрын
Update: It quit after about 7 mins, so still not reliable, just takes longer to fail. Incidentally, I am using the NUCLEO-F446RE
@sureshp6324 жыл бұрын
thank you very much sir for great tutorial
@ControllersTech4 жыл бұрын
You are most welcome
@krishnakumar-xo7ct3 жыл бұрын
How to read all the log data from the file and print it using uart
@ControllersTech3 жыл бұрын
Use f_read function. Save the date into the buffer and then transmit to the uart
@theraja0114 жыл бұрын
awsm project...lots more to learn..
@ControllersTech4 жыл бұрын
Keep watching
@hamzaisk94622 жыл бұрын
Great video.. I wonder if we can save data into excel file instead of txt file. Have you experienced storing data to excel file?
@fandusmercius7232 жыл бұрын
that's not embedded dev's job. someone else will take care of it dont worry
@hamzaisk94622 жыл бұрын
@@fandusmercius723 why should we need someone else if we can make it automatically?
@fandusmercius7232 жыл бұрын
@@hamzaisk9462 you aren't a frontend developer. Our job is to store the datas
@fandusmercius7232 жыл бұрын
@@hamzaisk9462 i mean you always pick the most effective and efficient way. Fast, low power etc. Why would you bother putting windows in your chipset. You have limited ram and flash.
4 жыл бұрын
Great video. Thank you for making these. Why do you remove the cmsis-related functions from the main code and then add the rtos functions?
@ControllersTech4 жыл бұрын
Because unlike cmsis, freertos functions can be used in all other microcontrollers too
@barunbasnet10 ай бұрын
Thankyou, however can you provide sourcecode of similar example that works in CMSIS RTOS? Just a simple example. 1 adc channel, may be potentiometer, and CMSIS rtos.
@anhemcoder47453 жыл бұрын
Thank you so much !
@barrykeane27163 жыл бұрын
Very nice video! Here is my problem: The DHT_Task stops running after a while (If I increase the clock speed, it runs longer but still fails.) If I do nothing in the SDCARD_Task except delay, all tasks keep running. If I only do Mount_SD() and Unmount_SD() DHT_Task fails to run. Where could the problem be? I am using NUCLEO-446RE.
@ControllersTech3 жыл бұрын
Could be the timing issue with DHT11.. try debugging the code. If it stops, check whether that happens in the dht code..
@barrykeane27163 жыл бұрын
@@ControllersTech Thanks very much for the reply! The DHT task is not executing at all. I toggle a test flag as the first statement and watch this flag in the debugger (or set a break point). This is my first experience with freeRTOS. I'm wondering how the execution of the DHT task could be blocked in this software. I noticed that at least one other person had this same experience. I will check it out more and post anything that I discover. Thanks again!
@ControllersTech3 жыл бұрын
But you said DHT was running for some time. Anyway give DHT11 task as highest priority and make sure no other task should be able to preempt it
@barrykeane27163 жыл бұрын
@@ControllersTech Thank you again for helping me here. Yes DHT task runs for roughly 30sec. I found this: It appears that the task priorities must be 1,2,0 (DHT, ADC and SD, respectively) in order for all tasks to keep running. I just checked and the SD card has logged 688 samples! In the video you said to make the SD task the highest priority "or else the volume could fail." This seems to make sense, but for some reason does not work. Let me know if you have any insight. I will study more about freeRTOS. Thank you for this very helpful example that can be used as a guide/template for other projects.
@emreseyyar50784 жыл бұрын
Thanx for video sir i have a problem that is given below *Temperature = (int*)TEMP; *Humidity = (int*)RH; Error = ..\Src\DHT11.c(116): error: #513: a value of type "int *" cannot be assigned to an entity of type "int" could you help me for fixing this error ?
@javib89702 жыл бұрын
Superb video as usual, im following your video in a stm32f105RB, i am getting some nasty HardFaults when using Update_File() inside the FREERTOS task, if i place it at the beggining following CReate_File() it works fine. Any ideas? Edit: same happens with Format_SD(), Mount() and unmount() are fine , you dont seem to have any issue in the video.
@javib89702 жыл бұрын
I fixed it, the functions involving a SD card transfer didnt like to be interrupted by task switching. I had to raise the task priority to osPriorityRealTime Format_SD() is still not working
@Krish07242 жыл бұрын
Hello, I had the hard fault error as well. To fix it, first try increasing the priority of the RTOS task (to osPriorityRealtime) and if you are trying to store a large amount of data into the SD card, try increasing the stack size of the RTOS task/thread. Secondly, check the formatting condition of the SD card on Windows PC and ensure that you format it to FAT32 filesystem with the allocation unit size set to 4096 bytes. Also make sure that in MIDDLEWARE ->FATFS settings from the Pinout&Configuration view, the "MAX_SS (Maximum Sector Size)" is set to 4096. Hope it helps.