Loading...
Pages: [1]   Go Down
Author Topic: serially addressable digital mux  (Read 234 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need a digital mux part with the following features (havent beeen able to find one, thought maybe somebody here knows of one);
  
    4-8 serially addressable switches
    2 inputs only-   [1]serial in (to select output) and     [2]the signal to be switched

does anybody know of a part that does this? surely there must be one out there somewhere!
see diagram below



Uploaded with ImageShack.us
« Last Edit: January 23, 2013, 05:43:13 am by eriknyquist » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 97
Posts: 6384
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use two chips:  a counter to count the pulses and a multiplexer to select the output.
Logged

Offline Offline
Full Member
***
Karma: 6
Posts: 135
Knowledge is proportional to the number of parts destroyed.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't think you can do it with just 2 inputs. You'll need a clock as well as a serial input in addition to your switched signal.

The MAXIM MAX349 and MAX350 chips probably come the closest to what you are looking for.
http://datasheets.maximintegrated.com/en/ds/MAX349-MAX350.pdf
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah that maxim part was actually my first option, they're 6 bucks a pop though! this is for something I'll be manufacturing quite a few of, so unfortunately this solution has to be < 50c.

clock, yes I forgot to include a clock in that diagram, but a clock signal WILL be part of this setup....so are there any parts out there that let me do it with 3 lines? clock, signal, and serial (line select)
Logged

Sweden
Offline Offline
Newbie
*
Karma: 1
Posts: 48
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just an idé. You could use a cheap MCU instead of the expensive serial mux.

Atmega8 cost 0,88$ with free shipping.
http://www.ebay.com/sch/i.html?_trksid=p5197.m570.l1313&_nkw=atmega8&_sacat=0&_from=R40

Would be easy to write code which read address and state from UART or I2C and toggle outputs.
 

Logged

Offline Offline
Full Member
***
Karma: 6
Posts: 135
Knowledge is proportional to the number of parts destroyed.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use a cheap MCU instead of the expensive serial mux.

That reminded me of a project I assembled for a friend some years back:
http://www.qsl.net/ka2pyj/serialschematic.htm

The serial converter chip (EDE300) took one wire of serial data and used it to control a crosspoint mux chip (74HCT22106).

The EDE300 was quite expensive as I remember, but when we received it we found that the chip was just a Microchip 16F84 programmed to convert serial data to parallel data.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

johnwasser- That's an interesting idea, could you elaborate any more on that? doesn't a counter just take a clock input, and have a single output? how could I control a mux with that?
Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 13
Posts: 1541
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

johnwasser- That's an interesting idea, could you elaborate any more on that? doesn't a counter just take a clock input, and have a single output? how could I control a mux with that?

He meant that you could program the ATMega8 to act like a mux. It's just like adding another Arduino to your project to take over the mux duties.

An ATMega8 is just an older style of ATMega328. Same number of pins but less memory and a bit cheaper -- well, actually the ATMega328 is a bit cheaper if you buy it from domestic sources (Digikey/Mouser/Newark/etc.).

See: http://arduino.cc/en/Tutorial/ArduinoISP or http://0000b.blogspot.com/2010/09/using-atmel-atmega8-as-arduino.html or http://hlt.media.mit.edu/?p=1695

Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 97
Posts: 6384
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

johnwasser- That's an interesting idea, could you elaborate any more on that? doesn't a counter just take a clock input, and have a single output? how could I control a mux with that?

It's not clear exactly what you want.  Did you want an ANALOG multiplexer or DIGITAL?  If DIGITAL, did you want 1 input and 8 outputs or 8 inputs and 1 output?

Let's assume analog.  Take a CMOS counter like the TI CD4024B  7-stage ripple counter and connect the low three bits to the address inputs of the TI CD4051BC "Single 8-Channel Analog Multiplexer/Demultiplexer".  Each pulse to the counter will select a different connection in the multiplexer. 

With CMOS you have to be sure to tie all unused inputs HIGH or LOW.  If an input is left floating it might turn on both of the Complimentary-symetry MOS transistors and try to drive a signal both HIGH and LOW.  This can burn out your chip.
Logged

Pages: [1]   Go Up
Print
 
Jump to: