ATtiny is a family of small, low-power 8-bit RISC microcontrollers from Atmel. Commonly found in smaller Arduino prototyping platform boards and projects.

learn more… | top users | synonyms

-1
votes
1answer
38 views

Is there any online or free to download (for Windows 7) AVR simulators? [closed]

I'm currently using CodeVision AVR to write a code. Let's say I have a compiled HEX file and I'd like to try it running on a virtual processor (ATtiny861A). Google gives me some results but I'd ...
5
votes
2answers
184 views

Attiny85 hardware interrupt unreliable, 433 MHz remote

SCROLL DOWN TO SEE THE SOLUTION (UPDATE II) ORIGINAL POST: I am currently building a 433MHz remote with two buttons. The remote is controlled by an Attiny85v(8MHz). Sadly it does not work very ...
3
votes
1answer
234 views

What does the 'A' letter in Atmel's ATtiny devices mean?

I have both on stock: ATtiny861A-SU and ATtiny861-20SU. But I can not find out any difference between them except 'In-System Programmable via SPI Port' available for 'A' version. Could anyone tell ...
0
votes
0answers
56 views

WS2812 with ATtiny5 Microcontroller Code

I'm having problems with driving a single WS2812 driven LED. I'm using a much more compact version of the code here which is basically I just put in the methods I need and put it all into one file ...
1
vote
0answers
106 views

ATTiny85 to power two RGB LED strips

Currently I am trying to control two RGB LED strips with an ATTiny85 microcontroller that I programmed with an Arduino Uno. The program I have basically fades the two LED strips between blue and ...
0
votes
1answer
41 views

Fixing ATtiny45 Clocksource

I accidently changed my ATtiny45 clock source to 128khz . After that I can't program it . I tried avrdude in terminal mode but it doesn't work . ...
2
votes
2answers
156 views

How many servos can I run on an ATtiny85?

This is my first time asking a question on this website, so please correct me if I'm doing something wrong... I have been working on a small project which runs three Servo motors on an ATtiny85, ...
0
votes
2answers
57 views

ATtiny85 simulation in AtmelStudio 6.1 (build 2730, SP2)

I have written a piece of code which manipulates the DDR for port B: ...
-1
votes
2answers
91 views

How to program Atmel ATtiny88 (not 45 or 85)? [closed]

There are lots of tutorials for programming the ATtiny45 and 85 with a breadboard and Arduino, but how would I program the ATtiny88? It's an 8 bit AVR microcontroller, but it can not be mounted on a ...
1
vote
1answer
80 views

Does MCU RAM size affect quality of WAV read from SD?

I'm planning to build a cheap and compact WAV audio player that reads audio from a Petit-FatFs microSD card. The Petit-FatFs filesystem is designed for use with devices with less than 512B RAM. My ...
0
votes
3answers
79 views

attiny44a 12 MHz external crystal

I am having this configuration set in my arduino uno: Programming ATtiny84 / ATTiny44 with Arduino Uno I have even uploaded the blink LED program(using arduino sketchbook) and it works great at 8 ...
2
votes
1answer
75 views

Decoupling issue with DC Motor?

I have the following circuit : That's basically everything, excepted a button on DC1 to turn on/off the motor, but shouldn't impact. The problem is, I was prototyping with the DC Motor on the ...
3
votes
1answer
122 views

ATtiny45 Timer1 clock misconfiguration

I am overlooking something with a very simple program for my ATtiny45. A program that divides the 16MHz system clock by 16 and outputs that on pin 5 (OC0A) using Timer0 and on pin 6 (OC1A) using ...
0
votes
2answers
138 views

ATtiny 85 io High Voltage

I've search all over to no success. I tried the data sheet, but couldn't make heads or tails of it. What is the voltage of an output pin of the ATtiny 85 when high? is it just the same as the input ...
2
votes
3answers
185 views

Recognizing low-pass filters

Does the capacitor in this circuit serve as a low-pass filter? The premise of the circuit is to be a small SD card based music player. The write up, Simple SD Audio Player with an 8-pin IC, says ...
3
votes
1answer
155 views

Using a piezo disc as an input and output device to ATtiny85

I am working on an art installation and plan to use a number of these small circuits to make sounds, to sense sound/vibration and also to move the device (using a triangle wave output). This link ...
2
votes
3answers
272 views

Counter: pulse every 8 clocks

I have a square signal (fixed but can be between 12MHz and up to 48MHz) and I would like to create every 8 clocks a pulse as brief as possible, no more than 1/4 of the period. First, a couple of ...
4
votes
1answer
139 views

ATtiny45 pin change interrupt PB5?

On the ATTiny45 data sheets it states that PB5 can be used as a digital IO pin and I want to use it to trigger a pin change interrupt, my only issue is that it is also the reset pin and the moment I ...
0
votes
1answer
243 views

Program ATTiny45 with Atmel Studio and Arduino ISP

Is it possible for me to somehow upload the application I have written with C++ in Atmel studio with the Arduino ISP that I can use in the Arduino ide. I have no idea how to do this and I also have no ...
0
votes
1answer
281 views

Arduino-tiny Attiny45 PWM pins not working properly?

I am trying to use an Attiny45 as an Arduino such as here http://www.forkrobotics.com/2012/04/run-arduino-code-on-an-attiny/ using the Arduino-tiny cores. Now according to the diagram on the site pin ...
0
votes
1answer
289 views

Looking for AVR MCU with internal PLL clock source with more than 8 pins?

The 8-pin AtTiny x5 MCU (ie. AtTiny25, AtTiny45 and AtTiny85) can be set to use it's internal clock source to something as high as 16Mhz without any external components by setting PLLCLK which would ...
3
votes
2answers
771 views

Arduino as ISP for ATtiny

I am attempting to use an Arduino Duemilanove as a tool to program an ATtiny85 from the Arduino IDE. I was using the instructions at ForkRobotics which are ... Upload ArduinoISP sketch to Arduino ...
7
votes
1answer
262 views

ATtiny: no support for multiplication?

Is it true that the ATtiny AVRs have no hardware support for multiplication? It seems to work fine as I do multiplication in my code. I've also included math.h and have a couple of sin() and cos() ...
1
vote
3answers
334 views

AVR ATtiny2313 fuse-bit confirmation

I'm programming an ATtiny2313, with some hex for an infrared remote IgorPlug with AVR via USB, I'm new to AVR and need to confirm please that what he refers to the fuse configuration: Q: Is ...
2
votes
2answers
626 views

Problem programming ATTiny85 “Invalid device signature.”

I am trying to program ATTin85 using Arduino I used the hardware support file from "High-Low Tech" here http://hlt.media.mit.edu/?p=1695 With this schematic: After downloading the ArduinoISP ...
1
vote
0answers
649 views

How to wire a button for input on an Attiny85 using Arduino code?

I am trying to "shrink" my arduino project to an Attiny85. But for some reason I cannot get an input button to work on the Attiny85? To simply the circuit and to make sure I didnt make a mistake ...
5
votes
2answers
770 views

How to power an Attiny from AA batteries?

I am working on a project where I would like to power an RGB Led in a ambient light situation. I have prototyped this using an Arduino Leonardo and the led. Currently the project is plugged into the ...
3
votes
2answers
185 views

In search of a component or device that switches multiple lines based on input selection

Okay so the foundation for my curiosity is that in dealing with Arduinos, I found they can be used to program the similar but smaller ATtiny chips. This is the main hookup configuration that some of ...
6
votes
3answers
1k views

What can't the ATtiny do that the Arduino can?

Inspired by this Make Magazine youtube video, I would like use the ATtiny chips instead of the Arduino for most of my projects. The video author warns that some Arduino functions won't work on the ...
1
vote
1answer
308 views

How to connect attiny to serial port so that I can use it with Arduino IDE

I have sucesfully assembled a circuit to use Arduino UNO as a programmer for ATtiny13. However, my plan was to only burn bootloaders to my ATtinys, so that I can program them the very same way I ...
3
votes
3answers
809 views

How to connect ATTiny13 to USB?

This may be on the limit of ATTiny13 possibilities, but still: is it possible to connect ATTiny13 to USB to get ADC readings (one way)? According to this article http://www.vk2zay.net/article/211 ...
1
vote
1answer
327 views

High-voltage programming of ATTiny13 with AVRISPmkII and avrdude?

I am in the process of learning on how to program ATTiny13-20pu, and am reading this post: http://www.vk2zay.net/article/211 (archived: http://www.webcitation.org/6Imwjmidx ), which explains how to do ...
2
votes
2answers
975 views

AVRISP mkII not reading device signature

I recently bought a dozen ATtiny85 MCUs and I was trying to test one simply by putting a blink program on it via the Arduino IDE with and AVRISP mkii (Arduino 1.0.5, Ubuntu 13.04). I kept getting an ...
2
votes
1answer
328 views

ATTiny Circuit only works when connected to AVR ISP

I've got a very simple circuit (as you can see from the diagram below) with an ATTiny45 and a piezo buzzer. Everything worked great as I was testing it out and had the ISP (an AVR ISP MkII) attached. ...
2
votes
2answers
1k views

How many external interrupts has attiny85?

The title is quite self descriptive. I ask this question because I found contradicting information in the atmel web page. I need two external interrupts to control one rotary encoder. One interrupt ...
1
vote
1answer
143 views

Alternative to Arduino tone() method

Is there any easy easy way to play tones on a piezo buzzer with the Arduino other than the built in tone() method? I only need to call it a couple of times, but I notice that when I use it there is an ...
2
votes
2answers
355 views

Memory management problems with ATTiny85

The setup is as follows: I have a little program to drive single color 8x8 led matrix using 595 shift registers that are supplied with data by ATTiny85 through USI as SPI Master. I upload program to ...
6
votes
2answers
1k views

Use AVR Watchdog like normal ISR

I'm trying to wrap my head around the watchdog timer on the ATTinyX5 series. So things I've read made it seem like you could use it for making the program do something specific ever N seconds but ...
1
vote
1answer
85 views

arduino-tiny: change TIMER_TO_USE_FOR_MILLIS from sketch

In the arduino-tiny core, is it possible to change TIMER_TO_USE_FOR_MILLIS in the sketch itself? I want to be able to leave my arduino-tiny install stock but swap the timers just for one sketch. ...
1
vote
2answers
998 views

How to connect ATTiny45 to Arduino via serial/spi/i2c and send data?

I am trying to create a smart alarm system for my house. I want to have one arduino as the master and several other AtTiny's as slaves to collect data as temperature, moisture, gas concentration, ...
1
vote
1answer
228 views

How to get started with electronics and specifically cheap microcontrollers? [closed]

I have a birthday coming up and would like to try and "get into" electronics. Now seems like the ideal time to finally get enough components to get started. However I need advise choosing what to get. ...
5
votes
1answer
646 views

Calculate exact timer frequency for ATTiny

Trying to wrap my head around these overflow timers for the ATTinyx5 (45 in this particular case). I seemed to have a great handle on it with the ATMega328 but I cannot get it to work the way I want ...
3
votes
1answer
255 views

Using Prescaler above 64 on ATTiny45

I'm trying to setup Timer0 on an ATTiny45 using the arduino-tiny core. TIM0_COMPA_vect works fine for prescalers 1,8 and 64, but 256 and 1024 cause the ISR to not fire. I am running the chip at 1MHz. ...
0
votes
1answer
194 views

Interfacing TinyAVR with bluetooth and passing message

I'm looking into interfacing the TinyAVR micro controller (not sure which one will work yet) with a Bluetooth module either the CC2540 or the nRF8001. I want to have the TinyAVR micro controller use ...
2
votes
3answers
502 views

Short String overflows.text area on ATtiny85, Arduino IDE

I'm using the Arduino IDE with arduino-tiny (https://code.google.com/p/arduino-tiny/) on an ATTIny85. My code is maxing out the RAM, or so it seems: Adding a ...
2
votes
2answers
390 views

ATtiny85, ARduino IDE, TinyDebug: Error sending int values

The setup: An ATtiny85 is programmed using the Arduino IDE, it is supposed to read the ambient light from an LDR and turn on/off an LED accordingly. To get a better understanding of what my sensor ...
3
votes
1answer
227 views

ATTINY 84 Aref pin?

I want to program an ATTINY84 ucontroller using Arduino UNO as ISP. In my program I need to use the Aref that is located in pin P0 of the ATTINY84. I know I can call analogReference() on Arduino UNO ...
1
vote
1answer
354 views

ATTiny45 Quadrature Decoder Pull-Up resistors

I am trying to use the ATTiny Quadrature Decoder from here. The schematic that I have attached here has two external 10K Pull-up resistors. I have looked into the ATTiny45 datasheet and it seems that ...
0
votes
0answers
31 views

avrdude - stk500_cmd(): programmer is out of sync [duplicate]

I am trying to upload a hex file using the ISP sketch on my Arduino to use it as a programmer to program my ATtiny85, but I keep getting error messages from avrdude. After some researching I figured ...
1
vote
0answers
875 views

avrdude error - stk500_paged_write() protocol error

I am using my Arduino Uno as a programmer to program my ATtiny85. I uploaded the ArduinoISP sketch to my Uno. I double checked my wiring, did some googling, but I still can't figure out why I get this ...