TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SparkleTilt: Design a Digital Level PCB

26 点作者 karmanyaahm超过 1 年前

1 comment

dragontamer超过 1 年前
ATmega328p is legendary but the AVR64DB32 is a far superior upgrade in almost every way that matters.<p>64Kb Flash, 16kB SRam, full 24Mhz speed at 1.8V minimum power, 12bit 130ksample ADC, 2x Rail to Rail OpAmps for free (3x on higher end versions), etc etc. Better timers, USART, DAC, Comparator, Zero crossing detector, 50mA per pin with full 1.8V to 5.5V range, 300mA total GPIO source&#x2F;sink, multiple VRefs, 4x 3-LUTs + 2x JK Flipflops for glue logic, event routing system (peripheral-to-peripheral routing while under deep sleep).<p>And... AVR64DB32 is cheaper at Digikey than ATMega328pb.<p>So faster, cheaper, more capable, lower power (sleepwalking peripherals), more flash, better analog components, what&#x27;s not to like?<p>I realize that Arduino Uno has made ATMega328p absurdly popular. But AVRs have had over 10 years of upgrades since then. And so has the competition (TIs MSPM0 Cortex M0+ for like 50 cents is very competitive, as is STM32C0 line or STM32U5 low power line)<p>-------<p>If you have a legacy design using legacy ATMega328pb parts, well... the hardware drivers have changed in AVR DB line.<p>But it&#x27;s all AVR Assembly&#x2F;machine code. Your libraries and code will otherwise work with just a recompile. I get that peripherals are harder to port but ... Legacy Peripheral driver is pretty much the only reason to stick with the 12+ year old ATMega328pb.<p>The embedded world moves slower than consumer chips, but it still moves! After a decade, the newer embedded chips are like night-and-day superior over decade+ old models.
评论 #37733842 未加载
评论 #37734372 未加载