I use timer two and the OC2B and OC2A registers (pin 3 and 11). Both pins generate the same output except one is an inverted output. How do i make a dead time between these outputs to make sure both are never on at the same time?
Thanks for the video. I am building a flight controller for my quad copter and need to vary the resolution on the pwm wave. Any sugestions. The manual is pretty confusing. Thanks in advance.
Could you please help me to generate two signals(20and 30kHz) with phase shift (0° and 90°), or how to add phase shifting portion in your example program
iam trying to measuring the freq and time period for square wave(iam using input capture metrhod), i connect signal to digital pin no 8 i.e ICP1. TCNT1 is automatically stored in ICR1 register during rising Edge. means during rising edge timer will overflow (0 to 65535) . what about during falling edge, which values wil it takes, how can we measure time for square wave please explain me how its working rising and falling edge............ reply any one thnks advance
I’ve been trying to write a function in the example Arduino for ISP sketch so i can write a 1mhz clock signal. I’ve been so confused and put off because the datasheet is so long and confusing. (i need to know what functions use the timers so i don’t break the sketch) In the first 4 minutes you’ve shown me how intuitive the data sheet has been all along in terms of realizing that each timer has two channels and etc. thank you.
Every time I try to access the lectures' PDFs it gives me "Forbidden You don't have permission to access /files260/Lectures/ on this server. Apache Server at 128.123.131.68 Port 80 "
Had to adjust the code to get it to run on my Arduino Uno. Mine didn't like the |= on some of the registers, and TCCR0A needed to come before OCR0A and OCR0B- // Quadrature encoder simulator PORTD &= 0b10011111; //set pins 5,6 to zero DDRD |= (1
Hello, nice video! Is possible configure one timer for 1 hour to activate a interrupt Robert Paz? I want put the arduino in sleep mode, during 1 hour. May you help me? Thanks
I use Screenflow on the Macintosh. It allows the use of Green Screen (chroma key). To learn more about this, see my video at 128.123.131.68/Inverted/page1/index.html
hey, great job here, learning a lot. Just one thing, CTC mode is WGM = 100.. not 010, or this settings are differents for differents arduino boards? thanks a lot!
Hi Robert Paz: I was not able to access the lecture slides at: "drive.google.com/openid=0B5jlwlXJI8pJVGgwOEg5TFNBTGs". It shows a 404 ERROR. Will it be possible to share the lecture slides for all the videos including your videos on "Arduino Assembly", "Arduino Basics" & "Hands-on Arduino". This would help a lot of people as it would be good reference material. Thanks a ton in advance.
It si shame, that it was not explained on the ex. of the input capture. A very very... useful feature :-) I write now for car onboard comuter. Thanks for your videos tutorials, you go really into detail!!!
|= is a bitwise OR and an assignment operation. | is the bitwise OR, the = assigns the results the variable on the left. 8 bit binary OR Example 11000000 | 00001000 equals 11001000. Your example above also uses left shift to create a binary number: 1
1. The teacher assumes I already know what he is about to teach, (2) over explains some ideas while ignoring others., (3), does not relate one point to another, and (4) put me to sleep in less than three minutes. Great sleep aid.
Incredibly useful video. Its all makes sense now. Thank you!!
I use timer two and the OC2B and OC2A registers (pin 3 and 11). Both pins generate the same output except one is an inverted output. How do i make a dead time between these outputs to make sure both are never on at the same time?
This is a real gem of a video.
God bless you. I understand it now. Thanks.
Thanks for the video. I am building a flight controller for my quad copter and need to vary the resolution on the pwm wave. Any sugestions. The manual is pretty confusing. Thanks in advance.
Thank you so much!
Your explanations work well for me thank you
Hi Robert, can you have multiple interrupts triggered by Timer1 at different counts to do different things? Such as ISR1, ISR2, ISR3 etc? Thanks!
Could you please help me to generate two signals(20and 30kHz) with phase shift (0° and 90°), or how to add phase shifting portion in your example program
Thanks for sharing. Gracias pro compartir.
iam trying to measuring the freq and time period for square wave(iam using input capture metrhod), i connect signal to digital pin no 8 i.e ICP1. TCNT1 is automatically stored in ICR1 register during rising Edge. means during rising edge timer will overflow (0 to 65535) . what about during falling edge, which values wil it takes, how can we measure time for square wave please explain me how its working rising and falling edge............
reply any one
thnks advance
I’ve been trying to write a function in the example Arduino for ISP sketch so i can write a 1mhz clock signal. I’ve been so confused and put off because the datasheet is so long and confusing. (i need to know what functions use the timers so i don’t break the sketch)
In the first 4 minutes you’ve shown me how intuitive the data sheet has been all along in terms of realizing that each timer has two channels and etc.
thank you.
very good lesson thank ypu
but where can i download the slides ? the link is not working :(
Excellent Presentation..!! Now on on Interrupts..;)
Every time I try to access the lectures' PDFs it gives me
"Forbidden
You don't have permission to access /files260/Lectures/ on this server.
Apache Server at 128.123.131.68 Port 80 "
Description of system timer/counter circuitry in the motherboard?
Had to adjust the code to get it to run on my Arduino Uno. Mine didn't like the |= on some of the registers, and TCCR0A needed to come before OCR0A and OCR0B-
// Quadrature encoder simulator
PORTD &= 0b10011111; //set pins 5,6 to zero
DDRD |= (1
yes you are right
I appreciate, it works
Thanks.
Hello, nice video!
Is possible configure one timer for 1 hour to activate a interrupt Robert Paz?
I want put the arduino in sleep mode, during 1 hour. May you help me?
Thanks
Could you give the name of the program that you use to record lecture like that (displaying your image in the corner)
I use Screenflow on the Macintosh. It allows the use of Green Screen (chroma key). To learn more about this, see my video at
128.123.131.68/Inverted/page1/index.html
u r Master tnx i like u
hey, great job here, learning a lot.
Just one thing, CTC mode is WGM = 100.. not 010,
or this settings are differents for differents arduino boards?
thanks a lot!
No they should be the same. Thanks for pointing this out.
im hooked
Doesn't feel like hidden knowledge anymore, this is better than Breaking Bad
Hi Robert Paz: I was not able to access the lecture slides at: "drive.google.com/openid=0B5jlwlXJI8pJVGgwOEg5TFNBTGs". It shows a 404 ERROR. Will it be possible to share the lecture slides for all the videos including your videos on "Arduino Assembly", "Arduino Basics" & "Hands-on Arduino". This would help a lot of people as it would be good reference material. Thanks a ton in advance.
drive.google.com/open?id=0B5jlwlXJI8pJVGgwOEg5TFNBTGs
It si shame, that it was not explained on the ex. of the input capture.
A very very... useful feature :-) I write now for car onboard comuter.
Thanks for your videos tutorials, you go really into detail!!!
what is 0b at PORTD initialization ?
thank you ! I liked。 can you display for chinese text.
A dude whats means the "&" and "|" symbols on PORTD &= 0b10011111,,,,TCCR0A |= (1
|= is a bitwise OR and an assignment operation. | is the bitwise OR, the = assigns the results the variable on the left.
8 bit binary OR Example 11000000 | 00001000 equals 11001000.
Your example above also uses left shift to create a binary number: 1
Quite a slow lecture. Too many pauses and 'ummm's and 'errr's .
1. The teacher assumes I already know what he is about to teach, (2) over explains some ideas while ignoring others., (3), does not relate one point to another, and (4) put me to sleep in less than three minutes. Great sleep aid.
At 50 hahhaahahahah what a joke
The presentation is so dry, it might as well be recorded by a bot. Can't learn when you're sleeping.