Modular smoking devices that generate vapors of certain materials,such as tobacco or cannabis are disclosed. The technology provides forintelligent ignition, combustion, or vaporization of given material at theappropriate temperatures that prevent generation of harmful and unwantedbyproducts. According to one embodiment, the modular smoking devicecomprises a self-contained combustion chamber to hold the material, acombustion mechanism integrated with the self-contained combustion chamber,and an energy source, such as a rechargeable battery, to power the combustionmechanism. The combustion mechanism is configured to provide targetedcombustion of the material, where the active ingredients generated upon thecombustion are consumed by inhaling a smoke or vapor resulting from thecombustion or vaporization. The self-contained combustion chamber includes alighterless combustion mechanism such as a piezoelectric lighter or a Teslacoillighter that is designed to arc an electric discharge through the material intheself-contained combustion chamber.