Tag Archives: ATtiny2313

Tiny-Dice: Electronic Dice Using an ATtiny2313


by Florian Schäffer:

This simple electronic dice is an ideal starter project to introduce youngsters and those still young at heart to the dark arts of microcontrollers and circuit building. We take you step by step through the process. For your troubles you will build a useful electronic dice. It will put an end to you scrabbling around under the table to retrieve a dice that’s been carelessly tossed and also an end to cheating… It landed on a six! It really did… yeah right.

This simple circuit simulates the rolling of a dice (or ‘die’ to pedants). When the roll button is pressed the display shows random numbers in the range of one to six, after a while the display settles with one number on the LED display.

Tiny-Dice: Electronic Dice Using an ATtiny2313 – [Link]

Minimalism AVR development board


Baoshi of DigitalMe wrote an article detailing his minimalism ATTiny2313 development board build:

The AVR chip I’m talking about is Atmel ATTiny2313, in SOIC-20 package. To make the development board, I bought some 28 pin SOIC/SSOP to DIP adapters. These adaptors usually come in double sided design. Corresponding pins on both sides are connected via the plated through holes at edges.
I made a 2×3 AVR programming header by pulling off pins (longer ones) from a double-row right angle pin header and reinsert them into the plastic base. A needle nose pliers is very handy for this purpose.


Minimalism AVR development board – [Link]

Infrared remote controlled light switch with ATTiny2313


by Vadim Panov:

Back when I was only starting to dabble in electronics, I needed a project that would meet the following requirements:
simple to make;
original (i.e. done entirely by myself from scratch);
containing a microcontroller;
and maybe the most important of all, useful. I’ve had enough devices I assembled just to dismantle the whole thing a month later.
The thing I came up with at the time was a light swich for my room controlled over an IR remote from TV. Remote that I had used RC-5 protocol, hence the firmware is suited for any RC-5 compatible remote.
Everyone is familiar to the everliving problem with switching the lights off in your room before going to bed and stumbling back across the room. The IR switch I describe here solves that problem, and I can definitely tell that this project was a success – I am still using it with no regret.

Infrared remote controlled light switch with ATTiny2313 – [Link]

The Idiot’s Guide to Programming AVR’s on the Cheap


Evilthingamabober @ instructables.com writes:

Microcontrollers are, without a doubt, amazing little things. They are versatile, powerful, and extremely tiny. Unfortunately, the latter trait is also shared by both my wallet and my programming skills. My understanding of C is poor, and I can hardly afford to buy something like an Arduino or a decent ISP. And in any case, the Arduino would be overkill for many of my projects, which only need simple IC’s.

But as many of you know, DIY always finds a way. This tutorial is meant for those among us with no budgets or programming experience who want to start using these little machines. It is not based around the ATmega328 (the Arduino Uno chip), but rather the Attiny line of chips (the Atiny85 and Attiny2313, to be specific). The total cost of this project can go as lower than $15 if you know where to buy from, and you can still use the original Arduino IDE and language to program your projects in the end. Keep in mind that you will need some soldering skills to get this project done.

The Idiot’s Guide to Programming AVR’s on the Cheap – [Link]

Attiny 2313 V-USB Media Volume Control


Attiny 2313 V-USB Media Volume Control. [via]

My most rewarding projects are the ones which i actually use. I like my audio gear so, this was the perfect companion project! On my desk i have a headphone amplifier for my AKG K702′s headphones, below it i have my self built Onixia integrated amplifier for my bookshelf speakers. I have been thinking about making a global volume control for both devices for quite some time… here is the results of my efforts.

Attiny 2313 V-USB Media Volume Control – [Link]

ATTINY2313 Thermometer width DS18S20


via avrs-at-leipzig.de:

In my new Dacia Duster is missing unfortunately an outside temperature indication. A finished thermometer with LCD did not separate from there while the contrast with sunlight usually particularly is. I had still alphanummeric LED display in red there for this project in the best way am suitable. As microcontroller i used a ATTINY 2313. The temperature sensor is a 1-Wire-digital sensor, thus the alignment of the sensor is void.

ATiny2313 Thermometer width DS18S20 – [Link]

1Hz to 10MHz frequency meter using ATtiny2313


This AVR-based Frequency Meter is capable of measuring frequencies from 1Hz to 10MHz with 1 Hz resolution. The hardware of this project consists of seven 7-segment displays, AVR ATtiny2313 uController, and a few transistors and resistors. The AVR counts input pulses for a precise 1 second interval (generated using the built-in Timer) and displays the result on the multiplexed seven segment LED displays. [via]

1Hz to 10MHz frequency meter using ATtiny2313 – [Link]

ATTiny2313 controlling a HD44780 LCD via AVR-GCC

Ian @ dangerousprototypes.com writes:

We came across Scott Harden’s brief article describing how to control an HD44780 LCD using an Attiny2313. After a number of unsuccessful attempts with other code he found this LCD library written by Martin Thomas for use with AVR-GCC. With a few mods to the code Scott produced the above results controlling his 2×20 LCD in 4-bit mode. The code provides for scrolling and wrapping and can even display Japanese characters. A handy tip for ATTiny2313 users.

ATTiny2313 controlling a HD44780 LCD via AVR-GCC – [Link]


Pcb countdown timer

dselec.wordpress.com writes:

This is a countdown counter based on ATtiny2313, primary developed for my PCB exposure box, but it can be used for other purposes too.

The counting range is between 1 and 90 minutes and it can be adjusted with up or down buttons (high and low in the pictures).

After the desired time is set, the countdown starts by pressing the start/stop button (on/off in the pictures). By pressing the same button we can interrupt the counting at any time we want.

After the count expires we hear a beeping sound and the load is disconnected. By pressing start/stop button we reset the counter and we are ready for another lap. All actions included the time remaining are shown in the LCD display.

Pcb countdown timer – [Link]

ATtiny2313 Based Thermostat

Phil writes:

My parents growing their own organic food and they asked me to deal with winter temperatures problem in the storage room. It gets really cold here, in Ukraine. Some winters have even lower temperatures than -30°C (-22°F). So right now I designing a simple thermostat for keeping temperature at about 5-7 degrees C above zero. Plus right now I started to use my garage as a gym, so this thermostat would be handy there too.

ATtiny2313 Based Thermostat – [Link]