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 »

ADC LCD (1)

Programming AVR ADC module with WinAVR using Atmega8 microcontroller

Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solution makes embedded designers life much easier when creating projects and programming them. With no need external ADC PCB takes less space, easier to create programs – it saves time and money. As an example lets take Atmega8 microcontroller which

Programming AVR ADC module with WinAVR using Atmega8 microcontroller 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 »

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 »

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 »

base station (1)

A Wearable Wireless Sensor System using ATmega644V

Introduction In this digital age, new interfaces for musical expression provide much broader musical possibilities than have ever existed before. There is a constant quest to be in harmony with one’s instrument so that music can flow freely from the imagination and take form effortlessly. This sparks an interest in new ways to interact with

A Wearable Wireless Sensor System using ATmega644V Read More »

Program ATMEGA328P Chip

HUB ISP – Solving the USB-Only “Chicken or Egg” Problem using ATMEGA328P

Many excellent ISP (In System Programming) designs exist for 8 bit AVR microcontrollers. However, most require a pre-programmed microcontroller, or the “Chicken or Egg” problem: you can’t program microcontrollers unless you have one already programmed. Parallel Port or Serial Port solutions have existed, but many modern computers no longer have these ports. The FTDI USB-to-serail

HUB ISP – Solving the USB-Only “Chicken or Egg” Problem using ATMEGA328P Read More »

Happy JTAG2

HappyJTAG2 – JTAG AND SPI AVR8 interface using ATmega32

New version released ! V2.45 (Check version list for details) This construction is based on HappyJTAG Idea, to implement JTAG interface into target avr system and debug it remotly via USB, without specific JTAGICE hardware. All job is done by PC softraware. HappyJTAG version is easy , but not powerfull enough.There is barriere with performance, if

HappyJTAG2 – JTAG AND SPI AVR8 interface using ATmega32 Read More »