VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » GreatScott!
Electronic Basics #30: Microcontroller (Arduino) Timers

Electronic Basics #30: Microcontroller (Arduino) Timers

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Electronic Basics #30: Microcontroller (Arduino) Timers Joel: Great video, but I do not really understand the last step, after you remove the ATMega from the Arduino. Do you then keep using the Arduino IDE and upload sketches this way? And do you keep the settings 'ATMega on breadboard'?
Also - I think your video would have been more powerful if at the end you were just showing your breadboard connected to power, and completely disconnected from Arduino and laptop. Because that is really the end goal of the whole operation.

Date: 2020-09-05

Comments and reviews: 9


Can someone help me with some advice? As I understand it, printing in an interrupt is bad because printing depends on interrupts. If I try the same code as he shows in the video I get some random values. Can someone explain what's wrong? Also, does TCNT1 resets itself once it overflows? I had a problem where I had to manually set it to 0 when the overflow interrupt ISR occurred or I would get some random values on an LCD triggered through a flag in that ISR.
reply

Hello,
I'm trying to expand a bit on microcontrollers. I think I can follow the theory of timers correctly what stops me from fully comprehending it is that in the Arduino IDE for example if you declare a variable with the name of the register does the compiler automatically know to access this register and does that work with other microcontrollers?

reply

Dear Scott please add videos for begginers without any Arduino commands or more calculation. for eg. A regulated 5v/2A, powebank circuit with battery low and full, and overcharge indications as led, using 3. 7v lithium ion or lithium polymer batteries. hope you will come soon with some designs.
reply

I didn't understand a thing, but great video! I know what a Timer Register is. My project depends on it but I can't get a thing from the video and of course I am trying at least run an example on my arduino.
reply

I have been working on a project using LCDs and Stepper Motors for the past two weeks and this is the exact video I have been looking for; of course it comes from one of my favorite youtubers. Keep it up!
reply

Hi, GreatScott, how can we manipulate timers to create phase shifted Pwm, inverted sometimes dont help when you want minimum duty cycle on positive sides, i dont have a Oscilloscope to test techniques
reply

Could you do an explanation on how you figure out what registers you need for X microcontroller? I have no idea how to read the documentation and how all the registers fit together.
reply

I have a question for you GraetScott. Why The register TCNT1 will count up to 8 bit value in fast PWM mode, while it is a 16 bit register (TCNTL1 and TCNTH2)?
reply

thanks so much for this. i understand how timers work on microcontrollers and how pwm is generated, this is awesome. I just made a pwm on AT89C2051 chip: )
reply
Add a review, comment






Other channel videos