Dip switch replacement - Page 1
Forum section: electronics / beginners

author: Zerocool5878
author_rank: Newbie
timestamp: September 14, 2012, 06:23:10 pm
content: So my project currently uses 3 sets of 6 dip switches. Mainly because they were easy to use and it got the job done with my limited experience. However I am about ready to have my board printed and I decided that I would love to replace them with a simple 3 position switch and maybe 3 ic's?This might be a fantasy but this is how I picture iteach postion of the 3 position switch provides one of the 3 ic's power which in turn makes them switch each connection of the 6 connections closed.now maybe there is another way to do it and I would love to hear whatever options are out there.Thanks in advance

author: shebu18
author_rank: Frequent Contributor
timestamp: September 14, 2012, 06:30:52 pm
content: Detail the project a bit. You could control a multiplexer with a 3 pin dipswitch.

author: SeanB
author_rank: Super Contributor
timestamp: September 14, 2012, 06:36:46 pm
content: What voltage, current and what are you switching. Important to know, as this determines the resulting solutions that can be offered.

author: Zerocool5878
author_rank: Newbie
timestamp: September 14, 2012, 06:47:44 pm
content: Quote from: shebu18 on September 14, 2012, 06:30:52 pmBasically the concept is using a 28 pin socket to program a few different types of AT chips. each postion of the switch changes the pin outs of the socket.If a multiplexer is totally addressable I actually could use one chip with 6 inputs and 8 outputs. instead of 3 chipsQuote from: SeanB on September 14, 2012, 06:36:46 pm5v 50mA, switching 5v, gnd, and data

author: Jon Chandler
author_rank: Frequent Contributor
timestamp: September 15, 2012, 01:16:29 am
content: I was recently looking at a part by one of the IC vendors, maybe TI or NXP - a programmable DIP switch IC. It has an I2C interface and noun-volatile memory for maybe 3 configurations or it can be programmed on the fly via I2C for any configuration needed. I thought it was very cool but couldn't think of an application for it. Search on DIP switch on TI and NXP and you'll probably find it.Its intended purpose is for voltage select pins on microprocessor cores.

author: TerminalJack505
author_rank: Super Contributor
timestamp: September 15, 2012, 03:13:58 am
content: It sounds like you are trying to route 6 signals to one of a maximum of 3 pins. If so then see the attached for one idea of how to do it.The 74HC4052 can only handle a maximum of 25mA through any of the signal pins so that could be an issue if you really need 50mA. I don't think programming an Atmel AVR takes that much current, however.If you use something other than the 74HC4052 then be sure to use an analog mux/demux since you need bidirectional capability. (Digital don't have this capability.)

author: Rudolfo
author_rank: Contributor
timestamp: September 17, 2012, 08:13:45 am
content: There are smart solutions out there with little hall encoder, like the iC-MP. There can be cascade in a daisy chain for read out with two lines. Here there are some applications:http://www.ichaus.biz/appnote_magneticsensorsand the data sheethttp://www.ichaus.biz/MP_datasheet_en.Enjoy your design work!