<?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>Wiring Archives - Nerd Corner</title>
	<atom:link href="https://nerd-corner.com/tag/wiring/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerd-corner.com/tag/wiring/</link>
	<description>Craft your dreams!</description>
	<lastBuildDate>Wed, 27 Apr 2022 12:32:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://nerd-corner.com/wp-content/uploads/2019/10/cropped-LogoNerdCorner-2-32x32.png</url>
	<title>Wiring Archives - Nerd Corner</title>
	<link>https://nerd-corner.com/tag/wiring/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Printed connector as soldering aid for jumper cables and LED strips</title>
		<link>https://nerd-corner.com/printed-connector-as-soldering-aid-for-jumper-cables-and-led-strips/</link>
					<comments>https://nerd-corner.com/printed-connector-as-soldering-aid-for-jumper-cables-and-led-strips/#comments</comments>
		
		<dc:creator><![CDATA[Nerds]]></dc:creator>
		<pubDate>Tue, 26 Apr 2022 18:31:53 +0000</pubDate>
				<category><![CDATA[Handcrafted]]></category>
		<category><![CDATA[SolidWorks]]></category>
		<category><![CDATA[3D print]]></category>
		<category><![CDATA[CAD]]></category>
		<category><![CDATA[CAD design]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[connector]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[heat shrink tube]]></category>
		<category><![CDATA[housing]]></category>
		<category><![CDATA[jumper cable]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[led strip]]></category>
		<category><![CDATA[leds]]></category>
		<category><![CDATA[Pin]]></category>
		<category><![CDATA[Pins]]></category>
		<category><![CDATA[RGB led strip]]></category>
		<category><![CDATA[solder]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[soldering aid]]></category>
		<category><![CDATA[Step by step guide]]></category>
		<category><![CDATA[Wiring]]></category>
		<guid isPermaLink="false">https://nerd-corner.com/de/?p=1210</guid>

					<description><![CDATA[<p>For one project, I spent a lot of time preparing cables (cutting, stripping, twisting, and applying solder to the strands). For prototypes, on the other &#8230; </p>
<p>The post <a href="https://nerd-corner.com/printed-connector-as-soldering-aid-for-jumper-cables-and-led-strips/">Printed connector as soldering aid for jumper cables and LED strips</a> appeared first on <a href="https://nerd-corner.com">Nerd Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>For one project, I spent a lot of time preparing cables (cutting, stripping, twisting, and applying solder to the strands). For prototypes, on the other hand, I usually prefer jumper cables. I have often thought that it would be incredibly practical to use jumper cables in the final product as well.</p>
<p>That&#8217;s why I designed a quick connector in CAD that makes it very easy to solder jumper cables. The connector serves as an ideal soldering aid. Of course, the wire diameter must be sufficient for the required number of amperes! On the market there are mainly inferior connectors. My STL file on the other hand is cheap and works perfectly.</p>
<p><em><strong>This might also be interesting: </strong><a href="http://nerd-corner.com" target="_blank" rel="noopener">Universal connector housing!</a></em></p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-1206 zoooom" src="https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-scaled.jpg" alt="custom designed connector soldering aid" width="2550" height="1435" srcset="https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-scaled.jpg 2560w, https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-300x169.jpg 300w, https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-1024x576.jpg 1024w, https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-768x432.jpg 768w, https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-1536x864.jpg 1536w, https://nerd-corner.com/wp-content/uploads/2022/04/custom-designed-connector-soldering-aid-2048x1152.jpg 2048w" sizes="(max-width: 2550px) 100vw, 2550px" /></p>
<h2>List of components</h2>
<ul>
<li>4 Pin RGB LED Strip</li>
<li>Jumper cable</li>
<li>Heat shrink tubing</li>
<li>Hot Glue</li>
</ul>
<h2>Project application</h2>
<p>For a larger project I needed 16 RGB strips with 21 LEDs each. The strips were pushed into a 3D printed socket afterwards. The LED strip was separated directly at the pre-marked point with a standard pair of scissors (usually the RGB strips are divisible after every third LED).</p>
<p><img decoding="async" class="zoooom aligncenter wp-image-1202" src="https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-scaled.jpg" alt="Löthilfe connector soldering aid" width="1440" height="2556" srcset="https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-scaled.jpg 1442w, https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-169x300.jpg 169w, https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-577x1024.jpg 577w, https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-768x1364.jpg 768w, https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-865x1536.jpg 865w, https://nerd-corner.com/wp-content/uploads/2022/04/Ergebnis-Lothilfe-Anlothilfe-1153x2048.jpg 1153w" sizes="(max-width: 1440px) 100vw, 1440px" /></p>
<p>For the jumper cables I chose one side male and the other female. The side with the PINs (male) were soldered to the RGB strip and the socket (female) was used as a plug. It is crucial to use jumper cables with square housing (standard dimension: 2.54 mm). The length of the plastic housing does not matter. Depending on the brand, the plastic housings are 12 mm or 14 mm long.</p>
<h2>Procedure</h2>
<p>Since no preparatory work on the cables is necessary, soldering can be started directly. I prefer to apply solder to the RGB strip at the soldering points (copper layer) first.  After that I solder the PINs to the soldering points without additional solder. The PINs should not be soldered too deep towards the LED and the alignment must fit.</p>
<p>Then the connector comes into play. This connector is on the RGB side and open at the top. The RGB strip is inserted into the connector so that the solder joints are in the connector. Then the four cables are pressed into the slots and the solder joints are sealed with hot glue if necessary. For safety reasons, I recommend to attach a heat shrink tubing. This way you get a super strong connection!</p>
<p><img decoding="async" class="zoooom aligncenter wp-image-1203" src="https://nerd-corner.com/wp-content/uploads/2022/04/led-connector-Lothilfe.jpg" alt="led connector soldering aid" width="450" height="752" srcset="https://nerd-corner.com/wp-content/uploads/2022/04/led-connector-Lothilfe.jpg 454w, https://nerd-corner.com/wp-content/uploads/2022/04/led-connector-Lothilfe-179x300.jpg 179w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<h2>Steps in pictures</h2>
<p><img loading="lazy" decoding="async" class="zoooom aligncenter wp-image-1196" src="https://nerd-corner.com/wp-content/uploads/2022/04/Arbeitsfolge.jpg" alt="work steps for the connector (soldering aid)" width="490" height="1338" srcset="https://nerd-corner.com/wp-content/uploads/2022/04/Arbeitsfolge.jpg 494w, https://nerd-corner.com/wp-content/uploads/2022/04/Arbeitsfolge-110x300.jpg 110w, https://nerd-corner.com/wp-content/uploads/2022/04/Arbeitsfolge-375x1024.jpg 375w" sizes="auto, (max-width: 490px) 100vw, 490px" /></p>
<h4>Advantages:</h4>
<ul>
<li>No cable preparation</li>
<li>Strong connection</li>
<li>Easy 3D printing</li>
</ul>
<h4>Disadvantages:</h4>
<ul>
<li>Requires more space</li>
<li>STL file only for RGB strips with 10 mm width</li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1208 zoooom" src="https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1.jpg" alt="CAD design soldering aid connector" width="1810" height="764" srcset="https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1.jpg 1817w, https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1-300x127.jpg 300w, https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1-1024x432.jpg 1024w, https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1-768x324.jpg 768w, https://nerd-corner.com/wp-content/uploads/2022/04/RGBjoiner1-1536x648.jpg 1536w" sizes="auto, (max-width: 1810px) 100vw, 1810px" /></p>
<p>&nbsp;</p>
<h2>Download files</h2>
<ul>
<li style="list-style-type: none;">
<ul style="margin-left: 1rem;">
<li><a href="https://www.thingiverse.com/thing:5223739" target="_blank" rel="noopener">STL file of the soldering aid</a></li>
</ul>
</li>
</ul>
<p>The post <a href="https://nerd-corner.com/printed-connector-as-soldering-aid-for-jumper-cables-and-led-strips/">Printed connector as soldering aid for jumper cables and LED strips</a> appeared first on <a href="https://nerd-corner.com">Nerd Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nerd-corner.com/printed-connector-as-soldering-aid-for-jumper-cables-and-led-strips/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the hallsensor KY-024 with Arduino Code and Wiring</title>
		<link>https://nerd-corner.com/hallsensor-ky-024-arduino-code/</link>
					<comments>https://nerd-corner.com/hallsensor-ky-024-arduino-code/#comments</comments>
		
		<dc:creator><![CDATA[Nerds]]></dc:creator>
		<pubDate>Tue, 21 Jul 2020 14:09:01 +0000</pubDate>
				<category><![CDATA[Arduino projects]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Arduino Code]]></category>
		<category><![CDATA[arduino mega]]></category>
		<category><![CDATA[Fritzing]]></category>
		<category><![CDATA[hall sensor]]></category>
		<category><![CDATA[hallsensor]]></category>
		<category><![CDATA[KY-024]]></category>
		<category><![CDATA[KY024]]></category>
		<category><![CDATA[Wiring]]></category>
		<guid isPermaLink="false">https://nerd-corner.com/?p=667</guid>

					<description><![CDATA[<p>A Hall sensor can detect magnetic fields and is therefore very suitable in the handicraft area to detect movements. You can often find videos on &#8230; </p>
<p>The post <a href="https://nerd-corner.com/hallsensor-ky-024-arduino-code/">How to use the hallsensor KY-024 with Arduino Code and Wiring</a> appeared first on <a href="https://nerd-corner.com">Nerd Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A Hall sensor can detect magnetic fields and is therefore very suitable in the handicraft area to detect movements. You can often find videos on the Internet in which a Hall sensor KY-024 serves as a tachometer with an Arduino.</p>
<p><em><strong>This might be interesting for you:</strong> <a href="https://nerd-corner.com/hall-sensor-movement-detection/" target="_blank" rel="noopener noreferrer">We built a Hall sensor movement detection wheel</a></em></p>
<p>We have already started small Arduino <a href="https://nerd-corner.com/category/arduino-projects/">projects</a>. Next we want to build a prayer wheel that will light up when it is rotated. For this we will need a Hall sensor.<br />
This post shows a simple example to explain how to connect a Hall sensor to an Arduino and program it so that an LED starts to light up as soon as the Hall sensor KY024 detects a magnetic field.</p>
<h2>List of components</h2>
<ul>
<li>Arudino Mega</li>
<li>Jumper cable</li>
<li>220 Ohm resistor</li>
<li>LED</li>
<li>Magnets</li>
<li>Hall sensor KY-024</li>
</ul>
<p><iframe loading="lazy" hcb-fetch-image-from="https://youtu.be/SyzZMWDjQ1w" title="KY-024 Hall Sensor with Arduino code and full user guide!" width="1200" height="675" src="https://www.youtube.com/embed/SyzZMWDjQ1w?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<h2>How does a Hall sensor work or what is the Hall effect?</h2>
<p>When a current-carrying electrical conductor is in a magnetic field, an electrical field builds up. This is perpendicular to the current direction and to the magnetic field and compensates for the Lorentz force which acts on the electrons.</p>
<p>A Hall sensor also provides a signal when the magnetic field in which it is located is constant. This is the advantage compared to a simple coil, which can only determine the derivation of the magnetic field over time.</p>
<h2>The Hall sensor KY-024</h2>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-672 zoooom" src="https://nerd-corner.com/wp-content/uploads/2020/07/KY024.jpg" alt="Hall sensor KY024 KY-024 KY 024 arduino code" width="913" height="755" srcset="https://nerd-corner.com/wp-content/uploads/2020/07/KY024.jpg 914w, https://nerd-corner.com/wp-content/uploads/2020/07/KY024-300x248.jpg 300w, https://nerd-corner.com/wp-content/uploads/2020/07/KY024-768x635.jpg 768w" sizes="auto, (max-width: 913px) 100vw, 913px" /></p>
<p>The linear magnetic Hall sensor KY-024 can detect magnetic fields and therefore reacts as soon as you approach it with a magnet. It has a potentiometer with which the sensitivity of the sensor can be set. The KY-024 Hall sensor offers both an analog and a digital output.</p>
<p>The digital output acts as a switch that turns on and off when a magnet is nearby. The analog output, on the other hand, can measure the polarity and relative strength of the magnetic field.</p>
<h2>KY-024 Arduino Wiring</h2>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-670 zoooom" src="https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine.png" alt="Wiring the KY024 hall sensor to an arduino" width="1913" height="1034" srcset="https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine.png 1914w, https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine-300x162.png 300w, https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine-1024x554.png 1024w, https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine-768x415.png 768w, https://nerd-corner.com/wp-content/uploads/2020/07/HallSensor_Steckplatine-1536x831.png 1536w" sizes="auto, (max-width: 1913px) 100vw, 1913px" /></p>
<p>It is a simple structure that only serves to illustrate the functioning of the KY-024 Hall sensor. Please pay attention to the forward direction of the LED, the kinked end is connected to an Arduino pin and the straight end to GND. Correctly the LED needs a 220 Ohm ballast resistor. However, this can also be neglected for the short duration of use.</p>
<p>Otherwise, connect the GND of the KY-024 to the GND of the Arduino analogous to the <a href="https://fritzing.org/" target="_blank" rel="noopener noreferrer">Fritzing</a> sketch. Connect the analog output A0 of the KY-024 to A0 of the Arduino Mega. Connect the + of the KY-024 to 5V of the Arduino and connect the digital output D0 of the KY-024 to pin 9 of the Arduino. That was the complete wiring.</p>
<h2>Hall sensor KY-024 Arduino Code</h2>
<pre class="EnlighterJSRAW" data-enlighter-language="c" data-enlighter-title="Hallsensor.ino" data-enlighter-theme="beyond" data-enlighter-group="Hallsensor">int LED = 53 ; // LED
int digitalPin = 9; // Hall magnetic sensor input 1 (high) or 0 (low)
int analogPin = A0; // analog Pin also available, but not necessary
int digitalInputValue ; // digital readings
int analogInputValue; // analog readings

void setup ()
{
  pinMode (LED, OUTPUT); 
  pinMode (digitalPin, INPUT); 
  pinMode(analogPin, INPUT); //not necessary, but it is interesting to see the analog values
  Serial.begin(9600);
}

void loop ()
{
  
  digitalInputValue = digitalRead(digitalPin) ; 
  if (digitalInputValue == HIGH) // When magnet is present, digitalInputValue gets 1 (HIGH) and turns LED on
  {
    digitalWrite (LED, HIGH);
    
  }
  else
  {
    
    digitalWrite (LED, LOW);
  }
  
  //Here you can see the analog values of the sensor
  analogInputValue = analogRead(analogPin);
  Serial.println(analogInputValue); // print analog value

  delay(100);
}</pre>
<p>We first define the assignment of the LED (here pin 53), the digital (pin 9) and the analog pin (pin A0) and two variables to read the digital and analog sensor data. The digital pin is sufficient for our purpose of lighting the LED.</p>
<p>The analog pin can actually be neglected. However, since it is useful for this tutorial to show the analog values, the analog pin was nevertheless taken into account in the code.<br />
The respective pin mode is defined in the setup and the digital sensor value of the KY 024 is read in the loop function and, depending on the value, the LED receives the command to light or not. The digital sensor value is either 0 or 1. If you want to, you can use the penultimate 2 lines to display the associated analog values.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-677 size-large zoooom" src="https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data-1024x597.jpg" alt="hallsensor Ky024 arduino code analog data" width="1024" height="597" srcset="https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data-1024x597.jpg 1024w, https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data-300x175.jpg 300w, https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data-768x447.jpg 768w, https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data-1536x895.jpg 1536w, https://nerd-corner.com/wp-content/uploads/2020/07/Analog-Sensor-Data.jpg 1917w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h2>Download file</h2>
<ul>
<li><a  data-e-Disable-Page-Transition="true" class="download-link" title="" href="https://nerd-corner.com/download/674/?tmstv=1755648700" rel="nofollow" id="download-link-674" data-redirect="false" >
	Hall sensor KY-024 Arduino code</a>
</li>
</ul>
<p>The post <a href="https://nerd-corner.com/hallsensor-ky-024-arduino-code/">How to use the hallsensor KY-024 with Arduino Code and Wiring</a> appeared first on <a href="https://nerd-corner.com">Nerd Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nerd-corner.com/hallsensor-ky-024-arduino-code/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
