<?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 Archives &#8211; Make Some Stuff</title>
	<atom:link href="https://makesomestuff.org/tag/arduino/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Build Cool Electronics Projects!</description>
	<lastBuildDate>Sat, 27 Sep 2025 22:11:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>

<image>
	<url>https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/cropped-icon2.png?fit=32%2C32&#038;ssl=1</url>
	<title>Arduino Archives &#8211; Make Some Stuff</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">165766821</site>	<item>
		<title>Arduino Motorized Camera Slider</title>
		<link>https://makesomestuff.org/arduino-motorized-camera-slider/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arduino-motorized-camera-slider</link>
					<comments>https://makesomestuff.org/arduino-motorized-camera-slider/#comments</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Fri, 28 Aug 2020 16:02:03 +0000</pubDate>
				<category><![CDATA[Arduino Projects]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[camera slider]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=1028</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/arduino-motorized-camera-slider/">Arduino Motorized Camera Slider</a></p>
<p>For someone who loves to shoot some random hobbyist videos, it&#8217;s somehow expensive to buy a motorized camera slider. So, I built my own. In this tutorial, we will go through each step to build your own Bluetooth-controlled motorized camera slider. Hardware Components Component Quantity V-Slot 20&#215;40 Linear Rail the length you want. Solid V [...]</p>
<p>The post <a href="https://makesomestuff.org/arduino-motorized-camera-slider/">Arduino Motorized Camera Slider</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/arduino-motorized-camera-slider/">Arduino Motorized Camera Slider</a></p>

<p class="wp-block-paragraph">For someone who loves to shoot some random hobbyist videos, it&#8217;s somehow expensive to buy a motorized camera slider. So, I built my own. In this tutorial, we will go through each step to build your own Bluetooth-controlled motorized camera slider.</p>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe title="Arduino Bluetooth Motorized Camera Slider" width="770" height="433" src="https://www.youtube.com/embed/NDiSkqDO93k?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Hardware Components</h2>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="wp-block-table"><table><thead><tr><th class="has-text-align-center" data-align="center">Component</th><th class="has-text-align-center" data-align="center">Quantity</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/v-slot-20x40-linear-rail/" target="_blank" rel="noreferrer noopener">V-Slot 20&#215;40 Linear Rail</a></td><td class="has-text-align-center" data-align="center">the length you want.</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/solid-v-wheel-kit/" target="_blank" rel="noreferrer noopener">Solid V Wheel Kit</a></td><td class="has-text-align-center" data-align="center">4</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/drop-in-tee-nuts/" target="_blank" rel="noreferrer noopener">Drop In Tee Nuts</a></td><td class="has-text-align-center" data-align="center">4</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/eccentric-spacer/" target="_blank" rel="noreferrer noopener">Eccentric Spacer</a></td><td class="has-text-align-center" data-align="center">2</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/aluminum-spacers-10-pack/" target="_blank" rel="noreferrer noopener">9mm Aluminium spacer</a></td><td class="has-text-align-center" data-align="center">2</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/aluminum-spacers-10-pack/" target="_blank" rel="noreferrer noopener">3mm Aluminium spacer</a></td><td class="has-text-align-center" data-align="center">2</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/low-profile-screws-m5-10-pack/" target="_blank" rel="noreferrer noopener">Low Profile M5 screws length 20mm with nuts</a></td><td class="has-text-align-center" data-align="center">4</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://openbuildspartstore.com/low-profile-screws-m5-10-pack/" target="_blank" rel="noreferrer noopener">Low Profile M5 screws lenght 10mm</a></td><td class="has-text-align-center" data-align="center">4</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/340pcs-M3-A2-Stainless-Steel-Hex-Screw-Nuts-Bolt-Cap-Socket-Assortment-Kit/222963932692?hash=item33e9af9e14:g:-CwAAOSwo9Fa6suH" target="_blank" rel="noreferrer noopener">M3 Allen HEX screws length 16mm with nuts</a></td><td class="has-text-align-center" data-align="center">8</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/KFL08-8mm-Zinc-Alloy-Self-aligning-Pillow-Flange-Block-Bearing-Miniature-Rhombic/143438599109?hash=item21659b53c5:g:4A8AAOSwQ4RdySdd" target="_blank" rel="noreferrer noopener">8mm Self-aligning Pillow Flange Block Bearing</a></td><td class="has-text-align-center" data-align="center">2</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/GT2-Timing-Pulley-Gear-20T-8mm-Bore-Hole-for-NEMA-RepRap-Prusa-Mendel-3D-Printer/263425227906?hash=item3d555dfc82:g:GV8AAOxywh1TEVPG" target="_blank" rel="noreferrer noopener">GT2 Bore 8mm 20 Teeth Timing Aluminum Pulley</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/8mm-3D-Printer-Axis-Chrome-Plated-Smooth-Rod-Steel-Linear-Rail-Shaft-100-600mm/153607228218?hash=item23c3b44b3a:m:mY6AOQ6oZHBubk2jHuabjPg" target="_blank" rel="noreferrer noopener">8mm linear rail shaft</a></td><td class="has-text-align-center" data-align="center"> 60mm</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/GT2-Timing-Pulley-Gear-20T-5mm-Bore-Hole-for-NEMA-RepRap-Prusa-Mendel-3D-Printer/142649231949?hash=item21368e8a4d:g:qewAAOxy0bRTCELM" target="_blank" rel="noreferrer noopener">GT2</a><a href="https://www.ebay.com/itm/GT2-Timing-Pulley-Gear-20T-5mm-Bore-Hole-for-NEMA-RepRap-Prusa-Mendel-3D-Printer/142649231949?hash=item21368e8a4d:g:qewAAOxy0bRTCELM"> Bore 5mm 20 Teeth Timing Aluminum Pulley</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/Black-Parts-GT2-6mm-Open-Timing-Belt-Width-6mm-GT2-Belt-for-3D-Printer/392318165563?hash=item5b57fc223b:g:bc8AAOSwVaNdDeYP" target="_blank" rel="noreferrer noopener">GT2-6mm Open Timing Belt</a></td><td class="has-text-align-center" data-align="center">(depending on your rail length)</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.ebay.com/itm/Nema-17-Stepper-Motor-1-8-4-wires-60mm-48mm-40mm-34mm-1-5A-Bipolar/352897334644?_trkparms=ispr%3D1&amp;hash=item522a51fd74:m:mHj94orsqeJqc1634mx24Wg&amp;enc=AQAEAAACUBPxNw%2BVj6nta7CKEs3N0qU7O3ukBZjnBrVQsQ2MMPXWIAi1HMVJbRNVtObrEdHCSjYn%2BGEwRDAeNniflOwcPPRfnKoGS6IJ84KUZ%2Fk%2FknWYvNDHmGo%2F2q0myFM4a2%2BbUClUd75n4PTjlONz%2Bv81mLiyR8Op2wRQxHjZabCgVOQOyGrhhWOT%2FRAuFRWnGWMRoFjgdeVrhXMM19UISegxwT9By1sksEYnFv9MxnLAydPf%2BAvtaApj8IjFsv%2B6rCDncCUF4xkkb4vhGdTkUhFa6urG8X1AM1TxRLXKPSK%2BZWC97KJQLagmGQQOnkypOwCO3Cxn7b9nZU1PLiAoYFb8RIjNqBHNau%2BVp7ZMV68x%2FqTFUcWkyx8P3T%2Ffkc38ceGRlQiOQMy3QRMLqPwXAPCtf%2BHZxk4aFnGQXaTJ1nGvcBoV7DQXh7EfgDFLGakq5wI8GdslRC54sW0DJ2v6k%2BszD1jw3BcZfuc9Zv%2BqkpQ%2BQKiokxmzeh70WNRb1GzZY3GzXKk98cSTZQOyivHGO%2B6Xo7LZdEnZ55VhuqqMA47De%2BkZQXguluLqL2mdbnYKyEcYEKkU%2Fglmo8EpnwhpV4wxgGU7rJNuPxzpRMhWgbHodfanHLOJqdTx7nsyIr9Wk8diQem97oyclJ3bVJDYNyJjBLswrFZ%2B8ev0%2B%2BSD6uiht3e9TSn%2FzkD4r0lHTGZDT%2FYuwHUhNyyeBAzDZ5yJk%2Bo1xFaEpDLgO0DoYJCMvkkxgcjzKtj5aN45Dt3rwvwdgvcBN34iEkBtjg%2BkNPEtChESQp8%3D&amp;checksum=352897334644caee8af7443e491e91fba2927abe88db&amp;enc=AQAEAAACUBPxNw%2BVj6nta7CKEs3N0qU7O3ukBZjnBrVQsQ2MMPXWIAi1HMVJbRNVtObrEdHCSjYn%2BGEwRDAeNniflOwcPPRfnKoGS6IJ84KUZ%2Fk%2FknWYvNDHmGo%2F2q0myFM4a2%2BbUClUd75n4PTjlONz%2Bv81mLiyR8Op2wRQxHjZabCgVOQOyGrhhWOT%2FRAuFRWnGWMRoFjgdeVrhXMM19UISegxwT9By1sksEYnFv9MxnLAydPf%2BAvtaApj8IjFsv%2B6rCDncCUF4xkkb4vhGdTkUhFa6urG8X1AM1TxRLXKPSK%2BZWC97KJQLagmGQQOnkypOwCO3Cxn7b9nZU1PLiAoYFb8RIjNqBHNau%2BVp7ZMV68x%2FqTFUcWkyx8P3T%2Ffkc38ceGRlQiOQMy3QRMLqPwXAPCtf%2BHZxk4aFnGQXaTJ1nGvcBoV7DQXh7EfgDFLGakq5wI8GdslRC54sW0DJ2v6k%2BszD1jw3BcZfuc9Zv%2BqkpQ%2BQKiokxmzeh70WNRb1GzZY3GzXKk98cSTZQOyivHGO%2B6Xo7LZdEnZ55VhuqqMA47De%2BkZQXguluLqL2mdbnYKyEcYEKkU%2Fglmo8EpnwhpV4wxgGU7rJNuPxzpRMhWgbHodfanHLOJqdTx7nsyIr9Wk8diQem97oyclJ3bVJDYNyJjBLswrFZ%2B8ev0%2B%2BSD6uiht3e9TSn%2FzkD4r0lHTGZDT%2FYuwHUhNyyeBAzDZ5yJk%2Bo1xFaEpDLgO0DoYJCMvkkxgcjzKtj5aN45Dt3rwvwdgvcBN34iEkBtjg%2BkNPEtChESQp8%3D&amp;checksum=352897334644caee8af7443e491e91fba2927abe88db" target="_blank" rel="noreferrer noopener">bipolar Nema17 Stepper motor</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.amazon.com/HiLetgo-Stepstick-Stepper-Printer-Compatible/dp/B07BND65C8/ref=sr_1_3?dchild=1&amp;keywords=a4988&amp;qid=1598635507&amp;sr=8-3" target="_blank" rel="noreferrer noopener">A4988 Stepper motor driver</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center">12V 3A Rechargeable Battery</td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.amazon.com/gp/slredirect/picassoRedirect.html/ref=pa_sp_atf_aps_sr_pg1_1?ie=UTF8&amp;adId=A0525912YQ0RC2BZUQ1V&amp;url=%2FDSD-TECH-HC-05-Pass-through-Communication%2Fdp%2FB01G9KSAF6%2Fref%3Dsr_1_2_sspa%3Fdchild%3D1%26keywords%3DHC-05%2BBluetooth%2BModule%26qid%3D1598635562%26sr%3D8-2-spons%26psc%3D1&amp;qualifier=1598635562&amp;id=4505933433153694&amp;widgetName=sp_atf" target="_blank" rel="noreferrer noopener">HC-05 Bluetooth Module</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://store.arduino.cc/usa/arduino-uno-rev3" target="_blank" rel="noreferrer noopener">Arduino UNO</a></td><td class="has-text-align-center" data-align="center">1</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="https://www.pcbway.com/project/shareproject/Arduino_Motorized_Camera_Slider.html" target="_blank" rel="noreferrer noopener">Cairo Camera Slider Arduino UNO Sheild</a></td><td class="has-text-align-center" data-align="center">1</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Used Software</h2>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="wp-block-table"><table><tbody><tr><td><a href="https://www.arduino.cc/en/Main/Software" target="_blank" rel="noreferrer noopener">Arduino IDE</a></td></tr><tr><td><a href="https://www.autodesk.com/products/fusion-360/students-teachers-educators" target="_blank" rel="noreferrer noopener">Autodesk Fusion360 (Free License)</a></td></tr><tr><td><a href="https://www.autodesk.com/products/eagle/free-download" target="_blank" rel="noreferrer noopener">Autodesk Eagle (Free License)</a></td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Project Overview</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">Today we will build a motorized camera slider that we can control it wirelessly over Bluetooth from a custom-made android mobile app. I used the &#8220;MIT App inventor&#8221; tool to make the app which gives us the ability to control a lot of stuff like the slider movement speed, traveling distance, acceleration/deceleration rate and a lot more. The mobile app is very robust, inside the app you can set your camera slider length which you are using. which means, you are free to build your actual camera slider with any length up to 10 meters without worrying about the app.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="2430604139"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074.jpg?resize=770%2C578&#038;ssl=1" alt="Cairo Camera Slider" class="wp-image-1084" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/GOPR0074-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Cairo Camera Slider</figcaption></figure>



<p class="has-regular-font-size wp-block-paragraph">We used a NEMA17 stepper motor as an actuator so we can control how many steps do we need the camera slider to move. To control a stepper motor using the Arduino board, we need a translator that takes commands from the Arduino board and translate it to the language that the stepper motor understands. Here comes the A4988 <a href="https://www.pololu.com/product/1182">Pololu stepper motor driver</a> role, which gives us five different microstep resolutions (down to 1/16 step) to achieve the maximum moving accuracy and movement smoothness.</p>



<figure class="is-style-default wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=770%2C578&#038;ssl=1" alt="Cairo Camera Slider In-Action" class="wp-image-1130" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6838-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="has-regular-font-size wp-block-paragraph">This project Designed with makeability in a fablab/makerspace/hackerspace in mind.</p>



<h2 class="wp-block-heading">CAD And 3d Modeling</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">We used Fusion360 to design the camera slider, we chose to use very well-known, easy-to-find mechanical components that you can buy easily from almost any online or offline store no matter where you live. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=770%2C433&#038;ssl=1" alt="Cairo Camera Slider" class="wp-image-1041" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Camera-Slider-In-session-v38.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Cairo Camera Slider</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">We are using <a href="https://openbuilds.com/">Openbuilds hardware</a> to build the mechanical structure, the V-slot 2040 linear rail as a guide for the camera to move on. Two pulleys, one on the stepper motor shaft. And the other one, on an 8mm linear rail shaft on the opposite side of the slider with an open timing belt between them to convert from the stepper motor rotary motion to linear motion. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=770%2C433&#038;ssl=1" alt="Right-side Pulley" class="wp-image-1042" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/right-pulley.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Right-side Pulley</figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=770%2C433&#038;ssl=1" alt="Left-side Pulley" class="wp-image-1043" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/motor-pulley.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Left-side Pulley</figcaption></figure>
</div>


<p class="wp-block-paragraph">The 8mm linear rail shaft is installed between two Self-aligning Pillow Flange Block Bearings that are installed on the top and bottom plate by four M5 screws.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=770%2C433&#038;ssl=1" alt="Flange Bearing" class="wp-image-1046" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Right-leg-Flange-Bearing2.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Flange Bearing</figcaption></figure>
</div>


<p class="wp-block-paragraph">We are using four Delrin V-Slot solid wheels they ride down in the V-groove of the V-Slot rail to make the camera movement extremely smooth. The middle of the camera plate has a 1/4 inch diameter hole for a standard tripod screw so you can mount your camera easily.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=770%2C433&#038;ssl=1" alt="Camera Plate" class="wp-image-1047" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Slider-Plate.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Camera Plate</figcaption></figure>
</div>


<p class="wp-block-paragraph">Lastly, an enclosure for the electronics, All the camera slider parts are fixed together by m3*16mm screws and nuts. </p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure-1024x576.png?resize=770%2C433&#038;ssl=1" alt="" class="wp-image-1050" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure.png?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Electronics-enclosure.png?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<h2 class="wp-block-heading">Digital Fabrication (3d Printing)</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">All of the camera slider body is 3D-printed with 0.2 layer height, 20% infill, except the Camera slider left and right leg, which are printed with 0.2 layer height, 50% infill.</p>



<p class="wp-block-paragraph"><strong>You can download the STL files from this link.</strong></p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://www.thingiverse.com/thing:4581661" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">thingiverse</a></div>
</div>



<h2 class="wp-block-heading">V-Wheel Kit Assembly </h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">The assembly process is very easy man, come on! In the first step, we need to assemble the four Solid V-Wheels. The solid V-wheel kit comes with a rubber wheel, two bearings, two percision shims, and a lock nut.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="334" height="852" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1wh.jpg?resize=334%2C852&#038;ssl=1" alt="" class="wp-image-1133" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1wh.jpg?w=334&amp;ssl=1 334w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1wh.jpg?resize=118%2C300&amp;ssl=1 118w" sizes="auto, (max-width: 334px) 100vw, 334px" /><figcaption class="wp-element-caption">Solid V-wheel Kit</figcaption></figure>
</div>


<p class="wp-block-paragraph">Insert the bearing from one side of the rubber wheel and flip the wheel around, then insert one precision shim inside the rubber wheel, lastly insert the second bearing from the second face side.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="420" data-id="1134" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh.jpg?resize=770%2C420&#038;ssl=1" alt="insert the first bearing" class="wp-image-1134" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh-scaled.jpg?resize=1024%2C558&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh-scaled.jpg?resize=800%2C436&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh-scaled.jpg?resize=300%2C163&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh-scaled.jpg?resize=768%2C419&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2wh-scaled.jpg?resize=1536%2C837&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="418" data-id="1135" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh.jpg?resize=770%2C418&#038;ssl=1" alt="insert the precision shim" class="wp-image-1135" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh-scaled.jpg?resize=1024%2C556&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh-scaled.jpg?resize=800%2C434&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh-scaled.jpg?resize=300%2C163&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh-scaled.jpg?resize=768%2C417&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3wh-scaled.jpg?resize=1536%2C834&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="418" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh.jpg?resize=770%2C418&#038;ssl=1" alt="" class="wp-image-1136" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh-scaled.jpg?resize=1024%2C556&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh-scaled.jpg?resize=800%2C434&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh-scaled.jpg?resize=300%2C163&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh-scaled.jpg?resize=768%2C417&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4wh-scaled.jpg?resize=1536%2C834&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">insert the second bearing</figcaption></figure>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="OpenBuilds V Wheel kit Assembly Guide" width="770" height="433" src="https://www.youtube.com/embed/YtkGiLg2edk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Camera Slider Mechanical Assembly</h2>



<p class="wp-block-paragraph">First, We need to assemble the camera plate and the four solid V-Wheels. using the 9mm aluminum spacer, the precision shim, and the lock nut. </p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1162" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1162" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as-scaled.jpg?resize=1024%2C481&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as-scaled.jpg?resize=800%2C376&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as-scaled.jpg?resize=768%2C361&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4-as-scaled.jpg?resize=1536%2C721&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="359" data-id="1160" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as.jpg?resize=770%2C359&#038;ssl=1" alt="" class="wp-image-1160" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as-scaled.jpg?resize=1024%2C478&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as-scaled.jpg?resize=800%2C373&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as-scaled.jpg?resize=300%2C140&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as-scaled.jpg?resize=768%2C358&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3-as-scaled.jpg?resize=1536%2C717&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">We are going to repeat the previous step with the other three wheels. in the two right wheels we&#8217;re going to use the 9mm spacer. And the other two left wheels we&#8217;re going to use the eccentric spacer with a 3mm spacer instead of the 9mm spacer.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="2430604139"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1158" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as-scaled.jpg?resize=1024%2C481&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as-scaled.jpg?resize=800%2C376&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as-scaled.jpg?resize=768%2C361&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2-as-scaled.jpg?resize=1536%2C722&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">Now, insert the camera holder plate in the V-slot profile. If you found that the plate is loose and wiggling, you can tighten the Eccentric nut until you get a solid plate.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="365" data-id="1156" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as.jpg?resize=770%2C365&#038;ssl=1" alt="" class="wp-image-1156" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as-scaled.jpg?resize=1024%2C486&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as-scaled.jpg?resize=800%2C380&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as-scaled.jpg?resize=768%2C365&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1-as-scaled.jpg?resize=1536%2C730&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1155" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1155" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/0as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Let&#8217;s insert two drop-in tee nuts in each end of the V-slot profile. we need to connect the V-slot profile with the right and left legs of the camera slider.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="481" data-id="1157" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as.jpg?resize=770%2C481&#038;ssl=1" alt="" class="wp-image-1157" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as-scaled.jpg?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as-scaled.jpg?resize=800%2C500&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as-scaled.jpg?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as-scaled.jpg?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1as-scaled.jpg?resize=1536%2C960&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="327" data-id="1159" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as.jpg?resize=770%2C327&#038;ssl=1" alt="" class="wp-image-1159" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as-scaled.jpg?resize=1024%2C435&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as-scaled.jpg?resize=800%2C339&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as-scaled.jpg?resize=300%2C127&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as-scaled.jpg?resize=768%2C326&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2as-scaled.jpg?resize=1536%2C652&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="351" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as.jpg?resize=770%2C351&#038;ssl=1" alt="" class="wp-image-1185" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as-scaled.jpg?resize=1024%2C467&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as-scaled.jpg?resize=800%2C365&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as-scaled.jpg?resize=768%2C351&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/22as-scaled.jpg?resize=1536%2C701&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">Get the two camera slider legs and push them into the V-slot profile.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1161" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1161" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3as-scaled.jpg?resize=1536%2C725&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="351" data-id="1167" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as.jpg?resize=770%2C351&#038;ssl=1" alt="" class="wp-image-1167" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as-scaled.jpg?resize=1024%2C467&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as-scaled.jpg?resize=800%2C365&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as-scaled.jpg?resize=768%2C350&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/4as-scaled.jpg?resize=1536%2C701&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1168" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/5as-scaled.jpg?resize=1536%2C724&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">bring four M5X10mm screws, and fix the two legs with the V-slot profile.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="355" data-id="1169" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as.jpg?resize=770%2C355&#038;ssl=1" alt="" class="wp-image-1169" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as-scaled.jpg?resize=1024%2C472&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as-scaled.jpg?resize=800%2C369&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as-scaled.jpg?resize=300%2C138&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as-scaled.jpg?resize=768%2C354&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/6as-scaled.jpg?resize=1536%2C709&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="353" data-id="1170" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as.jpg?resize=770%2C353&#038;ssl=1" alt="" class="wp-image-1170" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as-scaled.jpg?resize=1024%2C470&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as-scaled.jpg?resize=800%2C367&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as-scaled.jpg?resize=300%2C138&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as-scaled.jpg?resize=768%2C352&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/7as-scaled.jpg?resize=1536%2C705&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">We need to install the NEMA 17 stepper motor on its plate. then, using four M3X16mm screws we are gonna fix the motor in place.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1171" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1171" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/8as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="352" data-id="1172" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as.jpg?resize=770%2C352&#038;ssl=1" alt="" class="wp-image-1172" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as-scaled.jpg?resize=1024%2C468&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as-scaled.jpg?resize=800%2C366&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as-scaled.jpg?resize=768%2C351&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/9as-scaled.jpg?resize=1536%2C702&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="352" data-id="1173" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as.jpg?resize=770%2C352&#038;ssl=1" alt="" class="wp-image-1173" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as-scaled.jpg?resize=1024%2C468&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as-scaled.jpg?resize=800%2C366&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as-scaled.jpg?resize=768%2C351&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/10as-scaled.jpg?resize=1536%2C703&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="396" data-id="1174" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as.jpg?resize=770%2C396&#038;ssl=1" alt="" class="wp-image-1174" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as-scaled.jpg?resize=1024%2C527&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as-scaled.jpg?resize=800%2C412&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as-scaled.jpg?resize=300%2C154&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as-scaled.jpg?resize=768%2C395&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/11as-scaled.jpg?resize=1536%2C791&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">On the left leg, insert two nuts inside the left leg top nuts place.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-9 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1175" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1175" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/12as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="351" data-id="1176" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as.jpg?resize=770%2C351&#038;ssl=1" alt="" class="wp-image-1176" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as-scaled.jpg?resize=1024%2C467&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as-scaled.jpg?resize=800%2C365&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as-scaled.jpg?resize=768%2C350&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/13as-scaled.jpg?resize=1536%2C701&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Bring the NEMA 17 motor plate ad fix it on the top of the left leg. and, using two M3X16mm screws we are gonna fix the plate on the left leg.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-10 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="361" data-id="1177" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as.jpg?resize=770%2C361&#038;ssl=1" alt="" class="wp-image-1177" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as-scaled.jpg?resize=1024%2C480&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as-scaled.jpg?resize=800%2C375&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as-scaled.jpg?resize=768%2C360&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/14as-scaled.jpg?resize=1536%2C720&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="351" data-id="1178" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as.jpg?resize=770%2C351&#038;ssl=1" alt="" class="wp-image-1178" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as-scaled.jpg?resize=1024%2C467&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as-scaled.jpg?resize=800%2C365&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as-scaled.jpg?resize=768%2C351&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/15as-scaled.jpg?resize=1536%2C701&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-11 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="350" data-id="1179" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as.jpg?resize=770%2C350&#038;ssl=1" alt="" class="wp-image-1179" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as-scaled.jpg?resize=1024%2C466&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as-scaled.jpg?resize=800%2C364&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as-scaled.jpg?resize=768%2C350&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/16as-scaled.jpg?resize=1536%2C699&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="350" data-id="1180" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as.jpg?resize=770%2C350&#038;ssl=1" alt="" class="wp-image-1180" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as-scaled.jpg?resize=1024%2C465&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as-scaled.jpg?resize=800%2C364&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as-scaled.jpg?resize=300%2C136&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as-scaled.jpg?resize=768%2C349&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/17as-scaled.jpg?resize=1536%2C698&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">To be able to convert the stepper motor rotational movement into linear movement, we need to install a GT2 Bore 5mm pulley on the motor shaft. and using the Allen key, tighten the pulley set screw to keep it in place.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" data-id="1181" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1181" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/18as-scaled.jpg?resize=1536%2C725&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="353" data-id="1182" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as.jpg?resize=770%2C353&#038;ssl=1" alt="" class="wp-image-1182" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as-scaled.jpg?resize=1024%2C470&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as-scaled.jpg?resize=800%2C367&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as-scaled.jpg?resize=300%2C138&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as-scaled.jpg?resize=768%2C353&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/19as-scaled.jpg?resize=1536%2C705&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Let&#8217;s go to the camera slider right leg, insert four M3 nuts in the leg nuts place. </p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-13 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" data-id="1183" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1183" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/20as-scaled.jpg?resize=1536%2C725&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="353" data-id="1184" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as.jpg?resize=770%2C353&#038;ssl=1" alt="" class="wp-image-1184" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as-scaled.jpg?resize=1024%2C470&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as-scaled.jpg?resize=800%2C367&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as-scaled.jpg?resize=300%2C138&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as-scaled.jpg?resize=768%2C353&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/21as-scaled.jpg?resize=1536%2C705&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Then, put the right leg bearings two plates on the top of the camera slider right leg.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-14 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="360" data-id="1186" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as.jpg?resize=770%2C360&#038;ssl=1" alt="" class="wp-image-1186" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as-scaled.jpg?resize=1024%2C479&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as-scaled.jpg?resize=800%2C375&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as-scaled.jpg?resize=300%2C140&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as-scaled.jpg?resize=768%2C360&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/23as-scaled.jpg?resize=1536%2C719&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="361" data-id="1187" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as.jpg?resize=770%2C361&#038;ssl=1" alt="" class="wp-image-1187" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as-scaled.jpg?resize=1024%2C480&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as-scaled.jpg?resize=800%2C375&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as-scaled.jpg?resize=768%2C360&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/24as-scaled.jpg?resize=1536%2C720&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Using four M3X16mm screws, fix the two plates on the camera slider right leg to keep them in place.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-15 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="353" data-id="1188" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as.jpg?resize=770%2C353&#038;ssl=1" alt="" class="wp-image-1188" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as-scaled.jpg?resize=1024%2C469&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as-scaled.jpg?resize=800%2C366&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as-scaled.jpg?resize=768%2C352&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/25as-scaled.jpg?resize=1536%2C703&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="350" data-id="1189" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as.jpg?resize=770%2C350&#038;ssl=1" alt="" class="wp-image-1189" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as-scaled.jpg?resize=1024%2C466&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as-scaled.jpg?resize=800%2C364&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as-scaled.jpg?resize=768%2C350&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/26as-scaled.jpg?resize=1536%2C699&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-16 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="350" data-id="1190" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as.jpg?resize=770%2C350&#038;ssl=1" alt="" class="wp-image-1190" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as-scaled.jpg?resize=1024%2C465&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as-scaled.jpg?resize=800%2C363&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as-scaled.jpg?resize=300%2C136&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as-scaled.jpg?resize=768%2C348&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/27as-scaled.jpg?resize=1536%2C697&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="354" data-id="1191" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as.jpg?resize=770%2C354&#038;ssl=1" alt="" class="wp-image-1191" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as-scaled.jpg?resize=1024%2C471&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as-scaled.jpg?resize=800%2C368&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as-scaled.jpg?resize=300%2C138&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as-scaled.jpg?resize=768%2C353&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/28as-scaled.jpg?resize=1536%2C706&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Bring one of the 8mm flange block bearings and install it on the top right leg plate. using two M5X20mm screws and two M5 nuts.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-17 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1192" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1192" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as-scaled.jpg?resize=800%2C379&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/29as-scaled.jpg?resize=1536%2C727&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1193" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1193" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/30as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="360" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as.jpg?resize=770%2C360&#038;ssl=1" alt="" class="wp-image-1194" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as-scaled.jpg?resize=1024%2C479&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as-scaled.jpg?resize=800%2C374&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as-scaled.jpg?resize=300%2C140&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as-scaled.jpg?resize=768%2C359&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/31as-scaled.jpg?resize=1536%2C718&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">We need to repeat the previous step with the second 8mm flange bearing block to fix it on the camera slider right leg bottom plate.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-18 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1196" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1196" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/33as-scaled.jpg?resize=1536%2C724&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1197" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1197" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as-scaled.jpg?resize=768%2C361&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/34as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1199" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/36as-scaled.jpg?resize=1536%2C724&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">Insert the 8mm linear rail shaft in the 8mm flange bearing block from it&#8217;s bottom side, ad push it to the top. Then, insert the 8mm bore pulley into the linear rail shaft and fix it by tightening the pulley&#8217;s set screw.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-19 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1200" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1200" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/37as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="360" data-id="1201" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as.jpg?resize=770%2C360&#038;ssl=1" alt="" class="wp-image-1201" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as-scaled.jpg?resize=1024%2C479&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as-scaled.jpg?resize=800%2C374&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as-scaled.jpg?resize=300%2C140&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as-scaled.jpg?resize=768%2C359&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/38as-scaled.jpg?resize=1536%2C718&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1202" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as-scaled.jpg?resize=1024%2C481&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as-scaled.jpg?resize=800%2C375&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as-scaled.jpg?resize=768%2C361&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/39as-scaled.jpg?resize=1536%2C721&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">Checkpoint, Now we assembled all the camera slider mechanism except one thing. the timing belt. Let&#8217;s do it.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="2430604139"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="361" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as.jpg?resize=770%2C361&#038;ssl=1" alt="" class="wp-image-1203" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as-scaled.jpg?resize=1024%2C480&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as-scaled.jpg?resize=800%2C375&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as-scaled.jpg?resize=768%2C360&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/40as-scaled.jpg?resize=1536%2C720&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">rotate the 6mm timing belt on the NEMA17 motor 5mm bore pulley. Also, on the right leg 8mm bore pulley. Lastly, tighten the belt with the camera plate.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-20 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="353" data-id="1217" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as.jpg?resize=770%2C353&#038;ssl=1" alt="" class="wp-image-1217" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as-scaled.jpg?resize=1024%2C469&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as-scaled.jpg?resize=800%2C366&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as-scaled.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as-scaled.jpg?resize=768%2C352&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/53as-scaled.jpg?resize=1536%2C703&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" decoding="async" data-id="1271" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/GOPR0075-copy.jpg?w=770&#038;ssl=1" alt="" class="wp-image-1271"/></figure>
</figure>



<p class="wp-block-paragraph">It&#8217;s time to assemble the control board. insert the Cairo Camera Slider Arduino shield on the top of the Arduino board.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-21 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1205" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as.jpg?resize=770%2C362&#038;ssl=1" alt="" class="wp-image-1205" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/42as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" data-id="1206" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as.jpg?resize=770%2C362&#038;ssl=1" alt="Cairo Camera Slider Arduino Shield" class="wp-image-1206" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">Insert the Arduino board and the Cairo Camera Slider shield inside the control board enclosure.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-22 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" data-id="1207" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1207" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/44as-scaled.jpg?resize=1536%2C725&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="365" data-id="1208" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as.jpg?resize=770%2C365&#038;ssl=1" alt="" class="wp-image-1208" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as-scaled.jpg?resize=1024%2C485&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as-scaled.jpg?resize=800%2C379&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as-scaled.jpg?resize=768%2C364&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/45as-scaled.jpg?resize=1536%2C728&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">insert two M3 nuts inside the left leg nuts place.</p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1211" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as-scaled.jpg?resize=800%2C378&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/48as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">install the control board enclosure to the Cairo Camera Slider left leg with M3X16mm screws.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-23 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="363" data-id="1209" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as.jpg?resize=770%2C363&#038;ssl=1" alt="" class="wp-image-1209" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as-scaled.jpg?resize=1024%2C483&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/46as-scaled.jpg?resize=1536%2C724&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="365" data-id="1210" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as.jpg?resize=770%2C365&#038;ssl=1" alt="" class="wp-image-1210" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as-scaled.jpg?resize=1024%2C485&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as-scaled.jpg?resize=800%2C379&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as-scaled.jpg?resize=768%2C364&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/47as-scaled.jpg?resize=1536%2C728&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="356" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as.jpg?resize=770%2C356&#038;ssl=1" alt="" class="wp-image-1212" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as-scaled.jpg?resize=1024%2C474&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as-scaled.jpg?resize=800%2C370&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as-scaled.jpg?resize=300%2C139&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as-scaled.jpg?resize=768%2C356&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/49as-scaled.jpg?resize=1536%2C711&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">close the enclosure box top face with two M3 screws and nuts, and that&#8217;s it! </p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-24 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="367" data-id="1213" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as.jpg?resize=770%2C367&#038;ssl=1" alt="" class="wp-image-1213" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as-scaled.jpg?resize=1024%2C488&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as-scaled.jpg?resize=800%2C382&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as-scaled.jpg?resize=300%2C143&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as-scaled.jpg?resize=768%2C366&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/50as-scaled.jpg?resize=1536%2C733&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" data-id="1214" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1214" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as-scaled.jpg?resize=800%2C379&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/51as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="364" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as.jpg?resize=770%2C364&#038;ssl=1" alt="" class="wp-image-1215" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as-scaled.jpg?resize=1024%2C484&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as-scaled.jpg?resize=800%2C379&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as-scaled.jpg?resize=300%2C142&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as-scaled.jpg?resize=768%2C363&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/52as-scaled.jpg?resize=1536%2C726&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<h2 class="wp-block-heading">Stepper Motor Test Control </h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">After assembling all the parts together, We need to test it to make sure that everything is installed in its place correctly. Now, we need to connect the stepper motor with the Arduino board through the A4988 stepper motor driver and write some code to run that thing.</p>



<h3 class="wp-block-heading">A4988 stepper motor driver</h3>



<p class="wp-block-paragraph">To control any stepper motor using the Arduino board or any microcontroller, you will need a stepper motor driver which works as a translator, takes commands from the Arduino board and translate it to the language that the motor understands. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="458" height="407" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/a4988Driver.png?resize=458%2C407&#038;ssl=1" alt="A4988 Motor Driver" class="wp-image-1057" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/a4988Driver.png?w=458&amp;ssl=1 458w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/a4988Driver.png?resize=300%2C267&amp;ssl=1 300w" sizes="auto, (max-width: 458px) 100vw, 458px" /><figcaption class="wp-element-caption">A4988 Motor Driver</figcaption></figure>
</div>


<p class="wp-block-paragraph">there are a lot of stepper motor drivers out there but we will use the <strong>A4988 driver</strong>. This driver allows us to control one bipolar motor at up to 2A output current per coil, it&#8217;s very simple to interface with the Arduino board you only need two digital pins to fully control your motor step and direction, which allows you to control the maximum current output easily with an onboard potentiometer, and gives you a micro-step resolution down to 1/16 micro-step.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="312" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/A4988-Stepper-Motor-Driver-Module-Pinout.png?resize=500%2C312&#038;ssl=1" alt="A4988 Drover Pinout" class="wp-image-1058" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/A4988-Stepper-Motor-Driver-Module-Pinout.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/A4988-Stepper-Motor-Driver-Module-Pinout.png?resize=300%2C187&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption">A4988 Drover Pinout</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>VMOT, GND:</strong> It&#8217;s the power connection pins for the stepper motor itself, it can be 8V-35V. In our case, we are connecting a 12V 3A power source on those pins with a 100uf decoupling capacitor to protect the A4998 board from any power spikes.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">According to the datasheet, the motor supply requires an appropriate decoupling capacitor close to the board, capable of sustaining 4A.</div></div>



<p class="wp-block-paragraph"><strong>2B, 2A:</strong> the output pins for the stepper motor first coil which can deliver up to 2A.</p>



<p class="wp-block-paragraph"><strong>1A, 1B:</strong> the output pins for the stepper motor second coil which can deliver up to 2A as well.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Bipolar stepper motors(which we are using in this project) typically have four leads, two for each coil. Connect the motor first coil leads to board outputs 1A and 1B. And the motor second coil leads to board outputs 2A and 2B. Note that if you happen to swap which way the wires are connected for any coil, the stepper motor will turn in the opposite direction, and if you happen to pair up wires from different coils, the motor should be noticeably erratic when you try to step it, if it even moves at all. You can use the AVO meter to test each coil leads</div></div>



<p class="wp-block-paragraph"><strong>VDD, GND: </strong>Used for driving the internal logic circuitry, it can be 3V to 5.5V. It&#8217;s totally isolated from the VMOT pin.</p>



<p class="wp-block-paragraph"><strong>EN: </strong>Stands for &#8220;Enable&#8221; it&#8217;s an active LOW(0V) input pin, which means when this pin pulled LOW(0V) the A4988 chip is enabled. And when pulled HIGH(5V) the A4988 chip is disabled. By default, this pin is pulled LOW(0V) . So, the chip is always enabled unless you pull it HIGH(5V).</p>



<p class="wp-block-paragraph"><strong>MS1, MS2, MS3: </strong>Through these pins, you can select your motor microstepping resolution(step size). The A4988 gives you five different microstep resolutions <em>(full step, half step, quarter step, Eighth step, Sixteenth step)</em>. By applying appropriate logic levels to these three pins we can set the motors to one of the five step resolutions.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="400" height="204" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/microstep-resolution.png?resize=400%2C204&#038;ssl=1" alt="Microstep Resolution Selection" class="wp-image-1063" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/microstep-resolution.png?w=400&amp;ssl=1 400w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/microstep-resolution.png?resize=300%2C153&amp;ssl=1 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /><figcaption class="wp-element-caption">Microstep Resolution Selection</figcaption></figure>
</div>


<p class="wp-block-paragraph">By default, the <strong>MS1, MS2, MS3 </strong>pins have internal pull-down resistors. So leaving these three microstep selection pins disconnected results in full-step mode.</p>



<p class="wp-block-paragraph"><strong>RST, SLP: </strong>The <em>&#8220;Reset&#8221;</em> pin is an active LOW(0V) input pin, which means when it pulled LOW(0V), all the step inputs are ignored it also resets the translator itself until you pull it HIGH(5V). The <em>&#8220;Sleep&#8221;</em> pin also an active LOW pin, pulling it LOW, puts the driver in the sleep mode minimizing the power consumption. By default, the <em>&#8220;Sleep&#8221;</em> pin is pulled HIGH(5V).</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">The &#8220;RST&#8221; pin is floating, if you are not using it, you can connect it with the &#8220;SLP&#8221; pin  bringing it HIGH(5V) to enable the driver.</div></div>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">It&#8217;s a good practice to put the A4988 motor driver module in the sleep mode when you are not using the motors to save some power.</div></div>



<p class="wp-block-paragraph"><strong>STP, DIR: </strong>The <em>&#8220;Step&#8221; </em>pin is responsible for controlling the number of steps that the motor is rotating, each pulse to the <em>&#8220;Step&#8221; </em>pin corresponds for one microstep in the direction selected by the <em>&#8220;Direction&#8221; </em>pin, the faster the pulses, the faster the motor will rotate. By applying logic value HIGH(5V) on the <em>&#8220;Direction&#8221;</em> pin it makes the motor rotate clockwise, by applying LOW(0V) it makes the motor rotate counterclockwise<em>(it may differs from one to another according to your motor wiring with the driver).</em></p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">The Step and Directions pins are not connected to anything internally. So, you should not leave either of these pins floating in your project.</div></div>



<h3 class="wp-block-heading">NEMA17 Stepper Motor</h3>



<p class="wp-block-paragraph">Stepper motors are DC motors that can rotate in precise increments, they are used in many applications like 3D printers to align the printhead and CNC machines to control the movement of the cutting tool and this is because they are very accurate and precise.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="381" height="492" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/nema-17-stepper-motor-17hs4006-22b-13a.png?resize=381%2C492&#038;ssl=1" alt="NEMA 17 stepper motor" class="wp-image-1075" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/nema-17-stepper-motor-17hs4006-22b-13a.png?w=381&amp;ssl=1 381w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/nema-17-stepper-motor-17hs4006-22b-13a.png?resize=232%2C300&amp;ssl=1 232w" sizes="auto, (max-width: 381px) 100vw, 381px" /><figcaption class="wp-element-caption">NEMA 17 stepper motor</figcaption></figure>
</div>


<p class="wp-block-paragraph">Unlike DC motors, stepper motors are controlled by applying DC electrical pulses to their internal coils. Each pulse makes the shaft advance by one step or a fraction of step which is called &#8220;Microstepping&#8221;. So, you can control precisely how many steps or even fraction steps you want the motor shaft to move. Another great advantage of using stepper motors is that it can move very precisely and accurately at very slow speeds without even stalling.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Motor stalling means that the electric motor has more load on it than it is designed for and it can no longer supply enough torque to keep it spinning</div></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="2430604139"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">The type of motor we are using in this project is the <strong>NEMA 17 Bipolar stepper motor</strong>. The bipolar stepper motor has two internal coils and it usually has four wires, two wires per coil. unlike the Bipolar stepper motor which has five wires. The &#8220;Step Angle&#8221; of the motor is <strong>1.8°</strong> which indicates how much the shaft advances in each full step, the motor works on 9V but if you want to get the maximum power of it use a 12V power source.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">You can calculate how many steps the motor can rotate in one full revolution by applying this simple equation <b>360(Full circle degrees) / 1.8(Full step degrees) </b>Now, we know that the stepper motor moves <b>200 full step/one full rotation</b></div></div>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Stepper motors are categorized by frame size. The term <b>&#8220;NEMA&#8221;</b> stands for <b>The National Electrical Manufacturers Association</b> which sets the standars for many electrical products including stepper motors. The number <b>&#8220;17&#8221;</b> refers to the sizing of the motor plate. So, A <b>NEMA 17</b> stepper motor is a motor with <b>1.7 X 1.7 Inch</b> mounting face.</div></div>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="429" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?resize=770%2C429&#038;ssl=1" alt="A4988 stepper driver &amp; NEMA 17 stepper motor" class="wp-image-1076" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?resize=1024%2C570&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?resize=800%2C445&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?resize=300%2C167&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?resize=768%2C427&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/NEMA17-and-A4988.png?w=1080&amp;ssl=1 1080w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">A4988 stepper driver &amp; NEMA 17 stepper motor</figcaption></figure>
</div>


<p class="wp-block-paragraph">So, by connecting the stepper motor with the A4988 stepper motor driver, we can control how many steps we need the motor to move and in what direction. Also, we can set the &#8220;microstep&#8221; mode is it full step, half step, quarter step, &#8230;.. Let&#8217;s take a look at the wiring diagram.</p>



<h3 class="wp-block-heading">Wiring Diagram</h3>



<p class="wp-block-paragraph">As we stated before, we need to make a small check to make sure that everything we assembled before is right in its place and moving properly. Now, we will wire all the hardware together, the NEMA 17 stepper motor with the A4988 stepper motor driver to the brain, the Arduino board. And using a <strong>12V 3A Lithium-Ion battery</strong> to feed the motors with the power it needs.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="468" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=770%2C468&#038;ssl=1" alt="Wiring Diagram" class="wp-image-1090" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=1024%2C623&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=800%2C487&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=300%2C183&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=768%2C468&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram1.png?resize=1536%2C935&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Wiring Diagram</figcaption></figure>
</div>


<h3 class="wp-block-heading">Arduino Code</h3>



<h4 class="wp-block-heading">AccelStepper Library Installation </h4>



<p class="wp-block-paragraph">The Installation is pretty simple, we need to open Arduino IDE. From the &#8220;Sketch&#8221; menu  select Include Library &#8211;&gt; Manage Libraries&#8230; </p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="293" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib.jpg?resize=770%2C293&#038;ssl=1" alt="" class="wp-image-1163" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib-scaled.jpg?resize=1024%2C390&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib-scaled.jpg?resize=800%2C305&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib-scaled.jpg?resize=300%2C114&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib-scaled.jpg?resize=768%2C293&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/1lib-scaled.jpg?resize=1536%2C585&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">A new window should appear, search for &#8220;AccelStepper&#8221; and install the library made by &#8220;Mike McCauley&#8221;. Easy right!</p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="474" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=770%2C474&#038;ssl=1" alt="" class="wp-image-1164" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=1024%2C631&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=800%2C493&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=300%2C185&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=768%2C473&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/2lib.jpg?resize=1536%2C947&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">After installing the AccelStepper library, you should see it in the examples menu. </p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="458" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib.jpg?resize=770%2C458&#038;ssl=1" alt="" class="wp-image-1165" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib-scaled.jpg?resize=1024%2C609&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib-scaled.jpg?resize=800%2C475&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib-scaled.jpg?resize=300%2C178&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib-scaled.jpg?resize=768%2C457&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/3lib-scaled.jpg?resize=1536%2C913&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">I wanna make sure that the AccelStepper library is installed correctly and my stepper motor connection with the A4988 motor driver is right and my power management is fine. So, let&#8217;s write some lines of code to run our stepper motor forward and backward.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="true" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">// Bounce stepper test program
// Make a single stepper bounce from one limit to another
// Copyright (C) 2020 makesomestuff.org

#include &lt;AccelStepper.h>

#define stepPin 2
#define dirPin 3

// Define a stepper and the pins it will use
AccelStepper stepper(AccelStepper::DRIVER, stepPin, dirPin);       //create an object. the pin "2" is the step pin, "3" is the direction pin.

void setup()
{  
  // Change these to suit your stepper if you want
  stepper.setMaxSpeed(100);
  stepper.setAcceleration(20);
  stepper.moveTo(500);
}

void loop()
{
    // If at the end of travel go to the other end
    if (stepper.distanceToGo() == 0)
      stepper.moveTo(-stepper.currentPosition());

    stepper.run();
}</pre>



<p class="wp-block-paragraph">The code logic is pretty straightforward, we initialized an object from the AccelStepper library, we defined two constants (stepPin, dirPin) that two digital pins is used by the A4988 stepper motor driver to control the movement of the motor itself.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="true" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#include &lt;AccelStepper.h>

#define stepPin 2
#define dirPin 3

// Define a stepper and the pins it will use
AccelStepper stepper(AccelStepper::DRIVER, stepPin, dirPin);       //create an object. the pin "2" is the step pin, "3" is the direction pin.</pre>



<p class="wp-block-paragraph">Inside the void setup function, we set the Max. speed of the stepper motor to 100 steps/sec. Also, we set the acceleration/deceleration rate to 20 steps/sec. lastly, we used the moveTo() function to tell the motor to move 500 steps.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void setup()
{  
  // Change these to suit your stepper if you want
  stepper.setMaxSpeed(100);
  stepper.setAcceleration(20);
  stepper.moveTo(500);
}</pre>



<p class="wp-block-paragraph">Inside the void loop function, we are checking if the motor reached it&#8217;s position or not. If it reached the position, it will bounce back. and if it didn&#8217;t reach it&#8217;s position yet, it will keep running.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void loop()
{
    // If at the end of travel go to the other end
    if (stepper.distanceToGo() == 0)
      stepper.moveTo(-stepper.currentPosition());

    stepper.run();
}</pre>



<h2 class="wp-block-heading">Camera Slider Full Wireless Control</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">We have done great things so far. Let&#8217;s continue! The next step after testing everything is to work on the mobile app that we will use to control the camera slider movement and send the orders to it. Also, we need to work on the Arduino code that will receive the data from the mobile app and according to these data, it will take some actions like moving the motor, changing speed, acceleration, and so on&#8230;</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="338" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands.jpg?resize=770%2C338&#038;ssl=1" alt="" class="wp-image-1226" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands-scaled.jpg?resize=1024%2C449&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands-scaled.jpg?resize=800%2C350&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands-scaled.jpg?resize=300%2C131&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands-scaled.jpg?resize=768%2C337&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Sending-Commands-scaled.jpg?resize=1536%2C673&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Communication Architecture </figcaption></figure>
</div>


<h3 class="wp-block-heading">Building The Mobile App</h3>



<p class="wp-block-paragraph">To build the mobile app, I used the <a href="https://appinventor.mit.edu/" target="_blank" rel="noreferrer noopener">MIT App inventor</a> tool that allows you to create mobile apps that run on any Android smartphone. The tool is pretty simple since you only drag and drop some pre-made code blocks to build the logic of your program, also you use some premade blocks to build the app user interface. You can access the source of the mobile app from the link down below. Feel free to edit and share, it&#8217;s open-source.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="http://ai2.appinventor.mit.edu/?galleryId=4912131416129536" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">mobile app source</a></div>
</div>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-25 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="387" data-id="1227" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM.jpg?resize=770%2C387&#038;ssl=1" alt="" class="wp-image-1227" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM-scaled.jpg?resize=1024%2C515&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM-scaled.jpg?resize=800%2C403&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM-scaled.jpg?resize=300%2C151&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM-scaled.jpg?resize=768%2C387&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.08-AM-scaled.jpg?resize=1536%2C773&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">App UI</figcaption></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="387" data-id="1228" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM.jpg?resize=770%2C387&#038;ssl=1" alt="" class="wp-image-1228" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM-scaled.jpg?resize=1024%2C514&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM-scaled.jpg?resize=800%2C401&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM-scaled.jpg?resize=300%2C150&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM-scaled.jpg?resize=768%2C385&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Screen-Shot-2020-08-28-at-12.28.51-AM-scaled.jpg?resize=1536%2C770&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">App logic</figcaption></figure>
</figure>



<p class="wp-block-paragraph">The image down below, a brief explanation for each button function and how it works.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="433" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=770%2C433&#038;ssl=1" alt="Mobile App Features" class="wp-image-1230" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=800%2C450&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Cairo-camera-slider-mobile-app-features.jpg?resize=1536%2C864&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<p class="wp-block-paragraph">That mobile app will communicate with the Cairo camera slider wirelessly over Bluetooth communication. So, the next step is to connect a Bluetooth module to the last circuit we built before and upload some lines of code to the Arduino board to be able to establish the communication between the mobile app and the Cairo camera slider.</p>



<h3 class="wp-block-heading">Wiring Diagram</h3>



<p class="wp-block-paragraph">It&#8217;s time to connect all things together, previously we connected the stepper motor, stepper motor driver, Arduino UNO, and the battery together and tested the circuit and it worked fine. Now, and after building the mobile app, we need to connect the HC-05 Bluetooth module to our circuit.</p>



<p class="wp-block-paragraph">To make it wireless we will use the HC-05 Bluetooth module which has wide use, it can be set as slave or master as well (unlike the HC-06 module which can work only as a slave) which means that you can make a Bluetooth connection between two different Arduino boards. the HC-05 Bluetooth module is an SPP (Serial Port Protocol) module, which means that it communicates with the Arduino board via Serial communication. You only need to connect the Tx and the Rx pins between the HC-05 module and the Arduino UNO board.</p>



<figure class="is-style-regular wp-block-table"><table class="has-background" style="background-color:#f3f4f5"><thead><tr><th class="has-text-align-center" data-align="center">Arduino Pin</th><th class="has-text-align-center" data-align="center">HC-05 Pin</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center">Rx</td><td class="has-text-align-center" data-align="center">Tx</td></tr><tr><td class="has-text-align-center" data-align="center">Tx</td><td class="has-text-align-center" data-align="center">Rx</td></tr><tr><td class="has-text-align-center" data-align="center">5V</td><td class="has-text-align-center" data-align="center">VCC</td></tr><tr><td class="has-text-align-center" data-align="center">GND</td><td class="has-text-align-center" data-align="center">GND</td></tr></tbody></table><figcaption class="wp-element-caption">HC-05 and Arduino UNO connections</figcaption></figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="471" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=770%2C471&#038;ssl=1" alt="HC-05 Wiring Diagram" class="wp-image-1079" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=1024%2C627&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=800%2C489&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=300%2C184&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=768%2C470&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/01/Wiring-Diagram.png?resize=1536%2C940&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Wiring Diagram</figcaption></figure>



<h3 class="wp-block-heading">Schematic and PCB Fabrication</h3>



<p class="wp-block-paragraph">Man! I don&#8217;t like breadboarding a big circuit like this. So, I designed a super pretty Arduino UNO shield PCB board that keeps all my components in place without worrying about the jumper wires or even the connections. All you need to do is to place your component on the Arduino shield PCB, insert the HC-05 Bluetooth module, A4988 stepper motor driver, and the battery in their places. and install the shield on top of the Arduino board. that&#8217;s it!</p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="513" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=770%2C513&#038;ssl=1" alt="Cairo Camera Slider Shield SCH" class="wp-image-1236" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=1024%2C682&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=800%2C533&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=768%2C512&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=1536%2C1023&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=270%2C180&amp;ssl=1 270w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?resize=370%2C245&amp;ssl=1 370w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Schematic.png?w=2310&amp;ssl=1 2310w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-26 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="514" data-id="1237" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=770%2C514&#038;ssl=1" alt="PCB Top Face" class="wp-image-1237" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=1024%2C683&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=800%2C533&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=768%2C512&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=1536%2C1024&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=270%2C180&amp;ssl=1 270w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?resize=770%2C515&amp;ssl=1 770w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Top-Layer.png?w=2310&amp;ssl=1 2310w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="514" data-id="1235" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=770%2C514&#038;ssl=1" alt="PCB Bottom Face" class="wp-image-1235" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=1024%2C683&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=800%2C533&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=768%2C512&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=1536%2C1024&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=270%2C180&amp;ssl=1 270w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?resize=770%2C515&amp;ssl=1 770w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/Bottom-Layer.png?w=2310&amp;ssl=1 2310w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">I fabricated my PCB at <a href="https://www.pcbway.com/" target="_blank" rel="noreferrer noopener">PCBWay</a> the quality was very good, in a few days the package arrived in Egypt safely. and I paid just 5$ for the fabrication which is amazing. The coolest thing was that I was able to check the order fabrication and processing status online on my account panel and track everything happening to my baby board like I was there inside the factory. </p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-27 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1292" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1292" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8198-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1293" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1293" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8199-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1294" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_8200-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="362" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as.jpg?resize=770%2C362&#038;ssl=1" alt="Cairo Camera Slider Arduino Shield" class="wp-image-1206" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=1024%2C482&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=800%2C377&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=300%2C141&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/43as-scaled.jpg?resize=1536%2C723&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<p class="wp-block-paragraph">you can download the PCB design source files or even order the Cairo Camera Slider Arduino Shield PCB from the <a href="https://www.pcbway.com/" target="_blank" rel="noreferrer noopener">PCBWay</a> website.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://www.pcbway.com/project/shareproject/Arduino_Motorized_Camera_Slider.html" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">pcb source file</a></div>
</div>



<h3 class="wp-block-heading">Arduino Code And Bluetooth Communication</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#include &lt;MultiStepper.h>
#include &lt;AccelStepper.h>

#define stepPin 2
#define dirPin 3

bool homingPositionFlag = false;
int startupSetupFlag = 0;
bool delayedStart = false;

int incomingData = 0;
int movementDistance = 50;
long steps = 0;       //50cm rail by default @1/8 microstepping.
int microStepResolution = 0;    //4  or  16
long railLength = 0;
int sliderSpeed = 10;

AccelStepper stepper(AccelStepper::DRIVER, stepPin, dirPin);       //create an object. the pin "2" is the step pin, "3" is the direction pin.

void setup() {
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
  Serial.begin(9600);

  stepper.setMaxSpeed(10.00);        //The fastest motor speed that can be reliably supported is about 4000 steps per second at a clock frequency of 16 MHz on Arduino such as Uno
  stepper.setAcceleration(500.00);     //1600 (40%) (Medium Acceleration rate)

  while (startupSetupFlag &lt; 3) {
    if (Serial.available() > 1) {
      unsigned int dataOne = Serial.read();
      unsigned int dataOne1 = Serial.read();
      unsigned int incomingData = (dataOne1 * 256) + dataOne;

      //**************************************************************Motor Homing Part**************************************************
      if (incomingData == 16) {      //left end homing position.
        stepper.setCurrentPosition(steps);
        homingPositionFlag = false;
        startupSetupFlag++;
      } else if (incomingData == 17) {    //right end homing position.
        stepper.setCurrentPosition(-(steps));
        homingPositionFlag = true;
        startupSetupFlag++;
      }
      //**************************************************************microstep resolution Part**************************************************
      if (incomingData == 18) {
        microStepResolution = 4;                   //50cm rail length @1/4 microstep resolution.
        startupSetupFlag++;
      } else if (incomingData == 19) {
        microStepResolution = 16;                  //50cm rail length @1/16 microstep resolution.
        startupSetupFlag++;
      }

      if (incomingData >= 1301 &amp;&amp; incomingData &lt;= 2300) {
        railLength = incomingData - 1300; //from raw data to cm.
        if (microStepResolution == 4) {
          steps = ((6100L * railLength) / 50L);
          startupSetupFlag++;
        }
        else if (microStepResolution == 16) {
          steps = ((25000L * railLength) / 50L);
          startupSetupFlag++;
        }
      }
    }
    //Serial.println(startupSetupFlag);
  }
  /*
   * *********** *********** **********For Debugging Purposes* *********** *********** **********
    Serial.print("rail length: ");
    Serial.print(railLength);
    Serial.print("    number of steps:  ");
    Serial.print(steps);
    Serial.print("    Homing position: ");
    Serial.print(stepper.currentPosition());
    Serial.print("    microstep resolution: ");
    Serial.println(microStepResolution);*/
}

void loop() {

  if (Serial.available() > 1) {

    unsigned int dataOne = Serial.read();
    unsigned int dataOne1 = Serial.read();
    unsigned int incomingData = (dataOne1 * 256) + dataOne;
    //Serial.print("raw data:     ");
    //Serial.println(incomingData);

    //**************************************************************Motor Control Part**************************************************
    if (incomingData == 1 &amp;&amp; stepper.isRunning() == false &amp;&amp; stepper.currentPosition() != 6050 &amp;&amp; homingPositionFlag == true) {
      if (delayedStart == true) { //use millis to delay 15 seconds.
        delay(15000);     //wait 15 seconds.
      }
      stepper.setCurrentPosition(0);
      stepper.moveTo(steps);             //from end to end (@ 1/4 step).
      homingPositionFlag = false;

      /*Serial.print("rail length: ");
        Serial.print(railLength);
        Serial.print("    number of steps:  ");
        Serial.print(steps);
        Serial.print("    Homing position: ");
        Serial.print(stepper.currentPosition());
        Serial.print("    microstep resolution: ");
        Serial.println(microStepResolution);*/
    }

    else if (incomingData == 2 &amp;&amp; stepper.isRunning() == false &amp;&amp; stepper.currentPosition() != -6050 &amp;&amp; homingPositionFlag == false) {
      if (delayedStart == true) { //use millis to delay 15 seconds.
        delay(15000);     //wait 15 seconds.
      }
      stepper.setCurrentPosition(0);
      stepper.moveTo(-(steps));             //from end to end (@ 1/4 step).
      homingPositionFlag = true;

      /*Serial.print("rail length: ");
        Serial.print(railLength);
        Serial.print("    number of steps:  ");
        Serial.print(steps);
        Serial.print("    Homing position: ");
        Serial.print(stepper.currentPosition());
        Serial.print("    microstep resolution: ");
        Serial.println(microStepResolution);*/
    }

    else if (incomingData == 3 &amp;&amp; stepper.isRunning() == true) {
      homing();
    }

    //**************************************************************Set Max. Speed Part**************************************************
    else if (incomingData >= 5001 &amp;&amp; incomingData &lt;= 9000) {
      sliderSpeed = incomingData - 5000;
      stepper.setMaxSpeed(sliderSpeed);
    }

    //**************************************************************Set Delayed Start Part**************************************************
    else if (incomingData == 7) {   //delayed start (15 seconds) is checked "true"
      delayedStart = true;
    }
    else if (incomingData == 8) {   //delayed start (15 seconds) is not checked "false"
      delayedStart = false;
    }

    //**************************************************************Set movement distance Part**************************************************
    else if (incomingData >= 201 &amp;&amp; incomingData &lt;= 1200) {  //convertin from rail length into number of steps. (upto 10 meters)
      movementDistance = incomingData - 200; //from raw data to cm.
      if (microStepResolution == 4) {
        steps = ((6100L * movementDistance) / 50L);
      }
      else if (microStepResolution == 16) {
        steps = ((25000L * movementDistance) / 50L);
      }
      /*Serial.print("rail length:  ");
        Serial.print(movementDistance);
        Serial.print("      number of steps:  ");
        Serial.println(steps);*/
    }

    //**************************************************************Set Acceleration Part**************************************************
    else if (incomingData == 11 &amp;&amp; stepper.isRunning() == false) {          //HIGH
      stepper.setAcceleration(3000);
    }

    else if (incomingData == 12 &amp;&amp; stepper.isRunning() == false) {          //Medium
      stepper.setAcceleration(1000);
    }

    else if (incomingData == 13 &amp;&amp; stepper.isRunning() == false) {          //Low
      stepper.setAcceleration(500);
    }

    else if (incomingData == 14 &amp;&amp; stepper.isRunning() == false) {          //Very High
      stepper.setAcceleration(4000);
    }

    else if (incomingData == 15 &amp;&amp; stepper.isRunning() == false) {          //Very Low
      stepper.setAcceleration(10);
    }
  }
  stepper.run();
}

void homing() {
  if (stepper.currentPosition() > 0) {
    homingPositionFlag = true;
  } else {
    homingPositionFlag = false;
  }
  stepper.moveTo(0);
}</pre>



<h3 class="wp-block-heading">Code Logic</h3>



<p class="wp-block-paragraph">We&#8217;re using the amazing AccelStepper Arduino library that provides an object-oriented interface for 2, 3, 4 pins stepper motors to control it&#8217;s movement precisely. </p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#define stepPin 2
#define dirPin 3

bool homingPositionFlag = false;
int startupSetupFlag = 0;
bool delayedStart = false;

int incomingData = 0;
int movementDistance = 50;
long steps = 0;       //50cm rail by default @1/8 microstepping.
int microStepResolution = 0;    //4  or  16
long railLength = 0;
int sliderSpeed = 10;

AccelStepper stepper(AccelStepper::DRIVER, stepPin, dirPin);       //create an object. the pin "2" is the step pin, "3" is the direction pin.
</pre>



<p class="wp-block-paragraph">when you open the mobile app and get connected to the Cairo camera slider it will ask you about the micro-stepping mode that you set the A4988 motor driver to work at. it&#8217;s very important to choose the correct micro-stepping mode. The Cairo camera slider only supports the 1/4 and 1/16 micro-step resolution. If you chose a wrong micro-step mode it will affect the distance calculations causing the camera carriage to hit the slider limits. So, be careful!</p>



<figure class="wp-block-table"><table><thead><tr><th>Micro-step Resolution</th><th>Working Mode</th></tr></thead><tbody><tr><td>1/4</td><td>Smooth</td></tr><tr><td>1/16</td><td>Very Smooth</td></tr></tbody></table></figure>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1247" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">      //**************************************************************microstep resolution Part**************************************************
      if (incomingData == 18) {
        microStepResolution = 4;                   //50cm rail length @1/4 microstep resolution.
        startupSetupFlag++;
      } else if (incomingData == 19) {
        microStepResolution = 16;                  //50cm rail length @1/16 microstep resolution.
        startupSetupFlag++;
      }
</pre>



<p class="wp-block-paragraph">It sets the camera slider homing if it&#8217;s left or right side homing.  the homing position, once you click on right or left side homing a specific piece of data will get sent from the mobile app to the Arduino board according to the homing position that you have chosen.</p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1250" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void setup() {
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
  Serial.begin(9600);

  stepper.setMaxSpeed(10.00);        //The fastest motor speed that can be reliably supported is about 4000 steps per second at a clock frequency of 16 MHz on Arduino such as Uno
  stepper.setAcceleration(500.00);     //1600 (40%) (Medium Acceleration rate)

  while (startupSetupFlag &lt; 3) {
    if (Serial.available() > 1) {
      unsigned int dataOne = Serial.read();
      unsigned int dataOne1 = Serial.read();
      unsigned int incomingData = (dataOne1 * 256) + dataOne;

      //**************************************************************Motor Homing Part**************************************************
      if (incomingData == 16) {      //left end homing position.
        stepper.setCurrentPosition(steps);
        homingPositionFlag = false;
        startupSetupFlag++;
      } else if (incomingData == 17) {    //right end homing position.
        stepper.setCurrentPosition(-(steps));
        homingPositionFlag = true;
        startupSetupFlag++;
      }</pre>



<p class="wp-block-paragraph">now it sets how many steps should the stepper motor moves without hitting the camera carriage with the camera slider right or left legs. it reads and saves the rail length according to the value that the user enters in the mobile app. So, depending on the micro-step resolution that the user selected before, and the rail length I can calculate the number of steps that the motor should rotate to reach the limits of the slider rail without hitting the right or left legs.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497.jpg?resize=770%2C578&#038;ssl=1" alt="Enter the rail length" class="wp-image-1248" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">if (incomingData >= 1301 &amp;&amp; incomingData &lt;= 2300) {
        railLength = incomingData - 1300; //from raw data to cm.
        if (microStepResolution == 4) {
          steps = ((6100L * railLength) / 50L);
          startupSetupFlag++;
        }
        else if (microStepResolution == 16) {
          steps = ((25000L * railLength) / 50L);
          startupSetupFlag++;
        }
      }
    }
    //Serial.println(startupSetupFlag);
  }</pre>



<p class="wp-block-paragraph">inside the loop function, it reads the mobile app incoming data and according to these data it takes different actions, like moving the stepper motor clockwise, moving anti-clockwise, stop and return back to the starting point, and changing the travelling speed, so on&#8230;</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void loop() {

  if (Serial.available() > 1) {

    unsigned int dataOne = Serial.read();
    unsigned int dataOne1 = Serial.read();
    unsigned int incomingData = (dataOne1 * 256) + dataOne;
    //Serial.print("raw data:     ");
    //Serial.println(incomingData);

    //**************************************************************Motor Control Part**************************************************
    if (incomingData == 1 &amp;&amp; stepper.isRunning() == false &amp;&amp; stepper.currentPosition() != 6050 &amp;&amp; homingPositionFlag == true) {
      if (delayedStart == true) { //use millis to delay 15 seconds.
        delay(15000);     //wait 15 seconds.
      }
      stepper.setCurrentPosition(0);
      stepper.moveTo(steps);             //from end to end (@ 1/4 step).
      homingPositionFlag = false;

      /*Serial.print("rail length: ");
        Serial.print(railLength);
        Serial.print("    number of steps:  ");
        Serial.print(steps);
        Serial.print("    Homing position: ");
        Serial.print(stepper.currentPosition());
        Serial.print("    microstep resolution: ");
        Serial.println(microStepResolution);*/
    }

    else if (incomingData == 2 &amp;&amp; stepper.isRunning() == false &amp;&amp; stepper.currentPosition() != -6050 &amp;&amp; homingPositionFlag == false) {
      if (delayedStart == true) { //use millis to delay 15 seconds.
        delay(15000);     //wait 15 seconds.
      }
      stepper.setCurrentPosition(0);
      stepper.moveTo(-(steps));             //from end to end (@ 1/4 step).
      homingPositionFlag = true;

      /*Serial.print("rail length: ");
        Serial.print(railLength);
        Serial.print("    number of steps:  ");
        Serial.print(steps);
        Serial.print("    Homing position: ");
        Serial.print(stepper.currentPosition());
        Serial.print("    microstep resolution: ");
        Serial.println(microStepResolution);*/
    }

    else if (incomingData == 3 &amp;&amp; stepper.isRunning() == true) {
      homing();
    }

    //**************************************************************Set Max. Speed Part**************************************************
    else if (incomingData >= 5001 &amp;&amp; incomingData &lt;= 9000) {
      sliderSpeed = incomingData - 5000;
      stepper.setMaxSpeed(sliderSpeed);
    }

    //**************************************************************Set Delayed Start Part**************************************************
    else if (incomingData == 7) {   //delayed start (15 seconds) is checked "true"
      delayedStart = true;
    }
    else if (incomingData == 8) {   //delayed start (15 seconds) is not checked "false"
      delayedStart = false;
    }

    //**************************************************************Set movement distance Part**************************************************
    else if (incomingData >= 201 &amp;&amp; incomingData &lt;= 1200) {  //convertin from rail length into number of steps. (upto 10 meters)
      movementDistance = incomingData - 200; //from raw data to cm.
      if (microStepResolution == 4) {
        steps = ((6100L * movementDistance) / 50L);
      }
      else if (microStepResolution == 16) {
        steps = ((25000L * movementDistance) / 50L);
      }
      /*Serial.print("rail length:  ");
        Serial.print(movementDistance);
        Serial.print("      number of steps:  ");
        Serial.println(steps);*/
    }

    //**************************************************************Set Acceleration Part**************************************************
    else if (incomingData == 11 &amp;&amp; stepper.isRunning() == false) {          //HIGH
      stepper.setAcceleration(3000);
    }

    else if (incomingData == 12 &amp;&amp; stepper.isRunning() == false) {          //Medium
      stepper.setAcceleration(1000);
    }

    else if (incomingData == 13 &amp;&amp; stepper.isRunning() == false) {          //Low
      stepper.setAcceleration(500);
    }

    else if (incomingData == 14 &amp;&amp; stepper.isRunning() == false) {          //Very High
      stepper.setAcceleration(4000);
    }

    else if (incomingData == 15 &amp;&amp; stepper.isRunning() == false) {          //Very Low
      stepper.setAcceleration(10);
    }
  }
  stepper.run();
}

void homing() {
  if (stepper.currentPosition() > 0) {
    homingPositionFlag = true;
  } else {
    homingPositionFlag = false;
  }
  stepper.moveTo(0);
}</pre>



<h2 class="wp-block-heading">Cairo Camera Slider User Guide &amp; troubleshooting </h2>



<p class="wp-block-paragraph">After connecting the 12V power source to the Arduino UNO board that distributes power to the Cairo camera slider Arduino shield as well, turn on the Bluetooth on your mobile, search for new devices, pair with the HC-05 device, and open the mobile app then press on the &#8220;Press here to connect with Cairo camera slider&#8221; button. It will show up the menu of the paired Bluetooth devices, select the HC-05 Bluetooth device.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-28 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1256" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1256" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6494-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1257" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1257" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6495-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<p class="wp-block-paragraph">After connecting successfully with the Control board, the mobile app will ask you some questions to set up some parameters. The first question will ask you about the micro-step resolution of the stepper motor driver if it&#8217;s smooth(1/4 micro-step), or very smooth(1/16 micro-step). select the mode According to the micro-stepping resolution mode that you set the A4988 driver at. If you selected a wrong mode The Cairo camera slider will not work correctly.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1247" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6496-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<p class="wp-block-paragraph">Then, it will ask you about the aluminum rail length that you are using in your camera slider. Enter the distance in CM. in my case I&#8217;m using a 50cm rail length.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497.jpg?resize=770%2C578&#038;ssl=1" alt="Enter the rail length" class="wp-image-1248" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6497-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</div>


<p class="wp-block-paragraph">Lastly, it will ask you about the camera carriage homing position, It&#8217;s very important to place the camera carriage on one of the two rail ends, the right end or the left end. In my case, the camera carriage is on the left end. So, I selected the left end homing.</p>



<figure class="is-style-default wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1250" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6498-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<p class="wp-block-paragraph">If you started the Cairo camera slider and the camera carriage is on the middle of the rail or not on one of the two rail ends it will cause the carriage to hit the limits when it moves.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="2430604139"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">After you finish the set-up process, It will show you the parameters that you have set. And once you click OK, you will be ready to play around with your lovely Cairo camera slider.</p>



<figure class="wp-block-gallery alignwide has-nested-images columns-default is-cropped wp-block-gallery-29 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1251" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1251" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6499-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1252" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1252" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2020/08/IMG_6500-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>
</figure>



<h2 class="wp-block-heading">Cairo Camera Slider In-Action</h2>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Bluetooth Motorized Arduino Camera Slider" width="770" height="433" src="https://www.youtube.com/embed/7seI5YDwBWc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>
<p>The post <a href="https://makesomestuff.org/arduino-motorized-camera-slider/">Arduino Motorized Camera Slider</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/arduino-motorized-camera-slider/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1028</post-id>	</item>
		<item>
		<title>Arduino LED Blinking Hello, World</title>
		<link>https://makesomestuff.org/arduino-led-blinking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arduino-led-blinking</link>
					<comments>https://makesomestuff.org/arduino-led-blinking/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Tue, 08 Oct 2019 00:44:14 +0000</pubDate>
				<category><![CDATA[Arduino Basics]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[LED]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=763</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/arduino-led-blinking/">Arduino LED Blinking Hello, World</a></p>
<p>Today we will learn one of the most basic concepts in the Arduino world, digital outputs, and how to apply that concept on a very cool LED. Hardware Components Component Name Quantity Arduino Uno 1 5mm LED 1 330ohm Resistor 1 Jumpers Male-male 2 Breadbaord 1 Introduction Today we will cover the very first concept [...]</p>
<p>The post <a href="https://makesomestuff.org/arduino-led-blinking/">Arduino LED Blinking Hello, World</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/arduino-led-blinking/">Arduino LED Blinking Hello, World</a></p>

<p class="has-text-align-left has-regular-font-size wp-block-paragraph">Today we will learn one of the most basic concepts in the Arduino world, digital outputs, and how to apply that concept on a very cool LED.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="4972011142"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Arduino LED Blinking" width="770" height="433" src="https://www.youtube.com/embed/sXPSoggQUL0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div><figcaption>Final Project</figcaption></figure>



<h2 class="wp-block-heading">Hardware Components</h2>



<figure class="wp-block-table"><table><tbody><tr><td><strong>Component Name</strong></td><td><strong>Quantity</strong></td></tr><tr><td><a href="https://store.arduino.cc/usa/arduino-uno-rev3" target="_blank" rel="noreferrer noopener" aria-label="Arduino Uno (opens in a new tab)">Arduino Uno</a></td><td>1</td></tr><tr><td><a href="https://www.sparkfun.com/products/11372" target="_blank" rel="noreferrer noopener" aria-label="5mm LED (opens in a new tab)">5mm LED</a></td><td>1</td></tr><tr><td><a href="https://www.sparkfun.com/products/11507" target="_blank" rel="noreferrer noopener" aria-label="330ohm Resistor  (opens in a new tab)">330ohm Resistor </a></td><td>1</td></tr><tr><td><a href="https://www.sparkfun.com/products/124" target="_blank" rel="noreferrer noopener" aria-label="Jumpers Male-male (opens in a new tab)">Jumpers Male-male</a></td><td>2</td></tr><tr><td><a href="https://www.sparkfun.com/products/12046" target="_blank" rel="noreferrer noopener" aria-label="Breadbaord (opens in a new tab)">Breadbaord</a></td><td>1</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Introduction</h2>



<hr class="wp-block-separator"/>



<p class="has-regular-font-size wp-block-paragraph">Today we will cover the very first concept that any Arduino beginner must have to know, we will talk about Arduino digital output pins, what does digital output signal mean? and lastly, we will apply those concepts to a very cool LED blinking application.</p>



<h2 class="wp-block-heading">LED! What&#8217;s it?</h2>



<hr class="wp-block-separator"/>



<p class="has-regular-font-size wp-block-paragraph">LED stands for &#8220;Light Emitting Diode&#8221; which is a very easy-to-use component, it&#8217; has two terminals, lights when a specific voltage is applied across its terminals. you can use the LED as a light indicator that lights when some event happens and more</p>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="600" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?resize=600%2C600&#038;ssl=1" alt="LED" class="wp-image-764" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?w=600&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?resize=100%2C100&amp;ssl=1 100w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/09469-1_Infrared_LED_850nm.jpg?resize=370%2C370&amp;ssl=1 370w" sizes="auto, (max-width: 600px) 100vw, 600px" /><figcaption>LED</figcaption></figure></div>



<p class="has-regular-font-size wp-block-paragraph">Today we will use the most common 5mm LED, there&#8217;s a lot of LED sizes like the 3mm, 5mm, 10mm this number refers to the diameter of the LED, also it has many colors like red, green, yellow, blue,&#8230;</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="723" height="326" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/led-polarity.png?resize=723%2C326&#038;ssl=1" alt="LED polarity" class="wp-image-768" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/led-polarity.png?w=723&amp;ssl=1 723w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/led-polarity.png?resize=300%2C135&amp;ssl=1 300w" sizes="auto, (max-width: 723px) 100vw, 723px" /><figcaption>LED polarity</figcaption></figure>



<p class="has-regular-font-size wp-block-paragraph">The LED is polarized, which means that it requires a specific way of wiring to work properly.</p>



<ul class="wp-block-list"><li><strong>Long terminal:</strong> is the positive lead, should get connected to the power source positive lead</li><li><strong>short terminal: </strong>is the negative lead, should get connected to the power source negative lead</li></ul>


<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">Take Care!</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">Any LED has a positive and negative terminal and will not light if you wired it in the wrong way around with a power source.</div></div>



<h2 class="wp-block-heading">The Current Limiting Resistor</h2>



<hr class="wp-block-separator"/>



<p class="has-regular-font-size wp-block-paragraph">Resistors all its job in life is to resist the flow of electrons &#8220;current&#8221; in the circuit, you can tell that from its name.</p>



<p class="has-regular-font-size wp-block-paragraph">the higher the value of the resistor the less current will flow through it, and vice versa.</p>


<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">Take Care!</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">Actually, we can&#8217;t connect the LED directly with a power source like a battery that will cause some money losses because you will damage your poor LED.</p>
<p>The LED resistance is very low. which will cause a large amount of current to flow through it causes the LED to heat up very quickly and it will get damaged after few seconds.</p>
<p>To solve this problem we are using a current limiting resistor in parallel with the LED to limit or &#8216;choke&#8217; the current flowing through it.</div></div>



<p class="has-regular-font-size wp-block-paragraph">the LED is actually a simple diode which after a certain amount of voltage drop on its terminals will allow all the available current (unlimited) to flow through it which is not a good idea at all. Here comes the current limiting resistor job is to choke that current flow.</p>



<p class="has-regular-font-size wp-block-paragraph">There is a simple formula <strong><em>V = IR</em></strong>,<strong> </strong>where <strong>V</strong> is <strong>voltage</strong>, <strong>I</strong> is <strong>current</strong>, <strong>R</strong> is <strong>resistance</strong>. this formula is called ohm&#8217;s law. We will use this formula to get out the right resistor value, but to get the right resistor value we need to know the right V and I value to put it in the formula to get the right resistor value. To get the V value we need to know two things, the voltage source and the forward voltage (voltage drop) on the LED.</p>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="400" height="342" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/LLED_Current_Limiting_Resistor.png?resize=400%2C342&#038;ssl=1" alt="LED &amp; current limiting resistor circuit" class="wp-image-773" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/LLED_Current_Limiting_Resistor.png?w=400&amp;ssl=1 400w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/LLED_Current_Limiting_Resistor.png?resize=300%2C257&amp;ssl=1 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /><figcaption>LED &amp; current limiting resistor circuit</figcaption></figure></div>



<p class="has-regular-font-size wp-block-paragraph">So to Let&#8217;s say that we are using a 5V power source with a red LED connected in series with it. LEDs have a characteristic called forward voltage &#8220;Vf&#8221; which means the amount of voltage that got lost across the LED terminals. when operated at a certain current which is usually 2omA. Vf primarily depends on the LED color, for example, red, orange, the yellow LED Vf is around 1.8V while green, blue, white, and UV LEDs have a Vf of about 3.3 V. So, the forward voltage &#8220;Vf&#8221; on our red LED is 1.8V.</p>



<p class="wp-block-paragraph">so by subtracting the LED forward voltage &#8220;Vf&#8221;<strong>(1.8V)</strong> from the power source voltage<strong>(5V)</strong> you will get the voltage drop across the resistor that we need to calculate its resistance. and that&#8217;s exactly what we need. </p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">So the V value that we will use in our formula is equal to 5 &#8211; 1.8 = 3.2V</div></div>



<p class="has-regular-font-size wp-block-paragraph">Now, we need to get the I value that we will use in the formula, which is the amount of current that we need it to flow through the LED to light properly without killing it. in any LED datasheet you find a characteristic called <strong>If</strong> or <strong>Imax</strong> which is the maximum continuous current rating this often around 25mA or 30mA, which means the typical current rating is around 20mA</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">So, 20mA is the current that we are hoping to get when we are picking the resistor value and that is the current value &#8220;I&#8221; that we will use in the formula.</div></div>


<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">Take Care!</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">Actually, LEDs can handle higher current values upto 25mA but it comes at cost of your batteries, also it&#8217;s not very recommended to run the LED near the maximum current rating values because it will decrease it&#8217;s life span and may kill it due to the over heating. I think 20mA is a very good current value.</div></div>



<p class="has-regular-font-size wp-block-paragraph">After getting the formula&#8217;s <strong>V</strong> and <strong>I</strong> values. Now, we are ready to calculate the <strong>resistor</strong> value easily.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">3.2 V / 20 mA = 3.2 V / 0.02 A  =  160 Ω</div></div>



<p class="has-regular-font-size wp-block-paragraph">Now, the 160Ω resistor value will allow 20mA of current to flow through the LED at 5V which is exactly what we need.</p>


<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">Don't have a 160Ω resistor?!</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">If you don&#8217;t have a 160Ω resistor, don&#8217;t worry! it&#8217;s not necessarily to use the same exact calculated value. To be in the safe side, we generally select the next higher nearest resistor value.</p>
<p>the higher the value of the resistor you go with the less current will flow through the LED the less LED brightness.<br />
</div></div>



<figure class="wp-block-table"><table><tbody><tr><td><strong>LED Color</strong></td><td><strong>Forward Voltage(Vf)</strong></td><td><strong>Forward Current (If)</strong></td></tr><tr><td>Blue, White, Warm White,<br>Green, Pink, UV</td><td>3.2V &#8211; 3.8V</td><td>20mA &#8211; 30mA</td></tr><tr><td>Red, Yellow, Orange</td><td>1.8V &#8211; 2.2V</td><td>20mA &#8211; 30mA</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Wiring Diagram</h2>



<hr class="wp-block-separator"/>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="332" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?resize=770%2C332&#038;ssl=1" alt="Wiring Diagram" class="wp-image-789" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?resize=800%2C345&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?resize=300%2C129&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?resize=768%2C331&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Super-Waasa.png?resize=1024%2C442&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption>Wiring Diagram</figcaption></figure></div>



<p class="has-regular-font-size wp-block-paragraph">The wiring is pretty straightforward, we are connecting the long leg of the LED to the Arduino digital pin 7 through a resistor, and the LED short leg to the GND. That&#8217;s it!</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="4972011142"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">Arduino Code</h2>



<hr class="wp-block-separator"/>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">const int redLED = 7; 			//initialize a constant named "redLED" it's value 7 which refers to the pin number which the red LED is connected to.

void setup()
{
  pinMode(redLED, OUTPUT);	    //set the GPIO pin 7 as an output pin.
}

void loop()
{
  digitalWrite(redLED, HIGH);	//output a logic level "HIGH" which means 5V on the digital pin number 7 to turn the LED ON. 
  delay(1000); 					// Wait for 1000 millisecond(s).
  digitalWrite(redLED, LOW);	//output a logic level "LOW" which means 0V on the digital pin number 7 to turn the LED OFF.
  delay(1000); 					// Wait for 1000 millisecond(s).
}</pre>



<h2 class="wp-block-heading">Code Explanation</h2>



<hr class="wp-block-separator"/>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">const int redLED = 7;</pre>



<p class="has-regular-font-size wp-block-paragraph">initializing a constant named &#8220;redLED&#8221; with a value 7 that refers to the Arduino pin number 7 which the LED is connected to.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">This step is not mandatory, you can use the pin number directly in the code instead of the variable name, but it&#8217;s a good practice to give each pin a name to easily debug and understand your code  </div></div>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void setup()
{
  pinMode(redLED, OUTPUT);
}</pre>



<p class="has-regular-font-size wp-block-paragraph">the <code>setup()</code> function is called once at the beginning of the program when the sketch starts or after the reset of the board, we use it to initialize variables, constants, take library objects, or to write some actions that we need to execute only once at the beginning of the program.</p>



<p class="has-regular-font-size wp-block-paragraph">inside the <code>setup()</code> function, we set the Arduino pin number <strong>7</strong> as an output pin, which means that we are telling the Arduino board &#8220;Yo, make the pin number 7 ready to write a 5V or 0V output at any time.&#8221;</p>



<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">void loop()
{
  digitalWrite(redLED, HIGH);
  delay(1000);
  digitalWrite(redLED, LOW);
  delay(1000);
}</pre>



<p class="has-regular-font-size wp-block-paragraph">After creating the <code>setup()</code> function which initializes and sets the initial values, the <code>loop()</code> function does precisely what its name suggests, inside the loop() function you write the main program that you need to get executed over and over again until you force shutdown your Arduino board.</p>



<p class="has-regular-font-size wp-block-paragraph">inside the <code>loop() </code>function, we are telling the Arduino pin number 7 to write a logic level <strong>HIGH</strong> which means output 5V to the LED to light it.</p>



<p class="has-regular-font-size wp-block-paragraph">Then wait 1 sec.</p>



<p class="has-regular-font-size wp-block-paragraph">In the Next line, we are telling the Arduino pin number 7 to write a logic level <strong>LOW</strong> which means output 0V (GND) to the LED to turn it off.</p>



<p class="has-regular-font-size wp-block-paragraph">Then wait another 1 sec. before it returns back to the first line inside the <code>loop()</code> function.</p>



<h2 class="wp-block-heading">Troubleshooting</h2>



<hr class="wp-block-separator"/>



<p class="has-regular-font-size wp-block-paragraph">If your LED doesn&#8217;t take any actions:</p>



<ul class="wp-block-list"><li>Make sure that your LED wiring polarity is correct, LED long lead with the positive and the short one with the negative.</li><li>make sure that you are connecting a current limiting resistor that more than 160Ω</li><li>Make sure that you uploaded the Arduino code to the board Successfully.</li></ul>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="4972011142"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">Final</h2>



<hr class="wp-block-separator"/>



<p class="has-regular-font-size wp-block-paragraph">CONGRATS on your very first Arduino project fam! Today we have learned how to connect an LED on the Arduino board, and how to use it. Then we blinked an LED by writing some lines of code.</p>
<p>The post <a href="https://makesomestuff.org/arduino-led-blinking/">Arduino LED Blinking Hello, World</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/arduino-led-blinking/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">763</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: makesomestuff.org @ 2026-07-17 14:31:03 by W3 Total Cache
-->