Skip to main content

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.

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 ...
aud098's user avatar
  • 1
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 ...
aud098's user avatar
  • 1
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 ...
Milos's user avatar
  • 213
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....
markoj's user avatar
  • 13
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: ...
Cal-linux's user avatar
  • 2,264
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 ...
Ata's user avatar
  • 142
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 ...
Abdulkader Khateeb's user avatar
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 ...
Patrick Voorhoeve's user avatar
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 ...
RoadieRich's user avatar
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 ...
Diego's user avatar
  • 61
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 ...
Joe Cohen's user avatar
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-...
Hazardous Voltage's user avatar
-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 ...
Tahoor Asim's user avatar
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 ...
mArkO's user avatar
  • 1
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 ...
AAS's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
35