Hello everybody,
I'm trying to design a 1-bit EEPROM with the ultimate goal of designing a 4x4 bit EEPROM. I need it for a bigger project, and I feel I would be wasting the full potential of a commercial EEPROM if I were to use one. For instance, it doesn't make any sense to use a 28C16 if I'm only using 16 bits. I'm using the 2N7000 MOSFET. These are my designs:

For the debugging purposes, my output is just an LED for now. The switch in design (1) can be connected to positive, to negative, or to nothing. When I switch to nothing, the output keeps the last state (positive or negative). But when I turn off the power, the output is not kept.
Design (2) has a push button that works as a Write Enable, and a switch that connects to positive or negative (unlike the switch in (1)). I added a 2N2222 transistor to drive the Write Enable, and a 1uF capacitor. This keeps the output status even after I turn it off, but only for a period of time. I haven't check, but I'd say it's just a few minutes.
How do I design a memory cell that works as a real EEPROM? That is, it keeps the output status after power down forever. I'm a newbie, so I assume my designs are full of mistakes.
Thank you all!
I'm trying to design a 1-bit EEPROM with the ultimate goal of designing a 4x4 bit EEPROM. I need it for a bigger project, and I feel I would be wasting the full potential of a commercial EEPROM if I were to use one. For instance, it doesn't make any sense to use a 28C16 if I'm only using 16 bits. I'm using the 2N7000 MOSFET. These are my designs:

For the debugging purposes, my output is just an LED for now. The switch in design (1) can be connected to positive, to negative, or to nothing. When I switch to nothing, the output keeps the last state (positive or negative). But when I turn off the power, the output is not kept.
Design (2) has a push button that works as a Write Enable, and a switch that connects to positive or negative (unlike the switch in (1)). I added a 2N2222 transistor to drive the Write Enable, and a 1uF capacitor. This keeps the output status even after I turn it off, but only for a period of time. I haven't check, but I'd say it's just a few minutes.
How do I design a memory cell that works as a real EEPROM? That is, it keeps the output status after power down forever. I'm a newbie, so I assume my designs are full of mistakes.
Thank you all!