led

schematic small

i2c interface to USB interface using attiny45 microcontroller

Attach any I2C client chip (thermo sensors, AD converter, displays, relais driver, …) to your PC via USB … quick, easy and cheap! Drivers for Linux, Windows and MacOS available. The i2c-tiny-usb project is an open source/open hardware project. The goal of i2c-tiny-usb is to provide a cheap generic i2c interface to be attached to […]

i2c interface to USB interface using attiny45 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 »

RX433 TX433 avr test (1)

Running TX433 and RX433 RF modules with AVR microcontrollers using Atmega8

Sometimes in embedded design you may want to go wireless. Might be you will want to log various readings of remotely placed sensors, or simply build a remote control for robot or car alarm system. Radio communications between two AVR microcontrollers can be easy when specialized modules are used. Lets try to run very well

Running TX433 and RX433 RF modules with AVR microcontrollers using Atmega8 Read More »

leds buttons

Output number when button is pressed using Atmega16 microcontroller

This is simple demo program of reading button state, lighting LEDs, sending information via USART. 8 buttons are connected to Atmega16 port A, 8 LEDs to port B via current limiting resistors. While none of buttons arent pressed there is running light on LEDs performed, but when any of buttons is pressed then LEDs display

Output number when button is pressed using Atmega16 microcontroller Read More »

Measuring motor speed (2)

Measuring motor speed and display result on LCD using ATmega8 microcontroller

For measuring motos speed there can Optical interrupter used like H21A1. This is a device where IR LED and photo-transistor is coupled in to plastic housing. The gap between then allows interrupting signal with opaque material and this way switching the output from ON to OFF. This device can be connected to Microcontrollers ICP pin and

Measuring motor speed and display result on LCD using ATmega8 microcontroller Read More »

device1

Atmel AVR-firmware based universal USB-Interface using ATTiny2313

Scanning the web on microcontroller based USB solutions, I stumbled over Objective Development’s freeware USB solution based on Atmel’s  AVR architecture. I decided to build up their reference design PowerSwitch with an ATTiny2313 MCU. Since I never used AVR chips before, the first challenge was to set up a code development environment enabling me to modify the firmware to

Atmel AVR-firmware based universal USB-Interface using ATTiny2313 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 »