Hello everyone,
I am extremely new to Arduino and I want to create a peltier cooling/heating system. Ill explain the details of my project and please tell me what components you would use and how you would write the code to make this happen. Basically, if you press the "cooling" button, the peltier cooler will start to activate at a certain temperature and if you press it again, it switches off the cooling mechanics. How would I make this happen?
Hi advaitsingh, first you need a module that can change polarity. I assume you are using one of those cheap Chinese modules 12V 6A, i.e. 60W. Since you are new, I advise you to set up the whole thing with 5V relays (they are available cheaply on the Internet, especially for Arduino), because it is very easy to understand and to connect. One relay (simple one) controls ON/OFF, the second behind it controls +|- or -|+ (relay with 2x changeover switch). The second relay also prevents you from accidentally programming a short circuit. To undestand buttons read the "digital/button" example of your arduino installation - there ist all you need : digitalRead(buttons) and digitalWrite(relays).
Just so I understand more clearer, do I need to Program anything? If so, could you mention the code?
We are not a code service. We are a helper forum.
First we need to know which peltier you have...
A link to the place where you bought it would help...
That depends on your hardware. You should definitely work through the beginners tutorial. As a tip, try something like this (simple toggle prog.):
bool isPowerOn = false;
void setup() {
pinMode(relayPin, OUTPUT);
pinMode(buttonPin, INPUT);
}
void loop() {
if(digitalRead(buttonPin)){
isPowerOn = !isPowerOn //toggle
digitalWrite(relayPin, isPowerOn);
}
}
-
Why are you making this ?
-
What have you made in electronics before ?
-
Have you written any C++ code before.
-
How big is this unit going to be ?
-
What are you going to make the enclosure from ?
-
Do you have access to electric fans, Peltier cells, Arduino ?
-
Do you know how to solder ?
-
What is your budget ?
The very first step is the fully describe the "system".
Describe what is to be cooled or heated (describe all contained materials, size and total mass), describe the enclosure (type and thickness of insulation and outer 3D dimensions), and state the temperature differences from ambient temperature.
With that information one can estimate the amount of heat per unit time that must be pumped in or out of the enclosure, which is required to design the rest of the heating/cooling system.
This sounds like an interesting learning project that could be a lot of fun! However, please keep in mind that we are not a free design or code-writing service. We’re more than happy to help with your design or code, but we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly.
- Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
- Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
- Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.
- Reference Resources: For additional help, check out useful links and tutorials: Useful Links on Arduino Forum.
- Obtain a copy: of the Arduino Cookbook and complete several of the projects. Many of them will help you achieve parts of your goals.
Please be clear about the requirements. Do you want a cooling system or do you want a system that can cool and then can heat the same side of the Peltier device?
In either system, you need heat sinks on both sides of the Peltier. If cooling only, the hot side needs a large heat sink and a fan to cool the heat sink. If cooling and heating, you need identical large heat sinks and fans on both sides. If I recall correctly, 65% of the heat is generated internally by the Peltier diodes.
Hi Larry, as he wrote, he is extremely new to the topic. He will probably only be able to give you exact one answer, he probably doesn't even know the others. So we can only give him tips on how to get started with the project... nothing more.
The peltier modules are high-current so, you would either need a power mosfet like IRFZ44N and any NPN transistor to bump up the 5v output to something higher (close to 10v) , or a relay. then you need a sensor or an NTC. The documentation has examples for turning analog input to digital output and calibration of such sensors are also explained. Read this 2 links first.
https://docs.arduino.cc/built-in-examples/analog/AnalogInput/
https://docs.arduino.cc/built-in-examples/analog/Calibration/
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.