I've been trying to build a homemade version of a vaporizer and I'm stuck on how the components work. I'm not even sure if I have a clear grasp on what components make up a vaporizer. I know the basics: typically a 3.7V battery, a circuit board/micro-controller, and a heating element. I would appreciate if anyone helped me understand how the heating element is controlled, how it works, or how temperature sensors fit into the picture.