power micro controller with 7.4V 400mah battery
You can use a regulator like an LD1117V33, but it's going to dissipate the extra 4.1V as heat. With only 400mAh available, you might want to consider a more efficient switching regulator like the LM2576.