BACKGROUND

The present disclosure relates generally to the field of smoke inhalation devices and more particularly to control mechanisms for smoke inhalation devices.

Smoke inhalation devices, commonly known as e-cigarettes, can be used to simulate a cigarette or a cigar. For example, a smoke inhalation device can vaporize a liquid including nicotine. A user of the smoke inhalation device can inhale the vapor and have an experience similar to smoking a traditional cigarette or cigar.

SUMMARY

One illustrative embodiment is related to an apparatus including a first cartridge, a sensor, and a controller. The first cartridge can include a first release device configured to release a first substance into a housing. The controller can be configured to receive data from the sensor. The controller can determine an amount of first substance released by the first cartridge based on the data. The first release device can be controlled based on the determined amount of first substance.

Another illustrative embodiment is related to a method for metering an inhalation device. The method can include receiving data from a sensor. An amount of a first substance released by a first cartridge can be determined based on the data. The first cartridge can include a first release device configured to release the first substance into a housing. The first release device can be controlled based on the determined amount of first substance.

Another illustrative embodiment is related to a non-transitory computer-readable medium having instructions stored thereon that, if executed by a computing device, cause the computing device to perform operations for metering an inhalation device. The method can include receiving data from a sensor. An amount of a first substance released by a first cartridge can be determined based on the data. The first cartridge can include a first release device configured to release the first substance into a housing. The first release device can be controlled based on the determined amount of first substance.

