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

0
votes
1answer
51 views

ATtiny85. How do I burn a bootloader? What is the process?

I want to use all six I/O pins of an ATtiny85, that means also using the reset pin as an I/O pin, however, I found out that if I disable the RESET pin, I can no longer program the ATtiny using an ISP ...
0
votes
0answers
52 views

ATTiny85. How do I use the reset pin as an analog input or digital output?

According to this datasheet, the ATTiny85 has 6 I/O pins if we include the reset pin. I used five of them to charlieplex 18 LEDs and I need another one to use as analog input. Would it be possible to ...
2
votes
3answers
155 views

AVR SRAM limitation

I'm just an enthusiast looking for some advice. I'd like to use a microcontroller to read frames from a camera and write those frames to a small LCD screen. The camera and screen are on the same SPI ...
1
vote
1answer
35 views

Cannot program ATTiny85 fused for 32 kHz

Now, I know what you're thinking. I've been thinking it all night too. Yes, I know that with the tiny fused for a 32 kHz crystal that I'll need the SPI clock to be 8 kHz or less. Even that, however, ...
0
votes
1answer
46 views

Square wave 40kHz with ATtiny10

I'm using a 12 MHz ATtiny10 and I would like to generate a square wave on PB0 at 40 kHz. I think that I need CTC. What should be the values of TCCR0A, TCCR0B, OCR0A and OCR0B?
1
vote
2answers
133 views

ATtiny2313 vs ATtiny84 software compatibility

I make and sell a variant of the USBtiny AVR programmer. It uses an ATtiny2313 clocked at 12 MHz and does bit-banged USB using hand-tuned assembly language (that someone else wrote - it's an open ...
0
votes
1answer
63 views

Does the Atmel-ICE Debugger work on ATtiny MCUs?

I've looked on the interwebtubes and could not find out if the Atmel-ICE debugger works with ATtiny MCUs. In theory, since the debugger supports debugWire and SPI modes, it should, but the official ...
1
vote
1answer
75 views

driving LEDs via a PI a attiny and TLC5940 (validation) and possible powering issues

at the moment I am planning my first real (big) electronics project. I want to build a LED lamp, that can be controlled by a RaspberryPi (for e.g. programming a binary clock or changing the brightness ...
0
votes
1answer
71 views

Small low-power device-to-device proximity detector

I would like to find or create a small low-power proximity detector to tell a device when another device is near. This would be coupled to a small microcontroller like the AT-tiny 45. It doesn't ...
2
votes
3answers
258 views

How much current is a powered-down ATtiny84 supposed to take?

I know this sounds like a stupid question, but I'm wondering if the datasheet has an error or something. I have an ATtiny84 connected to my bench power supply set for 3 volts. It's fused for the ...
1
vote
1answer
67 views

ATtiny85 absolute ratings for outputs?

The ATtiny85 datasheet specifies an absolute maximum negative voltage for any pin of -0.5 volts relative to ground. Consider this partial schematic: MOSI and MISO are the respective ATtiny85 pins ...
0
votes
1answer
210 views

Control relay from Bluetooth on ATtiny85

I know someone else has made a Bluetooth transmitter to a relay so i wanted to ask a few questions about it being possible? I am an almost newbie at electronics but i do know a few things, so first of ...
5
votes
3answers
180 views

ATtiny85 power consumption double expected

I'm trying to get an ATTiny85 to run off a battery. I have it clocked from a 16.384 MHz crystal, with the divide-by-8 fuse set. Vcc is 3.3 volts. Figure 22-7 in the datasheet says that at idle ( ...
0
votes
2answers
93 views

No response from AVR microprocessor while programming

I've been attempting to program a few different micro-controllers using nothing but an FTDI 5V TTL cable and self-written software to bitbang the needed pins on the chips. Until now I had success only ...
1
vote
1answer
122 views

How many inputs can a single mcu output drive?

I am planning a project that will have many ATTiny chips connected together. The idea is that a master node will send various control signals that every slave node will listen to. My system could ...
2
votes
1answer
164 views

nRF24L01+ RX in pulsed operation to save power?

I'm considering building a handheld radio receiver based on an nRF24L01+ and an ATtiny chip. It needs to receive "continuously", to receive a control signal that might operate some attached LEDs or ...
0
votes
0answers
186 views

How can I tell that USBasp is working?

I have the USBasp programer and I'm trying to burn bootloader on Atmega328 so that it can be used as a replacement chip in Arduino board (replacement chips with the bootloader installed are quite ...
2
votes
1answer
429 views

Arduino Uno to ATtiny44A I2C communication

I tried to make I2C communication from Arduino Uno to ATtiny44A. Uno as Master and Transmitter code: ...
1
vote
0answers
162 views

Mystery while driving a NeoPixel Ring (WS2812) with a GEMMA (ATtiny85)

I am working with an Adafruit GEMMA and NeoPixel Ring 16 LEDs (ATtiny85 and 16 WS2812 leds) and trying to get a program to light the LEDs according to my "pattern" structure below, representing R, G, ...
4
votes
2answers
61 views

Battery recharge protection for a dual-power ATtiny board

I have a small board with ATtiny85 and it has a button cell battery socket on it. The battery that I'm using is CR2032 rated 3V. At the same time, while programming it there will be second power ...
3
votes
3answers
410 views

Boost DC voltage converter for wireless temperature sensor (1.5V to 5V)

I'm trying to design a wireless temperature sensor powered by one (or maybe two) rechargeable NiMH AA cell(s). The sensor should read and transmit the temperature every couple of seconds and remain in ...
1
vote
1answer
113 views

Can I use the ATtiny84 ADC0 pin as both input and output?

I am using the ADC0 (PA0) pin of an Attiny84 to read analog values from an audio circuit. This part is working fine. Since I need to connect the Attiny84 to 8 LEDs, I'd like to use the ADC0 pin as an ...
6
votes
6answers
1k views

Why shouldn't I brute force PWM?

So I've been playing with an ATtiny45, and it occurs to me that I could probably brute force PWM by prescaling a timer to sysclock/64, then running ISR code that manually switches the outputs on or ...
5
votes
1answer
104 views

ATtiny84 resets on high load

I'm using a ATtiny84 and with three 74HCT595 serial to parallel converters to drive 24 LEDs. Every thing works fine, but when I try to light up more than 10 LEDs at the same time, the ATtiny84 program ...
2
votes
3answers
238 views

Attiny44A Arduino Multitasking

I am trying to blink a led as well as switch a motor on/off parallely using attiny44A below is my code: Pump Controller: ...
1
vote
1answer
208 views

Problems Re-Flashing ATtiny85 After Setting prescale to 0x00

After flashing the ATtiny85 with code including setting the clock prescale to 0x00 (in code, not flashing the fuse), the next time I try and flash I get the following errors preventing me from doing ...
-1
votes
1answer
92 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
738 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
305 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
197 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
468 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
53 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
456 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
122 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
357 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
116 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
172 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
147 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
293 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
578 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
294 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 ...
4
votes
1answer
341 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
325 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
272 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
733 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
640 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
681 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
2k 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
412 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
504 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 ...