How'd it go with that 1st PIC e-cig Craig? Did you end up using the PWM and making it pseudo-vv?
Like your avatar for the holiday there AttyPops.
With a dual batt setup, I imagine it would be quite elementary to program the PIC to drive a MOSFET for a strictly PWM output. Just about all the PICs have a nice flexible PWM module on-chip, but only the fastest ones would be able to drive a boost or buck circuit. It's better to use a dedicated controller for that. Most of the PICs are certainly fast enough to PWM an atomizer output.
The first PIC mod I did worked well right of the gate. These MCUs (µcontrollers) are pretty robust really. They rarely don't operate as expected unless you try to do something sketchy with them.
For my design, the MCU drives a digital pot (also Microchip) that adjusts booster output. I wanted to use a single batt to make on-board charging simple. A digital pot interfaced with a DC-DC controller was the easiest way I could see to do it.
It would be possible to use an MCU to handle the PWM for a boost circuit, but you need a very fast MCU and that leads to a whole different set of design issues. It would be a cheaper circuit with a lower component count, but coding it would be a real pain, feedback stabilization and all.
On the one I'm using now, I upgraded from the MAX1709 to the TPS43000 for a ~10% improvement in efficiency. I did in fact see a the expected improvement in run time. Though the MAX1709 is very easy to wire up and use so I highly recommend it for that. The TPS43000 needs a feedback compensation network which is a RPITA to design and tune, but the booster can put out 30W and it's highly efficient (peak 98%, minimum 92%, average 95%).
The new one I'm working on now will be essentially the same, but I'm going to try to shrink down the circuit board quite a bit for a smaller battery and smaller overall
device size. The one I'm using now is pretty big (97x64x14mm) and has a very high capacity battery. Reducing the profile as much as I want is going to be a challenge.
The first thing I need to do is get rid of two big expensive tantalum polymer output caps. I'm going to attempt to replace them with much smaller ceramic caps. Boost needs a lot of output capacitance. It makes compensating the feedback loop sketchy because the ceramics don't have the controlled ESR characteristics of the tantalum polymers. Plus, I'm cutting the capacitance in half. I have no idea how much trouble it's going to give me, have to guess at the ESR (not specified or controlled) so I'm going to be winging it. But, I'm all for the challenge so I'm excited about it.