![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, Are there any chips out there that have all the following on 1 chip? AND gate NAND gate 2 AND gates with inverted inputs. The reason I ask is I need to free up a couple of pins on my PIC chip. I am currently outputing 4 different values on 4 pins. What I want to do is output the 4 different values on 2 pins and use these gates to get the 4 results...i.e. 0 + 0 = 1 0 + 1 = 2 1 + 0 = 3 1 + 1 = 4 NAND is the first, AND with 2nd inverted input is second, AND with first inverted input is third, and AND is fourth. I suppose I could do it with 2 NOT gates and 4 AND gates. Cheers, Craig Last edited by richacm; 7th July 2008 at 03:38 AM. | |
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| Quite interesting but I would probably still need a few of these to do the job I want. I would rather do it with 1 extra chip. | |
| |
| | (permalink) |
| Then perhaps. http://www.ee.ctu.edu.tw/material/da...et/16v8mil.pdf Last edited by Mikebits; 7th July 2008 at 03:54 AM. | |
| |
| | (permalink) |
| Now thats a pretty nice chip! Bit of an over kill for what I'm doing though - it kinds of also leads to the point of why not just by another cheap as PIC chip and program that. What I am going to do though is remove 6 other pins I used for a 8bit wide bus and instead use a shift register to store this. I will then only need 2 pins to do this. Thanks for the info though. | |
| |
| | (permalink) |
| @Mike: I have not seen any PAL's or GALs for a long time. My HS uses them, but I am going to persuade the teachers and the school board to stop using GALs, as they are completely left behind as compared to microcontrollers. I would go for the 74xx08 and the 74xx04, as it is small and not a GAL, as then you would have to get a programmer, etc. | |
| |
| | (permalink) | |
| An ISP Gal device eliminates the need for any fancy programmer. Only a PC is needed. Quote:
| ||
| |
| | (permalink) |
| Looks like a 74HC238 might do the trick for you: http://focus.ti.com/lit/ds/symlink/cd74hc138.pdf
__________________ --- The days of the digital watch are numbered. --- | |
| |
| | (permalink) | |
| Quote:
0 + 1 = 2 1 + 0 = 3 1 + 1 = 4 Heck, that would work. Nice | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
Cheers, Craig | ||
| |
| | (permalink) |
| That's equivalent to a NOR gate, it sounds like you haven't tried to use boolean algebra to simplify your expression.
__________________ I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez And http://www.silicontronics.com, same screen name as here. | |
| |
| | (permalink) |
| If you use a shift register such as:- http://www.fairchildsemi.com/ds/74/74VHC164.pdf you can output basically independently on as many outputs you want, using two pins on the PIC. There is some more code to be written and the outputs will go to the wrong state briefly while all the outputs are changing. | |
| |
| | (permalink) |
| The 74HC238 will give you active high outputs. The 74HC138 will give active low outputs. The HCF4028 is also a good choice. Have fun.
__________________ --- The days of the digital watch are numbered. --- | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| multiple sounds from a pc | Gaston | Chit-Chat | 39 | 25th January 2008 07:37 PM |
| multiple regulators, 1 pot | technogeek | Electronic Projects Design/Ideas/Reviews | 10 | 17th June 2007 02:32 AM |
| Help with multiple switching | nickname | Electronic Projects Design/Ideas/Reviews | 11 | 14th August 2005 03:22 AM |
| Multiple PWM using PICBasic or C need help!!! | picBasic_Freak | Micro Controllers | 6 | 1st March 2004 07:36 AM |
| Multiple LED flashlight? | LifeForce4 | Electronic Projects Design/Ideas/Reviews | 3 | 22nd September 2003 06:43 PM |