In this paper, a capsule endoscopy system with a sensing function is proposed for medical devices. A single-arm spiral antenna is designed for data transmission and is combined with the voltage controlled oscillator to achieve sensing capabilities. The designed antenna operates at a 900 MHz industrial scientific medical band. By establishing a three-layer cylindrical model of the stomach, it was concluded that the antenna in the stomach has a high peak gain of −1.1 dBi. Additionally, the antenna achieved a −10 dB impedance bandwidth of 5%. The capsule endoscopy was experimentally measured in both actual stomach and simulated environments. The maximum working distance of the capsule endoscope was measured to be 6.8 m. Additionally, the proposed capsule endoscope was tested for its sensing function using solutions with different dielectric constants. Finally, it was confirmed through link analysis that it has good communication capabilities. The results and analysis confirm that the proposed capsule endoscope can be used for examining gastric diseases.