Skip to main content
Arduino

Questions tagged [attiny85]

An Atmel 8-bit AVR microcontroller.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Send uint32_t over i2c from attiny85 slave to atmega328p master

I run into an issue with querying a uint32_t with an atmega328p master from an attiny85 master. I have put both codes below. I did run the equivalent code for just sending a uint8_t and all works ...
0 votes
1 answer
74 views

ATTiny85 PWM on PB2 not working - only on/off, no fade

I have a custom ATTiny85 PCB with LEDs connected to GPIOs (PB0-4) through current-limiting resistors. All ports fade LEDs smoothly except PB2, which only switches on/off with no intermediate states. ...
Sean's user avatar
  • 1
1 vote
1 answer
148 views

Does changing the prescale for Timer 0 or Timer 2 affect the micros() function?

I am using an ATTiny88 to drive a PWM device. First of all, digging through the literature, it's hard to tell what the differences between the ATTiny85 and ATTiny88 are, and the vast majority of ...
1 vote
2 answers
3k views

How Do I Get Started With ATtiny85 in 2024?

I recently purchase a ATtiny85 from Ebay as I wanted to make a DIY volume controller for my computer, but its become apparent that's its more difficult than its supposed to be programming this board, ...
-1 votes
2 answers
251 views

Why Digispark can be a HID but Arduino Uno/Nano can't? [closed]

I tried to make a project with a Nano as a head which was based on a V-USB-like library EasyHID. For unknown reasons this try was unsuccessfull and I couldn't make the Nano run correctly. It's normal: ...
Mik's user avatar
Mik
  • 149
2 votes
2 answers
710 views

Arduino Digispark ATtiny85 conditional logic not working

Expected Behavior: I am attempting to use && or nested if statements to achieve the effect of two switches being required to close prior to an LED light (i.e., flip both switches), the LED ...
2 votes
0 answers
117 views

Reading MAX31888 works with Nano, but not with ATtiny85

I'm using the OneWire library to try and read temperatures from a MAX31888 sensor using this Arduino program: #include <SoftwareSerial.h> #include <OneWire.h> #define RX PB4 #define TX ...
3 votes
1 answer
382 views

Increase in power consumption after brown-out detection (BOD)

I'm working on a low-power energy harvesting project, where I'm considering using an ATtiny85 to perform some minor tasks. The ATtiny is put in Power Down mode most of the time and does not consume ...
hmf's user avatar
hmf
  • 31
1 vote
2 answers
890 views

ATTiny85 pin definitions

I have been tearing my hair out on and off for two weeks trying to figure out pin definitions for the ATTiny85 in PlatformIO. My wiring is basically this: My sketch: #include <Arduino.h> #...
tmountjr's user avatar
  • 113
1 vote
1 answer
474 views

Need Digistump library for QWERTY keyboard and Fixes for my issues!

Hello thereπŸ– I am trying to install Digistump library to support ATTiny85 by digispark. But I am encountering a problem when trying to install Digistump AVR boards after adding an additional board ...
-1 votes
1 answer
705 views

Use attiny85 reset pin as analog pin

I want to use the reset pin of the attiny85 as an analog pin to read the battery voltage, to be used as low level battery indicator. So there is a lipo battery that will always be connected to this ...
1 vote
1 answer
255 views

Make two LEDs fade in and out with with different PWM values

I have two UV leds, one Vf 3.3V @ 150 mA and the second one Vf 5V @ 150 mA. I need a circuit to make them fade in and out alternatively, i.e., as one goes dimmer the other goes brighter and vice versa....
Rodrigo's user avatar
  • 113
1 vote
0 answers
185 views

Bluetooth (HC_06) on the Attiny85

I'm trying to make a hc_06 Bluetooth controller work on the attiny85-20pu. In the end, I want to control a stepper motor through Bluetooth. But for now to keep it simple I'm searching for a working ...
1 vote
0 answers
227 views

Burn code to Attiny13/85 the easy way

Totally newbie here. I need to burn 50 blank Attiny13 chips with the following code: https://github.com/mstratman/relay-bypass/blob/main/relay-bypass/relay-bypass.ino AFAIK the code can be used by ...
2 votes
1 answer
437 views

433MHz RF run away TX burst with ATTiny85 IC

I have recently created a sketch for an ATTiny85. My project consists of: 1x ATTiny85 IC only 1x 433MHz RF module => using data pin 2 2x input digital pins => using pin 3 and pin 4 Running at ...
Jonas's user avatar
  • 141

15 30 50 per page
1
2 3 4 5
...
10

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /