IMG_3769
Giving a Demonstration of our Space-REX project at Mission Hack, Toronto, 5 March 2018

 

Display with glow.JPG
Space-REX in full glow for visitors to learn about Asteroids, Space, and to highlight the need for further Space Exploration

 

It was a long time (almost three weeks!) since we made a space project. Our last project was on “TRAPPIST-1: Lights and Music” which was displayed at the Ontario Science Centre, Canada for 3 days over the Family Day weekend (17-19 February 2018).

This time we opted for something in our solar system, namely the Asteroid belt located roughly between the orbits of the planets Mars and Jupiter. There are millions of asteroids in this belt and some of them make a close approach to the Earth.

As always, we turn to NASA for the open-source data. The Center for Near Earth Object Studies (CNEOS) maintains the Sentry database. It is a highly automated collision monitoring system that continually scans the most current asteroid catalog for possibilities of future impact with Earth over the next 100 years.  CNEOS also calculates the motion of all Near Earth Objects (NEOs) forward to 2200 A.D. and backward to 1900 A.D., and makes them available as NEO Earth Close Approaches database.

Project Goal:

We decided to create a project which will use Artificial Intelligence / Neural Networks to predict the “Palermo Technical Impact Hazard Scale” for the collision of an asteroid with Earth. Our system would then convert the values of this scale into musical notes which would then be used to blink lights at the appropriate frequency on custom-designed hardware for displaying Asteroid data.

An ambitious goal to be completed in 40 hours (over the weekend). Very challenging but we wanted to do it not because it was easy but it was hard!

How our team members Artash (Grade 6) and Arushi (Grade 3) achieved it in 10 steps? 

All our projects start with lots of planning, sketching and brainstorming. Once we finalize our ideas and plans, we divide the tasks so that each one of us has the main responsibility on one task while giving support on other ones.

IMG_3687
Plans and ideas finalised: the coding starts!

Step 1: Artash downloaded dataset from the Sentry and the NEO Earth Close Approaches database as csv file.

Step 2: He modified a Neural Network code written in Python by Milo-Spencer-Harper to read CSV file and increased the number of parameters it could model.

 

Python AI Code
Peek into the Neural Network Code to be run on the Training Set

Step 3: We identified three parameters on which we would use the Artificial Intelligence algorithm to predict Risk Index. These were “Proximity of Asteroid to Earth in Lunar Distance”, “Diameter of Asteroid”, and the “Velocity of the Asteroid”.

IMG_3697
In Coding Zone: after Neural Network parameters have been finalised

We added one more parameter outside the algorithm, namely Asteroid Type: whether it is a C, S or M-Type Asteroids which are rich in Carbon, Silica and Metals respectively.

IMG_3718
Happiness is when predicted Neural Network values are coming closer to the Actual Values in the test database!
IMG_3728
Outputs from deploying the data on Near Earth Objects (NEOs)
IMG_3703
Sharing their ideas over lunch

Step 4: Artash used the Sentry database for training and testing his algorithm. The algorithm was then deployed on the NEO Earth Close Approaches database to come with the Asteroid Collision Hazard Scale values.

IMG_3682
Sketching Piano notes to convert data into a music file

Step 5: Arushi loves piano. She wrote a Python programme which would convert the frequency data into specific musical notes.

IMG_3695
Converting Data to Music code using Python

Step 6: She took the Hazard Scale values from Artash, multiplied them with a minus hundred to bring them into an audible frequency range. She then used her program to come up with musical notes corresponding to the values.

IMG_3705
Sketch of the layout of the Visual Display for Asteroid Collision Index
IMG_3719
The Making Starts!

Step 7: Vikas and Arushi built a physical display over an old gramophone record (appropriately titled the Golden Record) using LED light strips, relays and Arduino. Arushi wired the relays and LED lights.

img_3710.jpg
Interestingly the Gramophone record was titled the “Golden Record” (which was sent out with Voyager spacecraft)

Step 8: Arushi modified the Arduino code so that it would be able to receive music data from Reaper (a music synthesis software) as midi files and control the relays to blink the LED strips.

Step 9: Artash embedded the musical notes obtained from Arushi’s Python programme as musical files to be played over different channels in Reaper.

IMG_3733
The HotPopRobot.com Team!

Step 10: Artash and Arushi configured the Loop Midi and Hairless MidiSerial to read data from Reaper and port it to Arduino. They then tested it for a range of Asteroid data.

IMG_3781
Space-REX is ready to gather and display data

The project was ready within 39 hours and it worked great!

We used the remaining one hour to document our learnings and create a short presentation about it.

Alan Turing
Giving Demo of Space-REX under the watchful eyes of Alan Turing

We were able to present our present at the Mission Hack in Toronto and gave several demonstrations of our project (as well as a Presentation) to many people who were curious about our invention.

Our project moved to the second round of selection and emerged among the final five. It was an amazing experience.

IMG_3737
Putting it all together – Space Exploration and Making Space Projects is intergenerational

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s