An on-demand wireless capsule endoscope with fulldigital and bidirectional communication is presented,aiming at fulfilling the requirements of micromation and micropower consumption of modern wireless endoscope.The proposed multifunctional operation and unique radio transmission system cuts down the power consumption efficiently and on-demand bidirectional communication in vitro improves the detection rate of focus.Meanwhile,gray dilatation is introduced in a bit plane that optimizes the distortion rate in the process of image recording and transmission.