DIY CMOS RAM Memory
![100_0251.JPG](/proxy/?url=https://content.instructables.com/F2O/MNTU/GGBZINLP/F2OMNTUGGBZINLP.jpg&filename=100_0251.JPG)
![100_0244.JPG](/proxy/?url=https://content.instructables.com/F23/K2M4/GGBZINLM/F23K2M4GGBZINLM.jpg&filename=100_0244.JPG)
If you have seen my other instructable on ram memory, you probably know that I used transistors to make a register. In this instructable I will show you how to make a register using CMOS gates.
If you haven't seen my other instructable, check it out https://www.instructables.com/id/DIY-RAM-Memory-Register-Style/
What Is CMOS?
![symbol_N_Chan.JPG](/proxy/?url=https://content.instructables.com/FFR/N3E9/GGBZINKG/FFRN3E9GGBZINKG.jpg&filename=symbol_N_Chan.JPG)
![symbol_N_Chan1.JPG](/proxy/?url=https://content.instructables.com/FHD/OBO1/GGBZINKH/FHDOBO1GGBZINKH.jpg&filename=symbol_N_Chan1.JPG)
Why Use CMOS?
What You Will Need
![100_0259.JPG](/proxy/?url=https://content.instructables.com/FOB/VP5B/GGBZIOEU/FOBVP5BGGBZIOEU.jpg&filename=100_0259.JPG)
***These are per-bit numbers***
8 2N7000 Small signal n-channel mosfet
8 BS250 Small signal p-channel mosfet
2 Pushbutton switches
2 10K ohm resistors
1 1K ohm resistor (or whatever value is needed for your LED)
1 LED
***These are necessary no matter how many bits you make***
Wire
Breadboard
5V power
pliers (not necessary, but very very close)
How It Works
![Data.JPG](/proxy/?url=https://content.instructables.com/FZ7/F4JC/GGBZIO55/FZ7F4JCGGBZIO55.jpg&filename=Data.JPG)
![Data FF.JPG](/proxy/?url=https://content.instructables.com/FZ5/6FCR/GGBZIO58/FZ56FCRGGBZIO58.jpg&filename=Data FF.JPG)
![Data4.JPG](/proxy/?url=https://content.instructables.com/FM3/34XI/GGBZIO59/FM334XIGGBZIO59.jpg&filename=Data4.JPG)
![Data2.JPG](/proxy/?url=https://content.instructables.com/FLS/HN6N/GGBZIO5I/FLSHN6NGGBZIO5I.jpg&filename=Data2.JPG)
![Data3.JPG](/proxy/?url=https://content.instructables.com/FPU/W27X/GGBZIO5O/FPUW27XGGBZIO5O.jpg&filename=Data3.JPG)
The NAND Gate
![NAND.png](/proxy/?url=https://content.instructables.com/F2R/NM2Z/GGBZIOCW/F2RNM2ZGGBZIOCW.png&filename=NAND.png)
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
It requires 4 MOSFET to operate, 2 P-channels and 2 N-channels in the configuration below. The P-channel FETs are in parallel, but the N-channel FETs are stacked up, in a "Totem Pole" configuration. If either A or B is low, then current can flow through one of the the P-channel FETs, making Y logic 1. This is true to the truth table. If both A and B are high, then the P-channel FETs turn off and both N-channel FETs turn on, making Y logic 0. As true to the table.
Building the Circuit
![100_0245.JPG](/proxy/?url=https://content.instructables.com/FHK/CKXG/GGBZINLT/FHKCKXGGGBZINLT.jpg&filename=100_0245.JPG)
![100_0244.JPG](/proxy/?url=https://content.instructables.com/F23/K2M4/GGBZINLM/F23K2M4GGBZINLM.jpg&filename=100_0244.JPG)
Finished It
![100_0251.JPG](/proxy/?url=https://content.instructables.com/F2O/MNTU/GGBZINLP/F2OMNTUGGBZINLP.jpg&filename=100_0251.JPG)