Input Capture Interrupt in Arduino

preview_player
Показать описание
Using timer1 capture capability in Arduino controller is explained and demonstrated.

Link to code:

Contents:
0:00 Introduction
0:20 Input Capture in Microcontrollers
0:43 Timer Interrupts in Arduino
1:04 Input Capture Interrupt
1:58 Programming TIMER1 Registers
2:58 Circuit Description
3:27 C++ Sketch
4:19 Demonstration
4:37 Conclusion
Рекомендации по теме
Комментарии
Автор

Great Job! I reviewed a lot of videos and sites to find a short detailed explanation on Arduino Input Capture, by far your video was the best.

JohnMcCormick-ff
Автор

hi ! can it capture analog signal when the signal keep running up and down? able to capture the highest and lowest point? is that possible?

daryl
Автор

Very nice video! But I still need help :(
I have a pulsetrain of aprox 120 Hz (betwen 80-150) that I have to adjust sometimes preferebly with a analog pot. Its a speedsignal from a tractor. I then need to send the signal to a stepperdriver that drives the output of seed on a seeder. I've tried a lot of code and things but without god result :( I think using input cature is the way to go but don't know how/where to put in the "adjusting faktor" and then get to a pim I can connect to the driver?
Can anybody help me?
/m

magnuscarlander