The Neuron – A Hackers Perspective

It’s not too often that you see handkerchiefs around anymore. Today, they’re largely viewed as unsanitary and well… just plain gross. You’ll be quite disappointed to learn that they have absolutely nothing to do with this article other than a couple of similarities they share when compared to your neocortex. If you were to pull the neocortex from your brain and stretch it out on a table, you most likely wouldn’t be able to see that not only is it roughly the size of a large handkerchief; it also shares the same thickness.

The neocortex, or cortex for short, is Latin for “new rind”, or “new bark”, and represents the most recent evolutionary change to the mammalian brain. It envelopes the “old brain” and has several ridges and valleys (called sulci and gyri) that formed from evolution’s mostly successful attempt to stuff as much cortex as possible into our skulls. It has taken on the duties of processing sensory inputs and storing memories, and rightfully so. Draw a one millimeter square on your handkerchief cortex, and it would contain around 100,000 neurons. It has been estimated that the typical human cortex contains some 30 billion total neurons. If we make the conservative guess that each neuron has 1,000 synapses, that would put the total synaptic connections in your cortex at 30 trillion — a number so large that it is literally beyond our ability to comprehend. And apparently enough to store all the memories of a lifetime.

In the theater of your mind, imagine a stretched-out handkerchief lying in front of you. It is… you. It contains everything about you. Every memory that you have is in there. Your best friend’s voice, the smell of your favorite food, the song you heard on the radio this morning, that feeling you get when your kids tell you they love you is all in there. Your cortex, that little insignificant looking handkerchief in front of you, is reading this article at this very moment.

What an amazing machine; a machine that is made possible with a special type of cell – a cell we call a neuron. In this article, we’re going to explore how a neuron works from an electrical vantage point. That is, how electrical signals move from neuron to neuron and create who we are.

A Basic Neuron

Neuron diagram via Enchanted Learning

Despite the amazing feats a human brain performs, the neuron is comparatively simple when observed by itself. Neurons are living cells, however, and have many of the same complexities as other cells – such as a nucleus, mitochondria, ribosomes, and so on. Each one of these cellular parts could be the subject of an entire book. Its simplicity arises from the basic job it does – which is outputting a voltage when the sum of its inputs reaches a certain threshold, which is roughly 55 mV.

Using the image above, let’s examine the three major components of a neuron.

Soma

The soma is the cell body and contains the nucleus and other components of a typical cell. There are different types of neurons whose differing characteristics come from the soma. Its size can range from 4 to over 100 micrometers.

Dendrites

Dendrites protrude from the soma and act as the inputs of the neuron. A typical neuron will have thousands of dendrites, with each connecting to an axon of another neuron. The connection is called a synapse but is not a physical one. There is a gap between the ends of the dendrite and axon called a synaptic cleft. Information is relayed through the gap via neural transmitters, which are chemicals such as dopamine and serotonin.

Axon

Each neuron has only a single axon that extends from the soma, and acts similar to an electrical wire. Each axon will terminate with terminal fibers, forming synapses with as many as 1,000 other neurons. Axons vary in length and can reach a few meters long. The longest axons in the human body run from the bottom of the foot to the spinal cord.

The basic electrical operation of a neuron is to output a voltage spike from its axon when the sum of its input voltages (via its dendrites) crosses a specific threshold. And since axons are connected to dendrites of other neurons, you end up with this vastly complicated neural network.

Since we’re all a bunch of electronic types here, you might be thinking of these ‘voltage spikes’ as a difference of potential. But that’s not how it works. Not in the brain anyway. Let’s take a closer look at how electricity flows from neuron to neuron.

Action Potentials – The Communication Protocol of the Brain

The axon is covered in a myelin sheet which acts as an insulator. There are small breaks in the sheet along the length of the axon which are named after its discoverer, called Nodes of Ranvier. It’s important to note that these nodes are ion channels. In the spaces just outside and inside of the axon membrane exists a concentration of potassium and sodium ions. The ion channels will open and close, creating a local difference in the concentration of sodium and potassium ions.

Diagram via Washington U.

We all should know that an ion is an atom with a charge. In a resting state, the sodium/potassium ion concentration creates a negative 70 mV difference of potential between the outside and inside of the axon membrane, with there being a higher concentration of sodium ions outside and a higher concentration of potassium ions inside. The soma will create an action potential when -55 mV is reached. When this happens, a sodium ion channel will open. This lets positive sodium ions from outside the axon membrane to leak inside, changing the sodium/potassium ion concentration inside the axon, which in turn changes the difference of potential from -55 mV to around +40 mV. This process in known as depolarization.

Graph via Washington U.

One by one, sodium ion channels open along the entire length of the axon. Each one opens only for a short time, and immediately afterward, potassium ion channels open, allowing positive potassium ions to move from inside the axon membrane to the outside. This changes the concentration of sodium/potassium ions and brings the difference of potential back to its resting place of -70 mV in a process known as repolarization. Fro start to finish, the process takes about five milliseconds to complete. The process causes a 110 mV voltage spike to ride down the length of the entire axon, and is called an action potential. This voltage spike will end up in the soma of another neuron. If that particular neuron gets enough of these spikes, it too will create an action potential. This is the basic process of how electrical patterns propagate throughout the cortex.

The mammalian brain, specifically the cortex, is an incredible machine and capable of far more than even our most powerful computers. Understanding how it works will give us a better insight into building intelligent machines. And now that you know the basic electrical properties of a neuron, you’re in a better position to understand artificial neural networks.

Sources

Action Potential in Neurons, via Youtube

On Intelligence, by Jeff Hawkins, ISDN 978-0805078534

Hackerspace Jukebox!

Depending on whom you talk to, music can be an integral part of getting work done. At the Hackheim hackerspace in Trondheim, Norway, [Nikolai Ovesen] thought that the previous system of playing music over Bluetooth took away from the collaborative, interactive spirit of the space. Solution: a weekend build of a Raspberry Pi-powered jukebox.

The jukebox is simply laser-cut from plywood and bolted together. Inside, the touchscreen is mounted using double-sided tape, with the Raspberry Pi 3 and buck converter mounted on its rear with motherboard spacers. An IBM ThinkPad power cable was re-purposed and modified so it supplies the amp, as well as the Pi and touchscreen through the buck converter.

Once everything was connected, tested, and fired up, a bit of clever software working around had to be done in order to get Golang working, along with setting up the touchscreen and amp. Hackers interact with the jukebox using the Mopidy music server and its Mopify(Spotify) plugin — but they can also request songs through a bot in the Hackheim Slack channel.

Continue reading “Hackerspace Jukebox!”

Game Gear, Console Edition

What if the Game Gear had been a console system? [Bentika] answered that question by building a consolized version of this classic handheld. For those not in the know when it comes to 1980s Sega consoles, the Game Gear is technically very similar to the Master System. In fact, the Game Gear can even play Master System games with a third-party adapter. However, the reverse isn’t the case as the screen aspect ratios were different and the Game Gear had a larger palette, which meant the Master System wasn’t compatible with Game Gear titles.

Sega’s decision to omit an AV connection meant that Game Gear games were forever locked into a tiny LCD screen. [EvilTim] changed that with his AV board, so [Bentika] decided to take things to their natural conclusion by building a proper console version of the Game Gear.

He started by ditching the screen and wiring in [EvilTim’s] video adapter board. The cartridge slot was then removed and reconnected atop the PCB. This turned the system into a top loader. [Bentika] then went to work on the case. He used Bondo to fill in the holes for the d-pad and buttons. After a spray paint finish failed, [Bentika] went back to the drawing board. He was able to get paint color matched to the original Game Gear gray at a household paint store. Careful priming, sanding, and painting resulted in a much nicer finish for this classic build. Check out [Bentika’s] video after the break!

Continue reading “Game Gear, Console Edition”

And The Grandfather Of The Year Award Goes To…

Hacker dads often have great plans for all the fun projects they’ll build for their kids. Reality often intrudes, though, creating opportunities for hacker grandfathers who might have more time and resources to tackle the truly epic kid hacks. Take, for instance, [rwreagan] and the quarter-scale model railroad he built for his granddaughter.

Taking inspiration from a 1965 issue of Popular Mechanics, grandpa hit this one out of the park. Attention to detail and craftsmanship are evident from the cowcatcher to the rear coupler of this 4-2-0 steam engine replica, and everywhere along the 275 feet of wooden track — that’s almost a quarter-mile at scale. The locomotive runs on composite wood and metal flanged wheels powered by pair of 350-watt motors and some 12-volt batteries; alas, no steam. The loco winds around [rwreagan]’s yard through a right-of-way cut into the woods and into a custom-built engine house that’ll make a great playhouse. And there are even Arduino-controlled crossbucks at the grade crossing he uses for his tractor on lawn mowing days.

The only question here is: will his granddaughter have as much fun using it as he had building it? We’ll guess yes because it looks like a blast all around. Other awesome dad builds we’ve covered include this backyard roller coaster and a rocketship treehouse.

Continue reading “And The Grandfather Of The Year Award Goes To…”

New Useless Machine Does The Twist

Useless machines might not do any work or produce anything of value on their own, but they can be a great learning tool, and are often beautifully crafted as an expression of the builder’s artistic talents. By and large, they consist of a switch to turn the machine on, and an arm that switches the machine back off in response to this. Vladimir had a different take, and built this twisting vase useless machine instead.

The build references the twisting vases we saw recently – [Vladimir] loved the way they so elegantly opened and closed, and decided to base the build around that. The useless part of the machine is the lifting mechanism – a servo turns a pulley, which uses a magnet on a rope to lift the vase. Upon reaching a certain point, the vase drops, and the magnet is once again lowered to lift it back up again.

The first prototype used a simple delay-based timing loop to determine when to drop the magnet again, however over time this would fall out of sync with the vase’s position and the magnet would fail to attach to the vase. For the second version, [Vladimir] improved things by using a limit switch to determine the position of the vase instead of running on timing alone. The machine’s frame was also rebuilt using copper pipe, which allowed the wires and servo to be hidden from sight. The second revision of the project shows the difference polish can make – differences like these make the machine more suitable for display as a curio in a stylish home setting, rather then a messy project that lives on the workbench only.

Be sure to check out the video of the project below the break. For a simpler useless machine, check out this build. 
Continue reading “New Useless Machine Does The Twist”

Restoring A Strange Milling Machine From Craigslist

[diyVT] found a real white elephant in this milling machine from Craigslist. It cost him only $200, cheap for a small mill, so it was worth the gamble. We’re not sure what to call this — it’s not exactly a gantry mill, not a horizontal mill, and definitely not a knee mill. The tag says V-Mill, made by either Pierce West or Tree Tool and Die Works, depending on which ID plate you read. The Tree has a three-phase motor, but it came with a phase converter, so it should be good to run on single phase 220 volt household power.

The machine was in good physical shape, at least until the previous owner attempted to move it out of the garage. During the move one of the cast iron chain drive handwheel brackets broke into three pieces. Cast iron is no fun to weld. It has to be pre-heated, welded with nickel rod, and slowly cooled. Some hackers would have given up or built a new part, but [diyVT] accepted the challenge. He put the puzzle pieces back together, grooved them out with an angle grinder, and welded everything. The result wasn’t pretty, but it only has to take the force of the handwheel and the 200 lb gorilla spinning it.

After a bit of work on the motor and head, including a new belt, this tree was ready to cut. [diyVT] snuck out of a family bar-b-que to cut his first chips on the new (to him) machine.

Continue reading “Restoring A Strange Milling Machine From Craigslist”

Watch The ClearWalker Light Up And Dip Its Toes

[Jeremy Cook]’s latest take on the Strandbeest, the ClearWalker, is ready to roll! He’s been at work on this project for a while, and walks us through the electronics and control system as well as final assembly tweaks. The ClearWalker is fully controllable and includes a pan and tilt camera as well as programmable LED segments, and even a tail.

When we last saw [Jeremy] at work on this design, it wasn’t yet functional. He showed us all the important design and assembly details that went into creating a motorized polycarbonate version of [Theo Jansen’s] classic Strandbeest design; there’s far more to the process than simply scaling parts up or down. Happily, [Jeremy] is able to show off the crystal clear beauty in his photo gallery as well as a new video, embedded below.

Continue reading “Watch The ClearWalker Light Up And Dip Its Toes”