I am a huge fan of the Arduino project ( think at this point I have like 15 individual chips ) and I love the Raspberry Pi. The arduino is pretty much exactly what you are looking for (the raspi would work, and actually has been used as the heart of a vape, but Arduino's are much easier). The...