Тёмный
No video :(

18. Arduino for Production! AVR Atmega32 - Intro to Interrupts 

BuildYourCNC
Подписаться 101 тыс.
Просмотров 81 тыс.
50% 1

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
www.amazon.com...
Please watch: "Buildyourcnc CNC Router on Love Yurts"
• Buildyourcnc CNC Route... -~-
Patrick's Tip Jar:
bitcoin:1Gtawd29Sgu5CdvfUnkRg1YBfowCawjFdH
Ether:0xa962365100011B79097A7bb9DD51A53eE98266bb
If you have found this video to be helpful, consider making a tip. Thanks.
Official Page with More Information:
newbiehack.com/...
This video will demonstrate the use of interrupts and use the timer/counter as an example.
Equipment that I use to make videos:
Canon EOS Rebel: amzn.to/2rJSeh0
Macro Lens: amzn.to/2qaSKmK
Microphone: amzn.to/2qO2RB4
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): amzn.to/2ruFnSn
The drafting pencil I use on these videos: amzn.to/2qioYg2

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

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@s.platini9390
@s.platini9390 11 лет назад
These video lectures are absolutely beautiful. I have no idea how I could ever learn about microcontrollers without your videos. For my exam and project I am only relying on your videos. You are indeed a great Teacher!
@therewbb
@therewbb 7 лет назад
Very clean and understandable explanation so far, it is way more easier to understand interrupts and other things when you explain them. Thank you!
@strogg117
@strogg117 13 лет назад
same here. Keep it coming. very good info for students like me.
@Kratasish
@Kratasish 9 лет назад
Crazy background sounds as usually :-D I like it ;)
@oguzhansisman3591
@oguzhansisman3591 4 года назад
i couldn't understand nothing before timer/counters and interrupts by myself but this video is awesome great job from BuildYourCNC god bless you:))
@Kadlukadloesen
@Kadlukadloesen 11 лет назад
Ok it was the TIMSK1. Im using the ATmega32U4. Thank you very much for the answer! Greetings from Zurich!
@doebidady7019
@doebidady7019 11 лет назад
This series are even more eductional than following a 500EUR course. Superb ! Doebi
@Obiedog2
@Obiedog2 13 лет назад
Love your tuts!!!!!!! keep Them Comming!!!!!!!!!
@PatrickHoodDaniel
@PatrickHoodDaniel 13 лет назад
@89rafa Hey, thanks for the feedback. I certainly will. It's good to know that it is important to mention those. I will be getting into timers and counters in more detail. The waveform generator modes (which are really terms of obfuscation) and others will be greatly detailed, mainly by example. Many thanks!
@PatrickHoodDaniel
@PatrickHoodDaniel 12 лет назад
Your primary clock is set to a different frequency. Generally, at default, there is a prescaler applied to the internal clock and the chip will run at 1MHz. If you changed this default prescaler, then the clock will be running at a different clock speed than what is used in the video.
@informomp
@informomp 13 лет назад
Thanks for taking the time and effort for making these videos. Really appreciate it. Keep them coming.
@Mekazoic
@Mekazoic 12 лет назад
Thanks for these - currently studying AVR microcontroller principles as part of my Robotic Engineering Degree, and it's good to get some alternative tutorials on the subject. Also funny hearing your family life in the background there - i've currently got mine running amuck while i get on with my course work, so can relate! Good Work!
@PatrickHoodDaniel
@PatrickHoodDaniel 11 лет назад
You need to find the correct usage of that register. Do a look up for timer mask in the datasheet. If should provide you with the correct number to use. By the way, what microcontroller are you using?
@PatrickHoodDaniel
@PatrickHoodDaniel 11 лет назад
Thank you!!
@thierry9592
@thierry9592 6 лет назад
*sample text*
@vaibhavvalandikar3913
@vaibhavvalandikar3913 5 лет назад
U dint tell anything about wgm,timsk ........
@brianblasius
@brianblasius 5 лет назад
I suggest you start teaching about using FreeRTOS on the STM32
@luigivestrolli3959
@luigivestrolli3959 12 лет назад
Thanks for the explanatory of the source code. Exuse me for my english. By of Luigi.
@oleshka2588
@oleshka2588 7 лет назад
Thank you for your job !
@user21XXL
@user21XXL 6 лет назад
I played around with pin change interupts, got everything set up and all worked ok. Then I added cli(); _delay_ms(x); sei(); _delay_ms(y); into my while(1) loop. My thinking was sometimes interupt would go off, other times it wouldn't, but interupts went off on every pin change with a delay. What is the best way to disable interupts so nothing happens after I turn them back on?
@Hainamcoi
@Hainamcoi 9 лет назад
Better than my lecturer lol
@PatrickHoodDaniel
@PatrickHoodDaniel 12 лет назад
@teradaci Thanks Giorgio!
@suvarupsengupta3853
@suvarupsengupta3853 11 лет назад
The tutorials are awesome ... I am just starting in the field of robotics ... and i am using ATmega8 ... Your tutorials helped me very much ... but the interupt conception is not clear for me ........ I just want to read a pin high and do a certain job on another port ........ HOW CAN I DO THIS ... PLEASE CAN U HELP ??? regards suva.
@PatrickHoodDaniel
@PatrickHoodDaniel 11 лет назад
@Doebi Dady Thanks!
@midoitalia2010
@midoitalia2010 12 лет назад
it's very good jop.. thanks man
@Catbangin
@Catbangin 12 лет назад
Hi anajonesr, I love your microcontroller teaching..it is nice. it is very easy to understand. do you have cover video on how to code circular buffer?. i want to work it to generate echo. but i dont understand how it works. :)
@maulanawahyudi7127
@maulanawahyudi7127 3 года назад
Thank you :)) , By The Way When I put or add some extra code in while loop i can't imagine the plot or direction of code :( . Please help me give example for that, maybe dynamic change the value or something whatever :(( . Is it make parallel for ISR and main program ? When we try to run it together
@ACreativeWorks
@ACreativeWorks 6 лет назад
Hello if you could do an exclusive video with SPI communication, as comprehensive as the i2c, i don't mind paying again. Thanks.
@m4rt100
@m4rt100 6 лет назад
hi brother! could you make tutorial about atmega multitasking without delay() or using timer as delay manager. thank you
@mikesterling3949
@mikesterling3949 3 года назад
I tried to put this code in a .h (header) file, in order to be able to use one of it's variables elsewhere. But that does not work. Can you please help on this ? Example, I want to use > elsewhere.
@sirchikoz
@sirchikoz 11 лет назад
I am currently using the interrupt for RX in USART with ISR. How can I handle more than one interrupt type using ISR?Do I need to define multiple ISR routines with different interrupt vectors?
@sidmaurya3919
@sidmaurya3919 5 лет назад
Is there any software enabled Dead time insertion?
@Kadlukadloesen
@Kadlukadloesen 11 лет назад
Hi patrick. Thanks for your very nice examples. My atmelstudio shows me an error. He say TIMSK is not a standart funktion and undeclared... He givs me a option from TiIMSK 0 to 5. but my led don't run ;( some idea? Thanks for evrything!
@akbaralam8683
@akbaralam8683 10 лет назад
why u took 3 or operation with TCCR1B?
@xiaoyanli8572
@xiaoyanli8572 7 лет назад
Hi I don't understand where about in the datasheet defines the internal clock frequency to be 1Mhz? Thanks
@PatrickHoodDaniel
@PatrickHoodDaniel 7 лет назад
There are a couple datasheets for microcontrollers. One serves as a programmers reference and covers several microcontrollers with the same feature set. Another that is more specific to the microcontroller and is generally only a few pages long. That datasheet will have electrical characteristics and timing data.
Далее
Interrupts in AVR
17:10
Просмотров 3,3 тыс.
😭Телеграм УДАЛЯЮТ❌
00:50
Просмотров 70 тыс.
GV3 Environnement Hostile | Animation HepcoMotion
1:33
#61 ATmega328 - External Interrupt
47:58
Просмотров 3,3 тыс.
AVR Interrupts: A Guide for ATmega32 Microcontroller
15:44
Basic Soldering Lesson 1 - "Solder & Flux"
20:45
Просмотров 1,8 млн