| CPC A24F 40/42 (2020.01) [A24F 40/10 (2020.01); A24F 40/30 (2020.01); A24F 40/46 (2020.01); A24F 40/51 (2020.01)] | 8 Claims |

|
1. An aerosol-generating device comprising:
a first container configured to accommodate an aerosol-generating substance;
a heater configured to heat the aerosol-generating substance;
a second container configured to be rotatable about a rotating shaft and comprising a plurality of partitioned chambers;
a first sensor configured to output a signal corresponding to rotation of the second container;
a first gear coupled with the second container;
a second gear configured to be engaged with the first gear so as to rotate, wherein the first sensor is a rotary switch mounted coaxially with the second gear; and
a controller configured to determine whether the plurality of partitioned chambers are located at preset correct positions based on a signal received from the first sensor,
wherein the controller is further configured to:
determine that the plurality of partitioned chambers are located at the preset correct positions based on the received signal corresponding to any one of the plurality of partitioned chambers, and
determine that the plurality of partitioned chambers are not located at the preset correct positions based on the received signal being different from the signal corresponding to any one of the plurality of partitioned chambers.
|