Dr. Universe: How do memory cards work? – Ngyuen, 10, Vietnam
Memory cards can help us store all kinds of information—from pictures to songs to videos.
While some of the early computers were as big as two refrigerators, they had only enough memory to store what would today be a single photo. Now, we can store thousands of photos on a memory card the size of a fingernail.
One device that changed the way we could store information was the super-tiny transistor. My friend Ganapati Bhat, an assistant professor at Washington State University, told me more about it.
A transistor is about 2,000 times thinner than a strand of human hair. You can think of it as an electrical switch inside the memory card.
Transistors help the memory card determine if an electrical current should “stop” or “go” along the circuit board—and there can be billions of these transistors on a memory card.
When you look at a memory card, you may also notice it has several shiny terminals at the top. Some of those terminals help bring power into the memory card from your device. Others help the memory card communicate with your device in a language called binary.
The language has just two symbols: 1 and 0. The 1 and 0 are known as bits. When enough bits come together, we call them bytes.
In computer language, a “0” means “off”, so the transistor will stop the flow of electricity. A “1” means “on”, and the tiny transistor keeps the electricity flowing.
If we wanted to store the word “hello!” on the memory chip, it would require this binary code:
01001000 01100101 01101100 01101100 01101111 00100001. Each letter of the alphabet has its own set code in binary and it is known as ASCII (American Standard Code for Information Interchange) encoding. Even numbers have their own code.
Meanwhile, your device uses software to translate the binary language, so all those ones and zeroes show up in the form of photos, music or the phrase “hello!”.
In fact, most computers store data this way, but some devices can’t store it forever. As soon as you turn off the device, the data is lost. Scientists and engineers who wanted to come up with a way to store data for longer amounts of time designed something called a flash transistor.
A typical transistor has a part called a source, which is where the electrical current comes into the transistor. The current leaves the transistor through a part called the drain. Sandwiched between the source and drain is a part called the gate.
But flash transistors in a memory card have two gates. Some of the electricity sneaks up from the bottom gate into the top gate stays there. It sort of traps the electricity, so the memory card can continue to store information, even when it isn’t inserted into your device.
Over the years, humans have figured out how to put a lot of information into tiny storage devices. It’s something to think about the next time you text a friend a picture, listen to your favorite song or upload a school project on a flash drive.
Know a kid with a science question?
Adults can help kids submit a question for a chance to be featured in a future video, podcast, or Q&A post.