Questions tagged [attiny85]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
595 views

Understanding gate threshold voltage of logic level mosfets from datasheet

I want to build an Arduino Project to control a DC load(DC 5V water pump ampere rating is not known) and using a transistor with PWM to control speed. There is a need to shrink down the project and I ...
0
votes
0answers
51 views

ATX power supply turns off when used with DIY boost converter

I am trying to build my own step-up boost converter. I have my connections as shown in the following schematic (except for the one circled in red.) First I powered up my step-up module with a ...
0
votes
1answer
55 views

Using analogRead() with ATtiny85

I'm new the ATtiny series of Atmel MCUs and I've been trying to build a DC-DC boost converter with an ATtiny85-20PU recently. To get started I've been trying to control the brightness of two LEDs by ...
0
votes
1answer
75 views

ATTINY85 and NRF24L01+ only works with longer vcc/gnd lines on PCB

So I've been banging my head for a couple weeks on this, but I need some help. I'm trying to build something small and battery powered. I have a handful of ATTiny85's and NRF24L01+'s. I have ...
0
votes
0answers
46 views

How do you use a EZP2019+ programmer with an ATTINY85 with avrdude?

I need to burn micronucleus on the ATtiny and only have an EZP2019+ programmer and I also need to set the ATtiny to 16MHz clock speed, how do I do that?
0
votes
1answer
27 views

ATtiny85 pulses its pins at about 10Hz after some kind of programming/wiring messup

I have an ATtiny85 which had a simple program PWMing its output pins to pulse some LEDs. While messing round trying to wire up Raspberry Pi SPI to program it with avrdude, it's gone into a state ...
1
vote
1answer
30 views

How do I communicate with an ATtiny85 development board that has V2.2 bootloader?

I'm very new to this so go easy. I'm trying to download a program to an ATtiny85 development board with a microUSB connection. All the posts I've read keep referring to a much older IDE version. I ...
1
vote
1answer
49 views

Digispark: Driving high Zener-connected pin on ATtiny85

In my project I need all available pins on my Digispark. Pin PB4 is connected to a 68 Ω resistor and a 3.6 Zener diode. This pin is used for USB protocol. This means that at some point in time ...
0
votes
1answer
130 views

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

I'm currently working on a RGB enabled controller stand that will include a circuit that does do two things: -charge the controllers -control rgb strips on the mount I'm pretty new to electronics, and ...
0
votes
0answers
50 views

Unexpected result reading pin on clock rising interrupt

What I try to achieve is a simple one-way communication between two MCU's (ATTiny85's to be exact) at 16Mhz. This is just a start, to figure out it can be useful, very basic and needs to be very basic....
1
vote
1answer
60 views

Attiny85 for wireless communication

I'm a very beginner in electronics. I'm trying to make a system which transmits a tank chemical level to a distant system. Remote system is an Arduino. For the tank unit I have 4 float switches. ...
0
votes
1answer
262 views

What is a proper way to send information from an HC-05 (Bluetooth module) to a phone?

I have 12 simple touch sensors and each of them produces an analog output. I want to send that information to a phone (or some other device). To do that I would need to use the HC-05 Bluetooth module. ...
4
votes
0answers
109 views

ATTiny85 clock speed problem

Using an ATTiny85 and an Arduino loader I created a simple device for turning on an exhaust fan based on a light sensor. The ATTiny85 turns on the fan after activating a warning light and sounding an ...
1
vote
1answer
74 views

PWM to analog voltage conversion for communication between two microcontrollers

I want to use this schematic for sending PWM signals from an STM32F0 Arm microcontroller to an ATtiny85. I want to convert the PWM signal to a proper analog voltage, so that the ATtiny analogRead() ...
0
votes
0answers
75 views

What is the proper way to reset attiny85?

I have 3 attiny85 on my pcb. And I want to have software controlled reset for them. A separate STM32F0 microcontroller is responsible for the reset. I have two states from the STM32F0 to pull up and ...
0
votes
0answers
35 views

Is this circuit ok for MCP9700 temp sensor?

I am trying to use multiple MCP9700 temperature sensors and probe certain power IC heatsinks for sensing the temperature through an attiny85. I have two parts in the overall schematic. For each ...
0
votes
1answer
63 views

Questions regarding voltage divider for micro controller sensing

I am beginner trying to develop two voltage sensors for attiny85 microcontroller. I have two separate voltage levels that I want to sense using the attiny. One of the voltage supply is 0V-5.5V and is ...
2
votes
1answer
227 views

Controlling Mosfet with ATTiny85 and IR Reflective Sensor

My plan is to start a motor, then stop the motor when the gear teeth gets to 15 (out of 16) I will be able to tell at what position the gear is by placing an IR reflective sensor under the teeth. The ...
0
votes
1answer
60 views

Does Attiny13 pull a lot more current in sleep mode than Attiny85 or did I do something wrong?

First off here is the code I have tested on both Attiny13A and Attiny85V: ...
0
votes
1answer
85 views

Serial Communication Between Android and Attiny85

I am planning to build a sensor module for smartphone using Attiny 85 as its microcontroller. The sensor module will have a USB type A and to connect to the smartphone, OTG is required. Serial ...
0
votes
1answer
244 views

Attiny85 crashes when I run a motor through an L293D

I'm trying to run a motor through an L293D turned on and off by an Attiny85. The Attiny85 has the micronucleus bootloader on it, which is why pin 3 is connected to a pull up resistor. On the Attiny ...
1
vote
0answers
54 views

IoT wireless solenoid circuit

I am a Newbie and I do not have a lot of expirience. The circuit has been put together from pieces I have found on the internet. My goal is to develop a reliable wireless solenoid circuit to water my ...
4
votes
2answers
2k views

I found an audio circuit and I built it just fine, but I find it a bit too quiet. How do I amplify the output so that it is a bit louder?

I want to try something audio related and found the following circuit from technoblogy I built it and loaded a sound clip. Everything works fine, but I found it a bit too quiet and I want to amplify ...
0
votes
0answers
45 views

How is it possible to program an ATTiny over USB without a USB to TTL chip?

I have been testing out my Digispark and the board has no USB to TTl converter chip and yet you can program it over USB. Is it possible to do this with an ATmega328p for example?
8
votes
2answers
2k views

Need help with a circuit diagram where the motor does not seem to have any connection to ground. Error with diagram? Or am i missing something?

I'm following a really simple electronics instructable found in this link: https://www.instructables.com/id/Vibrating-Timekeeper/. I've been studying the circuit provided but can't figure out why ...
6
votes
3answers
3k views

Does ATtiny RESET pin need a resistor?

I need to make sure that my ATtiny does not reset unexpectedly. To do that, I am planning on connecting the RESET pin directly to VCC. However, I have heard some places that you need a 10k resistor ...
0
votes
1answer
74 views

How do you add an onboard ISP for an ATTiny85?

I've taken a liking to building circuits around the ATTiny. Typically I add 6 headers and use an AVR programmer or an Arduino to program the ATTiny in circuit. I'm trying to figure out how move that ...
-1
votes
2answers
422 views

ATtiny85 can't be programmed [duplicate]

I've bought 2 ATtiny's from AliExpress and I can't program them. I've read some feedback and people say that they might be fake but then I saw some activity on IO pins. So I've made a small ...
0
votes
1answer
77 views

How do I maintain ICSP functionality?

I'm a novice hobbyist building a trivial circuit where an ATTiny 85 controls an RGB LED. In addition to the three PWM outputs, I have 2 inputs. The first input is a potentiometer I'm using to set ...
6
votes
2answers
246 views

LED as light sensor not properly working in circuit

I read some articles about using an LED as a light sensor. I chose an IR LED and checked the voltage levels produced in different light situations resulting in about 200-300mV in full artificial light ...
0
votes
3answers
419 views

How to switch PIR sensor on/off based on photocell result

I've built the following circuit based on an ATtiny85 for a night lamp. The circuit is powered by a 3.7v LiPo battery. I'd like to turn off the PIR sensors when the photocell detects light in order to ...
0
votes
2answers
283 views

How to measure output voltage of this Li-Ion battery circuit?

I've designed an AtTiny85 based Lithium-Ion battery protection/boost circuit that monitors the battery voltage and cuts the battery power to the external powered circuit when the battery dips below a ...
0
votes
1answer
110 views

Reasonable Li-Po Battery Protection Circuit?

I'm designing a circuit to monitor the voltage of a Li-Po battery (single cell 3.7v, 2500mAh, 25A) and switch off the battery when the voltage drops to a certain threshold. The Circuit will also ...
0
votes
1answer
261 views

Conflict of polarity?

With the following circuit, would the R2 resistor not change or affect the polarity in some negative way (no pun intended)? In the image below I added the red box as well as the red text in an effort ...
1
vote
1answer
119 views

Not able to program Attiny85-20PU

I have a small amount of Attiny85-20PU which I am trying to program with a stk500v1-type-programmer (for the sake of simplicity say an Arduino with ArduinoISP-Sketch). My first attempts with that ...
2
votes
1answer
1k views

Data memory usage reported by AtmelStudio for ATtiny85

I am using AtmelStudio to program an ATtiny85, which has 512 bytes of SRAM data memory. My code includes a large lookup-table (array) which is 512 bytes: ...
1
vote
1answer
151 views

71 RBG LEDs, 3 transistors, and 1 ATTiny85

I am trying to design a circuit to control a total of 71 RGB LED's (wired basically in parallel for each color channel) using an ATTiny85 to control the on and offs for each color channel. I figure ...
0
votes
1answer
103 views

Speed of a mosfet triggered directly from the logic pin of an Attiny85?

I have a an N-Channel Mosfet soldered to an adapter board and connected to PB4 of an ATtiny85 via a solderless breadboard. The mosfet currently switches the ground leg of some other low power ...
0
votes
2answers
2k views

Is it possible to talk with Attiny85 via serial interface?

Alright, I know this question is pretty silly, but I have stumbled upon different posts saying opposing things. So to make a conclusion, does anyone knows for sure if it's possible to send data via ...
1
vote
1answer
95 views

Send a single pulse low/high pulse then stay high

I have a small OLED display that I'd like to drive with an ATtiny85 micro controller. The OLED is the 4 wire SPI type, with no CS. It has a Reset pin that is required to be pulsed low-high at power on ...
1
vote
1answer
709 views

How to recover locked ATTiny 85

I was following this tutorial: http://highlowtech.org/?p=1695 and by mistake I uploaded code with 8 MHz External clock settings. The tutorial says ...
0
votes
4answers
244 views

I2C Arbitration lost on ATtiny85

I'm new to I2C and am trying to get two ATtiny85 to talk to each other. I have Arduino IDE 1.8.0 I used this link (damellis) to install the ATtiny board in the IDE I use an Arduino nano to program ...
0
votes
3answers
234 views

What resistors do I need

Hello community My first post here. I am fairly new to electronics and I’m building my own pyrography power supply. I have done a couple things to accomplish this but have not yet been successful. I ...
3
votes
2answers
8k views

How to achieve low power consumption with ATTINY85

I am creating a project that uses an ATTINY85. Most of the time, the circuit should be off and consume as little power as possible. According to the data sheet, in power-down mode, the microcontroller ...
0
votes
2answers
203 views

What happens to 2 INPUT_PULLUP linked together?

I have an Arduino project (attiny85) with an input pin configured as INPUT_PULLUP. I've got an another Arduino a few meters far from the first one. Both input pins are connected together to a ...
1
vote
1answer
70 views

Consecutive PWM signals with different prescaler settings

My ATtiny85 circuit generates signals like this one on PB1 (OC0B) using fast PWM (preamble, 16 bit data, stop pulse): I have trouble with the leftmost longer pulse. At the moment i use simple ...
2
votes
2answers
3k views

ATtiny85 and high frequency PWM for driving a ferrite transformer

Some background: I have an ATtiny85 running at 8 MHz under the Arduino IDE. I have been gifted a large ferrite transformer and some MOSFETs & drivers to drive it. However I am lacking a ...
0
votes
2answers
1k views

Serial bi-directional (one-wire half-duplex) digispark device works however answers itselfs

I followed this guide to create an one wire bi-directional (debug) device for a Digispark (Attiny85): https://digistump.com/wiki/digispark/tutorials/debugging (see section Bi-directional Serial ...
0
votes
1answer
690 views

ATTiny85 Not Working at all

I am using Arduino to program my ATTiny85 like this. I am trying to make a simple blink example, here's the code: ...
3
votes
2answers
84 views

Unexpected bits when shifting out (ATtiny85)

I'm trying to spoof a 433 MHz remote and I have a sequence of 32 bytes that I want to repeatedly shift out to one of ATtiny85's pins. The signal then goes to a cheap Chinese-type 433 Mhz transmitter. ...