Type in the full discussion title or a part of it.
Discussion Title Created date
megaAVR TCA Single slope PWM vs Periodic Interrupt
Hi all! I am kinda new to counters. As I was studying it, I came across this app note and saw example of period interrupt mode. After connecting the output to the...
Friday, 17 April 2020 - 06:17
DS3231 on megaAVR-0
  Hi all! I'm currently working on interfacing the DS3231 module from Maxim Integrated via TWI on my ATmega4809. Reading the datasheet, I've understood the working mechanism...
Monday, 9 March 2020 - 02:42
Quadrature encoder is moved while power off
Hi all! I have a quadrature encoder that is used to calculate displacement based from the formula "displacement = (pi*d*count)/ppr" where count is the counter of pulses A vs B...
Tuesday, 18 February 2020 - 08:24
EEPROM in ATmega4809 (with BOD & VLM)
Hi, all. For my project, I'm recording the counts of the steps my position sensor moved, so that I can calculate a certain displacement. Now, I want to save the last count...
Monday, 3 February 2020 - 06:38
Any way to check if variable's value changed?
Hi all. Is there any command or way to check if a variable changed its value? I am working on a magnetic position sensor using SPI mode. Its output is a 10-bit data (0-1023) where...
Monday, 27 January 2020 - 07:19
Print to LCD from sprintf
Hi all. I am wondering if I can create a function in other .c file that prints to an LCD, but the string to be printed is a long/integer output value printed from main.c and...
Monday, 27 January 2020 - 02:33
Magnetic sensor reading and binary bit masking
Hi all! I'm trying to read data from AS5040 Magnetic sensor (see datasheet of chip here and for the adapter board I'm using here) using the SPI output mode, with my...
Thursday, 16 January 2020 - 00:51
Interfacing 16x2 LCD in ATmega4809
Hi all.   I'm new in AVR, and now I'm trying to create a program that displays characters to an 16x2 LCD in 4-bit mode using ATmega4809 Curiosity Nano board. As a guide, I've...
Saturday, 4 January 2020 - 01:36
USART3 is the only working in ATmega4809
Hi all. I am new to AVR and now I'm studying ATmega4809 Curiosity Nano board. I would like to explore the USART pins of the board. In the data sheet, if I'm not mistaken, there...
Friday, 27 December 2019 - 05:05