Type in the full discussion title or a part of it.
Discussion Title Created date
change of timer prescaler
Hi,my mcu: attiny84. I have a timer function that I can call and use anywhere in my program.There are some question marks in my mind about this.I designed this function not to use...
Saturday, 9 January 2021 - 18:11
about adc Changing Channel or Reference Selection and some adc questions
  Hi,My mcu:attiny84 I have read this section in datasheet.I have some question marks in my mind. 1)There is a ritual for updating admux safely in this section in datasheet....
Friday, 8 January 2021 - 14:37
about using of 1.1 v internal reference
Hi,my mcu attiny84a.I have some questions. 1)I did not understand the last paragraph in the picture.For example,I chose the reference voltage internally 1.1 volts.Do I have...
Thursday, 7 January 2021 - 12:14
How can I configure this code to run at 4 Mhz?
Hi,This code is running in 8mhz.I want to run in 4Mhz.Code is about data send to virtual terminal.Mcu:attiny84 Code: https://github.com/MarcelMG/AVR8...
Tuesday, 5 January 2021 - 10:10
trueRMS independent of frequency and waveform and adc configurations
Hi,I'm looking for a code like the title.My mcu attiny84.Is it possible?I am measuring a rectified voltage with a voltage divider resistor with truerms algorithm.Vtrms=sqrt((V1^2+...
Thursday, 31 December 2020 - 07:13
some questions about CPU speed and optimization
    Hi,I have some questions.My mcu:attiny84.I will use internal cpu frequency. Default settings is "0010" for CKSEL bits--->(calibrated internal 8mhz oscillator) "1...
Wednesday, 30 December 2020 - 10:39
problem of adc in atmel_studio vs arduino ide
Hello,My micro controller attiny84.I was doing an experiment on measurements of adc time.And I ran into a very interesting problem. My settings is here: define Fcpu= 8 Mhz...
Friday, 25 December 2020 - 22:56
timer0 time conflict
  Hello,I connected A7 PIN blinking 1 in 40 ms to the oscilloscope.But I saw that some intervals aren't equal to 20 milliseconds (please look at the attached...
Thursday, 24 December 2020 - 22:27
adc time vs timer time
  Hello,I have to read adc voltage data every 50 milliseconds.    I have two ways to do this. 1) I set a timer and read adc for 40 milliseconds. And if I read how...
Monday, 21 December 2020 - 14:22
basic adc problem
Hello,I followed the instructions in the datasheet to read adc but adc reads continuously 0. Where is the error? My code:   #define F_CPU 16000000UL #include <avr/io.h...
Friday, 18 December 2020 - 19:31
timer0 compa it doesn't work.
Hello,my code in below.A program that simply lights a led 4 seconds after the program is running.interrupt frequency 1000 Hz: But why doesn't it work? My mcu: Attiny84A   #...
Friday, 27 November 2020 - 15:04
about using internal rc oscillator and vcc
Hello,I am using attiny84a mcu. -I want to using internal rc oscillator.I haven't done any calibration with oscal register.So,How many volts at least can I use Vcc? 2.7volts or 3...
Thursday, 19 November 2020 - 13:26

Pages