Is it possible to detect a battery type and requirements(voltage,current etc) using an MCU based circuit?
It should be possible if the battery is not in a defect or deep discharged state. Based on the initial voltage and a defined discharge you can determine the battery type. The discharge curve looks very different for different chemistries.
I have seen lately on Ebay a device that measures the battery capacity. If I am not wrong it also determines the battery chemistry. So it should be not too hard to figure it out.