62. STM32CubeIDE Timer Interrupt with STM32F103C8T6

  Рет қаралды 21,385

MicroPeta by Nizar Mohideen

MicroPeta by Nizar Mohideen

Күн бұрын

Пікірлер: 52
@behzodhamrayev_zarband
@behzodhamrayev_zarband Жыл бұрын
I am new in STM32 and I have searched from internet more things This channel was the most helpful. it is really ideal for beginners. Thanks for sharing your experience with the world Nizar. THANKS.
@NizarMohideen
@NizarMohideen Жыл бұрын
Great to hear!
@candandemircan
@candandemircan Жыл бұрын
just started getting familiar with embedded software and all the videos on this channel have been so helpful!! easy to understand even for beginners. thank you so much for sharing these!
@motasee.aliwate7889
@motasee.aliwate7889 2 жыл бұрын
Wonderful video thanks for at all And it's will be so beautiful to explain more about timer ☺
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Glad you liked it!
@koggism
@koggism 2 жыл бұрын
Very well presented and backed up by your website, clear an to the point. Brilliant work
@yunusyarar8882
@yunusyarar8882 Жыл бұрын
Thank you for very easy and very clever explanations. Excellent!!
@felipegerber8586
@felipegerber8586 2 жыл бұрын
Thanks a lot for you class! It gonna help me a lot!
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Glad to hear that!
@prabhusnr6130
@prabhusnr6130 2 жыл бұрын
It's very helpful video. 🔥🔥🔥
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Glad to hear that
@anakarinaramirez5401
@anakarinaramirez5401 Жыл бұрын
GRACIASSSSSSSS, POR TUS VIDEOS ESTOY PASANDO LA MATERIA ERES MI HÉROE
@nikolaoschatzipapas8651
@nikolaoschatzipapas8651 2 жыл бұрын
Thank you!
@NizarMohideen
@NizarMohideen 2 жыл бұрын
You're welcome!
@dduringddu
@dduringddu Жыл бұрын
thank you very much!
@ibrahimalgebra824
@ibrahimalgebra824 2 жыл бұрын
Auto subscribe this channel, really helpfull. Thanks sir
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Thank you too
@aanilgizem
@aanilgizem Жыл бұрын
aferin dayi ise yaradin
@shreyasshetty2815
@shreyasshetty2815 3 ай бұрын
In prescaler I didnt understood why u put minus 1 after 7200
@NizarMohideen
@NizarMohideen 3 ай бұрын
Prescalor starts from 0 (zero) 1 means 0 2 means 1 3 means 2 ..... 7200 means 7199
@Red_Fang.
@Red_Fang. Жыл бұрын
excuse me i want to ask, i want to use timer for my long pressed button, so which function should i use ? thank you
@busraercan246
@busraercan246 10 ай бұрын
Hİ, when you upload the code , did you use ST-link v2 debugger or usb cable? I couldnt understand that...
@SauvikRoy
@SauvikRoy 2 жыл бұрын
Nice hands-on video! You have used the timers for GPIO outputs; would it be also possible to use them on inputs?: I was trying to build a software debounce for input switch on my board. Thanks!
@Oleg-fp9hn
@Oleg-fp9hn 2 ай бұрын
Hello! Answer please. Can we change timer settings during programm is running? i am considering Car engine manegment system, rotating trigger wheel on crankshaft makes interrupt every 6 degrees. we need to ignite sparks when trigger wheel interrupts + some amount of time. this amount of time alway differ and depends on a lot of parametrs.
@NizarMohideen
@NizarMohideen 2 ай бұрын
Yes. You can HAL_TIM_Base_Stop_IT(&htim2); // During prorram running change the values inside MX_TIM2_Init() MX_TIM2_Init(); HAL_TIM_Base_Start_IT(&htim2);
@Oleg-fp9hn
@Oleg-fp9hn 2 ай бұрын
@@NizarMohideen thank you, awesome. i will try it.
@giupeppe6380
@giupeppe6380 Жыл бұрын
hi, very helpful video. I have to program a counter, using internal timer, which counts in steps of 100 nanoseconds. i think i need at least 10mhz, the bluepill has 72mhz so i should be ok, but i am scared about crystal/ceramic resonator that is 8mhz. The counter starts when a photodiode change is value. what do you think? thanks and have a good day
@АндрейКим-ж1р
@АндрейКим-ж1р 2 жыл бұрын
This is really cool ^_^
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Thanks
@ovaisiq
@ovaisiq Жыл бұрын
Thanks Sir
@hanifsowlatnia9822
@hanifsowlatnia9822 2 жыл бұрын
Nice
@bandulamanchanayaka4971
@bandulamanchanayaka4971 4 ай бұрын
can I use the defoult high speed clock and adjust the counture peroid,and pre scaler
@NizarMohideen
@NizarMohideen 4 ай бұрын
Yes. You can Adjust the prescalor and counter period according to the required interrupt time
@bandulamanchanayaka4971
@bandulamanchanayaka4971 4 ай бұрын
thanks, I connect the TCS34725 colour sensor int pin to GPIO to get timer intepurret data. how can check getting data in right time intervals
@NizarMohideen
@NizarMohideen 4 ай бұрын
// Have any variable such as xyz // in the interrupt callback routine set xyz to 1 void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim){ if(htim->Instance == TIM2) { xyz=1; } } // In the while loop If (xyz==1) { getRGB(&red, &green, &blue); xyz=0; }
@bandulamanchanayaka4971
@bandulamanchanayaka4971 4 ай бұрын
Thanks, if I need to get 10 sample in same timer,how can i do can I change the xyz value 1 to 10?
@majesty-4246
@majesty-4246 Жыл бұрын
How to make all of the project will be off after 5 minutes on?
@satishpatidar4756
@satishpatidar4756 Күн бұрын
How to dynamic value at runtime it means change time
@NizarMohideen
@NizarMohideen Күн бұрын
To set Prescaler at runtime __HAL_TIM_SET_PRESCALER(__HANDLE__, __PRESC__); Example : __HAL_TIM_SET_PRESCALER(&htim2,7200); To set Counter Period at runtime __HAL_TIM_SET_AUTORELOAD(__HANDLE__, __AUTORELOAD__) Example : __HAL_TIM_SET_AUTORELOAD(&htim2, 2000);
@vidyadharisakala2204
@vidyadharisakala2204 Жыл бұрын
Can you tell me how did we get 2000 for 200 milliseconds
@midhunkarthi6038
@midhunkarthi6038 2 жыл бұрын
How can I set an interrupt for 5 minutes?
@reisaaurellia5839
@reisaaurellia5839 2 жыл бұрын
Thankyou in advance because of all your video really help me,,, May I request for the next video?? I want to know how to smart water meter with LoRa and Get the Data in server Thankyou
@NizarMohideen
@NizarMohideen 2 жыл бұрын
Thanks. I will try one at time.
@Ngigi
@Ngigi 2 жыл бұрын
Did you use a hardware debugger?
@Ngigi
@Ngigi 2 жыл бұрын
I'd like to know if I can program this board without the st-link debugger
@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.
@Ngigi
@Ngigi 2 жыл бұрын
Thank you,I have used Arduino IDE before.Thought I could use the FTDI with CubeMX..thanks for assisting.
@makergaragediy
@makergaragediy 2 жыл бұрын
Could explain how make pwm with variable frequency to control nema17 speed?
@NizarMohideen
@NizarMohideen 2 жыл бұрын
I am sorry I don't have nema17 with me at the moment
@TheRecocebo
@TheRecocebo Жыл бұрын
can we write 7199 instead of 7200-1
@NizarMohideen
@NizarMohideen Жыл бұрын
Yes. You can
34. STM32CubeIDE Button debounce. Interrupt with STM32F103C8T6
7:15
MicroPeta by Nizar Mohideen
Рет қаралды 21 М.
HAL #10: HowTo Timer with Interrupt
5:18
Web learning
Рет қаралды 49 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 20 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 32 МЛН
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
59. STM32CubeIDE LCD 1602 Display. Parallel 16x2 with STM32F103C8T6
8:31
MicroPeta by Nizar Mohideen
Рет қаралды 9 М.
124. STM32CubeIDE ADS1115 ADC with STM32 F103C8T6
8:49
MicroPeta by Nizar Mohideen
Рет қаралды 1,3 М.
Interrupts | #8 STM32 GPIO button interrupt
23:48
Terminal Two
Рет қаралды 56 М.
STM32. Таймеры общего назначения. Часть 1.
25:39
Pin Change Interruptions ISR | PCINT | Arduino101
14:19
Electronoobs
Рет қаралды 57 М.
15. STM32CubeIDE LED FADE. PWM Timers with STM32F103C8T6
4:49
MicroPeta by Nizar Mohideen
Рет қаралды 16 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 20 МЛН