Riding Shotgun In The Apollo 12 Lunar Lander

Last week we had a walk through of the Lunar Module’s source code with Don Eyles, who wrote the landing programs. Now you can take a rather thrilling ride to see Don’s code in action.

Below is an annotated video of the Apollo 12 landing, in real-time. It’s worth setting aside a quarter-hour to check it out. In an age where everyone is carrying around an HD (or way better) camera in their pocket, following along with radio broadcasts, still images, and small slivers of video might not sound that awesome. But it is!

p63-apollo-12-codeThe video takes us from Powered Descent Initiation through touchdown on the Moon with Pete Conrad and Alan Bean. As the audio plays out the video has annotations which explain what is going on and that translate the jargon used by the team. With the recently celebrated push to publish the source code you can even follow along as the video displays which program is running at that time. Just search for the program code and you’ll find it, like this screenshot of the P63 routine. The code comments are more than enough to get the gist of it all.

If you enjoy this, the description of the YouTube video below includes links to similar videos for Apollo 11, 14, 15, 16, and 17.

http://www.youtube.com/watch?v=8WEEFHJsZ0k

[Thanks to Paul Becker for sending along this video]

Nirvana Like You’ve Never Heard Them Before

If you were an early 1990s youth, the chances are [Nirvana]’s Smells Like Teen Spirit is one of those pieces of music that transports you straight back to those times. As your writer it evokes a student radio studio and the shelves of its record library, and deafening badly-lit discos with poorly adjusted PA systems and unpleasantly sticky dance floors.

One of our finds this morning therefore comes as an evocative diversion, Smells Like Teen Spirit on [SileNT]’s Floppotron. The Floppotron is a music player composed of a huge array of floppy drives, hard drives, and a couple of flatbed scanners. The scanners are controlled by off-the-shelf Arduino boards and the hard drives have ATMega16s with H-bridge drivers.

This build is the most refined floppy drive organ we’ve seen yet. The floppies are divided into single-voice blocks of eight controlled by an ATMega16, with dynamic volume envelopes mad possible by the number of simultaneously running drives, so the sounds can fade in and out like “natural” musical instruments. The hard drives and scanners are run against their mechanical stops, providing percussion. All the boards are daisychained via SPI to an Arduino that acts as a PC interface, and the PC schedules the performance with a Python script.

He’s provided a couple of pieces as YouTube videos, the floppy motors work particularly well for [Nirvana]’s grunge, but perhaps a bit more mechanical for Hawaii Five-O. This last track will be more evocative than the first if you attended a particular university in the North of England where it was the end-of night record played as the lights came up in one of the discos that had a much better-adjusted PA because the technician knew what she was doing. For those of you with different childhoods, there’s also the Imperial March.

Continue reading “Nirvana Like You’ve Never Heard Them Before”

Hackaday Prize Entry: The World’s First Tampon Monitor

[Amanda], [Jacob], [Katherine], and [vyshaalij] had a class project for their ‘Critical Making’ class at UC Berkeley. The task was to design a ‘Neo-Wearable’ that would fulfill an unmet need. Realizing women make up about 50% of the population and experience monthly periods for about half of their lives, they decided to make what can only be described as a tampon monitor. It’s a small device that monitors the… uh… ‘fullness’ of a tampon. Yes, it’s wearable technology that is actually useful, and a great entry for the Hackaday Prize.

The my.Flow, as the team are calling it, uses mechanical means to measure the saturation level of a tampon. Why would anyone want to do this? Because of leakage, anxiety, and risk of Toxic Shock Syndrome (TSS).

A ‘smart’ tampon needs some electronics, and the team’s solution to this is rather ingenious. They’re using a small, flat, wearable clip that attaches to the user’s undergarments and is connected to the tampon by an elongated tail.

Already the team is seeing a lot of success – the market research for this product showed a whopping 82% of women are ready to buy a product that would help prevent TSS. This fledgling startup was picked up by the HAX accelerator and moved to China to bring this product to life. It’s a great idea, and also a great entry for the Hackaday Prize.

The HackadayPrize2016 is Sponsored by:

Lightweight Game Console Packs A Punch

Any maker worth their bits will look for new ways to challenge themselves. [Robert Fotino], a computer science student at the University of California, is doing just that: designing and building his own lightweight hobbyist game console that he has appropriately named Consolite.

[Fotino] wrote his own compiler in C++ that converts from C-like languages to a custom-designed assembler that he has dubbed Consolite Assembly. To test his code, he also wrote an emulator before loading it onto the Mimas V2 FPGA board. Presently, Consolite  uses 64KiB of main memory and 48 KiB of video memory; a future version will have 32 bit support to make better use of the Mimas’ 64 MiB of on board ram, but the current 16-bit version is a functional proof of concept.

consolite-status-leds-and-hardware-switches_thumbnailAn SD card functions as persistent storage for up to 256 programs, which can be accessed using the hardware switches on the Mimas, with plans to add user access in the form of saving game progress, storage outside of main memory, etc. — also in a future update that will include audio support.

As it stands, [Fotino] has written his own versions of Breakout, Tetris, and Tron to show off his project.

Not wanting for diligence, [Fotino] has provided thorough documentation of nearly every step along the way in his blog posts and on GitHub if you are looking for guidelines for any similar projects you might have on the back burner — like an even tinier game console.

[via r/FPGA]

Marc with cannula and brain monitor

In Bed With An Arduino, Fighting Sleep Apnea

Sometimes the journey is as interesting as the destination, and that’s certainly the case with [Marc]’s pursuit of measuring his sleep apnea (PDF, talk slides. Video embedded below.). Sleep apnea involves periods of time when you don’t breathe or breathe shallowly for as long as a few minutes and affects 5-10% of middle-aged men (half that for women.) [Marc]’s efforts are still a work-in-progress but along the way he’s tried a multitude of things, all involving different technology and bugs to work out. It’s surprising how many ways there are to monitor breathing.

Debugging the Eeonyx conductive fabric approach
Debugging the Eeonyx conductive fabric approach

His attempts started out using a MobSenDat Kit, which includes an Arduino compatible board, and an accelerometer to see just what his sleeping positions were. That was followed by measuring blood O2 saturation using a cheap SPO2 sensor that didn’t work out, and one with Bluetooth that did work but gave results as a graph and not raw data.

Next came measuring breathing by detecting airflow from his nose using a Wind Sensor, but the tubes for getting the “wind” from his nose to the sensor were problematic, though the approach was workable. In parallel with the Wind Sensor he also tried the Zeo bedside sleep manager which involves wearing a headband that uses electrical signals from your brain to tell you what sleep state you’re in. He particularly liked this one as it gave access to the data and even offered some code.

And his last approach we know of was to monitor breathing by putting some form of band around his chest/belly to measure expansion and contraction. He tried a few bands and an Eeonyx conductive textile/yarn turned out to be the best. He did run into noise issues with the Xbee, as well as voltage regulator problems, and a diode that had to be bypassed.

But while [Marc]’s list of approaches to monitor sleep is long, he hasn’t exhausted all approaches. For example there’s monitoring a baby using lasers to detect whether or not the child is still breathing.

Continue reading “In Bed With An Arduino, Fighting Sleep Apnea”

Highlights From Robotic Shipwreck Exploration

DIY Research Vessel in use, while ROV is busy below. [Source: NYT]
DIY Research Vessel in use, while ROV is busy below. [Source: NYT]
OpenROV shared the results of their June 2016 underwater expedition to locate and robotically explore the wreck of the S.S. Tahoe, currently sitting at a depth of 150m in Lake Tahoe. Back in 1940 the ship was intentionally scuttled in shallow water, but unexpectedly slid to a much deeper depth. OpenROV used a modified version of their new Trident design to dive all the way down to the wreck and take a good look at things, streaming it over the internet in the process.

We previously covered the DIY research vessel that was designed and created as a floating base station for the ROV while it located and explored the wreck, and now the results are in! The video highlights of the expedition are below, as is a video tour of the ROV used and the modifications required to enable it to operate at 150m.

Continue reading “Highlights From Robotic Shipwreck Exploration”

Another Small Linux Computer With Pi In Its Name

Since the introduction of the Raspberry Pi, the embedded Linux scene has been rocked by well supported hardware that is produced in quantity, a company that won’t go out of business in six months, and a huge user base. Yes, there are a few small problems with the Raspberry Pi and its foundation – some stuff is still closed source, the Foundation itself plays things close to their chests, and there are some weird binary blobs somebody will eventually reverse engineer. Viewed against the competition, though, nothing else compares.

Here’s the NanoPi Neo, the latest quad-core Allwinner board from a company in China you’ve never heard of.

The NanoPi Neo is someone’s answer to the Raspberry Pi Zero, the very small and very cheap single board Linux computer whose out-of-stock percentage has led some to claim it’s completely fake and a media conspiracy. The NanoPi Zero features an Allwinner H3 quad-core Cortex-A7 running at 1.2 GHz, 256MB RAM, with a 512MB version being released shortly. Unlike the Raspberry Pi Zero, the NanoPi Neo features a 10/100 Ethernet port. No, it does not have PoE.

As with anything comparing itself to the Raspberry Pi Zero, only two things are important: size and price. The NanoPi Neo is a mere 40mm square, compared to the 65x30mm measurements of the Pi Zero. The NanoPi Neo is available for $7.99, with $5 shipping to the US. Yes, for just three dollars more than a Pi Zero with shipping, you get a poorly supported Linux board. What a time to be alive.

If you’re looking for another wonderful tale of what happens with cheap, powerful ARM chips and contract manufacturers in China, check out my review of the Pine64.