Questions tagged [attiny85]

An Atmel 8-bit AVR microcontroller.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
438 views

Attiny85 uploading error

I am getting an error while trying to upload programs to the Attiny85 through a USBTinyISP programmer, found here. Unfortunately, it isn't working. Following this tutorial for connecting the board and ...
user76915's user avatar
2 votes
0 answers
573 views

Using an ATTiny85 and DigiKeyboard.h, can I detect when USB HID is connected?

I am building a project to send HID keystrokes to a computer with an ATTiny85. I want to detect when the USB communication is working, in order to turn on a LED saying that everything is good. If USB ...
Bobby Tables's user avatar
2 votes
0 answers
781 views

ATtiny85 and MPU-6050 Gyroscope

I'm doing a project that involves sending MPU-6050 gyroscope data via serial communication to the laptop. Is ATtiny85 micro-controller suitable for this job? Is it powerful enough to do it? I was ...
idk's user avatar
  • 21
1 vote
0 answers
68 views

Choosing a good RF library for transmissions

I am trying to send information from an Attiny85 to an ESP32, through RF. I am using the most popular 433mhz transmitter on the market. I know various existing libraries to send and receive data ...
BruceWawe's user avatar
1 vote
0 answers
524 views

ESP32 + Attiny85 AC Dimmer

I am working on an AC Dimmer project using ESP32 and Attiny85. Note : I know ATtiny85 is overkill for this project, And it can be done without Attiny85, I have already done this using ESP32 alone. ...
Mayoogh Girish's user avatar
1 vote
0 answers
181 views

How can I control 2 servos separately using a joystick on an ATTiny85?

Prelude I haven't done a lot of work in programming chips. The ATTiny85 is the first chip I've programmed, and I have the hang of the basics I think, but I don't have an in-depth understanding of it's ...
Devin Carpenter's user avatar
1 vote
0 answers
634 views

Reusing Digispark ATtiny85 micro-USB as 1-wire bus

I'm working on a project of my home plants irrigation/hydroponic system(not cannabis!)) just chilies and other eatables). Also I'm trying to recycle modules, wires and other projects' leftovers such ...
fortl's user avatar
  • 11
1 vote
0 answers
174 views

To reduce the Attiny85 current consumption

I am using Attiny85 to control 4 LEDs parallelly with a programmable switch. But even though when the LEDs are in OFF state, current consumption is around 7-8mA. I am using a 200mAh battery in my ...
enoughisenough's user avatar
1 vote
0 answers
311 views

DHTNEW library not working with ATTiny85 + DHT11

I tried to make a simple project with Attiny85 chip and DHT11 sensor. After 2 days of struggle, made it finally work, but not quite as expected. TinyDHT library does work, while DHTNEW does not. I ...
user avatar
1 vote
0 answers
207 views

Error in uploading sketch to digispark attiny85 board

I'm trying to use Digispark attiny85 board and running into issues uploading the sketch. The drivers are correctly installed. I have followed this page as a reference. Below the sketch and the error ...
Hero_AK's user avatar
  • 11
1 vote
0 answers
117 views

Consequences of messing with Timer 0

I'm following this tutorial to generate square waves using the timers of the attiny85, but I'm afraid this could mess with something else in the chip. This is the relevant snippet: // Set up Timer/...
IAmJulianAcosta's user avatar
1 vote
0 answers
359 views

Send RAW IR code with ATtiny85

I am looking for a ATtiny85 send RAW IR code using a ATtiny85. I have it sending HEX code just fine, but just cannot find something for RAW. I have IRsend RAW IR running just fine on a NANO. Problem ...
Darryl's user avatar
  • 11
1 vote
0 answers
683 views

How to remove the 5 second boot delay on Digispark PRO (Attiny167)

I know there’s already a solution for removing the 5 seconds boot delay on Digispark (Attiny85), by writing a new bootloader someone already did to the Digispark. And to write code to it, you need to ...
Rodrigo's user avatar
  • 113
1 vote
0 answers
111 views

How to adapt this code using a DF Mini Player and interrupts for the ATTiny85?

So I programmed my Arduino Mega 2560 to play certain sound effects from a DF Mini Player that I have. I took the base code that I modified from online so some fo the names might seem odd. Currently, ...
jaduuuui's user avatar
1 vote
0 answers
434 views

Is this a good way of making a low power attiny? Unpower instead of sleeping

I am making a low power rf remote that just has 3 buttons and sends rf signals accordingly. I've been trying to make pin interrupts work when it's in deep sleep but it's a huge hassle. And then I ...
Tvde1's user avatar
  • 111
1 vote
0 answers
311 views

Arduino button trigger coding

I am trying to write a simple coding to change the color of an RGB LED using a push button trigger. I just need the the pin output to change when the button is pressed. I would like to do this using ...
Muscle Nerd's user avatar
0 votes
0 answers
39 views

Compilation error with MMA8451 accelerometer and attiny85 using ATTinyCore

I am trying to use the Adafruit MMA8451 accelerometer with an attiny85. The Adafruit library uses Wire which doesn't work on the attiny so I used the ATTinyCore board files which have been modified to ...
Struan Lawrie's user avatar
0 votes
0 answers
219 views

Attiny85: how to rotate the servo continuously with a press of a button?

I'm trying to use two Bluetooth commands in my code: one is press off a button "1" the servo should do its routine without stop second one press of the a button "2" servo should stop. What am I ...
Andy Andy's user avatar
  • 103
-1 votes
2 answers
320 views

Anyone had Digispark Attiny85 not SEEN by some USB controllers but seen via HUB or DOCK on same device?

I have purchased a couple of different types of DigiSpark Attiny85 clones (couldn't find originals available) and they have worked great except some devices (so far, just laptops) don't see the device ...
Mr Fett's user avatar
  • 99
-1 votes
2 answers
77 views

Why does my ATtiny85 blink program only work with 4 out of the 16 registers?

The following blink program runs fine on my Attiny85 SparkFun Tiny AVR programmer board. It produces 5 short blinks and then stops. It also works fine when I change r16 to any one of the registers ...
RobertFo's user avatar
-1 votes
1 answer
123 views

Adadfruit Trinket software not running on ATtiny85

I have an application that uses a pair of nRF24L01+ as a simple RF link between a camera PC sync output and a set of LED flashes. The important factors are power and low latency - hence the 2.4GHz. I ...
Smifff's user avatar
  • 1
-1 votes
1 answer
1k views

AtTiny44 and AtTiny 85 communication

I'm working on a project where I use two microcontrollers: an AtTiny44 (20MHz ext clock) and an AtTiny85 (8MHz internal). What I'm trying to achieve is an I2C communication between the 85 and the 44, ...
Ghesio's user avatar
  • 3