A smart cap for a medication container is disclosed. The smart cap includes a circuit board and a weight sensor electrically coupled to the circuit board and configured to generate electrical input signals representative of the total weight of medication units in the medication container. The smart cap may include a processor for processing the electrical input signals generated by the weight sensor, and a memory for storing medication information associated with medication in the medication container, including the processed electrical input signals generated by the weight sensor. The smart cap may transmit the stored information to a computing device communicatively coupled to the cap.