Skip to main content

Questions tagged [attiny85]

An Atmel 8-bit AVR microcontroller.

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

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 ...
Noel's user avatar
  • 163
0 votes
1 answer
93 views

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
187 views

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 ...
LesRhorer's user avatar
  • 113
1 vote
2 answers
4k views

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, ...
M0n5terBunny's user avatar
-1 votes
2 answers
286 views

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
  • 149
2 votes
2 answers
881 views

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 ...
jmarywien's user avatar
2 votes
0 answers
121 views

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 ...
Boyfinn's user avatar
  • 245
3 votes
1 answer
413 views

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
  • 31
1 vote
2 answers
1k views

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
510 views

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 ...
Arun Jothi's user avatar
-1 votes
1 answer
735 views

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 ...
Ahmed Mohamed Hassan's user avatar
1 vote
1 answer
297 views

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
207 views

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 ...
Sudras Elagor's user avatar
1 vote
0 answers
237 views

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 ...
JohnMayland22's user avatar
2 votes
1 answer
465 views

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
0 votes
1 answer
106 views

Suppose I enable USB tethering (internet) on my laptop. Will it be possible to use that internet on an ATTINY 85 connected to USB.
manish.mandal's user avatar
2 votes
0 answers
129 views

I am looking for help with ATtiny85 coding. The project I am working on is using an Arduino Nano and I want to switch to an ATtiny85. The code below works with the Nano but not with the ATtiny85. I am ...
jwhenry83's user avatar
1 vote
1 answer
324 views

Disclaimer: I have asked questions about this project before but this is yet another issue I'm facing. What I really want to do: Build a battery powered device with 6 colored buttons. When you press ...
boop's user avatar
  • 191
0 votes
1 answer
2k views

What I want to do: attach six buttons to a single input. Each button triggers a different action. How I want to do it: Use an AD conversion and add a resistor with different values to each button so ...
boop's user avatar
  • 191
0 votes
2 answers
566 views

I want to communicate over serial to another device (dfplayer) and also set the microcontroller into sleep mode. The ATtiny85 does not have a hardware serial pin so I need to use a virtual serial (...
boop's user avatar
  • 191
0 votes
1 answer
142 views

I have two functions that return an int16_t but I need to convert the ints to char* is for an attiny13 It would be something like this const char* msg = "value1()"+','+"value2()"+',...
jota mauel's user avatar
1 vote
1 answer
113 views

I have an SMD ATTINY that I'm using for a project. Attached to it are 3 I2C devices. When programming it using an Arduino as an ISP, can I have those devices attached? Ie, do I have to program the ...
djd53's user avatar
  • 13
0 votes
2 answers
232 views

I'm a total beginner, so I've been talking with Chatgpt regarding the capabilities of the Attiny85 microcontroller. But the AI would hallucinate a lot and give only partially right answers (because it ...
user avatar
1 vote
1 answer
119 views

The ATtiny85 microcontroller has very limited resources, including program memory (flash) and RAM. It has 8KB of flash memory and only 512 bytes of RAM. does ATtiny85 handles the size of the libraries ...
Sam's user avatar
  • 21
1 vote
0 answers
301 views

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
0 votes
1 answer
1k views

I have a Digispark / digistump Attiny85. Working with Windows 11 and the Arduino IDE 2.0.4 I would like this guy to have Brown Out Detection set to 101 (2.7V) For this, I'd need to set the BOD fuses. ...
Anderas's user avatar
  • 81
1 vote
1 answer
494 views

I'm trying to set up a transmitter made by the following components : Attiny85 (I need 1MHZ speed) Cheap 433mhz transmitter (FS1000A) The library I am using is the Manchester library GitHub. The ...
BruceWawe's user avatar
0 votes
0 answers
92 views

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
1 answer
372 views

I'm currently working on a project using the ATTINY85 for USB communication. After some research, it turns out that the V-USB library only supports usb 1.1, which only supports a 125hz polling rate. I ...
Victor's user avatar
  • 3
1 vote
1 answer
773 views

I have ATTiny85 that I want to drive a servo. Burned bootloader to the ATTiny85 and I am using HW-260 development board to program and to test the code. While the ATTiny85 works perfectly on the HW-...
aceschwartz's user avatar
2 votes
1 answer
1k views

I'm making a stopwatch using an attiny85, the idea was to use the timer interrupts to count the seconds my theory was: since I set the Attiny85 to run at 1Mhz, I can use a presale of 1024; 1000000 / ...
Isael Guillén's user avatar
2 votes
1 answer
3k views

I've just received my digispark ATtiny85 (model B, I believe). I'm using Pop_OS for my PC, had a bit of a headache getting the arduino IDE recognising the device but after some trial and error I got ...
shmink's user avatar
  • 141
1 vote
1 answer
233 views

I fetch RGB values via I2C - which works (with a splitting function). Now I have a problem: When I write values directly into strip.color() like strip.Color(255,0,0,0) the NeoPixels turn red when ...
dessi's user avatar
  • 13
0 votes
1 answer
2k views

I made a simple test sketch to make my ATTiny85 emulate a Keyboard and send a sequence of keystrokes. #include "DigiKeyboard.h" void setup() { // don't need to set anything up to use ...
Daniel Ribeiro's user avatar
-1 votes
2 answers
892 views

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 vote
1 answer
314 views

As digispark is more compact and suitable for my electrical application. Following the same procedure in brtiberio answer. I tried to convert the script from Arduino UNO to digispark, but not succeed #...
Mah 's user avatar
  • 13
2 votes
1 answer
441 views

Desired behaviour: Go to IDLE sleep mode. When PB2 (blue trace) goes low wake up and give a 10 ms HIGH on PB1 pulling a pull-up low (yellow trace on Figure 1). Go to 1. What I get: Figure 1. (1) ...
Transistor's user avatar
2 votes
1 answer
1k views

My ATtiny 85 won't wake up! The purpose of the device is to monitor a reed switch and give a 20 ms output pulse on every alternate positive-going transition of the reed switch input. The device should ...
Transistor's user avatar
1 vote
1 answer
138 views

So I bought ATtiny85 recently, when I plug it to my PC it make sound like mouse has been plugin, but then it make sound like the device has been removed. It happen again and again until I remove the ...
Ferdinandus Ivan's user avatar
2 votes
2 answers
528 views

I'm trying to compile my code but i keep exceeding my global variable memory by 12%. Is there anything i can do in my code to further reduce RAM usage? Or do i have to do modifications to the ...
Boyfinn's user avatar
  • 245
1 vote
1 answer
391 views

I set the fuses of my attiny85 so it uses the internal 128khz clock, prescaled so it is 16kHz. I set the CKOUT fuse too so I can check the clock using an oscilloscope on pin 3 and yes it is 16kHz. Now ...
Squall124's user avatar
1 vote
1 answer
107 views

I have two Attiny85 communicating over 433mhz radio (Rx & Tx on either ends) using virtual wire library, how will the programming be to pair them by the press of a button on either module ? i have ...
phoenix99's user avatar
0 votes
1 answer
199 views

Another beginner to arduino device. My knowledge for programming is so weak. As i mention to the title i would like your help. I just want to run this simple sketch into attiny85 for lets say 1 min ...
GEORGE BOULIS's user avatar
1 vote
0 answers
879 views

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
2 answers
816 views

i have some trouble to use i2c and the other pins at the same time. im tring to control the attiny over i2c with a arduino and the attiny should control a 28byj-48 stepmotor. i started to setup the ...
Kim's user avatar
  • 11
2 votes
0 answers
756 views

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
1 vote
0 answers
282 views

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
1 answer
2k views

I have a digispark ATtiny85 development board and I am using the Arduino IDE to program it along with the Arduino UNO as my hardware programmer. I have successfully burned the fuses for both the ...
Abdalrahman Seliem's user avatar
1 vote
2 answers
739 views

I had some problem setting up a working ATTiny85 outside of its development board.Connection on my breadboard: pulled high (10K R) -- 1 PIN 8 -- VCC (+5V) trouble here!! -- 2 PIN 7 -- ...
Zeno Dalla Valle's user avatar
0 votes
1 answer
2k views

I have bought this cheap AVR Programmer Board and I thougth that I would be OK just plugging it into my USB port. Then after I did that nothing happened so I passed last 4 hours trying to understand ...
Zeno Dalla Valle's user avatar