This paper presents automatic condom vending machine project designs an The machine is controlled by Raspberry Pi and smart card reader. The user information including time date can be for a day recorder in the process. Morecher, a number of condom for a day per each parson can be fired. This machine can be used for ID smart card version 2, 3, 4, and 5 which those code begin with JC0, JC1, KN0 and JT0 respectively. The result show that the percentage error is less than 7.5%