avr单片机教程 csdn_从古老的attiny85升级到新的AVR 1系列attiny412教程

这篇avr单片机教程介绍了如何从旧款的attiny85升级到最新的AVR 1系列单片机——attiny412。文章详细讲解了升级过程,并提供了相关资源链接。
摘要由CSDN通过智能技术生成

avr单片机教程 csdn

If you are into the Atmel microcontroller camp, chances are if you are adding some degree of automation to your electronic project you have heard of the popular ATtiny85 microcontroller, launched back all the way in 2005 (who would have thought!).

如果您进入Atmel微控制器阵营,则有可能在您的电子项目中增加某种程度的自动化,您会听说流行的ATtiny85微控制器,该微控制器于2005年问世。

Found in projects ranging from a somewhat complex USBtinyISP programmer (a low cost ISP programmer), to simple NeoPixel LED strip drivers, to some more impressive ones such as Pulse Oximeters. If your design does not require many IOs, there’s a high chance you’ll use one. Because let’s face it, there are tons of resources online and the device is pretty inexpensive; and like with any other electronic project, it’s highly likely you will run into a problem when building your gadget, be it an unexpected short circuit (don’t let magic smoke happen!), failure during programming, etc. Trust me, all those resources come in handy so you find and fix any error.

从一些复杂的USBtinyISP编程器(一种低成本ISP编程器)到简单的NeoPixel LED灯条驱动器,再到一些更令人印象深刻的产品(例如脉搏血氧仪),都可以找到这些项目。 如果您的设计不需要很多IO,则很有可能会使用一个。 因为我们面对现实,所以在线上有大量资源,而且该设备非常便宜。 就像任何其他电子项目一样,在构建小工具时,很可能会遇到问题,例如意外的短路(不要让魔术冒烟!),编程过程中的失败等等。相信我,所有这些资源会派上用场,因此您可以查找并修复任何错误。

Image for post
Impressive amount of results for such a tiny chip
如此微小的芯片带来令人印象深刻的结果

The project I wanted to build (which you can check out the story here) was ‘somewhat’ straightforward, I had a RN4020 Bluetooth LE module that needed some initialization via it’s UART interface, and was going to hand over the communication to a USB to UART IC once the configuration was done. Having used the ATtiny85 in the past I know first hand that I am in for a wild ride if I want to have full duplex UART communication as the chip does not have an built in peripheral, only that not so friendly to configure USI (Universal Serial Interface); and using any ATmega was out of the question since I had a target size for the PCB.

我想要构建的项目(您可以在此处查看故事)非常简单,我有一个RN4020蓝牙LE模块,该模块需要通过其UART接口进行一些初始化,并将通信传递给USB,完成配置后,UART IC。 过去曾经使用过ATtiny85,如果我想进行全双工UART通信,因为该芯片没有内置的外设,那么我就亲身经历了一次疯狂的旅程,只是对配置USI不太友好(通用串行)接口); 因为我有PCB的目标尺寸,所以使用任何ATmega都是不可能的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值