The utility model discloses a microcontroller interface circuit includes a first sharing circuit, microcontroller, microcontroller second, interface conversion chip, first download circuit, second download circuit and peripheral interface circuit of the MCU interface sharing; the first single and second single chip machine is respectively connected with the interface conversion chip, the interface conversion chip connection with the peripheral interface circuit, which is used to control the first and the second single-chip MCU respectively the peripheral interface circuit is connected with the state; the first download circuit is respectively connected with the first and second single-chip microcontroller, for the first and second single-chip microcontroller programming procedures; the second download circuit and the the interface conversion chip is used for the burning process of the interface conversion chip. The utility model improves the reliability of the electrical connection of the interface circuit of the single chip microcomputer.
【技术实现步骤摘要】
本技术涉及单片机
,尤其涉及一种单片机接口共享电路。
技术介绍
众所周知,现有的单片机开发板为提供学习需求,通常需要设置两块不同型号的单片机,同时为了降低成本需求,通常采用单片机接口共享电路设计,以实现外围接口电路共享。传统的单片机接口共享电路中,通常设计排针和连接线连接的方式,实现外围电路接口共享。具体地,每块单片机需要与外围接口电路连接的接口均设置排针,且相应的外围接口电路设计有排针;在未使用时,单片机与外围接口电路未进行连接,当需要采用某一单片机与外围接口电路连接时,直接将两者对应的排针通过连接线连接即可。由于采用连接线进行连接,容易损坏连接接头或者连接线,从而导致单片机与外围接口电路之间断开连接,因此传统的单片机接口共享电路电气连接的可靠性较差。
技术实现思路
本技术的主要目的在于提供一种单片机接口共享电路,旨在提高了单片机接口共享电路电气连接的可靠性。为了实现上述目的,本技术提供一种列单片机接口共享电路,所述单片机接口共享电路包括第一单片机、第二单片机、接口转换芯片、第一下载电路、第二下载电路和外围接口电路;所述第一单片机和第二单片机分别与所述接口转换芯片连接,所述接口转换芯片与所述外围接口电路连接,用于控制所述第一单片机和所述第二单片机分别所述外围接口电路连接的状态;所述第一下载电路分别与所述第一单片机和第二单片机连接,用于对所述第一单片机和第二单片机烧录程序;所述第二下载电路与所述接口转换芯片连接,用于对所述接口转换芯片烧录程序。优选地,所述外围接口电路包括按键电路、蜂鸣器电路、MAX232接口电路、LED数码管显示电路和LED指示灯电路中的 ...
【技术保护点】
一种单片机接口共享电路,其特征在于,所述单片机接口共享电路包括第一单片机、第二单片机、接口转换芯片、第一下载电路、第二下载电路和外围接口电路;所述第一单片机和第二单片机分别与所述接口转换芯片连接,所述接口转换芯片与所述外围接口电路连接,用于控制所述第一单片机和所述第二单片机分别所述外围接口电路连接的状态;所述第一下载电路分别与所述第一单片机和第二单片机连接,用于对所述第一单片机和第二单片机烧录程序;所述第二下载电路与所述接口转换芯片连接,用于对所述接口转换芯片烧录程序。
【技术特征摘要】
1.一种单片机接口共享电路,其特征在于,所述单片机接口共享电路包括第一单片机、第二单片机、接口转换芯片、第一下载电路、第二下载电路和外围接口电路;所述第一单片机和第二单片机分别与所述接口转换芯片连接,所述接口转换芯片与所述外围接口电路连接,用于控制所述第一单片机和所述第二单片机分别所述外围接口电路连接的状态;所述第一下载电路分别与所述第一单片机和第二单片机连接,用于对所述第一单片机和第二单片机烧录程序;所述第二下载电路...
【专利技术属性】
技术研发人员:韩雪,刘津,粟慧龙,张兰红,张敏海,饶金根,
申请(专利权)人:湖南铁路科技职业技术学院,
类型:新型
国别省市:湖南;43
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。