Educypediathe educational encyclopedia
Electronics-theory
Analog
Audio - acoustics
Audio - electronics
Audio - loudspeakers
Components-active
Components-passive
Component - sensors
Digital - electronics
Digital - I2C - I2S
Digital - Programming
Electricity High Voltage
Electricity - machines
Electricity - theory
General overview
Miscellaneous
Optics
Power control systems
Power electronics
RF - antennas
RF - antenna - WLAN
RF - communication
RF - radio - tuning
Telephony
Tubes
TV-video-DVD
 
Utilities - tools
Animations & applets
Application notes
Cabling
Calculators
Circuits
Databank - tables
Datasheets
Measurement
Repair
Software - electronics
 
Local sitemap
Sitemap

  
 

AVR and PIC microcontrollers

A microcontroller is a complete small computer on a single integrated circuit, combining a processor core, program and data memory, and input/output peripherals in one inexpensive package. Unlike a desktop processor it is designed to be embedded inside a product, reading sensors and switching outputs to control a device. Two of the most widely used families in hobby and educational electronics are Atmel's AVR and Microchip's PIC, both of which span a range of parts from tiny 8-pin chips to larger devices with many peripherals.

The AVR is an 8-bit microcontroller family with a RISC-style core, on-chip flash program memory and a set of peripherals such as timers, analogue-to-digital converters and serial interfaces. Its flash memory can be reprogrammed many times, which suits experimentation, and it became especially well known as the chip at the heart of many early Arduino boards. The PIC family from Microchip serves a similar role and is equally popular; older 8-bit parts such as the PIC16C84 introduced many builders to in-circuit programming. The long-established 8051 architecture, originally from Intel, is another classic core still produced by many makers.

Microcontrollers are programmed by writing code in C or assembly language, compiling or assembling it into machine code, and loading that code into the chip's program memory with a programmer or bootloader. Development typically uses a toolchain of compiler, assembler and a programming tool, and simulators allow code to be tested before it runs on real hardware. Once programmed, the microcontroller runs its stored program independently each time it is powered on.

Frequently asked questions

What is a microcontroller?
It is a single chip containing a processor, memory and input/output peripherals, designed to be embedded in a device and run a fixed program that controls it.
How do AVR and PIC differ from a desktop CPU?
They integrate the processor, memory and I/O on one low-cost chip aimed at embedded control, rather than being a high-performance processor needing external memory and support chips.
How is a microcontroller programmed?
Code written in C or assembly is compiled into machine code and loaded into the chip's flash memory using a programmer or bootloader, after which the chip runs that program on power-up.




Programmable logic:    
AVR Resources PIC general overview Programmable logic
Basic Stamp PIC Software VHDL

AVR Resources  related topics: Basic stamp circuits, Microcontroller & PIC circuits
Atmel.com
Atmel instruction set Atmel AVR instruction set, pdf file
AVR assembler A command line assembler for all AT90S-, AT90CAN-, ATtiny- und ATmega-Types of microcontrollers of ATMEL, with many extended and new features. Works on DOS, Win32 and Linux(i386) command lines
AVR assembler tutorial Downloads Binary calculations in AVR Assembler, Beginners Programming in AVR Assembler, Connecting a keypad to an AVR
AVR-based Robot
AVR beginners.net AVR Assembler, Converting Numbers (Also asm), AVR Architecture, Interfacing Examples, Software, ATmega8 Dev Board
AVR Butterfly Circuit
AVR Butterfly Introduction The AVR Butterfly is designed to demonstrate the benefits and key features of the AVR microcontrollers, pdf file
AVR Butterfly Programming
AVR Butterfly Primer
AVR C tutorial AVR-Tutorial
AVR freaks AVR Projects, AVR Mega32 Student Projects, 360 degree sonar, control dc motor by pwm and pid, USB Prototyping Board, Household TrueRMS Watt Matter, AVR Tools, AVRFreaks's documentation CAN on the AVR, Newbie's Guide To AVR Development, ...
AVR micro as car battery monitor
AVR Microcontrollers Linux AVR tools
AVR microcontrollers from Atmel C language tutorial for AVRs (AVRstudio 4 + AVR-GCC plug-in), 2 channel RF remote control, SMS remote control v2.2, Communication of TRW-24G RF modules with AT90S2313 microcontroller, Acceleration meter for cars, ..., Programable LCD counter with memory backup
AVR RISC Controller for Cool Projects
BASCOM-AVR BASCOM-AVR application notes, PID motor controller, Sony Remote Control Decoding with BASCOM AVR, LCD display with touchscreen and AVR, Car Windscreen Wiper Control with ATtiny13, Transfer data between MS Excel & MCU, CodeLock AVR 8802, MCS Bootloader, Using MAX1668 with BASCOM-AVR, M8 Bootloader, IR touch panel, Using MCP23016, RPM meter and rotational speed sensor KMI15/1 with AT90S2313
Intro to the Atmel ATmega 128 Microcontroller To introduce students to the Atmel ATmega 128 microcontroller, STK500 and STK501 interface boards, and associated hardware, pdf file
Jesper's AVR pages
LED Patterns with AVR micro This AVR Startup Project will create a rolling display pattern using up to 8 Light Emiting Diodes. But more importantly, this page demonstrates how to set up and run a basic program using the power ATMEL AVR development kit
Linux Atmel AVR Tutorial Specifically, on this page you'll find instructions for assembling and programming the AVR ATmega32 using a AVR-P40-USB prototyping board
Micro based PIR to IR remote converter An Atmel AT90S1200 controlling a panasonic VCR, panasonic remote control system
Obsolete AVR Stuff
PonyProg Tutorial
Radio controlled clock (DCF77) using AVR The signal received by a small DCF antenna has to be decoded to get the actual time and date. This information is to be displayed on a LCD with a HD44780 compatible controller, pdf file
Sinusoidal driving of 3 phase permanent magnet motor pdf file
Tuxgraphics.org AVR Microcontrollers and general electronics projects
WinAVR WinAVRTM is a suite of executable, open source software development tools for the Atmel AVR series of RISC microprocessors hosted on the Windows platform. It includes the GNU GCC compiler for C and C++
 
ATMEL programmer 
Atmel AVR/programmer
PonyProg serial device programmer, PonyProg is a serial device programmer software with a user friendly GUI framework available for Windows95/98/ME/NT/2000/XP and Intel Linux. Its purpose is reading and writing every serial device. At the moment it supports I²C Bus, Microwire, SPI eeprom, the Atmel AVR and Microchip PIC micro

Home | Site Map | Email: support[at]karadimov.info

Last updated on: 2026-06-24 | Copyright © 2011-2021 Educypedia.

https://educypedia.org

 

 

 

 
Powered by ITCom Solutions