Write a program to calculate simple interest (i = (p*r*n)/100) ,Where i = Simple interest , p = Principal amount , r = Rate of interest , n = Number of years

#include <stdio.h> int main()  {  int n;  float p, r, I;  printf(“\n Enter Amount p :”);  scanf(“%f”,&p);  printf(“\n Enter Rate r :”);  scanf(“%f”,&r);  printf(“\n Enter No of Years n :”);  scanf(“%d”,&n);  I = (p*r*n)/100;  printf(“\n Interest = %.2f”,I);  return 0; }

Temperature controlled fan using AVR Microcontroller (ATMega16)

Introduction: You may have seen so many applications of temperature control and indicators using different micro-controllers, microprocessors or other control devices. But what is the actual use of these temperature regulators is presented here. It controls the fan speed continuously, as the temperature varies. It is not a simple ON-OFF type control that activates the … Read more

Frequency Measurement and Pulse Width Measurement using Microcontroller (AT89C51)

Frequency Measurement Pulse Width Measurement using Microcontroller and Circuit designers and developers need different measuring equipment, such as digital multimeter, CRO, DSO, frequency counter, logic analyzer, etc. to test their circuits. When designing any PWM oscillator or generator or have generated any waveform, it is necessary to measure either the frequency or the time period. … Read more

Light tracker using LDR, stepper motor and AVR microcontroller

Introduction: Electricity is the most necessary and important element of human life. We cannot imagine daily life without electricity. Electricity is generated using conventional (coal, diesel) and unconventional (water, wind, sunlight) energy sources. The latest and most recent trend is to generate electricity from solar energy. The solar panel (consisting of photovoltaic solar cells) converts … Read more

2 in 1 RPM and Frequency Counter

Frequency measurement is one of the main requirements for many applications. The most obvious the frequency measurement method is using CRO (or nowadays using DSO). But this instrument is not portable or available with all students or hobbyists at any time. It’s actually a lab tool and not the portable one. It is also more … Read more

Getting Started with “C”

Communicating with a computer involves speaking the language the computer understands, which immediately excludes English as the language of communication with the computer. However, there is a close similarity between learning English and learning C. The classic method of learning English is to first learn the alphabets used in the language, then to learn how … Read more

What is “C” Programming

Before we can start writing serious C programs, it would be interesting to find out what C really is, how it came about, and how it compares to other computer languages. In this chapter we will briefly present these issues. Four important aspects of any language are how it stores data, how it operates on … Read more