Currently browsing category

Embedded

arm_logo

Why am I getting a FLEXlm -15 license error, even though my license server is running?

Answer If you get the following error message on your client when you try to use a licensed feature, even though your license server has definitely been started, then the communication between the server and client has probably been blocked. “<command line>”: Error: A1439E: Cannot obtain license for “<featurename>” with license …

assert

assert_param()

The objective of the above function is to check if critical condition is met. If not it would use a standard function to print out where assertion fail. This is very useful. You can turn the assertion off after thorough testing. 1. Uncomment USE_FULL_ASSERT in stm32f10x_conf.h /* Uncomment the line below …

SPI : Connecting Three Slaves To a Master Microcontroller Using ATmega16

  Introduction to SPI: SPI stands for Serial Peripheral Interface, it allows high-speed synchronous data transfer between the ATmega16 and peripheral devices (or between several AVR devices). It has the following properties: Full-duplex Three-wire Synchronous Data Transfer Master and Slave Operation How It Works: The Master initiates the communication cycle when …

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 …