Skip to main content

Questions tagged [attiny85]

ATtiny85 is small, low-power 8-bit, 8-pin RISC microcontroller from Microchip.

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

I want to have a grid of faders/sensors/LEDs/buttons (with ATtiny85s) that I can move around, and that all talk to an ESP that sends data over the network. The idea is to have a PCB with traces for 4 ...
user3161003's user avatar
0 votes
1 answer
81 views

I'm looking at a tutorial ( https://www.teamxnl.com/how-to-flash-an-attiny-25-45-or-85-with-arduino/ ) and I'm confused about one of the pin connections illustrated. I've read that, for the 85, Pin1/...
BirdsInMyBrain's user avatar
0 votes
0 answers
47 views

I'm new to designing PCBs and have wanted to make a tiny accelerometer/gyroscope circuit for ages now. I did some ChatGPT-ing and digging around on the internet to come up with my own PCB which I ...
Ollie Olzu's user avatar
1 vote
1 answer
187 views

How many things will I need to add onto each unit, described below, to get it operate safely? The essential components are: One 18650 3.7 V Li battery with a Charge-Discharge mini-board as listed ...
BirdsInMyBrain's user avatar
2 votes
2 answers
2k views

I am using ATtiny85 in a project. Due to some reason I have to permanently connect the VCC to a battery. That is, the VCC pin won't be disconnected ever from the power source. When I would like to ...
aud098's user avatar
  • 1
2 votes
1 answer
100 views

I have a component made on top of IS31FL3731 which I try to use together with Attiny85 via I2C on Arduino. It is working fine with Wire.h and for example Arduino Micro, but for some unknown reason it ...
aambrozkiewicz's user avatar
0 votes
0 answers
102 views

[![enter image description here][2]][2] As the title suggests, I am making an Arduino voltage regulator that also reads the voltage of the output it's providing and the amperage of the connected load. ...
Tex's user avatar
  • 11
0 votes
0 answers
39 views

I've been working on a project involving UV sensor readings using both an Arduino Uno and an ATTiny85. However, I've encountered discrepancies in the UV index values obtained from the two different ...
Naografix's user avatar
  • 103
0 votes
0 answers
104 views

I am a programmer, without knowledge of electronics and I want to be able to make a control that allows: intervene the power supply in a Glade aromatizing device, so that it is activated only during ...
mArkO's user avatar
  • 1
0 votes
0 answers
55 views

I am trying to use this chip ATtiny85 for serial communication. So my question is, would you recommend using it for serial communication, such as storing names, IDs, data, and last operations? Should ...
AAS's user avatar
  • 21
0 votes
0 answers
396 views

I am trying to run 3 speeds on a 12V DC motor with either a 12V or 24V battery using PWM. I had a working breadboard prototype based on the schematic attached, with the complete code using IRFZ44N ...
Adithi's user avatar
  • 1
0 votes
1 answer
167 views

I am using a tiny AVR programmer to program code specifically this one, https://www.amazon.com/dp/B00B6KNJRY?psc=1&ref=ppx_yo2ov_dt_b_product_details , I can successfully upload code onto a blank ...
Ash Ketchup's user avatar
0 votes
0 answers
130 views

I am using ATTiny85 + nRF24L01 to receive radio messages. After connecting nRF24L01 to ATTiny85 I don't have much PINs left, as I use all pins except PB5=RST: ...
PanJanek's user avatar
  • 279
2 votes
1 answer
189 views

I am developing a hobby project using the Arduino IDE and an USBasp programmer to upload my code to the ATtiny85. After programming, I remove the chip from the programmer socket and put it into the ...
PanJanek's user avatar
  • 279
0 votes
0 answers
134 views

I want to trigger microcontroller wake up event using a photocell that produces voltage when light. I have BPW46 photocell and ATTiny85 in deep sleep, interrupt is configured to be trigered by PB3 pin ...
PanJanek's user avatar
  • 279
0 votes
2 answers
493 views

I'm thinking to build a PCB for programming ATtiny85 (in Arduino IDE) with ch340. Can I use this schematic? (Source)
Mirko Andres Martinich's user avatar
2 votes
2 answers
169 views

I am working on a project and have a custom PCB for the project. I initially developed the PCB to mount a DIP-8 ATtiny85. I then found the ATtiny85 is available in an SMD package, so I am thinking of ...
Ahmed Mohamed Hassan's user avatar
1 vote
1 answer
102 views

this might seem a dumb question, but is it somehow possible with an ATtiny85 (or any other microcontroller) to toggle with a push-button between active and sleep mode? Startup -> doing something -&...
Post Fah's user avatar
1 vote
1 answer
154 views

Thanks in advance for anyone who can help me with this. So I got a copy of some code that works pretty well just using the USI as a UART for the attiny85. At the default 8 MHz internal oscillator, ...
Erik Vincent's user avatar
1 vote
0 answers
208 views

I was hoping for a little help in writing a function so that I get an understanding basic SPI over USI on an ATTINY85. I followed a YouTube tutorial on writing bits and blinking an LED with a ATTINY85 ...
Erik Vincent's user avatar
1 vote
0 answers
372 views

I decided to get into the world of "naked" microcontrollers (started with Arduino), found an ATtiny 85 among my parts and an USBasp and decided to first make a blink sketch. Did everything ...
Post Fah's user avatar
3 votes
3 answers
238 views

I'm seeking guidance on accomplishing seamless power source switching for a microcontroller (ATtiny85). My objective is to seamlessly transition power input between two distinct sources (Raspberry and ...
Anand's user avatar
  • 31
0 votes
1 answer
145 views

In my project I'd like to check the 20 contacts of a particular relay type. A simulator power every contact with 12 VDC (max) and this goes to LMxxx comparator logic that drive some BJT transitors ...
philfs's user avatar
  • 73
0 votes
2 answers
264 views

Has anyone had any experience communicating with a TLC59731 from an Attiny85? I'm not sure how to configure the USI to support the EasySet "protocol" described in the datasheet. I imagine I ...
19172281's user avatar
  • 773
0 votes
1 answer
108 views

The USIDR register for serial communication on the Attiny85 is 8-bit. If I need to send 32-bits, can I write each byte sequentially as fast as the program can run, or do I need to delay between each ...
19172281's user avatar
  • 773
0 votes
1 answer
198 views

Now it happened. It was dark and while I was coding I accidentally put the ATtiny85 inverted into the breadboard, so I applied +5 VDC to GND instead to VCC. The power came from an UNO R3 which was ...
Tintenfisch's user avatar
2 votes
2 answers
121 views

I have two microcontrollers, the beloved ATmega328p and an ATtiny85. The ATtiny85 does power management (toggling power to main MCU, get buttons clicks, and other things). The ATtiny85 disconnects VCC ...
Rokas Sondaras's user avatar
2 votes
2 answers
149 views

I'm working on a MIDI2CV board. The schematic I'm working on is provided by the website of Kevin's Blog. The MIDI cable comes the MIDI out of a Digitakt. It has 5V on pin5. I was wondering if it is ...
Sercurio's user avatar
0 votes
0 answers
151 views

I'm using an ATtiny85 and 3 AA batteries in series to create a DIY remote control. Does anyone know what kind of circuit I need to safely and correctly use the batteries? I assume it'll need some ...
1W0n_29's user avatar
  • 21
1 vote
3 answers
197 views

I'm using an Atmel ATtiny85 microcontroller to implement a PID controller for a temperature regulation application. I have configured Timer1 to be a simple PWM generator using the following code: <...
Wossname's user avatar
  • 656
0 votes
1 answer
143 views

The board has components connected the MCU. Is it possible to re-program the MCU if we can take only the required connection out without removing the IC itself? Will the components connected to the ...
Abhijith CB's user avatar
0 votes
0 answers
106 views

I try to build an RPi controlled LED strip, however, while the Linux is booting, I still want a minimal effect on the LED strip. So my idea is that once the device gets voltage, a cheap ...
samsmith94's user avatar
0 votes
3 answers
576 views

I know that we can simply buy one of those ICSPs on the web, but my problem is that I am already going to buy a good quantity of hardware on the web and in my country those chips are quite expensive, ...
Bitenco's user avatar
0 votes
2 answers
442 views

I´m designing a PCB based on an ATtiny85 and an I2C sensor with an LDO. I´m using a Digispark board for testing the code. The schematics below of the Digispark PCB has decoupling capacitors (C1 and C2)...
Rodrigo's user avatar
  • 661
1 vote
1 answer
575 views

I'm currently designing a simple circuit to act as a remote firework igniter. I'm using the ATtiny85 to control a MOSFET as a switch which would connect a coil of nichrome wire to the battery ...
Dew_1225's user avatar
0 votes
2 answers
113 views

I need to solve a problem with connecting a wireless charger (cheap chinese one without datasheet) to a microcontroller (ATtiny85). If the phone is not placed on the charger, there is 5 V in the ...
lehovec's user avatar
0 votes
0 answers
221 views

I am designing a remote sensor which is based on an ATtiny85 chip and a RF433 module. To increase range, I need to supply 9 V (500 mAh) to the RF433 module, however, the ATtiny85 is only 3.3 to 5 V. (...
chamroeun bm's user avatar
1 vote
1 answer
1k views

Apologies if this specific issue has been addressed before, but I've scoured for hours, haven't found an exact solution. Goal: To decode IR values using an ATtiny85 and display them over a serial port....
Tristan 's user avatar
0 votes
0 answers
66 views

I have an indicator module that uses an ATTiny85 to switch an array of LEDs based on an RS-485 signal delivered by SoftwareSerial and a MAX485 IC. The indicator can be Off, On, or Flashing. All power ...
Jamie's user avatar
  • 97
0 votes
0 answers
186 views

Is it possible to reprogram this version of Attiny85 without needing to unplug the USB cable? The board version below is running micronucleus bootloader and has the REST pin enabled. But resetting the ...
David Dehghan's user avatar
0 votes
1 answer
489 views

I have 2 ATTiny85 and a NPN CS-9011 used as a switch. They are both powered by the same 3.3V. I use pin 1 to run the base of the transistor with a 1K resistor. This is not working after an afternoon ...
user avatar
1 vote
2 answers
687 views

I'm working on a project using an ATTiny85 where I need a precise timer. I have some 32kHz crystals, which it looks like would work fine if I ran the system clock off of them and made the timer take ...
apple1417's user avatar
0 votes
0 answers
151 views

I am using a TIP120 transistor and an ATtiny85. The RF signal goes into the base. I want to then activate the ATtiny85 to run code. However, my circuit starts running code without an RF signal going ...
Marquis Moore's user avatar
0 votes
1 answer
102 views

I need to monitor the coil side of an SSR (not actually a coil I know). The problem with my circuit is it allows enough current through the resistor divider to 0V to actually turn on the SSR. Just ...
SyntaxError's user avatar
1 vote
1 answer
176 views

Another newbie question. I’m planning on ordering my first ever printed PCB that would be a simple 3 mm LED driver controlled by a ATtiny85. Now… I could program the chip using a SOIC-8 to DIP-8 ...
Joonas Joensuu's user avatar
15 votes
3 answers
5k views

I have a small LED strip light, which I want to power by a power bank. It is active for 6 hours, and then sleeps for 18 hours. It takes almost no power while sleeping, and the power bank detects this ...
Flo's user avatar
  • 261
1 vote
0 answers
536 views

I have an ATtiny85 sending messages via LoRa over SPI and I've hooked up a BME280 on I2C which I'm using with the TinyBME280 library. Everything is fine until I read the temperature, which then hangs ...
codebrane's user avatar
  • 219
1 vote
2 answers
2k views

I had read in different forums about similar issues and double-check the connections and datasheet. But it's still not working for me. First of all, I will share my build and my configuration. Later ...
Santa's user avatar
  • 21
0 votes
1 answer
383 views

I'm trying to get a Timer0 overflow with an overflow every 500us, but can't find a solution to get it so low. I'm running the Attiny85 on its internal 1 MHz clock, so I know it is not gonna be the ...
jonas's user avatar
  • 309
5 votes
3 answers
634 views

I have an interesting design challenge. Reed switch S1 is feeding pulses at a maximum of five per second into a 3.3 V microcontroller input. I want to halve the pulse rate. I don't have access to the ...
Transistor's user avatar
  • 188k