<p>I recently switched to a RAMPS 1.4 on an Arduino Mega 2560.
Ever since I have extruder temperature swings a couple of minutes into the print, but it looks like a problem reading the temp rather than actual fluctuations in the temperature (as can be seen in the attached pic).
Also, I've noticed that the MOSFET is getting really hot when I heat the heated bed.</p>

<p>What is the problem and how can I fix it?</p>

<p><a href="https://i.stack.imgur.com/QETof.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QETof.png" alt="enter image description here"></a></p>

[{'answer_id': 4779, 'author': 'nabzim', 'author_id': 8802, 'author_profile': 'https://3dprinting.stackexchange.com/users/8802', 'pm_score': 0, 'selected': False, 'text': '<p>For the really hot mosfet I would say it might be a good idea to get one of those external mosfet module boards. It just seems like a good idea to me, to not have the huge current of the bed-heater flowing through the ramps board. And for the thermistor wires, do you have them twisted together? If not, try tightly twisting the pair (of + &amp; -) together to ensure there is no interference from other signals. Careful not to put stress on where the wires are attached to the actual thermistor-head. Honestly, all of your wiring should be in twisted-pair configuration. <a href="https://en.m.wikipedia.org/wiki/Twisted_pair" rel="nofollow noreferrer">https://en.m.wikipedia.org/wiki/Twisted_pair</a></p>\n'}, {'answer_id': 4789, 'author': 'Steve-O-Rama', 'author_id': 8768, 'author_profile': 'https://3dprinting.stackexchange.com/users/8768', 'pm_score': 2, 'selected': True, 'text': "<p>For the overheating, you may need to turn the juice down a little on your Power Supply. Typically, there is a potentiometer inside that trims the voltage level coming from there. Some things can heat up if it's over-volting and needing to drop more voltage for the board.</p>\n\n<p>For the temperature reading stuff, make sure the thermistor is plugged in all way and not possibly dangling near the hot-end block. I have had that happen before and it will report improper temperatures as it goes along, and often results in the hot-end getting too hot and messing with the filament. If it's properly secured it might be just crappy or broken in some other way and you would need to replace it. It's reasonable practice to have a few extra thermistors lying around as having them go out at lousy times will bum you out.</p>\n"}, {'answer_id': 4797, 'author': 'joshConway', 'author_id': 8827, 'author_profile': 'https://3dprinting.stackexchange.com/users/8827', 'pm_score': 0, 'selected': False, 'text': '<p>I saw that you said you switched to a RAMPS 1.4 . I\'ll warn you that the componetry for the cheap $20 RAMPS 1.4\'s have significant issues, including under-speccing parts, using wrong part, not including enough copper for traces on the boards, and other quality concerns that can equal "FIRE" (not a euphemism). </p>\n\n<p>You\'ve noticed temperature fluctuations as well, as seen in the graph. This could be the result of a few different things.</p>\n\n<ol>\n<li><p>You din\'t PID tune the Hotend. Read <a href="http://reprap.org/wiki/PID_Tuning" rel="nofollow noreferrer">M303</a> for the full way to do this. Then either using EEPROM or by compiling the Kp, Ki, Kd variables, and store them in your configuration.h (assuming you\'re using Marlin).</p></li>\n<li><p>Your thermistor is loose. When it heats, it loosens and creates a \'not great\' contact against the hotend, giving spotty results.</p></li>\n</ol>\n\n<p><strong>HOWEVER</strong> the really concerning thing is that the power MOSFET isn\'t specced high enough for you board. If you\'ve noticed it very hot to the touch, and also collaborated by a really \'squirrely\' heated bed graph, then you have some significant problems with this part. </p>\n\n<p>There is a solution. But you ever hear the adage "If you buy cheap, prepare to buy thrice." ? It applies in your situation. Because in order to route around the crappy MOSFET, you need an external MOSFET board. </p>\n\n<p><a href="https://3dprint.wiki/reprap/electronics/heatbed_mosfet" rel="nofollow noreferrer">THIS</a> is a good place to see what part I\'m talking about, common places to buy them (Amazon and eBay are good for quicker, and Aliexpress is cheaper and longer). The aforementioned link also includes wiring diagrams and setup. </p>\n\n<p>So, it looks like a set of problems, with only 1 actually costing money. And ideally, those MOSFET boards are around $10 from Amazon(Prime), or up to $20 for the really nice TriGorilla ones. </p>\n\n<p><strong>IF/WHEN you buy a Power MOSFET board</strong>, make sure to EXCEED the amount of watts when compared to your heating solution. If you\'re using 12v, then you need an ohmmeter to get the resistance of the board. </p>\n\n<p>Solve for amps:</p>\n\n<pre><code> Amperage = volts/resistance\n</code></pre>\n\n<p>Then once you have amps, take:</p>\n\n<pre><code> amps*volts = watts  \n</code></pre>\n\n<p>This is how much watts your heated bed uses. <strong>MAKE SURE TO EXCEED THIS BY 10%</strong></p>\n'}, {'answer_id': 15736, 'author': 'SL Technic', 'author_id': 27029, 'author_profile': 'https://3dprinting.stackexchange.com/users/27029', 'pm_score': 0, 'selected': False, 'text': '<p><img src="https://i.stack.imgur.com/ff4r7.jpg" alt="enter image description here" />\nBy my mistake 12v in heatbed Vout plug and then the temperature shows(ramps 1.6)\nPlase help me</p>\n'}]
['https://3dprinting.stackexchange.com/questions/4778', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/8800/']