Questions tagged [attiny]

ATtiny is a family of small, low-power 8-bit RISC microcontrollers from Atmel. Commonly found in smaller Arduino prototyping platform boards and projects.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
112 views

TRIAC broke (literally) – why?

I have built a circuit according to Dimming 230V AC with Arduino, with two output channels. The basic principle is: An ATtiny does zero detection via an optocoupler; when AC crosses 0 V, it triggers ...
1
vote
1answer
46 views

Serial protocol and connector choice for tethered firmware distribution project

I am designing a system in which a central host controller that has a cellular internet connection is going to be used to query/control/flash intermittently tethered (wired) nodes. The central host ...
1
vote
2answers
222 views

Low-power solar cell source using capacitors

I am designing a circuit using AtTiny10 to supply a downstream microcontroller with power using only capacitors and a small solar cell. Would the following design work ? The basic idea is that the ...
1
vote
1answer
81 views

Thermal regulator on DS18B20 and ATtiny2313A

I'm working on a thermal regulator for a greenhouse. My device will use ATtiny2313A as uC and DS18B20 as thermal sensor. I also use 1602 LCD display to monitor current temperature and set low and high ...
1
vote
0answers
359 views

Attiny fuses, lock bits for ELF file

I am trying to embed code in my Attiny4 project that will set fuses and lock bits(In AtmelStudio 7). I copy/pasted the code that Atmel suggests here: ...
1
vote
0answers
215 views

Trouble getting attiny85 to drive nRF24l01+

I'm attempting to make an nRF24l01+ send out a simple identifying code when a button is pressed. I'm trying to keep the solution as small as possible, so I want to use the attiny85 to drive it. Her'...
1
vote
0answers
204 views

Software flashing attiny167 from RPi with avrdude

I am trying to flash a program onto an attiny167 (already bootloaded with the micronucleus bootloader) with a Raspberry Pi via avrdude and USB. Background I have 50 Raspberry Pi 3B's connected to an ...
1
vote
0answers
631 views

Mystery while driving a NeoPixel Ring (WS2812) with a GEMMA (ATtiny85)

I am working with an Adafruit GEMMA and NeoPixel Ring 16 LEDs (ATtiny85 and 16 WS2812 leds) and trying to get a program to light the LEDs according to my "pattern" structure below, representing R, G, ...
0
votes
1answer
47 views

Arduino to Attiny841 with ATTinyCore — pins not working

I have code that works using Arduino. Because I wanted to size down the project, I replaced it with an Attiny841. Process: I soldered the 841 on an adapter and checked all pins using a multimeter ...
0
votes
1answer
65 views

Can I generate frequencies faster than 32 MHz with ATTINY85?

I believe I can use the 64 MHz PLL clock with PWM to toggle every cycle and thereby generate a 32 MHz square wave output on an IO pin, right? Is there a trick to generate an even higher frequency (...
0
votes
1answer
54 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
0answers
246 views

Watchdog on Attiny13 every 2 minute

I am trying to use a watchdog on Attiny13. With this code I get 70-100sec (it is not constant) sleeping time and 8sec wake up (pull X pin high) time: ...
0
votes
0answers
66 views

Drive 433Mhz emitter and Attiny with two coin cells

I would like to detect when the postman put mail in my box, so I was thinking about a simple attiny with tilt sensor (which would wake up the attiny) and a 433 MHz emitter: The problem is that one ...
0
votes
0answers
62 views

can't figure out why my micronucleus/V-USB setup doesn't work

I built a small attiny85-based board using vusb and essentially the schematic of the discontinued Sparkfun "AVR Stick" (at least on the usb/uC side; see https://www.sparkfun.com/datasheets/Widgets/AVR-...
0
votes
0answers
175 views

Use an ATtiny85 instead of an ATtiny13 - Where do I place the XTAL?

Having looked at a circuit diagram in Beginners Introduction to the Assembly Language of ATMEL­ AVR ­Microprocessors by Gerhard Schmidt, I came across a circuit presented by the author (in which an ...
0
votes
0answers
332 views

Too much current for an Pololu A4988?

Originally I wanted to drive 4 micro stepper motors (2 in series) from two ATtiny84 chips directly. I have learned that this is not a viable option and now I have a revised plan. I have some A4988 ...
0
votes
0answers
65 views

Too low voltage on digital input on attiny45

I'm using one of my attiny's pins as digital input. I am using a 2k2 pulldown resistor on the input. I am applying a simple square wave generated by a separate waveform generator. The high state for ...
0
votes
0answers
93 views

ATMega/Tiny barely working on breadboard without ISP

currently I want to get an ATMega328P and an ATTiny85 to work on a breadboard, which should talk to each other and an LCD via TWI. Anyway, I came across some issues I don't seem to be able to fix at ...
0
votes
0answers
162 views

Problems in transmitting over I2C from ATtiny85

I am sending a byte over I2C from a slave ATtiny85. I am testing it using a ATmega328 master. The sequence should be START, SLA+R, ACK, data, NACK, STOP. The code is working only when the sequence is ...
0
votes
1answer
123 views

Using PWM to communicate between ATTiny85s

Some background: I am putting together a display to teach children about how neural circuits work. I am making a group of 'blocks' (each of which contains an ATTiny85, an indicator LED, and input/...