通信接口

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 不要看声明了,看内容吧!

相关文章
  • Arduino软串口的使用

    Arduino软串口的使用

    2016-05-04 15:27

  • [2016.05.04]Arduino串口从基础到高级最全面教程

    [2016.05.04]Arduino串口从基础到高级最全面教程

    2016-05-05 14:14

  • 手机APP通过蓝牙控制Arduino上的通讯实验及完整例程

    手机APP通过蓝牙控制Arduino上的通讯实验及完整例程

    2016-05-02 22:13

  • Arduino串口高级用法

    Arduino串口高级用法

    2016-05-17 09:24

网友点评
Arduino