Questions tagged [attiny]

ATtiny is a range of programmable 8-bit AVR microcontrollers by Atmel.

160 questions
0
votes
1 answer

Arduino Trinket/Attiny85 USB: Possible to read the state of ALL keys?

An USB keyboard for example is a shared device within a system. Several keyboards is possible and they share the num, scroll and capslock states. When you press capslock on keyboard #1, keyboard #2 will detect this state. For an emulated USB…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
0
votes
1 answer

Arduino: Change defines without edit library [solved, bug in compiler, workaround available]

edit: See my answer below I'm fairly new to the Arduino platform and creating now an USB HID project with the attiny85 (Trinket) library of AdaFruit. See also my previous answered question about the options of this library: Change/Override Trinket…
Codebeat
  • 6,501
  • 6
  • 57
  • 99
0
votes
1 answer

Attiny13 Clock frequency and ADC

I am working with an Attiny13 AVR, which is programmed by arduino UNO over SPI. I found a core for attiny13 and the content of the boards.txt file as follows; #attiny13.name=Attiny13 @ 128 KHz (internal watchdog…
user1449456
  • 502
  • 1
  • 5
  • 19
0
votes
2 answers

master slave communication between two attiny 85 IC

Is it possible to communicate between two ATtiny85? I can use my Arduino to communicate with ATtiny85 by using Arduino Uno as the master and ATtiny85 as a slave. But I want to use one ATtiny85 as the master and one as a slave. Is this possible ? I…
0
votes
1 answer

Error with shiftPWM and an ATTiny85

I'm lost at this point and would appreciate any help! I downloaded this library from an old GitHub and I can't even compile it. Arduino: 1.6.6 Hourly Build 2015/10/14 10:42 (Windows 8.1), Board: "ATtiny x5 series, ATtiny85, 8 mhz (internal),…
lukeb28
  • 179
  • 1
  • 2
  • 12
0
votes
0 answers

I2C addresses > 63 are not usable with atTiny85

Hi I have a big problem with addressing multiple attiny85-chips with I2C: For what I know the attiny uses 7-bit addresses for communication. I am using the TinyWireS lib, which works perfectly fine for me, untill I am reaching address: '64' which is…
user3025417
  • 395
  • 1
  • 5
  • 17
0
votes
2 answers

32 bit number handling with ATTiny and Atmel Studio

I am wondering how the ATTiny, specifically the ATTiny24 stores 32 bit unsigned ints in memory. I'm trying to take a 32 bit value and write it to a 32 bit location in the EEPROM. I have attempted to use a simple mask, but every time I try, I get…
soupaloop
  • 3
  • 3
0
votes
1 answer

Programming an Attiny85

I was wondering how to upload a program I wrote using AVR Studio 4 to an ATtiny85. I was basically using this tutorial http://blog.smileymicros.com/smileys-workshop-10-moving-beyond-arduino/ except doing everything with an attiny85 instead of an…
user5054569
0
votes
1 answer

Interpreting data from RDM630 RFID reader

I am trying to build an RFID based door opener with an Attiny2313 and an RDM630 RFID reader. There has been no Problem with programming or getting the two ICs to talk to each other via UART. The Problem is the interpretation of the data. I wasn't…
0
votes
0 answers

attiny85: example of OC1B/!OC1B output?

I have a piezo transducer hooked up to 2 of my attiny85 pins, and I'm driving it via software in AC mode @4khz using a timer and interrupt. I would like to switch this over to a hardware solution (no interrupt) using OC1B/!OC1B (PB4,PB3), but I'm…
protoc0l
  • 1
  • 1
  • 1
0
votes
1 answer

Can't get an led to flash with avrdude, even though I can reset fuses

So I bought a cheap USBasp programmer off ebay and tried to program an attiny2313. Avrdude said the flash was uploaded and verified, but the led did not blink. I checked the output of the pins with my voltmeter, got nothing. I tried a few other…
Danny
  • 31
  • 3
0
votes
1 answer

Attiny 1634 not found in tools menu Arduino IDE

I have developed a design using arduino uno r3 and I would like to use attiny 1634 instead of atmega 328p. Learnt how to program attiny 85 using arduino isp. Need help for programming the attiny 1634, couldnot find the attiny 1634 board in the…
0
votes
1 answer

ATtiny85 digital "on" output fails to deliver 5 V

I am using an ATtiny85 as a micro-controller. I am trying to read two inputs at around 3 V each and output 5 V for every "on" input (more than 1V). I'm using PINB0 & PINB1 for input and PINB3 & PINB4 for output. The problem is when both PINB0 &…
asf
  • 3
  • 2
0
votes
0 answers

ATtiny85 serial communication with multiple inputs

In a project, we try to set up a communication network between three ATtinys, where the first must receive messages from the other two. Those other two tinys are connected to two different pins of the first tiny. The first tiny must then receive two…
0
votes
2 answers

How to test algorithm performance on devices with low resources?

I am interested in using atmel avr controllers to read data from LIN bus. Unfortunately, messages on such bus have no beginning or end indicator and only reasonable solution seems to be brute force parsing. Available data from bus is loaded into…
jM2.me
  • 3,839
  • 12
  • 44
  • 58
1 2 3
10
11