code

USnooBie RFID KeyboardKeyboard

USB RFID Reading Keyboard using USnooBie using Atmega

video USB RFID Reading Keyboard Demo https://youtu.be/IdGpSafJISI This is a step by step tutorial on how to build a RFID tag reading USB keyboard using the USnooBie. This tutorial is provided with the project files. The code files are heavily commented with references to relevant documentation. Watch the two part videos below to see how to build and […]

USB RFID Reading Keyboard using USnooBie using Atmega Read More »

connect parts

AVR/Arduino RFID Reader with UART Code in C using Atmega

RFID is the craze, found everywhere – from inventory systems to badge ID systems. If you’ve ever been to a department store and walked through those metal-detector-looking things at the entrace/exit points, then you’ve seen RFID. There are several places to find good information on setting up RFID, and this instructable focuses on installing the Parallax RFID reader (Serial TTL)

AVR/Arduino RFID Reader with UART Code in C using Atmega Read More »

Digital Stop Watch

Digital Stop Watch with ATmega8 using microcontroller

Hello Friends, In this tutorial we will make a “Digital Stop Watch” using an AVR ATmega8 Microcontroller. This will help you learn many concepts like Multiplexed Seven Segment Display Interfacing Using AVR Timers Using Interrupts And many others too. The code is written in C language for avr-gcc (WinAVR) . Steps to Build the “Digital Stop Watch”

Digital Stop Watch with ATmega8 using microcontroller Read More »

consideration

3 channel, 8 bit EEPROM DAC with DS interface using ATtiny12 microcontroller

•Low power •EEPROM memory for autonomous operation, 16 bytes available for general purpose use. •Low cost This device provides three channels of 8 bit pulse-width modulation. Output pulse duty cycle ranges from 0 to 255/256 in 255 steps. DACs may be loaded by the DS interface. DAC values may also be copied into the on-chip EERPOM

3 channel, 8 bit EEPROM DAC with DS interface using ATtiny12 microcontroller Read More »

595 shift registers

How to drive 595 shift registers with AVR hardware SPI using ATmega168 microcontroller

Driving a shift register using an AVR chip’s built-in hardware is really quite easy. Most of their offerings have an SPI module, or Serial Peripheral Interface. A shift register is exactly that, a peripheral device that communicates via a serial line. All we need to do is hook up our connections and use a few

How to drive 595 shift registers with AVR hardware SPI using ATmega168 microcontroller Read More »

Infrared Theremin

Infrared Theremin Using Atmega1284

Introduction A modern-day twist on the classic theremin musical instrument. This project uses two IR sensors and the ATMEGA1284P microcontroller to create an inexepensive, easy-to-use theremin. The theremin is a musical instrument which is controlled by the electromagnetic field your body body produces naturally. One hand is used to control the volume of the instrument,

Infrared Theremin Using Atmega1284 Read More »

SPM for Flash to Flash Programming

How to Use SPM for Flash to Flash Programming Using Atmega

The Self Programming Mode (SPM) is a feature which enables a microcontroller to program its own flash memory. Using the SPM a microcontroller can program itself with an SPM code. The SPM is commonly used with the microcontroller Boot-Loader codes which help to program the microcontroller serially. In AVR microcontroller the SPM is available only for the code

How to Use SPM for Flash to Flash Programming Using Atmega Read More »

External Hardware Interrupts

How to use External (Hardware) Interrupts of AVR Microcontroller (ATmega16)

This article introduces the concept of interrupts and the different types of interrupts in AVR Microcontroller (ATmega16). Interrupt as the name suggests, interrupts the current routine of the microcontroller. Microcontroller executes instructions in a sequence as per the programs. Sometimes there may be a need of handling planned and higher priority events instantaneously that might occur during the

How to use External (Hardware) Interrupts of AVR Microcontroller (ATmega16) Read More »

JTAG

How to disable JTAG of AVR microcontroller using Atmega

JTAG stands for “Joint Test Action Group” which was standardized as the IEEE 1149.1 Standard Test Access Port and Boundary-Scan Architecture in 1990. JTAG is generally used in IC debugging and device programming. Atmega16 consists of one JTAG port which shares four pins with PORTC. Until JTAG port is not disabled, these pins can’t be used as normal I/O pins.

How to disable JTAG of AVR microcontroller using Atmega Read More »