You Are Here: Home » AVR ATmega Projects » LED Projects

LED Mood light

In this projects 8 different colors are displayed with the use of a RGB LED. The microcontroller that is used is the ATMega8. An RGB LED is a LED which has three LED's integrated in one packaging. These LED's have the colors red, green, and blue. Such a LED costs about 1 Euro. With these three colours you can mix to any colour. When using 8-bit PWM a number of 255 * 255 * 255 (= 16581375) combinations can b ...

Read more

LED Driver MAX7219 – clock

Below is the schematic that shows how the IC is wired to the ATMEGA328 microcontroller and the 4 digit 7-segment display with comon cathode.   Besides the MAX7219 you need only three other external components: two capacitors and one resistor. The capacitors are here to reduce noise signals and cannot be ommited. The resistor is used to set the limit for the LED's current. It should be at least 10kohm. ...

Read more

Using Push Button Switch with Atmega32 and Atmel Studio

This tutorial is meant for beginners in the field of Atmel AVR programming. I hope that you already read my first tutorial Blinking LED using Atmega32 and Atmel Studio. In most of the embedded electronic projects you may want to use a push button switch to give user inputs to the microcontroller. To use a push button switch with a microcontroller, first you should configure the corresponding pin as input. T ...

Read more

POV Cylinder with Arduino Due

Story Introduction This is my first Arduino project. My work was inspired by several maker projects that created Persistence of Vision Displays [2,3,4]. Persistence of vision (POV) refers to the optical illusion whereby multiple discrete images blend into a single image in the human mind and believed to be the explanation for motion perception in cinema and animated films [1]. The projects [2,3,4] implement ...

Read more

OLED on the Cheap!

Things used in this project Hardware components: OLED 128x64 SPI-capable Available on Aliexpress or eBay for $4 to $20 × 1 For standard Arduino platforms, use the unmodified Adafruit libs × 1 Story I like cheap electronics for playing. Cheap is good for budget conscious hobbyists and China is delivering lots of toys for playing - one being the inexpensive "mono" OLED displays.  The single-color displays oft ...

Read more

Bootload Your ATtiny85

Story What is a Bootloader? Microcontrollers require a programmer to install firmware on them. A programmer is a device, that when combined with software, loads firmware to the microcontroller. There are many programmers available. I won't go into to detail about them, but I will say that if you intend to do more than just tinker with microcontrollers, you will want to invest in a programmer. The Arduino ID ...

Read more

SSD1306xLED Tinusaur ATtiny85 Library for SSD1306

Story SSD1306xLED is a C library for working with the SSD1306 display driver to control dot matrix OLED/PLED 128×64 displays. It is intended to be used with the Tinusaur board but should also work with any other board based on ATtiny85 or similar microcontroller. The 128×64 OLED is controlled by a SSD1306 circuit and could be interfaced over I²C. The code could be divided in 3 pieces: Communication over I²C ...

Read more
Scroll to top