Introduction: Temperature Controlled Tupperware
We wanted to have a cooled down container for storing various items. We decided to use an MSP432 to power and control the system, because of its versatility. We used a transistor to allow us to use PWM to power the fan. If you have a 3-wire PWM fan you can use that instead. If you want to take this on the go you can use a mobile battery that has a USB port to power the device once you've programmed your board.
MSP432 (comes with microUSB cable)
(We used 5V from the MSP, can use a larger fan with a larger voltage source)
Any Tupperware or similar
Mobile battery with USB to power instead
Computer to program and power
Code Composer Studio
Hot Glue Gun
Step 1: Connect the Peripherals
The first thing you'll want to do connect all the peripherals. In order to connect the TMP102, wire pin 1.6 to SDA, pin 1.7 to SCL, then 3.3V to Vcc, and GND to GND. In order to keep these in place, you can solder the connections. For the fan, you'll want to connect power to 5V, then ground from the fan to your transistor's collector, then GND from the board to the transistor's emitter, finally connect pin 6.7 to the transistor's base to control it.
Step 2: Mount the Peripherals
To ensure your components stay in place and function properly you'll want to mount them. Cut a hole for the fan in any side of the tupperware you like. Make the hole as close to the size of the fan as you can. Push the fan in then hot glue the sides to make it secure and allow only air through the fan. Mount the temperature sensor with electrical tape next to the fan. Finally you'll want to cut a hole in the side nearest your MSP432 next to where the micro-USB port is. Our tupperware fit the MSP snug enough we didn't have to tape it, but if yours is moving add some tape to keep it steady.
Step 3: Program the Board
Connect your board via microUSB to your computer. Open Code Composer Studio and open the project attached. You can either hard code a value into 'temp.h' for a threshold via the DEFAULT_THRESHOLD macro, or leave the device connected to your computer and input values via a UART serial terminal. If you want to take it on the go, connect the microUSB to a battery. Enjoy your cooled down container.
Participated in the