library

pic01 orig (2)

MMC/SD/SDHC AVR Interface using ATMega8 microcontroller

MMC/SD/SDHC card library This project provides a general purpose library which implements read and write support for MMC, SD and SDHC memory cards. It includes low-level MMC, SD and SDHC read/write routines partition table support a simple FAT16/FAT32 read/write implementation The circuit The circuit which was mainly used during development consists of an Atmel AVR

MMC/SD/SDHC AVR Interface using ATMega8 microcontroller Read More »

4 bit LCD (1)

AVR-GCC 4 bit and 8 bit LCD library using ATmega8 microcontroller

Standard alphanumeric LCD display controlled by 74HC164 LCD controller can accept 8 bit data bytes or 4 bit nibbles. Earlier my 4 bit and 8 bit LCD libraries were split in separate files as they were used in different projects. Now they are merged in to one library where simple logic is implemented to select 4 bit or 8 bit library

AVR-GCC 4 bit and 8 bit LCD library using ATmega8 microcontroller Read More »

Weeks 11 12 AVR USB Devices and Programming

Weeks 11-12: AVR USB Devices and Programming Using Atmega

One of the relatively unexplored topics in this week’s lecture was USB, the ubiquitous protocol that allows computers to communicate with peripheral devices (containing microcontrollers). Creating a USB device allows any computer to talk to it without the specialized software and hardware we’ve been using so far. For these two weeks, I decided to understand

Weeks 11-12: AVR USB Devices and Programming Using Atmega Read More »

An optical dust meter

An optical dust meter that uses the GP2Y1010AU0F sensor library made with AVR Atmega

This project is a dust detector that use the GP2Y1010AU0F sensor. Attached you can also find the GP2Y1010AU0F sensor library for AVR Atmega. GP2Y1010AU0F is a dust sensor by optical sensing system. An infrared emitting diode (IRED) and an phototransistor are diagonally arranged into this device. It detects the reflected light of dust in air. Especially, it is

An optical dust meter that uses the GP2Y1010AU0F sensor library made with AVR Atmega Read More »

UV Sensor

UV Sensor ML8511 AVR Atmega library

Ultraviolet (UV) is an electromagnetic radiation with a wavelength from 10 nm to 400 nm. The ML8511 is an ultraviolet sensor that output an analog signal correlated to the amount of UV light detected. By datasheet the sensor detects wavelength from 280nm to 560nm. Here I’ve implemented a driver for AVR Atmega, portable to other microcontrollers, that correlates the sensor output

UV Sensor ML8511 AVR Atmega library Read More »

Crystal Display

Interfacing Atmel AVR with Graphics Liquid Crystal Displays using ATmega32

AVR SED1520 Library This is a C-library for avr-gcc/avr-libc to access SED1520-based graphics-LCDs. The modules used to develop the library only support “write to LCD”, read-modify- write on the display RAM is not possible. So this Library uses a “framebuffer” which holds the display-content in the AVR’s SRAM. For a 122*32 pixel display around 500

Interfacing Atmel AVR with Graphics Liquid Crystal Displays using ATmega32 Read More »