Raspberry Pi Pico-Based Thermal Management System with Peltier Control and Data Logging
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a variety of components including a Raspberry Pi Pico microcontroller, a Peltier Module, a Mosfet, a 5v mini water pump, a 12v battery, a voltage converter, multiple resistors, a 12v PWM fan, temperature sensors (DS18B20), an external EEPROM (AT24C256), an OLED display, a rotary encoder, and several comments for documentation purposes. The circuit is designed to control a Peltier Module and a water pump, read temperatures from multiple sensors, drive a PWM fan, store data in an EEPROM, and display information on an OLED screen. The Raspberry Pi Pico serves as the central processing unit, interfacing with the various components to perform the circuit's functions.
Component List
- Raspberry Pi Pico: A microcontroller board based on the RP2040 microcontroller chip.
- Peltier Module: A thermoelectric device used for heating or cooling.
- Mosfet: A type of transistor used for switching electronic signals.
- 5v mini water pump: A small pump used for moving water, operating at 5 volts.
- Battery 12v: A 12-volt battery providing power to the circuit.
- 48v to 5v Converter: A voltage converter that steps down 48 volts to 5 volts.
- Resistors: Components used to limit current or divide voltages in the circuit. Values include 220 Ohms, 10k Ohms, and 4.7k Ohms.
- 12v PWM Fan (120mm): A 12-volt fan with Pulse Width Modulation control for variable speed.
- DS18B20: Digital temperature sensors for measuring temperature.
- AT24C256 External EEPROM: An external EEPROM chip for additional data storage.
- 0.96" OLED: A small display for visual output.
- HW-040 Rotary Encoder: An input device that provides rotational position feedback.
Wiring Details
Raspberry Pi Pico
- SDA (OLED and EEPROM)
- SCK (OLED and EEPROM via a 4.7k Ohm resistor)
- CLK (Rotary Encoder)
- DT (Rotary Encoder)
- SW (Rotary Encoder)
- PWM (12v PWM Fan)
- GPIOs connected to resistors for interfacing with Mosfet and temperature sensors
Peltier Module
- Positive connected to the battery, fan, water pump, and voltage converter
- Negative connected to the Mosfet drain
Mosfet
- Gate connected to a GPIO on the Raspberry Pi Pico via a 10k Ohm resistor
- Drain connected to the Peltier Module negative
- Source connected to the ground net
5v mini water pump
- Positive connected to the battery, fan, Peltier Module, and voltage converter
- Negative connected to the ground net
Battery 12v
- Positive connected to the Peltier Module, fan, water pump, and voltage converter
- Negative connected to the ground net
48v to 5v Converter
- Input connected to the battery
- Output connected to the ground net and provides 5v to the OLED, EEPROM, Rotary Encoder, and temperature sensors
Resistors
- Various resistors are used for pull-ups, current limiting, and interfacing with the Mosfet
12v PWM Fan (120mm)
- PWM controlled by the Raspberry Pi Pico
- Ground connected to the ground net
DS18B20 Temperature Sensors
- Signal lines connected to a GPIO on the Raspberry Pi Pico via a 4.7k Ohm resistor
- VCC and GND connected to the 5v and ground nets respectively
AT24C256 External EEPROM
- SDA and SCL connected to the Raspberry Pi Pico
- VCC connected to the 5v net
- GND connected to the ground net
0.96" OLED
- SDA and SCK connected to the Raspberry Pi Pico
- VDD connected to the 5v net
- GND connected to the ground net
HW-040 Rotary Encoder
- CLK and DT connected to the Raspberry Pi Pico
- SW connected to the Raspberry Pi Pico
- "+" connected to the 5v net
- GND connected to the ground net
Documented Code
Raspberry Pi Pico Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not contain any functional code. It is expected that the user will add the necessary code to interface with the components as described in the wiring details.