<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arduino &amp; Co &#8211; 3D-Printsolutions.de</title>
	<atom:link href="https://3d-printsolutions.de/category/arduino-co/feed" rel="self" type="application/rss+xml" />
	<link>https://3d-printsolutions.de</link>
	<description></description>
	<lastBuildDate>Sun, 12 Dec 2021 16:52:05 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://3d-printsolutions.de/wp-content/uploads/2026/01/3DPS-1zu1-100x100.png</url>
	<title>Arduino &amp; Co &#8211; 3D-Printsolutions.de</title>
	<link>https://3d-printsolutions.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Arduino gesteuerte Temperaturüberwachung</title>
		<link>https://3d-printsolutions.de/arduino-gesteuerte-temperaturueberwachung</link>
					<comments>https://3d-printsolutions.de/arduino-gesteuerte-temperaturueberwachung#respond</comments>
		
		<dc:creator><![CDATA[MMattes]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 04:30:00 +0000</pubDate>
				<category><![CDATA[Arduino & Co]]></category>
		<category><![CDATA[3D-Druck]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Temperaturüberwachung]]></category>
		<guid isPermaLink="false">https://3d-printsolutions.de/?p=979</guid>

					<description><![CDATA[Heute zeige ich dir zur Abwechslung mal ein kleineres Projekt. :)...]]></description>
										<content:encoded><![CDATA[
<p>Heute zeige ich dir zur Abwechslung mal ein kleineres Projekt. <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Ich nutze in diesem Projekt einen Arduino um verschiedene Temperaturen in meinem 3D-Drucker zu überwachen. Beispielsweise die Treibertemperatur vom Board (X/Y/Extruder), aber auch die Temperatur des Netzteils und Coldend. </p>



<p>Nun gut fangen wir an!</p>



<p>Was du alles Brauchst:<br>&#8211; Arduino<br>&#8211; LCD Display<br>&#8211; Thermistor(en) (hier B3950)<br>&#8211; Widerstände (hier 100K)<br>&#8211; Lochrasterplatine<br>&#8211; JT-Stecker<br>&#8211; Jumper-Kabel<br>&#8211; Lötkolben<br>&#8211; 3D-Drucker um Rahmen zu drucken</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1003" height="656" src="https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02.png" alt="" class="wp-image-1021" srcset="https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02.png 1003w, https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02-416x272.png 416w, https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02-300x196.png 300w, https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02-768x502.png 768w, https://3d-printsolutions.de/wp-content/uploads/2021/08/2021-09-01-00_07_02-138x90.png 138w" sizes="(max-width: 1003px) 100vw, 1003px" /></figure></div>



<p class="has-text-align-center">Im folgenden Bild befassen wir uns mit dem anschließen des Thermistors. der Thermistor wird an + sowie A0 (Analogeingang) angeschlossen. Zusätzlich schließen wir dann noch den Widerstand parallel zu A0 an GND an.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="570" height="388" src="https://3d-printsolutions.de/wp-content/uploads/2021/08/thermistor-setup-small.png" alt="" class="wp-image-995" srcset="https://3d-printsolutions.de/wp-content/uploads/2021/08/thermistor-setup-small.png 570w, https://3d-printsolutions.de/wp-content/uploads/2021/08/thermistor-setup-small-416x283.png 416w, https://3d-printsolutions.de/wp-content/uploads/2021/08/thermistor-setup-small-300x204.png 300w" sizes="(max-width: 570px) 100vw, 570px" /></figure></div>



<p class="has-text-align-center">Ihr könnt nun die Schaltung beliebig erweitern. Ich habe das 4 mal gemacht, da mein LCD 4 Zeilen hat.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="768" height="1024" src="https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-768x1024.jpg" alt="" class="wp-image-999" srcset="https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-768x1024.jpg 768w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-416x555.jpg 416w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-225x300.jpg 225w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-1152x1536.jpg 1152w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-1536x2048.jpg 1536w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7176-scaled.jpg 1920w" sizes="(max-width: 768px) 100vw, 768px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="768" height="1024" src="https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-768x1024.jpg" alt="" class="wp-image-998" srcset="https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-768x1024.jpg 768w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-416x555.jpg 416w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-225x300.jpg 225w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-1152x1536.jpg 1152w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-1536x2048.jpg 1536w, https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7174-scaled.jpg 1920w" sizes="auto, (max-width: 768px) 100vw, 768px" /></figure></div>



<p class="has-text-align-center">Untenstehend findest du den Code für den Arduino. Ich weise ausdrücklich darauf hin das ich mir sämtliche Parameter aus dem Internet zusammengesucht habe und es sicher aus Programmierer-Sicht einfacher zu lösen wäre. Aber gut, es funktioniert und erfüllt seinen Zweck <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>



<pre class="wp-block-code"><code>#include &lt;Wire.h&gt;
#include &lt;LiquidCrystal_I2C.h&gt;
LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 20, 4);
//in “20, 4” ändern wenn 20x04 benutzt wird
#include &lt;math.h&gt;         //loads the more advanced math functions
void setup() {            //This function gets called when the Arduino starts
 Serial.begin(115200);   //This code sets up the Serial port at 115200 baud rate
 lcd.init();
lcd.backlight();
 delay(250);
//lcd.noBacklight();
//delay(1000);
//lcd.backlight();
// delay(1000);
 lcd.setCursor(5, 0);   //Position Text
lcd.print("Hypercube");     // Text beim Start
lcd.setCursor(5, 1);   //Position Text
lcd.print("Evolution");     // Text beim Start
lcd.setCursor(1, 2);   //Position Text
lcd.print("Temp.ueberwachung");     // Text beim Start
 delay(5000);            //anzeigedauer
 lcd.clear();
}
int Thermister(int RawADC) {  //Function to perform the fancy math of the Steinhart-Hart equation
 double Temp;
 Temp = log(((10240000/RawADC) - 10000));
 Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp ))* Temp );
 Temp = Temp - 273.15;              // Convert Kelvin to Celsius
//Temp = (Temp * 9.0)/ 5.0 + 32.0; // Celsius to Fahrenheit - comment out this line if you need Celsius
 return int(round(Temp));
}
void loop() {             //This function loops while the arduino is powered
  int val;                //Create an integer variable
  int temp;            //Variable to hold a temperature value
  val=analogRead(0);      //Read the analog port 0 and store the value in val
  temp=Thermister(val);   //Runs the fancy math on the raw analog value
  lcd.setCursor(0, 0);
  lcd.print(" Cold-End : ");  //Bezeichnung für Sensor eingeben
  lcd.print(temp);          // Temperaturausgabe
  lcd.print("\xDF""C   ");     // Text hinter temp 
  //delay(500);            //Wait one second before we do it again
 
 
  val=analogRead(1);      //Read the analog port 1 and store the value in val
  temp=Thermister(val);   //Runs the fancy math on the raw analog value
  lcd.setCursor(0, 1);
   lcd.print(" Driver XY: ");  //Bezeichnung für Sensor eingeben
  lcd.print(temp);
   lcd.print("\xDF""C   ");     // Text hinter temp 
 // delay(500);            //Wait one second before we do it again
   
  val=analogRead(2);      //Read the analog port 1 and store the value in val
  temp=Thermister(val);   //Runs the fancy math on the raw analog value
  lcd.setCursor(0, 2);
   lcd.print(" Extruder : ");  //Bezeichnung für Sensor eingeben
  lcd.print(temp);
  lcd.print("\xDF""C   ");     // Text hinter temp 
  //delay(500);            //Wait one second before we do it again
   
  val=analogRead(3);      //Read the analog port 1 and store the value in val
  temp=Thermister(val);   //Runs the fancy math on the raw analog value
  lcd.setCursor(0, 3);
  lcd.print(" Netzteil : ");  //Bezeichnung für Sensor eingeben
  lcd.print(temp);
   lcd.print("\xDF""C   ");     // Text hinter temp 
  delay(1000);            //Wait one second before we do it again
}</code></pre>



<p class="has-text-align-center">Sollte jemand Lust haben den Code etwas zu verfeinern bzw. zu verbessern, schickt mir einfach ne Mail mit dem Code und ich werde ihn hier aktualisieren.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" src="https://3d-printsolutions.de/wp-content/uploads/2021/08/img_7170-768x1024.jpg" alt="" class="wp-image-997"/></figure></div>



<p class="has-text-align-center">Fazit nach 1 Monat in Betrieb: die Werte schwanken doch sehr bei dem Aktualisierungsintervall. von 500ms.</p>



<p class="has-text-align-center">&#8211; Vielleicht hat jemand einen Tipp wie man den Code so anpassen könnte das er einen Durchschnitt aus den letzten 5 Messwerten nimmt?</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://3d-printsolutions.de/arduino-gesteuerte-temperaturueberwachung/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
