binary to denery

Hello all, I recently bought a sn74ls1388n in hopes of creating a 3 pin to 10 pin converter, in which i can control motor controllers with less pins. I understand you could use a shift register :) But that wouldn't be as awesome!

I must of misunderstood the chip as it did not work... I also was looking at the data sheet and i am convinced it is for signals of that i do not understand. has anyone used such a chip? :) And could some one just name it... thank you

Do you have a datasheet link?

What is your plan for 10 outputs from 3? 000 001 010 011 100 101 110 111 That's it - all 8 combinations. Is there a 4th pin to obtain 1000 and 1001 ?

sn74ls1388n

Can you provide a link to this device, please?

I must of misunderstood the chip as it did not work

Is there something missing/misspelled in this sentence? I don't understand.

I bet he meant '138 http://www.ti.com/product/sn74ls138 I think I'd go with shift register, then you can turn all the outputs off, or turn on a couple of motors together.

I bet he meant '138

You are precisely right my bad!

Can you provide a link to this device, please?

Look below that's what I used :)

Cross roads, that's the concept I am looking for, I literally want a chip that has 8 (or more) outputs with only 3 or 4 inputs so i can count in binary on these leads to supply many more connections. The chip i bought I am almost certain it isnt what I am looking for. Thank you all for your time :)

The 74xx138 is a 3-to-8 (or 1-of-8) decoder.

The truth table is like this:

A0 | A1 | A1 || Q0 | Q1 | Q2 | Q3 | Q4 | Q5 | Q6 | Q7
-----------------------------------------------------
 0 |  0 |  0 ||  0 |  1 |  1 |  1 |  1 |  1 |  1 |  1
 1 |  0 |  0 ||  1 |  0 |  1 |  1 |  1 |  1 |  1 |  1 
 0 |  1 |  0 ||  1 |  1 |  0 |  1 |  1 |  1 |  1 |  1 
 1 |  1 |  0 ||  1 |  1 |  1 |  0 |  1 |  1 |  1 |  1 
 0 |  0 |  1 ||  1 |  1 |  1 |  1 |  0 |  1 |  1 |  1 
 1 |  0 |  1 ||  1 |  1 |  1 |  1 |  1 |  0 |  1 |  1 
 0 |  1 |  1 ||  1 |  1 |  1 |  1 |  1 |  1 |  0 |  1 
 1 |  1 |  1 ||  1 |  1 |  1 |  1 |  1 |  1 |  1 |  0

I.e., you enter an address and the corresponding output is set low. All other outputs are set high.

They have traditionally been mostly used for address decoding, where the lower 3 bits of an address are used to select one of 8 chips in a computer system.

If you want the outputs to be independently controlled, then you will either need a shift register, or an IO expander, like the MCP23S17 (SPI), or MCP23017 (I²C).