For the even cheaper e-cigarettes many vendors are producing dedicaded ASICS integrating heater control, pressure sensing, battery management, for as close to free as it gets. It's astonishing.

It's all integrated on a tiny PCB mounted to the back of the microphone.