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
Business, Government, Policy, Politics
21st August 2019

Stable electricity generation and supply has been a challenge for many African countries for years. In 2014, only 45% of the continent’s 1.2 billion people had access to electricity. When North African countries were excluded, the figure dropped to less than 30%. In 2015, the 48 countries in Sub Saharan Africa produced around 80,000 megawatts […]

AfCFTA, Business, ecosystem, Entrepreneurship, Events, Government
19th August 2019

The Africa Technology and Creative Group’s (ATCG) two-day meet-up in Kigali ended Friday with recommendations on the governance structure, definitive guide on the goals and objectives of the group in relation to the implementation of the Africa Continental Free Trade Agreement (AfCFTA). The ATCG is a coalition of technology and creative professionals who are devoted […]

TechCabal Daily, 842 - Bosun Tijani leads 80 industry stakeholders on a two-day summit over the AfCFTA
AfCFTA, Business, ecosystem, Entrepreneurship, Events, Government
15th August 2019

And so to Kigali. On Thursday, August 15, more than 80 people from 30 African countries gathered in the sleepy and well-manicured Rwandan capital to discuss how to create a framework to ensure the success of the African Continental Free Trade Agreement (AfCFTA). Industry leaders in the technology and creative ecosystems were in attendance on […]

TechCabal is a Big Cabal Media brand

Copyright © 2019
All rights reserved

Privacy & Terms