headerphoto

Rubrik : AVR Projects

Multiplexed 7 Segment Displays in a counter

If you have already seen the digital thermometer schematic then by using same circuit diagram you will be able to make your own counter   The Program for the counter is given below while the circuit diagram is same as Digital thermometer withou...

Martix Keypad Interfacing with Microcontrollers: AVR Programming

►Programming AVR Microcontroller ►AVR Assembly Programming for ADC0804 CODE: .include "8515def.inc" .equ col1 = PINA0 .equ col2 = PINA1 .equ col3 = PINA2 .equ col4 = PINA3.def keyval = r16.def temp = r17.def flags = r18 .equ keyport = PORTA .equ...

►Keypad Connections with AVR Microcontroller

►Keypad Connections with AVR Microcontroller Circuit shown above is for demonstration and does not include any reset and crystal circuit. For practical use you need to have a reset circuit and crystal.see connection diagram for 8051...in 8051 secti...

AVR Assembly Programming for ADC0804

Programming AVR Microcontroller ►AVR Assembly Programming for ADC0804;Read the tutorials Programming for ADC0804 interfacing CODE: .include "8515def.inc" .equ rd = PORTB0 ;Read signal PortB.0 .equ wr = PORTB1 ;Write Signal Port...

Multiple byte maths

When the 8 bit range is not enough, multiple bytes are needed to hold a value. Performing mathematical operations on them requires more work than maths on single bytes. Most of these operations can written as a macro and then be used just like normal...

Basic Mathematical Operations

Adding/subtracting, multiplying, shifting, rotating and bit manipulation of registers are essential steps when calculating addresses, offsets or other values at runtime and when converting strings to data we want to work on or data to values we c...

MCU Status

The microcontroller operates based on the Status Register (SREG) and other internal registers or components. Most important is the Status Register which holds information on the last instruction and its result and Interrupt enable status. The SREG...

Flow Charts

Flow Charts Flow charts are a graphical representation of code, Program states or even SRAM contents, if used in a creative way. Once you know how to use them for code you'll quickly develop your own style to create flow charts for almo...

Assembler Basics

Assembler is a low-level language which does not know any C-like commands like for{;;} or while{}. Assembler instructions are small, for example out PortD, r15 writes the contents of register 15 (which in an AVR can hold one byte) to ...

An asm Introduction And The Embedded

An asm Introduction And The Embedded "Hello World"!!!! Assembler is a low-level language. It consists of a list of instructions that are in no way comparable to anything you might know from C, Basic or Pascal. The AVR has about 120 of them, depend...
1 | 2 | Next »