Hack: EBOLA SMS Hotline

Level: Beginner

Hacktime: 120 mins

Cost of materials: $58

Access to information is critical to the mitigation of any health risk. This was evident during the Ebola crisis where myths and rumours propagated the spread the disease. Local communities were initially unsure what to do.

Will eating raw onions once a day for three days protect me from getting Ebola? Does bathing with salty water prevent or cure Ebola?

A misinformed public is a health risk.

One of the ways health ministries responded to the crisis was to set up hotlines and SMS centres to provide access to information.

Our hack, which we developed overnight during the Ebola epidemic teaches you how to build an automated SMS service that responds to various queries. The solution can be deployed for other purposes. For example, businesses can use it as their automated customer service line, hospitals can remind patients of their appointments or SMS based mobile payments can be scheduled for automated payments at your desired frequency.

The Ebola Hack

Tech talk: Build a local SMS server to allow a user to send queries to a number. Once the server logs the query, our data algorithm maps the questions with pre-defined answers. On successfully matching the query with 1 or 2 answers on the database, the highest ranking response is sent back to the enquirer.

Simple talk: Send an SMS to number for any information you want.


The complete hack kit will be available from our online hack shop soon.


1. Set up the Ebola hack

01Ebola - Project Setup

2. Connect the battery to the GSM module. Ensure correct connection polarity. If in doubt, consult GSM module schematic diagram and hack images.

02Ebola - Battery to GSM

3. Connect FTDI cable to GSM module. The UART (RX and TX) pins from the FTDI cable need to be connected to the UART pins of the GSM module. RX from the cable should be connected to the TX pin of the module, TX from cable connected to RX of module and GND from cable should be connected to GND pin on the module.

03Ebola - FTDI to GSM

4. Insert your SIM card into the SIM slot of the GSM module.

04Ebola - SIM card

5. Connect the FTDI cable to the USB port of your computer.

05Ebola - FTDI to USB port

6. Power up the GSM module by holding down the on/off button for over a second.

06Ebola - OnOff

Note: The status LED should blink green when the module is on.

7. On the computer, launch the provided SMS_Server application

07Ebola - Launch DAA app

When the application is launched, it detects any new SMSs received and sends a relevant command to the modem to extract the SMS data. The application then exports the SMS data into an excel spreadsheet.

NB: This can be an SQL database, however for simplicity we used Excel.

Now that the data is in excel, it is matched to preloaded responses using the DAA Ebola script. If a suitable response is found to the query, the response is transmitted to the GSM modem as an SMS to be sent back to the enquirer.

End of hack

Confused? View the pictorial hack, on Facebook for step by step photos.

Photo Credit: Flооd via Compfight cc

Read this next

Infra Africa has revealed the four energy startups that will slug it out for $5 million at its startup renewable energy competition. And Nairobi-based 88mph is halting investment in new startups. Check out the stories that made the rounds across Africa today.

More From TC
Features, Technology
25th September 2020

Short answer? It depends. Long answer? There are more critical things to worry about. At least, that is what experts and experience with advanced technologies like this say, especially  if you live in Africa. If you write things—news articles from standard press releases or reportage from a war zone, code, poetry, communiques, fiction—if you write […]


The BackEnd explores the product development process in African tech. We take you into the minds of those who conceived, designed and built the product; highlighting product uniqueness, user behaviour assumptions and challenges during the product cycle. — At 7:03pm on Tuesday, Zenith Bank put out a short statement on its official Twitter account. The […]

My Life In Tech is putting human faces to some of the innovative startups, investments and policy formations driving the technology sector across Africa. Heather Beem wants every science student on the continent to be able to understand and remember meiosis or Newton’s First Law of Motion because they were taught in such a memorable way. […]

TechCabal is a Big Cabal Media brand

Copyright © 2020
All rights reserved

Privacy & Terms