I2C Communication Introduction

I2C Communication W have already discussed UART and SPI before. Next, up is I2C communication often pronounced as I-squared C or I-2-C communication. This is a protocol designed by Phillips in ’90s for communicating between devices inside the TV set. I2C simple, short...
SPI of AVR

SPI of AVR

SPI of AVR In the previous article of spi introduction, you have got the idea about the basics of SPI communication. Let’s implement  SPI communication in Atmega 16 of AVR. Registers of SPI Till now, you must have got an idea of how things in the embedded world work....
SPI introduction

SPI introduction

Comparison between SPI and UART So, you want to send the data from your controller to another. There are many ways you can do that. There are methods like UART, I2C to do the task. In this article, we are giving you the introduction of SPI communication, it’s...
PWM in Atmega 16- Part 2

PWM in Atmega 16- Part 2

PWM in Atmega 16- Part 2 In the part one of this article, I have written about the introduction of PWM. In this article, you will learn in-depth knowledge of PWM and how to use PWM in atmega16. Generating PWM using Timer in CTC mode Well, you can generate the PWM...

Timer in CTC mode in Atmega-16

Timers in CTC Mode Till now, we were dealing with the basic modes of timer 0 and timer 1. In this article, we are going to dig deeper about the timer and understand about timer in CTC mode. This is important for PWM(Pulse Width Modulation). For this tutorial, we need...