video thumbnail 9:19
Electronic Basics #30: Microcontroller (Arduino) Timers

2017-07-16

[public] 400K views, 11.0K likes, dislikes audio only

channel thumbGreatScott!

Support me for more videos: https://www.patreon.com/GreatScott

Previous video: /youtube/video/oeNAhP-GIjo

Facebook: https://www.facebook.com/greatscottlab

Twitter: https://twitter.com/GreatScottLab

In this episode of Electronic Basics I will show you how to use the timer of a microcontroller (Arduino Uno -- ATmega328P) to not only create precisely timed events but also generate a PWM signal with variable duty cycle and frequency up to 8MHz.

Music:

2011 Lookalike by Bartlebeats

Killing Time, Kevin MacLeod (incompetech.com)


Arduino Sketch
/youtube/video/IdL0_ZJ7V2s?t=95.730003
Normal Mode
/youtube/video/IdL0_ZJ7V2s?t=187.64
Eight Bits Fast Pwm Modes
/youtube/video/IdL0_ZJ7V2s?t=431.06
Fast Pwm Mode
/youtube/video/IdL0_ZJ7V2s?t=507.79999
HACKED!: ATX Power Supply with Variable Output Voltage? 949,547 views
/youtube/video/oeNAhP-GIjo
GreatScott! Awesome Electronics Tutorials, Projects and How To´s WARNING!: DO NOT SEND MAIL TO THE ADDRESS GIVEN BY THE IMPRINT! Imprint/Impressum: GreatScott! c/o Block Services Stuttgarter Str. 106 70736 Fellbach WARNING!: DO NOT SEND MAIL TO THE ADDRESS GIVEN BY THE IMPRINT! Disclaimer: The shown videos are for educational & entertainment purposes only. Use the given information at your own risk. Do not work beyond your capability and always hire a professional if you are not sure what you are doing. Remember: Safety first!
/youtube/channel/UC6mIxFTvXkWQVEHPsEdflzQ
Support me for more videos! patreon.com
https://www.patreon.com/GreatScott