Tech Video Clips

PWM (Pulse Width Modulation) Setting the Invert...

Inverted mode is where the pulse happens at the end of the period. Non-Inverted mode is where the pulse happens at the beginning of the period. In inverted mode, the...

PWM (Pulse Width Modulation) Setting the Invert...

Inverted mode is where the pulse happens at the end of the period. Non-Inverted mode is where the pulse happens at the beginning of the period. In inverted mode, the...

PWM (Pulse Width Modulation) Selecting the Corr...

There are two types of WGM (Waveform Generation Modes), phase correct or fast PWM. Within those modes, you can set the WGM to be CTC (Clear on Timer Compare) where...

PWM (Pulse Width Modulation) Selecting the Corr...

There are two types of WGM (Waveform Generation Modes), phase correct or fast PWM. Within those modes, you can set the WGM to be CTC (Clear on Timer Compare) where...

PWM (Pulse Width Modulation) General Discussion...

The 8-bit timer for the AVR can create a PWM using OCR (Output Compare Register). The OCR can be used as an overflow for the timer (CTC - Clear on...

PWM (Pulse Width Modulation) General Discussion...

The 8-bit timer for the AVR can create a PWM using OCR (Output Compare Register). The OCR can be used as an overflow for the timer (CTC - Clear on...

PWM (Pulse Width Modulation) General Discussion...

This video specifically applies to hobby servo control, but is a good discussion on using the 16-bit timer to create a PWM. The period can be created using the 16-bit...

PWM (Pulse Width Modulation) General Discussion...

This video specifically applies to hobby servo control, but is a good discussion on using the 16-bit timer to create a PWM. The period can be created using the 16-bit...

PWM (Pulse Width Modulation) General Discussion...

Phase Correct PWM is just the pulse positioned at the middle of the period. The timer/counter is able to do this because instead of the timer overflowing and resetting the...

PWM (Pulse Width Modulation) General Discussion...

Phase Correct PWM is just the pulse positioned at the middle of the period. The timer/counter is able to do this because instead of the timer overflowing and resetting the...

PWM (Pulse Width Modulation) Determine the Peri...

The period is determined according to what period the device that you will be delivering the PWM to will accept. In this case, the PWM is being sent to a...

PWM (Pulse Width Modulation) Determine the Peri...

The period is determined according to what period the device that you will be delivering the PWM to will accept. In this case, the PWM is being sent to a...

PWM (Pulse Width Modulation) Conversion to Anal...

A PWM can be converted to an analog voltage using capacitors. Since a PWM signal is a set of pulses, the capacitor will charge up with the pulses but release...

PWM (Pulse Width Modulation) Conversion to Anal...

A PWM can be converted to an analog voltage using capacitors. Since a PWM signal is a set of pulses, the capacitor will charge up with the pulses but release...

Push Button Switch Intro and Schematic Symbol

General description of a push button switch and button switch schematic symbol. The push button is a momentary switch that will only cause its leads to connect when held in...

Push Button Switch Intro and Schematic Symbol

General description of a push button switch and button switch schematic symbol. The push button is a momentary switch that will only cause its leads to connect when held in...

Push Buttons and Switches Described

General description of push buttons and switches. Push buttons are momentary switches where the button must be held down to create a connection between its leads. Switches are generally devices...

Push Buttons and Switches Described

General description of push buttons and switches. Push buttons are momentary switches where the button must be held down to create a connection between its leads. Switches are generally devices...

Push Button and Switch Bounce (Intro to Debounc...

General explanation of push button and switch bounce. Removeing the push button or switch bounce is called debouncing the swith or push button. Debouncing can be addressed in two ways,...

Push Button and Switch Bounce (Intro to Debounc...

General explanation of push button and switch bounce. Removeing the push button or switch bounce is called debouncing the swith or push button. Debouncing can be addressed in two ways,...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, an LED, connected to...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, an LED, connected to...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, an LED, connected to...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, an LED, connected to...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, a set of LEDs...

Programming and Result: Using the Timer/Counter...

The Timer/Counter is used to count against a known clock frequency, the internal clock source for the AVR microcontroller. In the first part of the experiment, a set of LEDs...

Programming and Result: Invoking the Global Int...

To make sure that the interrupt will work, the global interrupt (I-bit in SREG) must be used: sei();

Programming and Result: Invoking the Global Int...

To make sure that the interrupt will work, the global interrupt (I-bit in SREG) must be used: sei();

Programming and Result: Creating a Functions to...

Using the commands and sending characters to the LCD to put a number on the screen at a specified location takes a few lines of code, where this is not...

Programming and Result: Creating a Functions to...

Using the commands and sending characters to the LCD to put a number on the screen at a specified location takes a few lines of code, where this is not...

Programming and Result: ADC (Analog to Digital ...

The ADC has a noise cancelling features described below: Circuit Specific: Analog Noise Cancelling Techniques: The ground plane specifications, using an inductor or 10 mH and 100 nf (nano farad)...

Programming and Result: ADC (Analog to Digital ...

The ADC has a noise cancelling features described below: Circuit Specific: Analog Noise Cancelling Techniques: The ground plane specifications, using an inductor or 10 mH and 100 nf (nano farad)...

Programming and Result: ACD (Analog to Digital ...

The ADC (Analog to Digital Converter) converts an analog voltage between a range of voltages and provides an 8 to 10 bit number in proportion to the voltage sensed by...

Programming and Result: ACD (Analog to Digital ...

The ADC (Analog to Digital Converter) converts an analog voltage between a range of voltages and provides an 8 to 10 bit number in proportion to the voltage sensed by...

Programming and Breadboarding: ADC (Analog to D...

The reference voltage is the top voltage that will be considered in the conversion. The pressure sensor output will be between 0v and 5v. Our circuit already has this voltage...

Programming and Breadboarding: ADC (Analog to D...

The reference voltage is the top voltage that will be considered in the conversion. The pressure sensor output will be between 0v and 5v. Our circuit already has this voltage...

Programming: Variables Explained

An understanding of what variables are. Variables are containers like baskets that carry an amount and a type of thing in the basket. With variables, there is a type of...

Programming: Variables Explained

An understanding of what variables are. Variables are containers like baskets that carry an amount and a type of thing in the basket. With variables, there is a type of...

Programming: Using the While Loop (Loop Through...

To loop through a set of characters using a pointer:while(*StringOfCharacters > 0) { Send_A_Character(*StringOfCharacters++); } Since the ++ is at the end of the variable, the value is returned prior...

Programming: Using the While Loop (Loop Through...

To loop through a set of characters using a pointer:while(*StringOfCharacters > 0) { Send_A_Character(*StringOfCharacters++); } Since the ++ is at the end of the variable, the value is returned prior...

Programming: Using the Shift Bitwise Operation ...

Using the bitwise shift operator is a very powerful feature. A number from one binary number can be put into another variable into any digit

Programming: Using the Shift Bitwise Operation ...

Using the bitwise shift operator is a very powerful feature. A number from one binary number can be put into another variable into any digit

Programming: Using Interrupts with the Timer/Co...

The interrupt can be used to create an event when the timer/counter TCNT1 or TCNT0 achieves a specific value. The OCR1A is used to hold this value. The TCCR1B is...

Programming: Using Interrupts with the Timer/Co...

The interrupt can be used to create an event when the timer/counter TCNT1 or TCNT0 achieves a specific value. The OCR1A is used to hold this value. The TCCR1B is...

Programming: Using #ifndef #define and #endif i...

A header file needs a mechanism to only allow the code to compile once, even if the header file is included in other files more than once. The #ifndef is...

Programming: Using #ifndef #define and #endif i...

A header file needs a mechanism to only allow the code to compile once, even if the header file is included in other files more than once. The #ifndef is...

Programming: Using #ifndef #define and #endif i...

A header file needs a mechanism to only allow the code to compile once, even if the header file is included in other files more than once. The #ifndef is...

Programming: Using #ifndef #define and #endif i...

A header file needs a mechanism to only allow the code to compile once, even if the header file is included in other files more than once. The #ifndef is...