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.
514 questions
1
vote
2
answers
126
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
72
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
109
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
130
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
142
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
133
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
211
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
128
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
972
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
142
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
206
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-...
-1
votes
1
answer
136
views
Analog switch for controlling LED
I need help/suggestions for the implementation of my schematic:
In the schematic image pasted below, particularly look only at the charging IC, boost converter, analog switch, and ATTiny 1616 ...
0
votes
0
answers
101
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
53
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 ...