The best solution would be to use a comparitor to create a Schmidt trigger, or buy a already built Schmidt trigger. This would take the 2.4V to 5V and make it a constant voltage. For more information on how to build a Schmidt trigger, just do a search on the internet.
Brian