Currently browsing category

C++

Solar Tracking System Using ATmega16

Solar Tracking System Using ATmega16 Introduction Extracting useable electricity from the sun was made possible by the discovery of the photoelectric mechanism and subsequent development of the solar cell – a semi conductive material that converts visible light into a direct current. By using solar arrays, a series of solar …

Frequency meter Counter using ATmega16 or ATmega8

Frequency meter (Counter) using ATmega16 or ATmega8 In this tutorial we are going to build simple frequency meter (frequency counter) using ATmega16 and codevision avr compiler. This simple frequency meter (frequency counter) can measure frequency up to 4Mhz (theoretically) because we are using 8Mhz clock for the ATmega16 micro-controller. But you …

KS0108 GLCD with ATmega16

KS0108 GLCD with ATmega16 In this tutorial we are going to explain how to interface the graphical LCD with ATmega16 microcontroller and the compiler used is codevision avr. The GLCD used is 128×64 pixel with KS0108 driver.Since old compilers of codevision doesn’t include library for GLCD. Then you have to …

Displaying variables on LCD

Displaying variables on LCD LCD is very important when you use micro-controllers.It helps you to know what is happening inside micro-controller.When you use analog sensors such as temperature or humidity sensors and you want to display their values.The value is not constant and keep changing by time (variable).Then how you are going …

Interfacing 7 segment to PIC with just two Pins

Interfacing 7 segment to PIC with just two Pins In this tutorial we are going to explain how to interface 7 segment display to PIC 16f877a with just two pins !!!!  as shown in the following figure : As you know that 7 segment requires 7 pins to be connected …

PIC 16f877a with SevenSegment Display and keypad

PIC 16f877a with Seven-Segment Display and keypad Introduction to seven segments display:The segments in a 7-segment display are arranged to form a single digit from 0 to F. We can display a multi-digit number by connecting additional displays. Even though LCD displays are more comfortable to work  with , 7-segment …

Introduction to PIC Microcontroller

Introduction to PIC Microcontroller PIC microcontroller from microchip are very popular microcontroller. PICs are easily programmable cheap microcontroller. PICs is the name for the microchip microcontroller family (peripheral interface controller). Consisting of a microprocessor, I/O ports, timer(s), and other internal integrated hardware.  a wide range of chip sizes( from eight-pin …

DAC using ATmega 16

DAC using ATmega 16 DAC stands for digital to analog converter . In ATmega 16 there is no module which converts digital value to ana analog voltage it only contains ADC (analog to digital converter ) .Analog voltage from microcontroller can be used in many applications such as speed control …

Altera VHDL basics online course

Altera VHDL basics online course Altera is a leading corporation in the manufacture of FPGA’s (Field Programmable Gate Array) , CPLD’s (Complex Programmmable Logic Devices ) and ASIC’s (Application Specific Integrated Circuit ) . VHDL which stands for (VHSIC hardware description lanaguage ) is one of the hardware description languages …

Microcontroller Tutorial A Beginners Guide

Microcontroller Tutorial – A Beginners Guide This Course is very simple,very easy and very interesting to begin with avr microcontrollers . Course Videos : Intro to the AVR Atmega32 AVR Program Transfer Part 1 Continuation of SPI to AVR IC interface for the AVR Atmega32 Microcontroller AVR Program Transfer Part …

USBasp USB programmer for Atmel AVR controllers

USBasp – USB programmer for Atmel AVR controllers Now USB became in almost laptops and the serial port has gone and all made programmers use serial ports.in this post we will make a simple usb avr programmer connected through usb (no need for serial port). This programmer uses a Atmega8 …

VHDL Tutorial LESSON 6

VHDL Tutorial – LESSON 6 2.2 Sequential Circuit Design Example : The circuit under study will be a Counter. We will design three counters, a synchronous one using JK Flip-Flops and counts from 0 up to 6 . 2.2.1 Counter using JK Flip-Flops 2.2.1.1 Excitation Tables and Karnaugh Maps   …

VHDL Tutorial LESSON 5

VHDL Tutorial – LESSON 5 CIRCUIT DESIGN EXAMPLES 2.1 Combinational Circuit Desion Example The circuit under study will be Full Adder, We will write a behavioral code of a t-bit FA then write a structural code of a 4-bit FA. 2.1.1 The Truth Table and Karnaugh Map of a 1-bit …

VHDL Tutorial LESSON 4

VHDL Tutorial – LESSON 4 1.5 Data objects 1.5.1 Constants Constants (and Variables) are used to model the behavior of a circuit and are used in processes. A constant can have a single value of a given type and cannot be changed during the simulation. Constants can be declared at …