Questions tagged [attiny]

An 8-bit, low power AVR microcontroller from Atmel.

307 questions
10
votes
2 answers

ATtiny85 communication with computer through USB

I am trying to receive and send some data from a computer to an ATtiny through USB. Can an ATtiny85 IC communicate with a computer through USB? If yes, how should it be connected?
5
votes
1 answer

Is programming the ATTiny85 possible in 1.5?

I upgraded to Arduino 1.5.7 in hopes of using the command line interface for a larger project. However, the old package I was using to program the ATTiny85 chip with the Sparkfun Tiny AVR Programmer no longer works. I'm getting the following…
RageCage
  • 153
  • 6
5
votes
1 answer

ATTiny84 blink mystery

Novice mode, please. I programmed my ATTiny84 using Arduino Ethernet (Arduino IDE 1.6.7) using https://github.com/damellis/attiny branch - 1 MHz internal oscillator mode. I uploaded ISP sketch to Arduino with all cables disconnected (first I did it…
4
votes
1 answer

ATTiny85 Interrupt id vs pin when programming with Arduino

I am using an Arduino Uno with the Arduino as ISP sketch to program an ATtiny85. I followed this tutorial to set up to program the ATtiny, and successfully got it to run Blink and an interrupt-free version of my program. I then added an interrupt…
Mar
  • 288
  • 2
  • 5
  • 13
3
votes
1 answer

ATTiny 85 analog input pin number problem

I am using AT Tiny 85 to read voltage from lead acid battery charger while charging. Basically the setup has two 7-segment displays driven by two SIPO shift registers(74ls164n). And used tiny 85's pin 4 (physical pin3) to read voltage. I tested…
Ryu_hayabusa
  • 133
  • 1
  • 5
2
votes
1 answer

Can I program an ATtiny87 with Arduino

I have a project, and I want to use an ATtiny167(ATtiny87), I know that an Arduino can progam ATtiny84 (84/44/24), ATtiny85 (85/45/25), and ATtiny2313 (4313). but I don't know if it can program an ATtiny87? thank you for your help.
M.HARTAOUI
  • 45
  • 1
  • 9
2
votes
2 answers

ATtiny84A programming without shield

I am thinking about buying an ATtiny84A, which fits perfectly into my project. I want to embed it into a watch that I am designing right now. But I want to buy an SMT version so I have less space to consume. What do I need for programming it through…
2
votes
1 answer

ATtiny84A support with "Attiny" board manager installed to Arduino IDE

Referring to page http://highlowtech.org/?p=1695, is it possible to program ATtiny84A as well, or just the chip version ATtiny84 (without "A")? Does anybody know?
Marcel81
  • 21
  • 2
2
votes
0 answers

programming attiny88 & attiny828 with arduino

I found some information that the attiny88 and attiny828 can be programed from an arduino, similar to the programing of the attiny85/45, simply connecting the right pins.…
1
vote
2 answers

Programming ATtiny1616 error: A programmer is required to upload

I have this ATtiny1616 breakout board and I'm attempting to upload an Arduino sketch to it following this documentation, but I'm getting the error "A programmer is required to upload" upon uploading a simple blink sketch. I have the following…
mfusco
  • 11
  • 2
1
vote
0 answers

subroutine with if else does not work

Everything in this code seems to work as expected except the subroutine speedcw at the bottom. It should change the time_delay variable. #define ENA 2 //pin 2 on chip #define in_A 0 //pin 0 on chip IN2 #define in_B 1 //pin 1 on chip IN1 #define in_C…
1
vote
1 answer

How can I get my Attiny85 interupt to trigger

I have an ATTiny85 set up to detect a magnet passing over a hall sensor. Every 2 detection's I want it to light up an LED. I decided to do the code using the arduino IDE and the code is as follows: const int hallPin = 2; // the number of the…
Festivejelly
0
votes
1 answer

On ATtiny84, why does delay() stop working properly when RadioHead ASK is used?

When I call the delay() function on the ATtiny84 micro, it delays for the expected time, until I call the init() function on an RH_ASK object. After this, the micro seems to freeze. #include RH_ASK driver(); void setup() { …
Nick Bolton
  • 247
  • 1
  • 13
0
votes
1 answer

Programming ATTiny1614; Unexpected Signature

Trying to program an ATTTYIN1614 with jtag2updi. https://github.com/ElTangas/jtag2updi I was able to use this tool to program an ATTINY1626-XFR and ATTINY807-MNR, but I'm getting an error with ATTINY1614-SSFR. avrdude: Expected signature for…
EdHayes3
  • 160
  • 9
0
votes
1 answer

Is it safe to connect VCC to a data pin on Attiny chips?

I'm trying to make a compact prototype with Attiny2313A, and want to connect VCC to pin 18 with a push button as in the picture. Is it safe? Or do I need a resistor there?
user70125
1
2