Dimethylammonium iodide (DMAI) is the precursor for the DMAPbI3 2H-perovskite structure. Unlike its?MAPbI3 analogue, it is stable under ambient conditions for several months .?DMAPbI3 has a relatively large?optical gap (Eg ~ 2.59 eV), indicating the conductivity of such material is ionic, instead of being electronic.