Skip to main content

All Questions

Tagged with
0 votes
4 answers
50 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
0 votes
1 answer
81 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
27 views

Which ATtiny TWI parameter provides more robust operation?

I'm using an ATtiny3226 as an I2C client (slave) interface in a robot, to get commands from the main controller (single master) using I2C on a shielded cable. There are brushless and servo motors ...
Tirdad Sadri Nejad's user avatar
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 ...
Ash Ketchup's user avatar
1 vote
1 answer
156 views

avr-gcc optimization deleting register writes on ATTiny402

I'm using avr-gcc (12.1.0, built with this script: https://github.com/ZakKemble/avr-gcc-build) to compile for the ATtiny402 and encountering problems with code optimization. Specifically, the compiler ...
andy28's user avatar
  • 13
0 votes
1 answer
150 views

Proteus ATTiny85/ATMega328P CLKOUT not sending any signal at all - Why?

I set all the fuse bits correctly according to the datasheet, It seems like I just need to set the CLKOUT bits correctly, and I should get a signal of some sort. I can still send signals to the GPIO ...
Jeygopi's user avatar
1 vote
2 answers
183 views

ADC reading on ATtiny13, without dedicated clock?

I am in a design phase of a small circuit which is intended to measure an external voltage, with an ATtiny13. This AVR has a dedicated ADC hardware, which is suitable for my needs (need to detect ...
Daniel's user avatar
  • 969
0 votes
1 answer
299 views

Faster Timer0 overflow than 2 ms on Attiny85

I'm trying to get a Timer0 overflow with an overflow every 500us, but can't find a solution to get it so low. I'm running the Attiny85 on its internal 1 MHz clock, so I know it is not gonna be the ...
jonas's user avatar
  • 309
1 vote
2 answers
364 views

ATTiny204 accurate delay with correct fuses and F_CPU

So I worked with an ATTiny for the first time today and I was quite different from my regular Arduino / ESP8266 programming. When testing the Blink script I noticed that the delays weren't correct at ...
Christopher's user avatar
0 votes
1 answer
136 views

AVR GDB Inconsistencies

I'm trying to debug a program running on an ATtiny84A, and I am having trouble understanding either how to use it, or interpreting its output, or both. For testing purposes, I created a simple program ...
Kalcifer's user avatar
  • 245
0 votes
2 answers
314 views

AVR "OUT" function. addressing port without constant

I am currently writing some assembly code that needs to address different I/O ports at certain times in my code. For example, at one point I may want to address PORTD4, and at another point I may want ...
dhout23's user avatar
  • 15
0 votes
1 answer
114 views

Unnexpected Behaviour From Software UART On ATtiny84A AVR

I am trying to implement a software UART for the ATtiny84A, as it does not come with a UART out of the box. The following is an example of the UART TX: ...
Kalcifer's user avatar
  • 245
0 votes
2 answers
140 views

`sizeof` Function Is not Working as Expected With AVR Microcontroller [closed]

Observe the following example code (Microcontroller used: ATtiny84A): ...
Kalcifer's user avatar
  • 245
0 votes
1 answer
72 views

Problem or misunderstand of ADATE bit on ATTiny45

I have 2 buttons connected to pulled-down ADC input. I want to trigger ISR(SIG_ADC) when ADC finishes conversion - this is working. If I start ADC using ...
filimonic's user avatar
  • 209
0 votes
1 answer
647 views

How do I invoke pymcuprog?

I have successfully created an ATtiny406 binary using avr-gcc in Linux, and I can program it to the device via Atmel-ICE under Atmel Studio in Windows, and it ...
personal_cloud's user avatar

15 30 50 per page
1
2 3 4 5
10