this post was submitted on 01 Jul 2023
2 points (100.0% liked)

AVR

90 readers
1 users here now

This is an UNOFFICIAL AVR community.

This is a community for people who use AVR microcontrollers. This can include Arduinos, Arduino clones, Arduino like boards, and stand alone AVR chips and self-designed boards.

NOTE: If your circuit is doing something weird when you touch a wire or move your hand across it see this pinned post.

This is a community for everyone who is interested in AVRs and Arduinos from beginners to experts, kids to adults, hobbyists to engineers.

You may also be interested in:

Arduino

RULES:

  1. All Lemmy.ca rules apply here.

  2. Everyone (see rule 98) is welcome.

  3. If you’ve seen a question 100 times answer it the 101st time or ignore it. Even better, write a complete, detailed answer and suggest that the mod(s) pin it to the community.

[Did you actually think there were 98 rules?]

  1. If you present something as fact and are asked to provide proof or a source provide proof or a source. Proof must be from a reliable source. If you fail to provide proof or a source your post or comment may be removed.

  2. Don’t be a dick. Yes, this is a catch-all rule.

  3. The mod(s) have the final say.

founded 1 year ago
MODERATORS
 

So for... reasons... Microchip has seemingly killed off the "ATTiny" and "ATMega" names. But modern AVR chips continue to be made in the form of AVR DA, DB, DD, and EA. I don't know why Microchip thought it was a good idea for a namechange after decades, but its not a big deal, we engineers can figure out the new naming scheme, right?

The main advantage is that 24MHz is supported at all voltage levels now, allowing for more battery efficient loads. Furthermore, there have been significant changes to the Timers, UART (now a USART), and other such I/O.

That being said, AVR DA supports up to 128kB Flash + 16kB of SRAM, making these chips far larger and more competitive.

AVR DA's killer feature is the PTC / Peripheral Touch Controller. Capacitive buttons require a fair amount of smarts to measure capacitance (ie: inject current and measure the speed at which voltage changes), and PTC automates that process. This is an old, obscure feature of ATMega328 however, but it seems like Microchip wanted a specific AVR to offer this feature. The other three lines do not have PTC.

AVR DB's killer feature is 3x Rail-to-rail OpAmps. OpAmps are the old 1920s style of analog computers, where your values are stored as voltages. Addition, subtraction, multiplication, division, exponents, derivatives and integrals can be done on these difficult to use Operational-Amplifiers. But more imporantly, a fair number of "analog circuits" use them to amplify voltages to usable levels, or improve current/voltages and provide better measurements.

AVR DD is a bit cheaper, but offers multi-voltage I/O. PortD runs off of a second powerline, meaning you can have a 3.3V PortC, but 5V PortD. Its basically an integrated level-shifter.

AVR EA is thew newest of the bunch and seems to be the cheapest / fewest set of features. I'm guessing AVR EA (or maybe even "E" line entirely) is the new ATTiny, while the D-line is more akin to the ATMegas.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here