On this tutorial, we will show how to use a Peltier with Arduino. The Peltier, or Thermoelectric coolers, are a device that can transfer heat from one side to another when a current is applied. You can use it as a heater or a cooler. This Peltier can be powered up to 15,4V and 7A.

To use the Peltier, you will need a N-channel Mosfet and a 10K resistor.

Build the following circuit:

To control the current, we will use a PWM port. It can be used the pins 3,5,6,9,10 and 11. We are going to use the pin 3.

Upload the following code:

int peltier = 3; //The N-Channel MOSFET is on digital pin 3
int power = 0; //Power level fro 0 to 99%
int peltier_level = map(power, 0, 99, 0, 255); //This is a value from 0 to 255 that actually controls the MOSFET

void setup(){
Serial.begin(9600);

//pinMode(peltier, OUTPUT);
}

void loop(){
char option;

if(Serial.available() > 0)
{
option = Serial.read();
if(option == 'a') 
power += 5;
else if(option == 'z')
power -= 5;

if(power > 99) power = 99;
if(power < 0) power = 0;

peltier_level = map(power, 0, 99, 0, 255);
}

Serial.print("Power=");
Serial.print(power);
Serial.print(" PLevel=");
Serial.println(peltier_level);

analogWrite(peltier, peltier_level); //Write this new value out to the port

}

Open the serial monitor:

Send an "a" character and you will start reading the power going up. Type "z" and it will go down. Feels the Peltier. One side will be hot while the other cold. Remember to put a heat sink in the Mosfet to not melt your protoboard.

That's it!

References:

https://www.sparkfun.com/products/10080

http://tomswiki.wetpaint.com/page/Peltier+%28TEC%29+Cooling

http://en.wikipedia.org/wiki/Thermoelectric_effect

http://bildr.org/2012/03/rfp30n06le-arduino/

http://sparkfun.com/datasheets/Components/General/Peltier_Testing.pde

Views: 52424

Comment by Otto on January 30, 2013 at 8:54am

Hi! Is there any other mosfet than 30N06LE that i can use for the same purpouse? Thanks!

Comment by Ayhan Chaplan on December 26, 2016 at 7:54am

Hi! Will this setup work with a 3,8V / 2,5A Peltier element? Or do I have to reduce the resistance to anyting below 10k ohm? Thanks!

Comment

You need to be a member of GarageLab (arduino, electronics, robotics, hacking) to add comments!

Join GarageLab (arduino, electronics, robotics, hacking)

Latest Activity

HUZEFA ESSAJI is now a member of GarageLab (arduino, electronics, robotics, hacking)
3 hours ago
karthikeyan is now a member of GarageLab (arduino, electronics, robotics, hacking)
yesterday
Lou Rabinski is now a member of GarageLab (arduino, electronics, robotics, hacking)
Wednesday
iftekhar Mobin is now a member of GarageLab (arduino, electronics, robotics, hacking)
Monday
Profile IconLeicester Hibbert and Michael Young joined GarageLab (arduino, electronics, robotics, hacking)
Jan 9
Profile IconThorsten Schwarz and Dana Custer joined GarageLab (arduino, electronics, robotics, hacking)
Jan 2
Aqeel munir updated their profile
Dec 31, 2016
Todd Enger updated their profile
Dec 29, 2016
FRANK KWABENA is now a member of GarageLab (arduino, electronics, robotics, hacking)
Dec 28, 2016
Ayhan Chaplan commented on GarageLab's blog post How to use a Peltier with Arduino
"Hi! Will this setup work with a 3,8V / 2,5A Peltier element? Or do I have to reduce the resistance…"
Dec 26, 2016
Profile IconAyhan Chaplan, Erva and Donna Carter joined GarageLab (arduino, electronics, robotics, hacking)
Dec 26, 2016
Galy Huang posted a discussion

Ubuntu on Firefly-RK3399

Firefly-RK3399 with dual-core Cortex-A72 and quad-core Cortex-A53, ARM® Mali-T860 MP4 quad-core…See More
Dec 20, 2016
Chase Rangel posted a discussion

What is the simplest way to control one brushless motor forward/reverse?

  Hello everyone I don't know much about this type of stuff had only a handful of RC cars.I've been…See More
Dec 12, 2016
Profile IconErving Howe, Chase Rangel, Werner Pretorius and 1 more joined GarageLab (arduino, electronics, robotics, hacking)
Dec 12, 2016
Frank Turner is now a member of GarageLab (arduino, electronics, robotics, hacking)
Dec 9, 2016
Marcelo Rodrigues and swapnil are now friends
Dec 6, 2016
Marcelo Rodrigues replied to swapnil's discussion Tiny 85 based Thermometer
"Dear Swapnil, Since you don't have any experience with programming you should consider start…"
Dec 5, 2016
swapnil posted a discussion

Tiny 85 based Thermometer

Hi, can any one guide me how to make the tiny 85 based Thermometer which will glow the LED…See More
Dec 4, 2016
Spyros Svoronos is now a member of GarageLab (arduino, electronics, robotics, hacking)
Dec 4, 2016
K Biju is now a member of GarageLab (arduino, electronics, robotics, hacking)
Nov 29, 2016

© 2017   Created by Marcelo Rodrigues.   Powered by

Badges  |  Report an Issue  |  Terms of Service