interfacing

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 […]

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

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 »

Simple signal drawing on graphical LCD routines using Atmega8 microcontroller

During spare time I have been playing with graphical LCD. This time I decided to display simple signals that are stored in microcontroller memory. The idea was to read signal values from look-up table and display waveform on Graphical LCD. To make things more interesting I divided LCD screen in to smaller four screens so

Simple signal drawing on graphical LCD routines using Atmega8 microcontroller Read More »

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 »

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 »

Temperature sensor with time and date display on graphical LCD using Atmega32

Some time ago I’ve build a prototyping board with graphical LCD. It have served for various small projects and prototypes. Had a spare temperature sensor DS18B20 and decided to put simple temperature display project. GLCD board is equipped with Atmega32 microcontroller running at 16MHz. DS18B20 sensor is connected to port D pin 6. LED connected

Temperature sensor with time and date display on graphical LCD using Atmega32 Read More »

On/Off Controller – Interfacing Touch LCD LC7981 using ATMega Microcontroller

Concept of Touch LCD LC7981 using ATMega An on/off controller is the simplest form of a temperature control device. The output from the device is either on or off, with no middle state. An on-off controller will switch the output only when the temperature crosses the set-point. For heating control, the output is on when the

On/Off Controller – Interfacing Touch LCD LC7981 using ATMega Microcontroller Read More »

Barker Code-Locked Loop Synchronous Demodulator using ATtiny2313 microcontroller

A simple, low component count phase locked loop that locks onto and detects the amplitude of an incoming baseband 7 bit Barker code using a switched resistor demodulator that is driven directly by a microcontroller’s output pins. Balanced modulators using resistors and a microcontroller’s output pins. Locking into oncoming Pseudo-noise (PN) stream. Microcontroller modulates its

Barker Code-Locked Loop Synchronous Demodulator using ATtiny2313 microcontroller Read More »

Scroll to Top