通信接口

FT232RL编程器与Arduino ATMEGA328的连接和程序上传

字号+ 作者:duino123.com 来源:未知 2016-04-28 17:13 我要评论( )

通过本例简单的介绍,你会知道如何连接FT232RL与ATMEGA328控制器并上传程序。


PLCLIVE.COM注:
通过本例简单的介绍,你会知道如何连接FT232RL与ATMEGA328控制器并上传程序。


Step 1: 元件清单



1 x FT232RL chip

1 x ATMEGA328P-PU microcontroller

Wires

USB cable

0.1 uf capacitor

 
 

Step 2: 连接和上传





This instructable was made in a hurry and I think the connections in the image are wrong. Should be RX -> pin 3 and TX to pin 2.

FT232RL -> ATMEGA328

DTR via 0.1 uf capacitor > pin 1

RX -> pin 3

TX -> pin 2

VCC -> pin 7

GND -> pin 8

ATMEGA328

Pin 7 (+) -> pin 20 (+)

To upload sketches is the same as usual.

Make sure you select the right port.

If your ATMEGA328 is running at 8Mhz select “Tools → Board” and select “Atmega 328 on a breadboard (8MHz internal clock)”.

If your ATMEGA328 is running at 16Mhz select “Tools → Board” and select “Arduino Uno”.

Step 3: Tip







I have soldered the capacitor and the wires to my FT232RL chip so now it's very easy to use.

It is good practise to solder male or female header pins to pin 1, 2, 3 and to + and - so you can still upload and change the program on the microcontroller without having to remove the chip.


如需更详细资料,如有好资源分享,请加入QQ交流群:214461008

欢迎阅读,欢迎转载,不用注明出处!本站只提供入门和进阶资料,做您学习的小伙伴!

请加群:214461008

相关文章
  • json在arduino上的应用

    json在arduino上的应用

    2016-06-20 09:45

  • 两块Arduino之间通过SPI通信

    两块Arduino之间通过SPI通信

    2016-06-01 13:02

  • 常见的几种arduino型号的IIC引脚定义

    常见的几种arduino型号的IIC引脚定义

    2016-05-29 14:40

  • Arduino软串口的使用

    Arduino软串口的使用

    2016-05-04 15:27

网友点评
Arduino
热门教程
关注我们
自动化世界