Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 199993

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

0 votes

Is it possible to program ATtiny85 with ch340?

No. At least not without already having some Arduino compatible or otherwise UART capable bootloader being programmed into the Tiny85. So you need an ISP programmer anyway to program anything you want …
Justme's user avatar
  • 172k
1 vote
Accepted

Digispark: Driving high Zener-connected pin on ATtiny85

The IO pin has absolute maximum rating of 40mA. The digital output voltage rating is listed at 10mA current, which basically tells the drive strength. But pins are not guaranteed to source current gre …
Justme's user avatar
  • 172k
0 votes

Is there any flaws with this Attiny 85 schematic?

Yes there are many problems. I will only focus on one in my answer, as most of them are mentioned already and are either very small technical issues or simply they should be drawn in another way. The …
Justme's user avatar
  • 172k
17 votes

Do I need a capacitor for an ATtiny85?

Yes, you do need a capacitor. Don't replicate mistakes of other beginners and leave them out just because they leave them out. It may not be mentioned in the datasheet, because a datasheet may only co …
Justme's user avatar
  • 172k
3 votes
Accepted

Troubleshooting a rare glitch in a microcontroller timer ISR

The only explanation is that there is some other piece of code which writes to PORTB. So the problem is not in the interrupt code. If the other code does a read-modify-write operation to any unrelated …
Justme's user avatar
  • 172k
1 vote

Is it possible to power an ATTiny85 and a 6N138 through MIDI in?

No. For many reasons. It's just wrong, against MIDI standard, breaks isolation which allows for ground loops and would not even provide much power. If you say but other people use it too, well, they s …
Justme's user avatar
  • 172k
2 votes

Serial.println() - ATtiny85

No it has no effect other than spending time printing those status strings.
Justme's user avatar
  • 172k
0 votes
Accepted

Serial Communication Between Android and Attiny85

1) USB is not compatible with serial communications 2) USB is 3.3V levels so connecting 5V serial comms will kill your phone 3) 100mA without enumerating USB, maybe 500mA after requesting it.
Justme's user avatar
  • 172k
0 votes
Accepted

Schottky diode polarity attiny85 dev board

As it is now, it prevents back-feeding the 5V to PC. Whether that is the intention or not, is unknown. Most likely it is an error in the schematic as that device is supposed to be USB-powered. That ci …
Justme's user avatar
  • 172k
1 vote

Interfacing TLC59731 with Attiny85

The protocol is pretty forgiving. It can run between 20 and 600 kbps, where 1 bit means either 1 or 2 pulses. The pulse high time just need to be at least 14ns in length and there must be at least 14n …
Justme's user avatar
  • 172k
3 votes
Accepted

Using analogRead() with ATtiny85

The analog and digital pin numbers are not the same. PB3 is analog pin 3, that's why it works. PB2 is analog pin 1. PB4 is analog pin 2.
Justme's user avatar
  • 172k
2 votes
Accepted

Faster Timer0 overflow than 2 ms on Attiny85

An interrupt every 500us is a rate of 2 kHz. As you have only a limites set of prescalers available and the resolution of the timer is only 8 bits, you can't use it without prescaler, and the next pre …
Justme's user avatar
  • 172k
3 votes

Why are there no input/output capacitors on the Digispark (ATtiny85), apart from the decoupl...

In short, there is no cap to cut parts and cost, because mostly the board can work without it. It slightly depends on which exact 78M05 that is and which manufacturer datasheet you are reading. Even i …
Justme's user avatar
  • 172k
1 vote

Toggle between active mode and sleep mode microcontroller

Yes, possible. Problem what you now have may be that the pusbutton does wake the MCU, but depending on your clock source, it may take so long to wake up that the pushbutton is already released when MC …
Justme's user avatar
  • 172k
1 vote

Programming an ATtiny85 and powering a circuit over a single USB-C port

The ATTiny and the LED strip does not have supply voltage, so it won't work. For some reason there is a capacitor between Tiny VCC and LED VCC pins. Pulling D- to VBUS which is 5V is too much. It shou …
Justme's user avatar
  • 172k