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.
517 questions
4
votes
3
answers
180
views
Using the PCB itself as a zero insertion force socket?
I am working on an ATTiny programmer (because it is fun and existing ones did not quite meet my desired specifications, most notably USB-C connector). My first version used a standard DIP-8 socket to ...
0
votes
0
answers
117
views
PCB check: individually addressable LED strobe
I’m working on a circuit board for amber strobe units to be used in a car. Each board will feature eight individually addressable LEDs, controlled by an ATtiny microcontroller. In certain ...
7
votes
4
answers
279
views
Accessing 16-bit Registers: Is this an error in the ATTiny102 datasheet?
EDIT: Microchip responded that this is an error in the datasheet.
We have received clarification from our technical experts regarding the 16-bit register access order in the ATtiny102/104. After a ...
1
vote
2
answers
129
views
will the MCU be latch up and stay on?
Figure 1 is MCU circuit
Figure 2 is power supply switching circuit
Figure 3 is LDO circuit for the MCU power.
The goal is to turn the MCU on by momentarily connect ground to PWR_Switch_Trigger and
...
0
votes
1
answer
76
views
A question on ATTINY ADC voltage sensing circuit
The MCU will be programmed outside and then will be placed on the PCB whose schematic is shown.
I have not added any POR (power on reset) circuit, is that mandatory to add in order to function ...
3
votes
2
answers
114
views
Unstable ATtiny13a _delay_us
I have instructed ATtiny13a to continuously create 1-0-1-0-1-0... trying to target exactly 600 baud rate. On the other side, I use Arduino to measure duration of each pulse emitted by Tiny. These are ...
0
votes
1
answer
133
views
Leveraging the ability of AVR microcontrollers to self-program [closed]
I am planning writing an elaborate swarm-like (8-16 chips with no common bus to speak of) solution. Given that I plan on storing 3k of data (considering implementing compression) and need some clarity....
1
vote
1
answer
145
views
I2C on ATtiny441
I have a setup where a board (custom-made, designed by us) with an ATmega32U4 communicates via I2C with a second board (also designed by us) with an ATtiny441.
The communication is extremely simple: ...
0
votes
2
answers
138
views
ATtiny 0/1-series (SOIC-8): using SPI and EXTCLK simultaneously
I need to use SPI and EXTCLK simultaneously in ATtiny 0/1-series (SOIC-8) and as you know PIN7 (PA3) functions EXTCLK/SCK.
is there any way or trick to multiplex SCK to other pin?
Thanks for any ...
0
votes
1
answer
224
views
How to secure ESP32-to-inverter RS232 communication by filtering commands using ATtiny?
we are working on a project where an ESP32 communicates with a solar inverter (Axpert KS/MKS/V) over RS232 to fetch status data (e.g., PV power, battery voltage) via the ...
5
votes
3
answers
1k
views
Extra 0x00 sent at end of RS485 message
I am currently trying to use an arduino to send an RS485 via an SP3078EEN RS485 transciever. I have my arduino code set the DE pin high, wait 1ms, then write and flush a data buffer to the serial ...
3
votes
2
answers
134
views
Chip Erase verification on AtTiny3217
I'm trying to write software to program an AtTiny3217 via UDPI, but I'm stuck when it comes to performing the Chip Erase step.
In the datasheet, it says
Enter the Chip Erase key by using the KEY ...
4
votes
4
answers
1k
views
How can I turn a MOSFET on and off with a PNP transistor?
I need to control a MOSFET (a Jiangshu JieJie JMSL0302AU) with an ATtiny1616 to turn a 40 A load on and off (without switching.) Could you please check if this schematic is correct? The ATtiny will be ...
0
votes
2
answers
154
views
No cheap NC tactile switch on the market? [closed]
I have been struggling with a problem that seems so simple I am a bit ashamed raising it here.
1 — Context
I have designed a PCB that plays a chiptune song when powered. What I wanted to do a minimal ...
0
votes
4
answers
231
views
What does it mean the MCU has 1 ADC and 10 ADC channels?
I got this AVR Microchip MCU ATtiny 204 chip. Now what I can't get, what do they mean in the datasheet it has 1 ADC and 10 channels ADC?
The datasheet:https://datasheet.octopart.com/ATTINY204-SSF-...