3534 views|3 replies

1

Posts

0

Resources
The OP
 

How to use GPIO to control line switching [Copy link]

This post was last edited by yuchongjike on 2018-10-23 10:21 Requirements: Use GPIO's HI/LOW to control the switching of related lines, as shown below Figure 1: Two audio output ports, connected to the same speaker. Use GPIO to select whether the current output is Line-out1 or Line-out2 Figure 2: Two display interfaces, connected to the same display. Use GPIO to select whether the current output is Display 1 or Display 2 This is the circuit I simulated with Proteus: Using 74LS245 to simulate, the circuit is switched. But for audio, it seems not to work, the output is analog signal What type of IC can be used to replace 74LS245?
This post is from Analog electronics

Latest reply

An analog switch should be used. If it is a digital signal, a data selector can be used. Both are standard devices.  Details Published on 2018-10-23 19:51

875

Posts

1

Resources
2
 
Analog switches are OK. I have made this kind of circuit before. However, because analog switches are used, there cannot be any pins left floating. The floating pins need to be processed.
This post is from Analog electronics
 
 

1048

Posts

1

Resources
3
 
This post was last edited by topwon on 2018-10-23 17:55 If it is cheap, use analog switches such as 4052. If it is powered by a single power supply, you should use DC blocking capacitors and bias resistors. Unused channels should be grounded. You can find a lot of specific application circuits on the Internet.
This post is from Analog electronics
 
 
 
 

1w

Posts

142

Resources
4
 
An analog switch should be used. If it is a digital signal, a data selector can be used. Both are standard devices.
This post is from Analog electronics
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list