Questions tagged [attiny85]
ATtiny85 is small, low-power 8-bit, 8-pin RISC microcontroller from Microchip.
142
questions
0
votes
0
answers
61
views
Control Glade Device with AtTiny85
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 ...
0
votes
0
answers
29
views
ATTINY85-20SUR and serial communication
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 ...
0
votes
0
answers
55
views
IRLZ44N vs IRFZ44N performance - Driving a 12V DC motor(3 speeds) with 12V or 24V supply voltage using PWM
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 ...
0
votes
1
answer
82
views
ATTiny85 won't reprogram
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 ...
0
votes
0
answers
43
views
How to use nRF24L01 on ATTiny85 and together with serial TX?
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:
...
2
votes
1
answer
113
views
How to test for stack overflow on an ATtiny85 using an emulator?
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 ...
0
votes
0
answers
92
views
How to use small photocell to trigger wake up pin for extremely low power consumption
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 ...
0
votes
2
answers
171
views
Is it possible to program ATtiny85 with ch340?
I'm thinking to build a PCB for programming ATtiny85 (in Arduino IDE) with ch340. Can I use this schematic?
(Source)
2
votes
2
answers
131
views
ATtiny85 USB development board
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 ...
1
vote
1
answer
61
views
Toggle between active mode and sleep mode microcontroller
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 -&...
1
vote
1
answer
83
views
Microchip Studio, porting attiny85 usi uart code to attiny84 not working
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, ...
1
vote
0
answers
168
views
Question about an ATTINY85, SPI over USI and the ability to read an MCP23S08
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 ...
1
vote
0
answers
221
views
avrdude OS error: file not readable invalid argument
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 ...
3
votes
3
answers
162
views
Seamless power source switching for a microcontroller (ATtiny85) [duplicate]
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 ...
0
votes
1
answer
111
views
How to scale down 12 VDC to 5 VDC gradually for Attiny85 ADC
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 ...