A one-time engineering student has created a battery-operated device that provides a community-wide alert for fire in South African townships.