close_game
close_game

The woman who put man on the moon

Hindustan Times | By
Jul 12, 2019 05:32 PM IST

Margaret Hamilton, a 28 year-old American programmer, led the team that developed the first software to run on the moon

Astronauts are trained to be perfect. They do not make mistakes. Bunkum! Everyone makes mistakes. But because she agreed, in principle, to what her boss was saying, Margaret Hamilton, a programmer in the MIT lab working with NASA on the moon mission, thought no more about creating a code that could kick in, just in case the astronaut did err.

Margaret Hamilton standing next to the listings of the software she and her MIT team produced for the Apollo project in 1969.(Photo: Wikimedia Commons)
Margaret Hamilton standing next to the listings of the software she and her MIT team produced for the Apollo project in 1969.(Photo: Wikimedia Commons)

Hamilton had started thinking along these lines -- what if an astronaut pressed a wrong button in space -- when her daughter had pressed a wrong key in the Apollo Guidance Computer keyboard as she ran around her mother’s office on a working weekend. But the 28-year-old Hamilton was still five years from making history -- it was her software programme that helped to get man on the moon – so she was brushed aside.

Hamilton, now 83, is a software evangelist recognised in her field for leading the team that developed the software for the guidance and control systems of the in-flight command and lunar modules of the Apollo missions.

Problems galore

Speaking at a recently held seminar in the US, she recalled the momentous few minutes just before Neil Armstrong and Edwin Aldrin landed on the moon on July 20, 1969: “Problems began when the computer was overloaded with commands from the rendezvous radar and the landing system, requiring more processing power than the computer could handle. The software not only informed NASA’s mission control room and the astronauts of the overloading problem, the software also started compensating for it, it gave the astronauts the go / no-go option; they decided to land. The Apollo 11’s crew became the first humans to walk on the moon and our software became the first software to run on the moon,” she said.

To say that the rest is history is telling half the story. The way to this milestone was paved with the errors she helped anticipate and fix and they were key to the success of the space mission. They also brought the astronauts home safe.

President Barack Obama awarding the Presidential Medal of Freedom to Margaret Hamilton, a pioneering computer scientist and former head of the Software Engineering Division of MIT's Instrumentation Laboratory. She led the development of on-board flight software for NASA's Apollo moon missions. (Getty Images)
President Barack Obama awarding the Presidential Medal of Freedom to Margaret Hamilton, a pioneering computer scientist and former head of the Software Engineering Division of MIT's Instrumentation Laboratory. She led the development of on-board flight software for NASA's Apollo moon missions. (Getty Images)

Just prior to Apollo 11 was Apollo 8 (the first manned mission to orbit moon in 1968) and an astronaut, just like Hamilton’s daughter, pushed the wrong button. It took nine hours for her to fix that; had she been allowed to factor this in earlier, the turnaround time would have been shorter. After that, she was allowed to add the code to account for human error.

On July 20, 1969, three minutes away from moon landing, the same error recurred; a switch was moved in the wrong position, but this time Hamilton’s software was ready.

Why the moon mission was a big deal

Hamilton was born in the US mid-West in 1936, just three years before World War II began. Her growing-up years told her what it meant to have control of the sea and the sky. By the time she was in her twenties, the moon-landing project had become a big deal in ’60s America because of it had seen science and technology do during the war: the German V2 rockets had wiped out thousands in London and Antwerp as had the atomic bombs in Japan.

Should war visit the US, it felt its space knowledge would make it level with its Cold War rival, the then Soviet Union, which had already put the first man (Yuri Gagrin in 1961), first woman (Valentina Tereshkova in 1963), and even the first dog (Laika in 1957) in space.

Hamilton was honoured with NASA’s Exceptional Space Act Award (2003); Barack Obama gave her the Presidential Medal of Freedom (2016). But what Hamilton seems to consider her legacy is that she is the ‘mother’ of software engineering, which also means she was among the first to fix what is today any office-goer’s nightmare – a ‘computer crash’. Hamilton joined the field when there were no schools teaching software engineering. “There was no choice but to be pioneers. Looking back, we were the luckiest people in the world,” she has said in many of her interviews, while talking of the moon mission.

Everyone has heard of Armstrong and Aldrin; outside the US, she is unknown. But she has travelled a long way from her time in the MIT lab on the Apollo project, where, initially, the standard response to trying something new was, according to Hamilton, “Let’s give this programme to Marge, she’s a beginner and we’re never going there [to the moon] anyway.”

Mission Apollo: Men and legacies
There have been 12 manned Apollo missions. Apollo 11 was the first to land men on the moon; the last manned mission was Apollo 17, in 1972. In all, 12 men stepped on the moon during the Apollo project.
The Apollo 11 astronauts took with them pieces of an original Wright Brothers aircraft, as a tribute to the men, in a sense, who started it all.
In 2002, Buzz Aldrin punched Bart Sibrel, a conspiracy theorist, for claiming the moon landing was a hoax. Sibrel had chased down other astronauts from other missions as well, demanding that they swear on the Bible that they had actually been to the moon.
Pete Conrad, who was on the Apollo 12 mission in 1969, said some unusual first words on the moon, to win a bet: "Whoopee! Man, that may have been a small one for Neil, but that’s a long one for me."
Nearly 50 years after the last manned mission to the moon, the flags planted there by the astronauts still stand.
The lunar stage used for descent, and the rovers or ‘moon buggies’ used by the later missions have remained there too.
Read breaking news, latest updates from US, UK, Pakistan and other countries across the world on topics related to politics,crime, and national affairs. along with Operation Sindoor Live Updates
Read breaking news, latest updates from US, UK, Pakistan and other countries across the world on topics related to politics,crime, and national affairs. along with Operation Sindoor Live Updates
SHARE THIS ARTICLE ON
SHARE
Story Saved
Live Score
Saved Articles
Following
My Reads
Sign out
New Delhi 0C
Wednesday, May 07, 2025
Start 14 Days Free Trial Subscribe Now
Follow Us On