Ultrasonic sensors use sound to determine the distance between the sensor and the closest object in its path. The sensor sends out a sound wave at a specific frequency. It then listens for that specific sound wave to bounce off of an object and come back. The sensor keeps track of the time between sending […]

DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated digital signal output of the temperature and humidity. The sensor includes a resistive sense of wet components and an NTC temperature measurement device and connected with a high-performance 8-bit microcontroller. RT: Typical application circuit recommended in the short cable length of 20m

Temperature & Humidity SensorRead More »

RPM Meter

In this project we use IR Tx diode and IR Rx diode. The sensor circuit diagram is as follow- The RPM meter based on two procedures It is easy to calculate pulse using external interrupt pin. Let use ATmega8 for this purpose. The logic should be as soon as any falling edge is found, it

RPM MeterRead More »

Previously we learn about timer CTC. Now what happen if we do not compare the value? In that case the timer starts from BOTTOM to the MAXimum value i.e. 0xFF (for Timer0/2) or 0xFFFF (Timer1) and that is timer overflow. In this case when the timer overflows an interrupt available i.e. Timer Overflow Interrupt vector.

Timer/Counter – OverflowRead More »

A Timer/Counter is actually a register which increases/decreases automatically according to the logic you provided. In AVR there are two types of timers 8 Bit timer 16 Bit timer Now what is the meaning of 8bits? As we already learn that 1byte is equal to 8bit. Now the formula of counting is-           n bit=2^n

Timer/Counter – BasicRead More »