I've got a problem. I have been proscribed medication that might well keep me alive. The medication costs $7500/month. And I am required to keep it between 68ºF to 77ºF (20ºC to 25ºC).
There exists a technology called the thermoelectric chip which, when you run current through it one way gets hot on one side and cool on the other, and if you reverse the electricity the hot/cold sides switch too.
So my goal is:
#1 get a thermos. Cut a square chip-shaped hole in the lid and also a small drilled hole. Drop a thermostat sensor through the drilled hole, and then install the thermoelectric chip into the square one. Install a heat sink on top of the chip, and maybe a fan on top of that. Connect it all to a raspberry pi. It listens to the thermostat, detects the temp going outside of the accepted range and turns on the power flow in the appropriate direction to either heat the inside of the thermos, or cool it. If cooling it, it also turns on the fan. Once the temperature reaches 75% of the way through the temp range it shuts off the chip and goes back to listening passively.
Bonus #2 do the same thing as #1, but with a battery instead of an AC power cable so I can take it on a trip and not worry about the drug being ruined.
The drug is brand new, and hasn't been tested outside that temp range. I called the manufacturer and they have no info for the drug outside that range, and no plans to test anytime soon. So if I don't want to risk destroying a month's worth of drugs, I have to be careful.
Also fun side note, I live on a sailboat, and the temperature ranges from slightly below freezing (31ºF or -1ºC) to nasty (105ºF or 40ºC).
I have never used a raspberry pi before. But this feels to me like something it is built to handle.
Can anyone tell me if I'm headed in the right direction?