<?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>Learn with Edwin Robotics</title>
	<atom:link href="https://learn.edwinrobotics.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://learn.edwinrobotics.com</link>
	<description>Tutorials on basics of electronics, etc.</description>
	<lastBuildDate>Mon, 19 Feb 2018 08:01:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>DIY Remote Control Car</title>
		<link>https://learn.edwinrobotics.com/diy-remote-control-car/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=diy-remote-control-car</link>
					<comments>https://learn.edwinrobotics.com/diy-remote-control-car/#respond</comments>
		
		<dc:creator><![CDATA[Rashmi Menon]]></dc:creator>
		<pubDate>Mon, 19 Feb 2018 08:01:07 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=2673</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div class="et_pb_section et_pb_section_0 et_section_regular et_section_transparent" >
				
				
				
				
					<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_0">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/CsAcdMHvcxMTk50D77zO.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/CsAcdMHvcxMTk50D77zO.jpg 753w, https://learn.edwinrobotics.com/wp-content/uploads/CsAcdMHvcxMTk50D77zO-300x225.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/CsAcdMHvcxMTk50D77zO-510x382.jpg 510w, https://learn.edwinrobotics.com/wp-content/uploads/CsAcdMHvcxMTk50D77zO-640x480.jpg 640w" sizes="(max-width: 753px) 100vw, 753px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>Remote control cars have been the dream the toy for most kids. And you can never outgrow them! In this post, We will show you step by step, how to make a simple Remote Control Car that operates in RF (radio frequency). This is a very simple and beginner level robotic project which can be made by anyone with interest. We will be discussing on the working of all integrated circuits (IC) and modules used in this robot. And there is no programming required for making this robot!</p>
<a href='https://www.hackster.io/user206876468/diy-remote-control-car-the-best-rc-car-tutorial-5a8ab2' class='big-button biggreen' target="_blank">Read More</a></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row -->
				
				
			</div> <!-- .et_pb_section -->

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/diy-remote-control-car/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to Ardublockly using Medusa &#8211; Reading a digital sensor</title>
		<link>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-reading-a-digital-sensor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=introduction-to-ardublockly-using-medusa-reading-a-digital-sensor</link>
					<comments>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-reading-a-digital-sensor/#respond</comments>
		
		<dc:creator><![CDATA[Rashmi Menon]]></dc:creator>
		<pubDate>Fri, 02 Feb 2018 13:43:28 +0000</pubDate>
				<category><![CDATA[ESP32]]></category>
		<category><![CDATA[Medusa]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=2625</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div class="et_pb_section et_pb_section_1 et_section_regular et_section_transparent" >
				
				
				
				
					<div class="et_pb_row et_pb_row_1">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>In project 2 we will learn utilization of digital sensors. In order to achieve this, we have to familiarize with the read pin block. The read digital pin facilitates the action of choosing the digital pin which acts as an input and reading its state.</p>
<p>Essential for this project we will require the following items.</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_2">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_1">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg 3709w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-140x94.jpg 140w" sizes="(max-width: 3709px) 100vw, 3709px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32</a></p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_2">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/button2.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/button2.jpg 1437w, https://learn.edwinrobotics.com/wp-content/uploads/button2-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/button2-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/button2-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/button2-140x94.jpg 140w" sizes="(max-width: 1437px) 100vw, 1437px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/new-products/1183-medusa-push-button.html" target="_blank" rel="noopener">Medusa Push Button </a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_3  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_3">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/ISO-4.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ISO-4.jpg 1250w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-140x94.jpg 140w" sizes="(max-width: 1250px) 100vw, 1250px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/modules/1214-medusa-buzzer.html" target="_blank" rel="noopener">Medusa Buzzer</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_4  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_4">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO.jpg 1500w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-140x94.jpg 140w" sizes="(max-width: 1500px) 100vw, 1500px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/modules/1212-medusa-touch-sensor.html" target="_blank" rel="noopener">Medusa Touch Sensor</a></p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_5">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html" target="_blank" rel="noopener">SH to SH Cable </a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_3">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_5  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h2>Buzzing a Buzzer using a Digital Sensor</h2>
<p>The easiest way to get introduced to your input pins is a simple project using a touch sensor and buzzer. Every time the touch sensor senses an action of touch, the buzzer should beep.</p>
<p>In this example – pin number 25 will be set as the input pin on which the touch sensor is connected. Pin number 12 can be set as the output pin to which the buzzer is connected.</p>
<p><img fetchpriority="high" decoding="async" class="wp-image-2648" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621.jpg" alt="Medusa Head for SparkFun ESP32 connections" width="505" height="339" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621.jpg 4695w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621-300x201.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621-1024x687.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621-1080x725.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0027-e1517470182621-140x94.jpg 140w" sizes="(max-width: 505px) 100vw, 505px" /></p>
<p style="text-align: left;">If the touch sensor is in contact with the hand the controller board (in this case SparkFun ESP32 Thing mounted on a Medusa Head) should turn on the buzzer else the buzzer should remain off. So let&#8217;s write a program when the touch sensor connected to pin number 25 turns High then the Buzzer connected to pin number 12 of Medusa Head should turn on for 1 second and turn off for 1 second. To achieve this we use an IF Block and a compare block. In the compare block, we can do various comparisons between an action and its corresponding response. In this case, we will be comparing a read digital pin block and a state block.</p>
<p>   <img decoding="async" class="alignnone wp-image-2508" src="http://learn.edwinrobotics.com/wp-content/uploads/Swith-Block.png" alt="Ardublockly Touch Sensor program to control a Buzzer. " width="330" height="220" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Swith-Block.png 406w, https://learn.edwinrobotics.com/wp-content/uploads/Swith-Block-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Swith-Block-140x94.png 140w" sizes="(max-width: 330px) 100vw, 330px" /></p>
<p>The next exercise will be replacing the touch sensor with a switch. The switch has a pull-up resistor, which makes give out a low value (zero) when pressed and when in a normal state (not pressed), it gives a high value (1). The best way to check this is by using the previous program. Unlike in the case of a touch sensor, the buzzer will turn off when the switch is pressed and turn on when release. This is not quite what is expected when we consider our understanding that every time a digital sensor is not sensing, it is at a zero else at 1. The pull-up resistor makes in a high state when not sensing and low when sensing.</p>
<p>Thus, replacing a touch sensor with Switch to operate the buzzer, the following sketch can be uploaded on to the board to achieve the desired output.</p>
<p><img decoding="async" class="alignnone wp-image-2572" src="http://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-11.05.12-AM.png" alt="" width="314" height="212" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-11.05.12-AM.png 816w, https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-11.05.12-AM-300x203.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-11.05.12-AM-140x94.png 140w" sizes="(max-width: 314px) 100vw, 314px" /></p>

<table id="tablepress-34" class="tablepress tablepress-id-34">
<thead>
<tr class="row-1">
	<th class="column-1"><p align="justify">Block</p></th><th class="column-2"><p align="justify">Description</p></th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Digital-read.png" alt="" width="500" height="150" class="alignnone size-full wp-image-2588" /></td><td class="column-2"><p align="justify">The block for Digital Read automatically initializes the pin, by automatically calling the pin number in void setup and specifying its mode as input. <br />
Initializing is a crucial process in any program, and is always done under void setup. This process helps us to define to the micro microcontroller which pin we are selecting and what are we utilizing it as input or output. <br />
<br />
This block can be found under Input Output.<br />
</p></td>
</tr>
<tr class="row-3">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/If-Block.png" alt="" width="100" height="50" class="alignnone size-full wp-image-2585" /></td><td class="column-2"><p align="justify"> The IF DO block is a comparative block found under Logic Section, as is used to execute a conditional activity. For example, if a particular event happens then do the following actions. The block has 2 sections. The section next to If is for putting the condition, and a section under Do is for the output action.  </p></td>
</tr>
<tr class="row-4">
	<td class="column-1"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/high-pin-.png" alt="" width="100" height="auto" class="alignnone size-full wp-image-2587" /></td><td class="column-2"><p align="justify">This block is to specify the outputs state, high or Low.  The State block can be found under the Input/Output Section</p></td>
</tr>
<tr class="row-5">
	<td class="column-1"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Compare.png" alt="" width="100" height="auto" class="alignnone size-full wp-image-2586" /></td><td class="column-2"><p align="justify">The compare block can be found under logic . It has 2 sections to insert the statements to compare. In middle, there is a drop-down menu, with choice of more than, more than or equal to, less than, less than or equal to,  equal to options. </td>
</tr>
</tbody>
</table>
<!-- #tablepress-34 from cache -->
<p><a href="http://drive.google.com/uc?export=download&amp;id=1TWZBI5RwqaHzSQQihYNkS1wOzvs_NlQQ">Program 1 &#8211; Buzzer Control using Touch Sensor </a></p>
<p><a href="https://drive.google.com/uc?export=download&amp;id=1HK375mkcYbPiCAe5VRYtdiq-6DdPR7tv">Program 2 &#8211; Buzzer Control using Switch </a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_4">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify; line-height: 16.5pt;"><span style="font-family: 'Lucida Grande',sans-serif; color: #374146; letter-spacing: .4pt;">The door switch and PIR work in the same ways as the touch sensor. When not sensing their state is low and when in contact with a change they are in a high state. Now that we have covered the basic, you can try programming them. </span></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_5">
				<div class="et_pb_column et_pb_column_1_2 et_pb_column_7  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_6">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO.jpg 5000w, https://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Magnetic-Door-Sensor-ISO-140x94.jpg 140w" sizes="(max-width: 5000px) 100vw, 5000px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/magneto/632-magnetic-door-sensor-set-for-home-alarm-system.html" target="_blank" rel="noopener">Medusa Magnetic Door switch</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_2 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_7">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1.jpg 3152w, https://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/PIR-Iso-1-140x94.jpg 140w" sizes="(max-width: 3152px) 100vw, 3152px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_10  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/proximity-distance/385-pir-motion-sensor.html" target="_blank" rel="noopener">Medusa PIR Sensor</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_6">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_9  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3 class="grammarly-disable-indicator"> Resources:</h3>
<ul>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-head-for-sparkfun-esp32-thing" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32 Thing Design Files(Bitbucket)</a></li>
<li>
<p id="markdown-header-medusa-33v-pir-motion-sensor"><a href="https://bitbucket.org/edwinrobotics/pir-module" target="_blank" rel="noopener">Medusa 3.3V PIR Motion Sensor Design Files ( Bitbucket)</a></p>
</li>
<li><a href="https://bitbucket.org/edwinrobotics/button" target="_blank" rel="noopener">Medusa Push Button Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/buzzer" target="_blank" rel="noopener">Medusa Buzzer Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-touch-sensor" target="_blank" rel="noopener">Medusa Touch Sensor Design Files (Bitbucket)</a></li>
</ul></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row -->
				
				
			</div> <!-- .et_pb_section -->

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-reading-a-digital-sensor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to Ardublockly using Medusa &#8211; Blinking an LED</title>
		<link>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-blinking-an-led/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=introduction-to-ardublockly-using-medusa-blinking-an-led</link>
					<comments>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-blinking-an-led/#respond</comments>
		
		<dc:creator><![CDATA[Rashmi Menon]]></dc:creator>
		<pubDate>Mon, 29 Jan 2018 08:40:17 +0000</pubDate>
				<category><![CDATA[ESP32]]></category>
		<category><![CDATA[Medusa]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=2547</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div class="et_pb_section et_pb_section_2 et_section_regular et_section_transparent" >
				
				
				
				
					<div class="et_pb_row et_pb_row_7 et_pb_row_fullwidth">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_10  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_12  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>This introductory project to Medusa Line for SparkFun ESP32 Thing is focused on using the block of a set digital pin.</p>
<p>The set digital pin block does a simple function of Output Function, which allows the process of choosing which digital pin acts as your output and specifying the state of it.</p>
<p>To execute this project you will need a Medusa Head for SparkFun Esp 32 Thing along with an LED Module.</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_8 et_pb_row_fullwidth">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_11  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_8">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1242-medusa-led-module.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1.jpg 4250w, https://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/LED-ISO-1-140x94.jpg 140w" sizes="(max-width: 4250px) 100vw, 4250px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_13  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/new-products/1242-medusa-led-module.html" target="_blank" rel="noopener">Medusa LED Module</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_12  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_9">
				
				
				<a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/ISO-Store.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store.jpg 2500w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-Store-184x184.jpg 184w" sizes="(max-width: 2500px) 100vw, 2500px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_14  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_13  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_10">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_15  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html" target="_blank" rel="noopener">Medusa Cables</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_9 et_pb_row_fullwidth">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_14  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_16  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h1>Prerequisites:</h1>
<p>To complete the projects you will need to install Arduino, ESP32 Arduino Core, and Ardublockly.</p>
<ol>
<li><a href="https://www.arduino.cc/en/Guide/HomePage" target="_blank" rel="noopener">Installing the Arduino IDE</a></li>
<li><a href="https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide?#installing-the-esp32-arduino-core" target="_blank" rel="noopener">Installing the ESP32 Arduino Core</a></li>
<li><a href="http://learn.edwinrobotics.com/getting-started-with-ardublockly/" target="_blank" rel="noopener">Installing Ardublockly</a></li>
</ol>
<h1>Blinking an LED</h1>
<p>Before we get into the project, we will cover basic concept of an LED. The light emitting diode is a semiconductor doped in a way as to form a p n junction, and when it conducts, it emits light.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2614" src="http://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-5.08.31-PM.png" alt="" width="88" height="297" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-5.08.31-PM.png 236w, https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-29-at-5.08.31-PM-89x300.png 89w" sizes="auto, (max-width: 88px) 100vw, 88px" /></p>
<p>On the Medusa Led Module, there are 2 slots, one for positive and other for negative.  The positive leg i.e. longer leg goes into the positive slot and the negative leg i.e. the shorter leg, into the negative slot.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2616" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0017-e1517237141917.jpg" alt="" width="255" height="209" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0017-e1517237141917.jpg 1935w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0017-e1517237141917-300x247.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0017-e1517237141917-1024x841.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0017-e1517237141917-1080x887.jpg 1080w" sizes="auto, (max-width: 255px) 100vw, 255px" /></p>
<p>You can control the brightness by adjusting the potentiometer, which is the small circular disc, at the back of the PCB using a screwdriver.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2620" src="http://learn.edwinrobotics.com/wp-content/uploads/ledback-e1517245848843.jpg" alt="" width="256" height="186" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ledback-e1517245848843.jpg 1830w, https://learn.edwinrobotics.com/wp-content/uploads/ledback-e1517245848843-300x219.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ledback-e1517245848843-1024x747.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ledback-e1517245848843-1080x788.jpg 1080w" sizes="auto, (max-width: 256px) 100vw, 256px" /></p>
<p>As you know on and off of LED can be considered as a digital output of High and Low. So the next question will be &#8211; <strong>How to set up a digital pin High (on) or Low (off)?</strong></p>
<p>There are <strong>2 parts</strong> to it.</p>
<ul>
<li>To<strong> choose the pin</strong> on to which you need to digital write</li>
<li>To <strong>choose the state</strong> in which you want it – High or Low</li>
</ul>
<p>The following is the <strong>Digital Write block in Ardublockly</strong>, which can be found under Input/Output :</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2486" src="http://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-11.17.23-AM.png" alt="" width="353" height="48" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-11.17.23-AM.png 518w, https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-11.17.23-AM-300x41.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-11.17.23-AM-510x70.png 510w" sizes="auto, (max-width: 353px) 100vw, 353px" /></p>
<p>It comprises of 2 blocks, and the first block helps the programmer specify the number and the second allows to decide the state if it high or low.</p>
<p>So, let&#8217;s start a project,</p>
<p>Take the led module connect it to a pin on the Medusa Head for SparkFun ESP32 thing using the Medusa Connector as shown in the photo:</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0016.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-2567 aligncenter" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251.jpg" alt="" width="412" height="281" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251.jpg 4200w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251-300x205.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251-1024x699.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251-1080x737.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0016-e1517241825251-140x94.jpg 140w" sizes="auto, (max-width: 412px) 100vw, 412px" /><br />
</a></p>
<p>In this case, we will be using the <strong>pin number 25</strong> on the Medusa Head.</p>
<p>now let’s create a small <strong>blinking on and off of LED for 3 times</strong> for <strong>1 second</strong> each with a gap of <strong>2 seconds</strong> in between.   <strong>To achieve this duration we will use a Wait block from the Time menu.</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2488" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink.png" alt="" width="201" height="291" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink.png 1104w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-207x300.png 207w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-707x1024.png 707w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-1080x1565.png 1080w" sizes="auto, (max-width: 201px) 100vw, 201px" /></p>
<p>You can also try the following program <strong>without wait block</strong>, the <strong>on and off of LED will be too fast</strong> that you can hardly notice the difference.</p>
<p>Go ahead and upload the program on to the board.</p>
<p><strong>While uploading the program there are 2 main things steps, i.e, Under Ardublockly, in preferences Select the Arduino Board option as Spark Fun ESP32 and COM Port as USB serial</strong></p>
<p>Is the LED <strong>glowing more than 3 times</strong>? Do you think the <strong>program is repeating</strong>?</p>
<p>This is because your current program by default is in the forever loop of code. To avoid this we introduce an <strong>Arduino start block, which you will be able to find under Functions.</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2494" src="http://learn.edwinrobotics.com/wp-content/uploads/Arduino-startblock.png" alt="" width="157" height="111" /></p>
<p>As seen, <strong>the start block has 2 parts</strong> :</p>
<p><strong>Arduino Run First: </strong>Any program written into this executes only once and you will have to reset the microcontroller to execute it for another time. This part serves as the Void Setup () of C programming in which the pin gets initialized.</p>
<p><strong>Arduino Loop Forever:</strong> The program written on to this will get executed forever. This part is the void Loop in C programming.</p>
<p>Now the new set of program <strong>to avoid repetition</strong> will be as follows:</p>
<p><img loading="lazy" decoding="async" class="wp-image-2489 alignnone" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-using-arduino-block.png" alt="" width="218" height="361" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-using-arduino-block.png 576w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink-using-arduino-block-181x300.png 181w" sizes="auto, (max-width: 218px) 100vw, 218px" /></p>
<p>One of the main features of a good program is<strong> to avoid maximum unnecessary code</strong>. This can be achieved by putting the action of turning high and low into <strong>a loop</strong>. This is achieved by using a repeat do block found under the loops category. In this block, we can select the number of times the program should<strong> run, in this case, 3 times</strong>.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2557" src="http://learn.edwinrobotics.com/wp-content/uploads/loop-1.png" alt="" width="282" height="238" srcset="https://learn.edwinrobotics.com/wp-content/uploads/loop-1.png 656w, https://learn.edwinrobotics.com/wp-content/uploads/loop-1-300x253.png 300w" sizes="auto, (max-width: 282px) 100vw, 282px" /></p>
<p>In case you want to repeat the program forever, then you put the on and off command into the loop forever part of the start block.</p>
<p><strong><img loading="lazy" decoding="async" class="alignnone wp-image-2610" src="http://learn.edwinrobotics.com/wp-content/uploads/led-for-ever.png" alt="" width="250" height="193" srcset="https://learn.edwinrobotics.com/wp-content/uploads/led-for-ever.png 580w, https://learn.edwinrobotics.com/wp-content/uploads/led-for-ever-300x232.png 300w" sizes="auto, (max-width: 250px) 100vw, 250px" /></strong></p>
<p>The following table will help you better understand the function of each block.</p>

<table id="tablepress-33" class="tablepress tablepress-id-33">
<thead>
<tr class="row-1">
	<th class="column-1">      BLOCK</th><th class="column-2">   Description </th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-11.17.23-AM.png" alt="" width="200" height="200" class="alignnone size-full wp-image-2486" /></td><td class="column-2"><p align="justify">The block for Set Digital Pin does the function of 2 syntax- <br />
<br />
1) it automatically initializes the pin, by automatically calling the pin number in void setup and specifying its mode as output. <br />
Initializing is a crucial process in any program, and is always done under void setup. This process helps us to define to the micro microcontroller which pin we are selecting and what are we utilizing it as input or output. <br />
<br />
2)  the second is to control the outputs state, high or Low. </p></td>
</tr>
<tr class="row-3">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Screen-Shot-2018-01-24-at-2.50.54-PM.png" alt="" width="200" height="200" class="alignnone size-full wp-image-2493" /></td><td class="column-2">Wait block corresponds to delay syntax on to which the programer writes duration in milliseconds. <p align="justify">You also have the option of Microseconds wait block under Time Menu. </p></td>
</tr>
<tr class="row-4">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/loops.png" alt="" width="200" height="200" class="alignnone size-full wp-image-2558" /></td><td class="column-2">This block does the function of counting how many times the program should repeat. </td>
</tr>
<tr class="row-5">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Arduino-startblock.png" alt="" width="200" height="200" class="alignnone size-full wp-image-2494" /></td><td class="column-2"><p align="justify">As explained earlier, this Start block in Functions helps us to define Void setup and Void loop</p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-33 from cache -->
<p>Now you can practice the learning from your first project with buzzer as well as Haptic motor module.</p>
<p>Whenever you want to do projects using elements connected to main power supply we use the Relay. <strong>CAUTION:</strong><strong> While using the relay, there are high chances of getting electrocuted and may lead to Death. So be careful. </strong></p>
<p>&nbsp;</p>
<p><a href="https://drive.google.com/drive/folders/1kfEt1zS7mXCGDLn-pAQsnkdW9CuM7I9v?usp=sharing">CLICK HERE FOR PROGRAM FILES</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_10">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_15  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>Essentially after this module, you will be able to use the following module with the Medusa Head for SparkFun ESP32 Thing.</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_11 et_pb_row_fullwidth">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_16  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_11">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1239-medusa-haptic-motor.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Haptic-ISO-1-140x94.jpg 140w" sizes="(max-width: 2000px) 100vw, 2000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_18  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/modules/1239-medusa-haptic-motor.html" target="_blank" rel="noopener">Medusa Haptic Motor</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_17  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_12">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1214-medusa-buzzer.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/ISO-4.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ISO-4.jpg 1250w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-4-140x94.jpg 140w" sizes="(max-width: 1250px) 100vw, 1250px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_19  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/modules/1214-medusa-buzzer.html" target="_blank" rel="noopener">Medusa Buzzer</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_18  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_13">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1241-medusa-spdt-relay.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Relay-ISO-1-140x94.jpg 140w" sizes="(max-width: 2000px) 100vw, 2000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_20  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;"><a href="https://shop.edwinrobotics.com/modules/1241-medusa-spdt-relay.html" target="_blank" rel="noopener">Medusa SPDT Relay</a></p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_12">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_19  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_21  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3 class="grammarly-disable-indicator">Resources:</h3>
<ul>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-head-for-sparkfun-esp32-thing" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32 Thing Design Files(Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/buzzer" target="_blank" rel="noopener">Medusa Buzzer Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-led-module" target="_blank" rel="noopener">Medusa LED Module/Laser Diode Design Files (Bitbucket)</a></li>
<li><a href="https://shop.edwinrobotics.com/modules/1239-medusa-haptic-motor.html" target="_blank" rel="noopener">Medusa Haptic Motor Design Files (Bitbucket)</a></li>
<li><a href="https://shop.edwinrobotics.com/modules/1241-medusa-spdt-relay.html" target="_blank" rel="noopener">Medusa SPDT Relay Design Files (Bitbucket)</a></li>
</ul></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row -->
				
				
			</div> <!-- .et_pb_section -->

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/introduction-to-ardublockly-using-medusa-blinking-an-led/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Laser Tag</title>
		<link>https://learn.edwinrobotics.com/laser-tag/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=laser-tag</link>
		
		<dc:creator><![CDATA[Rashmi Menon]]></dc:creator>
		<pubDate>Mon, 25 Dec 2017 09:56:38 +0000</pubDate>
				<category><![CDATA[ESP32]]></category>
		<category><![CDATA[Medusa]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=2340</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div class="et_pb_section et_pb_section_3 et_section_regular et_section_transparent" >
				
				
				
				
					<div class="et_pb_row et_pb_row_13">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_20  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_22  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h2>OVERVIEW:</h2>
<p>It is a simple and Easy DIY game you can play with your friends, using dartboard with an Ambient Light Sensor in its center along with an LCD to display the score and a Laser arm to aim at the center of the Dart Board. In this game, each player will have 10 shots to aim at the Dart Board and the game is to score the maximum points with 10 chances in a duration of 1 minute. While the LCD on the Dart Board setup shows the time remaining , the LCD on the laser arm shows the number of shots left. This game is a sure test of focus, aim, and speed.</p>
<p>&nbsp;</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_14">
				<div class="et_pb_column et_pb_column_1_2 et_pb_column_21  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_14 et_animated et-waypoint">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0020.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0020.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0020-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0020-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0020-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0020-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span>
			</div>
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_2 et_pb_column_22  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_15 et_animated et-waypoint">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0048.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0048.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0048-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0048-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0048-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0048-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span>
			</div>
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_15">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_23  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_23  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3><span style="color: #0000ff;"><strong>There are 2 parts to this project:</strong></span></h3></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_16">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_24  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_24  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h4><strong>Dartboard</strong></h4>
<ol>
<li>Medusa Head for SparkFun ESP 32 Thing</li>
<li>Medusa Ambient Light Sensor</li>
<li>Medusa Touch Sensor</li>
<li>Medusa Buzzer</li>
<li>Medusa I2C 16 x 2 LCD Display</li>
<li>Cardboard Cutouts and color Paper for dartboard</li>
<li>3 medusa 500mm cable and 3 Medusa 150 mm cable</li>
<li>a power bank</li>
</ol></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_17">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_25  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_16">
				
				
				<a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg 3709w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-140x94.jpg 140w" sizes="(max-width: 3709px) 100vw, 3709px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_25  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Head for SparkFun ESP 32 Thing</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_17">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1212-medusa-touch-sensor.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO.jpg 1500w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Touch-ISO-140x94.jpg 140w" sizes="(max-width: 1500px) 100vw, 1500px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_26  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Touch Sensor</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_26  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_18">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1210-medusa-ambient-light-sensor.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ISO-1.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-1-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-1-140x94.jpg 140w" sizes="(max-width: 2000px) 100vw, 2000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_27  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Ambient Light Sensor</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_19">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1185-medusa-cable-1-meter.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/longconent.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/longconent.jpg 3758w, https://learn.edwinrobotics.com/wp-content/uploads/longconent-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/longconent-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/longconent-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/longconent-140x94.jpg 140w" sizes="(max-width: 3758px) 100vw, 3758px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_28  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Cables 500 mm</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_20">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_29  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Cable 150 mm</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_27  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_21">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1214-medusa-buzzer.html" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/ISO-2.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ISO-2.jpg 1250w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-2-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-2-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-2-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ISO-2-140x94.jpg 140w" sizes="(max-width: 1250px) 100vw, 1250px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_30  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Buzzer</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_22">
				
				
				<a href="https://shop.edwinrobotics.com/medusa/1213-medusa-16-x-2-lcd-display.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1.jpg 5000w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-140x94.jpg 140w" sizes="(max-width: 5000px) 100vw, 5000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_31  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa 16 x 2 LCD Display</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_18">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_28  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_32  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h4><strong>Laser Tag</strong> –</h4>
<p>inspired by the ironman missile arm, we have put together a simple laser arm DIY using the following components:</p>
<ol>
<li>Medusa Head for SparkFun ESP 32 Thing</li>
<li>Medusa Laser Diode</li>
<li>Medusa Push Button</li>
<li>Medusa LCD Display</li>
<li>LiPo Battery</li>
<li>Crepe Bandage to Wrap the components around</li>
</ol>
<p>&nbsp;</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_19">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_29  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_23">
				
				
				<a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg 3709w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-140x94.jpg 140w" sizes="(max-width: 3709px) 100vw, 3709px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_33  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa SparkFun ESP 32</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_24">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1183-medusa-push-button.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/button2.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/button2.jpg 1437w, https://learn.edwinrobotics.com/wp-content/uploads/button2-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/button2-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/button2-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/button2-140x94.jpg 140w" sizes="(max-width: 1437px) 100vw, 1437px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_34  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Push Button Sensor</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_30  et_pb_css_mix_blend_mode_passthrough">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_25">
				
				
				<a href="https://shop.edwinrobotics.com/medusa/1213-medusa-16-x-2-lcd-display.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1.jpg 5000w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/16x2-LCD-ISO-1-140x94.jpg 140w" sizes="(max-width: 5000px) 100vw, 5000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_35  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa 16 x 2 LCD Display</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_26">
				
				
				<a href="https://shop.edwinrobotics.com/modules/1211-medusa-laser-diode.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/TOP.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/TOP.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-1024x682.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-140x94.jpg 140w" sizes="(max-width: 2000px) 100vw, 2000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_36  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Laser Diode</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column --><div class="et_pb_column et_pb_column_1_3 et_pb_column_31  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_image et_pb_image_27">
				
				
				<a href="https://shop.edwinrobotics.com/search?controller=search&#038;orderby=position&#038;orderway=desc&#038;search_query=lithium+ion+battery&#038;submit_search=" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0046.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_37  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Lithium Polymer Battery</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_28">
				
				
				<a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html?search_query=medusa+cables&#038;results=76" target="_blank"><span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_38  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Medusa Cable 150 mm</p></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_20">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_32  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_39 et_animated  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><pre>NOTE :  For the exact same implementation of the project you will need 2 Medusa ESP 32 Boards along with 
        2 Medusa LCD Display</pre></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_21">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_33  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_40  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h2><strong>Building Instructions</strong></h2></div>
			</div> <!-- .et_pb_text --><div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_41  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3>Dartboard</h3></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_42  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>1) When it comes to making the dartboard , the material of choice is cardboard. Cut the cardboard into the shape of your choice and cover it with colored paper or paint.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_29">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/1.gif" alt="" title="" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_43  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">CardBoard Cutouts to Make the DartBoard</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_44  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>2) Drill a hole into the middle so you can pull out a wire (Medusa 500mm Cable) which is connected to the Medusa Ambient Sensor. Using a double-sided tape, attach the Sensor to the middle of the dart board.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_video_slider et_pb_video_slider_0">
				
				
				<div class="et_pb_slider et_pb_preload et_pb_slider_carousel et_pb_slider_no_pagination et_pb_controls_light">
					<div class="et_pb_slides">
						<div class="et_pb_video_slider_item_0 et_pb_slide et_pb_bg_layout_dark" data-image="//i.ytimg.com/vi/iRDQE7t7oXU/hqdefault.jpg">
				<div class="et_pb_video_wrap"><div class="et_pb_video_box"><iframe loading="lazy" title="ambientlight" width="500" height="281" src="https://www.youtube.com/embed/iRDQE7t7oXU?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><div style="background-image:url(//i.ytimg.com/vi/iRDQE7t7oXU/hqdefault.jpg)" class="et_pb_video_overlay"><div class="et_pb_video_overlay_hover"><a href="#" class="et_pb_video_play"></a></div></div></div>
			</div> <!-- .et_pb_slide -->
			
					</div> <!-- .et_pb_slides -->
				</div> <!-- .et_pb_slider -->
			</div> <!-- .et_pb_video_slider -->
			<div class="et_pb_module et_pb_text et_pb_text_45  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Fixing of Ambient Light Sensor on CardBoard</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_46  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>Repeat similar steps for the <em>n</em>-number of boards you require to make the game fun. We are using 3 boards in this example.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_47  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>3) Fix the rest of the components into the ports of choice depending on the program. Based on the example code provided, the following components are connected to the Medusa Head for SparkFun ESP 32 Thing</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_48  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="padding-left: 150px;">Medusa Ambient Light Sensors- 33, 32, 25</p>
<p style="padding-left: 150px;">Medusa Touch Sensor &#8211; 5</p>
<p style="padding-left: 150px;">Medusa Buzzer &#8211; 14</p>
<p style="padding-left: 150px;">Medusa LCD Display- I<sup>2 </sup>C</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_30">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0188.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0188.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0188-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0188-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0188-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0188-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_49  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Component Connection for DartBoard</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_50  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>4) Using double sided tape fix it on the wall. And connect a power bank to power the circuit.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_31">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/fix.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/fix.jpg 1920w, https://learn.edwinrobotics.com/wp-content/uploads/fix-300x169.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/fix-1024x576.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/fix-1080x608.jpg 1080w" sizes="(max-width: 1920px) 100vw, 1920px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_51  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Fixing the Setup on Wall using Double Sided Tape</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_52 et_animated  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><pre>NOTE :  Total load required in this circuit setup is minimal , leading to automatic switching of 
        power bank in some cases, this can be overcome by connecting another loade like mobile phone 
        on to the power bank.</pre></div>
			</div> <!-- .et_pb_text --><div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_53  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3>Laser Arm</h3></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_54  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>1)Make the following circuit connection to the Medusa Head for SparkFun ESP 32</p>
<p>Medusa Laser Diode &#8211; 33</p>
<p>Medusa Push Button &#8211; 32</p>
<p>Medusa LCD Display- I<sup>2</sup><span style="font-size: 13.3333px;">C</span></p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_32">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0190.jpg" alt="" title="" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0190.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0190-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0190-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0190-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0190-140x94.jpg 140w" sizes="(max-width: 6000px) 100vw, 6000px" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_55  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Component Connection for Laser Arm</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_56  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>2) Power the circuit using a lipo battery</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_33">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/test.gif" alt="" title="" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_57  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Lipo Battery being placed in between the SparkFun ESP 32 board and Base Shield of Medusa Head.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_58  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>3) Next step is to wrap the components on to hand, using a crepe band. Place the components in the required position on to your hand , with the help of double sided tape. In the demo for the blog , the Push Button was placed inside the palm , while Medusa Heas as well as LCD display on wrist , and laser diode in between the nuckles of the fingers. Then the Crepe band is bound on to it.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_image et_pb_image_34">
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0049-e1514458370480.jpg" alt="" title="" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_59  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p style="text-align: center;">Sample of a Crepe band Wrap.</p></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_60  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h2><strong>ENJOY LASER TAG GAME WITH YOUR FRIENDS !!!</strong></h2>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_22">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_34  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_61  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3><strong>CODE</strong></h3>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text --><div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_62  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>Dartboard –</p>
<p>The following code works as mentioned: To start the game, touch the Medusa Touch Sensor, which makes the buzzer give a sound indicating the start of the count to the participant. Simultaneously the LCD screen displays start and the count which spans for a minute (60 Seconds)</p>
<p>&nbsp;</p>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_63  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#include &lt;Wire.h&gt;
#include &lt;Adafruit_RGBLCDShield.h&gt;
#include &lt;utility/Adafruit_MCP23017.h&gt;

//Define the pin to which the modules are connected
#define touch 5
#define S1 33
#define S2 32
#define S3 25
#define buzzer 14


#define gameTime 60 //Game duration in seconds

Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield(); //Initialize the i2c LCD module

//Threshold values for the sensors. If reading exceeds this threshold value, it is considered as point scored
int S1threshold = 256;
int S2threshold = S1threshold;
int S3threshold = S1threshold;


int score = 0; //Initialize score to zero
boolean touchReleased = true; //Determine if the user has released his finger from the touch sensor

unsigned long startTime = millis(); //Variable to keep track of the start time of the game
boolean gameStarted = false; //Variable to keep track whether the game has started or not. 

void setup() {

 
 // put your setup code here, to run once:
 //Initialize all pins
 pinMode(touch,INPUT);
 pinMode(S1,INPUT);
 pinMode(S2,INPUT);
 pinMode(S3,INPUT);
 pinMode(buzzer,OUTPUT);
 
 //Initialize the LCD
 lcd.begin(16,2);
 lcd.setBacklight(HIGH);
 lcd.print("Start");
 //Initialize the Serial for debug purposes. 
 Serial.begin(9600);
}

void loop() {
 analogRead ( S1);
 analogRead ( S2);
 analogRead ( S3);
 Serial.println (analogRead ( S1));
 Serial.println ( analogRead ( S2) );
 Serial.println ( analogRead (S3));
 
 
 // put your main code here, to run repeatedly:
 if(digitalRead(touch) &amp;&amp; !gameStarted) // Check if touch sensor is pressed and that game has not started
 {
 touchReleased = false;
 startGame();
 }
 else if(digitalRead(touch) &amp;&amp; touchReleased &amp;&amp; gameStarted) // Check if a) touch sensor is pressed b) user has released his hand from the touch sensor since game start
 // and c) whether the game has already started
 {
 touchReleased = false;
 stopGame();

 }
 else if(!digitalRead(touch)) //Check if user has released his finger from the touch sensor
 {
 touchReleased = true;
 }
 // If game has already started, a) update the display if game is not over b) if timer has exceeded stop the game. 
 if(gameStarted)
 {
 // If time has exceeded game time, stop the game
 if(((millis() - startTime)/1000)&gt;=gameTime)
 {
 stopGame();
 }
 else
 {
 //If the game is going on, update the display
 lcdUpdate();
 //Check if any of the sensors are triggered
 if ((analogRead(S1)&gt;S1threshold) || (analogRead(S2)&gt;S2threshold) || (analogRead(S3)&gt;S3threshold))
 {
 //If any of the sensors is triggered, increase the score
 score++;
 digitalWrite(buzzer,HIGH); // Turn on the buzzer
 delay(500); // Wait 1 second
 digitalWrite(buzzer,LOW); // Turn off the buzzer
 delay(250);
 
 }
 }
 }
}

//Function to be run when stopping the game
void stopGame()
{
 digitalWrite(buzzer,HIGH); // Turn on the buzzer
 delay(1000); // Wait 1 second
 digitalWrite(buzzer,LOW); // Turn off the buzzer
 lcd.clear(); // Clear the LCD
 lcd.print("Score: "); //Print the score
 lcd.print(score);
 lcd.setCursor(0,1);// Move the cursor to the Second row
 lcd.print("Time Left: 0"); 
 gameStarted = false; //Reset the game started variable
}
//Function to be run when start the game
void startGame()
{
 digitalWrite(buzzer,HIGH); // Turn on the buzzer
 delay(1000); // Wait 1 second
 digitalWrite(buzzer,LOW); // Turn off the buzzer
 score = 0; // Reset the score
 startTime = millis(); // Initialize the game start variable
 lcdUpdate(); // Update the display 
 gameStarted = true; // Set variable to determine whether game has started or not. 
}

void lcdUpdate()
{
 lcd.home(); // Move cursor
 lcd.print("Score: "); // Display score
 lcd.print(score);
 lcd.setCursor(0,1);
 lcd.print("Time Left: "); // Display the time left
 lcd.print(" ");
 lcd.setCursor(11,1);
 lcd.print((gameTime - (millis() - startTime)/1000)); //millis() returns in milliseconds. The remaining time is determined by subtracting the elapsed time from the game time. 
}</pre>
<p>&nbsp;</p>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text --><div class="et_pb_with_border et_pb_module et_pb_text et_pb_text_64  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>The Laser Arm –</p>
<p>The following code works as mentioned: every time you press the push button, the laser goes on, for a duration of 1 second. The program is set to give 10 chances to a participant, and this is displayed on the LCD which displays the counts from 10 to 0, at the rate by which the participant uses the laser shot.</p>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text --><div class="et_pb_module et_pb_text et_pb_text_65  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#include &lt;Wire.h&gt;
#include &lt;Adafruit_RGBLCDShield.h&gt;
#include &lt;utility/Adafruit_MCP23017.h&gt;

#define laser 5
#define trigger 36

Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();

int ammo = 10;

void setup() {
 // put your setup code here, to run once:
 pinMode(trigger,INPUT);
 pinMode(laser,OUTPUT);

 lcd.begin(16, 2);
 lcd.setBacklight(HIGH); 
 
 lcd.print("Ammo: ");
 lcd.print(ammo);

 
}

void loop() {
 // put your main code here, to run repeatedly:
 if(!digitalRead(trigger))
 {
 if(ammo&gt;0)
 {
 digitalWrite(laser,HIGH);
 delay (200);
 digitalWrite(laser,LOW);
 ammo--;
 lcd.clear();
 lcd.print("Ammo: ");
 lcd.print(ammo);
 delay(250);
 }
 else
 {
 lcd.clear();
 lcd.print("LOW AMMO!!");
 for (int i = 0;i&lt;10;i++)
 {
 lcd.setBacklight(LOW);
 delay(250);
 lcd.setBacklight(HIGH);
 delay(250);
 }
 ammo = 10;
 lcd.clear();
 lcd.print("Ammo: ");
 lcd.print(ammo);
 }
 }
 else
 {

 digitalWrite(laser,LOW);
 }
}</pre>
<p>&nbsp;</p>
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row --><div class="et_pb_row et_pb_row_23">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_35  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_66  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3 class="grammarly-disable-indicator"> Resources:</h3>
<ul>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-head-for-sparkfun-esp32-thing" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32 Thing Design Files(Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/ambient-light-sensor" target="_blank" rel="noopener">Medusa Ambient Light Sensor Design Files ( Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/button" target="_blank" rel="noopener">Medusa Push Button Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/buzzer" target="_blank" rel="noopener">Medusa Buzzer Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/i2c-addon-board-lcd-module" target="_blank" rel="noopener">Medusa 16&#215;2 Display I2C Module Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-touch-sensor" target="_blank" rel="noopener">Medusa Touch Sensor Design Files (Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-led-module" target="_blank" rel="noopener">Medusa LED Module/Laser Diode Design Files (Bitbucket)</a></li>
</ul>
<p style="padding-left: 90px;">
<p style="padding-left: 90px;"></div>
			</div> <!-- .et_pb_text -->
			</div> <!-- .et_pb_column -->
				
				
			</div> <!-- .et_pb_row -->
				
				
			</div> <!-- .et_pb_section -->

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>IRON MAN ARC REACTOR</title>
		<link>https://learn.edwinrobotics.com/ironman-arc-reactor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ironman-arc-reactor</link>
					<comments>https://learn.edwinrobotics.com/ironman-arc-reactor/#respond</comments>
		
		<dc:creator><![CDATA[Rashmi Menon]]></dc:creator>
		<pubDate>Tue, 19 Dec 2017 09:34:13 +0000</pubDate>
				<category><![CDATA[ESP32]]></category>
		<category><![CDATA[Medusa]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=2169</guid>

					<description><![CDATA[Programming WS2812 RGB LEDs to produce various cool patterns. OVERVIEW Iron Man has always been one of the most popular among heroes of Marvel, especially among Tech Geeks and has been one of the popular choices at comic cons when it comes to showing off coolness with a dash of technology. On the other hand, due [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div id="attachment_2197" style="width: 434px" class="wp-caption alignright"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2197" class="wp-image-2197 " src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0005-e1513595478304.jpg" alt=" Ironman Arc Reactor - DIY" width="424" height="306" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0005-e1513595478304.jpg 3945w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0005-e1513595478304-300x217.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0005-e1513595478304-1024x740.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0005-e1513595478304-1080x780.jpg 1080w" sizes="auto, (max-width: 424px) 100vw, 424px" /><p id="caption-attachment-2197" class="wp-caption-text">Ironman Arc Reactor &#8211; DIY</p></div>
<p><em><span style="font-weight: 400;">Programming WS2812 RGB LEDs to produce various cool patterns.</span></em></p>
<h3><strong>OVERVIEW</strong></h3>
<p style="text-align: left;"><span style="font-weight: 400;">Iron Man has always been one of the most popular among heroes of Marvel, especially among Tech Geeks and has been one of the popular choices at comic cons when it comes to showing off coolness with a dash of technology. On the other hand, due to its difficulty in implementation and costs involved, not many enthusiasts are able to build their own costumes. And here we have a DIY to make it easy. </span></p>
<p style="text-align: left;"><span style="font-weight: 400;">This super fun DIY project will help you replicate the famous Arc Reactor which powers this superhero, along with various cool customizable patterns of glowing LED.</span></p>
<p style="text-align: left;"><span style="font-weight: 400;">All you need is a circular cardboard cutting, some double-sided tape, Velcro, addressable RGB LEDs, the Medusa Head for Sparkfun ESP32 Thing and a LiPo battery to power the project. </span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_2175" style="width: 610px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/ironman.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2175" class="wp-image-2175" src="http://learn.edwinrobotics.com/wp-content/uploads/ironman.jpg" alt="Components for IronMan Arc Generator Project " width="600" height="338" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ironman.jpg 1920w, https://learn.edwinrobotics.com/wp-content/uploads/ironman-300x169.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ironman-1024x576.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ironman-1080x608.jpg 1080w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a><p id="caption-attachment-2175" class="wp-caption-text">Components for IronMan Arc Generator Project</p></div>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">Additionally, you can use a switch (Medusa Push Button) for some cool custom applications.<br />
</span></p>

<table id="tablepress-27" class="tablepress tablepress-id-27">
<tbody>
<tr class="row-1">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/medusa/1181-medusa-head-for-sparkfun-esp32-thing-esp32-included.html?search_query=medusa&amp;results=2"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/esp32.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2273" srcset="https://learn.edwinrobotics.com/wp-content/uploads/esp32-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/esp32-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em>Medusa Head for SparkFun ESP32 Thing</em></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/new-products/1182-medusa-addressable-rgb-led.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/r2.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2260" srcset="https://learn.edwinrobotics.com/wp-content/uploads/r2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/r2-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em> Medusa Addressable RGB LED </em></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/128-batteries"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0046.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2224" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0046-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em> 700mAh Lithium Polymer Battery</em></p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-27 from cache -->

<table id="tablepress-30" class="tablepress tablepress-id-30">
<tbody>
<tr class="row-1">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/new-products/1184-medusa-cable-150mm-pack-of-5.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0047.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2225" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0047-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em>Medusa Cable 150mm </em></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/new-products/1185-medusa-cable-1-meter.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/longconent.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2276" srcset="https://learn.edwinrobotics.com/wp-content/uploads/longconent-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/longconent-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em>Medusa Cable 1m  </em></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/new-products/1183-medusa-push-button.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/button2.jpg" alt="" width="150" height="150" class="alignnone size-full wp-image-2257" srcset="https://learn.edwinrobotics.com/wp-content/uploads/button2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/button2-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p> <em>Medusa Push Button</em></p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-30 from cache -->
<p>&nbsp;</p>
<h3>CODE</h3>
<p><span style="font-weight: 400;">Test Setup: <em>(to check your code and try out cool patterns of  led blink)</em></span></p>
<p><span style="font-weight: 400;">The first step is to choose an output pin. Let’s say 25 on Medusa Head. The LEDs are daisy chained, be sure to connect the output of one to the input of the next.</span></p>
<p>&nbsp;</p>
<div id="attachment_2265" style="width: 510px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2265" class="wp-image-2265" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0002-e1513690972461.jpg" alt="The Iron Man DIY Arc Reactor Set-ups " width="500" height="378" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0002-e1513690972461.jpg 4920w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0002-e1513690972461-300x227.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0002-e1513690972461-1024x774.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0002-e1513690972461-1080x817.jpg 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /><p id="caption-attachment-2265" class="wp-caption-text">The Iron Man DIY Arc Reactor Set-ups</p></div>
<p><strong>NOTE: During wiring, ensure that the OUT of the first LED goes to the IN of the next like as shown in the image below.</strong></p>
<div id="attachment_2309" style="width: 510px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2309" class="wp-image-2309" src="http://learn.edwinrobotics.com/wp-content/uploads/Connections.png" alt="WS2812 LED connections for Medusa" width="500" height="267" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Connections.png 1516w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-300x160.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-1024x548.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-1080x578.png 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /><p id="caption-attachment-2309" class="wp-caption-text">Medusa Addressable RGB LED connections</p></div>
<p>We will use simple Aurdino Code to Programme the setup, which you can refer to at the end of this post.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>BUILDING INSTRUCTIONS</h3>
<p style="text-align: center;"> 1.  The first step is to make the cardboard cutout. <a href="https://drive.google.com/file/d/1kxVTYq2AC3c2V6uPlABRuHS5cNWSFBED/view?usp=sharing" target="_blank" rel="noopener">Click here for the sample design of cardboard cutout</a>, use a CD or go for a pattern of your choice.</p>
<div id="attachment_2178" style="width: 510px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2178" class="wp-image-2178" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0032-e1513589187337.jpg" alt="Cardboard Cutouts for Placing the Components to make DIY IronMan ARC generator" width="500" height="394" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0032-e1513589187337.jpg 4605w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0032-e1513589187337-300x236.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0032-e1513589187337-1024x807.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0032-e1513589187337-1080x851.jpg 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /><p id="caption-attachment-2178" class="wp-caption-text">Cardboard Cutouts for Placing the Components to make DIY IronMan ARC generator</p></div>
<p style="text-align: center;"><span style="font-weight: 400;">     2. Take some double-sided tape and fix the LEDs.</span></p>
<p>                                        <img loading="lazy" decoding="async" class="size-full wp-image-2211 aligncenter" src="http://learn.edwinrobotics.com/wp-content/uploads/gif5.gif" alt="" width="500" height="281" /></p>
<p style="text-align: center;">3. Next step is to connect the Medusa Addressable RGB LED together.</p>
<p style="text-align: left;">For this project, we are using 2 different Medusa Cables, the 15cm &amp; the 1-meter variant. The 15cm variant is useful for daisy chaining the LED and the 1-meter variant to connect the first Medusa Addressable RGB LED to the Medusa Head for SparkFun ESP32 Thing.</p>
<p style="text-align: left;">The Medusa Addressable RGB LED are allow you to daisy chain (connect one board to the next) multiple boards to create a string of RGB LEDs using just one pin of the microcontroller.</p>
<p style="text-align: center;"><iframe loading="lazy" src="https://www.youtube.com/embed/vqR57fhwY1w" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p style="text-align: center;"><span style="font-weight: 400;">4. Using the Velcro/Double sided tape, fix the disk under your t-shirt. </span></p>
<p style="text-align: center;"><span style="font-weight: 400;"> 
<table id="tablepress-31" class="tablepress tablepress-id-31">
<tbody>
<tr class="row-1">
	<td class="column-1"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/vel-1.gif" alt="" width="500" height="281" class="alignnone size-full wp-image-2289" /></td><td class="column-2"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/shirt.gif" alt="" width="500" height="281" class="alignnone size-full wp-image-2279" /></td>
</tr>
</tbody>
</table>
<!-- #tablepress-31 from cache --></span></p>
<p style="text-align: left;">5. The SparkFun ESP32 comes with an onboard LiPo charger and booster which makes it easy to power the project using a single cell LiPo battery, the lower capacity ones can even fit between the Medusa Head and the SparkFun ESP32 Thing for a compact solution. It can also be powered using a typical mobile phone power bank.</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="size-full wp-image-2190 aligncenter" src="http://learn.edwinrobotics.com/wp-content/uploads/gif6.gif" alt="" width="500" height="281" /></p>
<p style="text-align: center;">And insert the medusa head into your pocket.</p>
<p style="text-align: center;"><img loading="lazy" decoding="async" class="alignnone wp-image-2278 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/poket.gif" alt="" width="500" height="281" /></p>
<h1 style="text-align: center;"><span style="font-weight: 400;">SHOW OFF your IRON MAN ARC REACTOR!!!</span></h1>
<p><img loading="lazy" decoding="async" class="size-full wp-image-2210 aligncenter" src="http://learn.edwinrobotics.com/wp-content/uploads/gif9.1.gif" alt="" width="500" height="281" /></p>
<div class="grammarly-disable-indicator" style="text-align: center;"></div>
<div class="grammarly-disable-indicator" style="text-align: center;"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator">
<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#include &lt;Adafruit_NeoPixel.h&gt;

#define PIN 25

// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
//   NEO_KHZ800  800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
//   NEO_KHZ400  400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
//   NEO_GRB     Pixels are wired for GRB bitstream (most NeoPixel products)
//   NEO_RGB     Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
//   NEO_RGBW    Pixels are wired for RGBW bitstream (NeoPixel RGBW products)
Adafruit_NeoPixel strip = Adafruit_NeoPixel(5, PIN, NEO_GRB + NEO_KHZ800);

// IMPORTANT: To reduce NeoPixel burnout risk, add 1000 uF capacitor across
// pixel power leads, add 300 - 500 Ohm resistor on first pixel's data input
// and minimize distance between Arduino and first pixel.  Avoid connecting
// on a live circuit...if you must, connect GND first.

void setup() {
  // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
  #if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
  #endif
  // End of trinket special code

  strip.begin();
  strip.show(); // Initialize all pixels to 'off'
}

void loop() {
  colorWipe(strip.Color(0, 0,255), 60); // Blue
  colorWipe(strip.Color(0, 0,0), 60); // Black
  delay(25);
  colorWipe(strip.Color(0, 0,255), 60); // Blue
  colorWipe(strip.Color(0, 0,0), 60); // Black
  delay(25);
  colorWipe(strip.Color(0, 0,255), 60); // Blue
  colorWipe(strip.Color(0, 0,0), 60); // Black
  delay(25);
  fadeIn();
  fadeOut();
}

// Fill the dots one after the other with a color
void colorWipe(uint32_t c, uint8_t wait) {
  for(uint16_t i=0; i&lt;strip.numPixels(); i++) {
    strip.setPixelColor(i, c);
    strip.show();
    delay(wait);
  }
}

void fadeIn()
{
  for (int i = 0;i&lt;256;i++)
  {
    for(int led = 0;led&lt;strip.numPixels();led++)
    {
      strip.setPixelColor(led,strip.Color(0, 0,i));
      strip.show();
      delay(1);
    }
  }
}

void fadeOut()
{
  for (int i = 255;i&gt;=0;i--)
  {
    for(int led = 0;led&lt;strip.numPixels();led++)
    {
      strip.setPixelColor(led,strip.Color(0, 0,i));
      strip.show();
      delay(1);
    }
  }
}</pre>
<p>&nbsp;</p>
</div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<h3 class="grammarly-disable-indicator"> Resources:</h3>
<ul>
<li><a href="https://bitbucket.org/edwinrobotics/medusa-head-for-sparkfun-esp32-thing" target="_blank" rel="noopener">Medusa Head for SparkFun ESP32 Thing Design Files(Bitbucket)</a></li>
<li><a href="https://bitbucket.org/edwinrobotics/button" target="_blank" rel="noopener">Medusa Push Button Design Files (Bitbucket)</a></li>
<li><a href="https://shop.edwinrobotics.com/new-products/1182-medusa-addressable-rgb-led.html" target="_blank" rel="noopener">Medusa Addressable RGB LED Design Files (Bitbucket)</a></li>
</ul>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>
<div class="grammarly-disable-indicator"></div>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/ironman-arc-reactor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DRV8833 DC/Stepper motor driver hookup guide</title>
		<link>https://learn.edwinrobotics.com/drv8833-dcstepper-motor-driver-hookup-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=drv8833-dcstepper-motor-driver-hookup-guide</link>
					<comments>https://learn.edwinrobotics.com/drv8833-dcstepper-motor-driver-hookup-guide/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Wed, 28 Jun 2017 06:44:55 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Particle Photon]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1914</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />The Edwin Robotics DRV8833 breakout board is capable of controlling up to 2 DC motors or one bi/uni-polar stepper motor a max current of 1.2A. The DRV8833 comes with 2 full H-bridges which give bi-directional control of your DC motors. It is similar to the L9110S in its voltage range ( 2.7V &#8211; 10.8V), but [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<p>The Edwin Robotics DRV8833 breakout board is capable of controlling up to 2 DC motors or one bi/uni-polar stepper motor a max current of 1.2A. The DRV8833 comes with 2 full H-bridges which give bi-directional control of your DC motors. It is similar to the L9110S in its voltage range ( 2.7V &#8211; 10.8V), but carrying 50% more oomph. This makes it ideal for projects where the motors will be run from a 9V battery.</p>
<p>The board can be powered using the provided screw terminals or through micro-USB, checkout out <a href="https://shop.edwinrobotics.com/connectors/106-microusb-dc-jack-female.html" target="_blank" rel="noopener">micro-USB to DC Jack adapter</a> if you would like to use a standard power adapter with the board</p>
<h2> Hardware Required</h2>

<table id="tablepress-23" class="tablepress tablepress-id-23">
<tbody>
<tr class="row-1">
	<td class="column-1"><div id="attachment_1928" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/drivers/924-drv8833-dcstepper-motor-driver-breakout-board.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1928" src="http://learn.edwinrobotics.com/wp-content/uploads/Feature-1-150x150.jpg" alt="DC Motor Driver" width="150" height="150" class="size-thumbnail wp-image-1928" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Feature-1-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-1-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-1-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-1.jpg 800w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1928" class="wp-caption-text">Edwin Robotics DRV8833 Motor Driver</p></div></td><td class="column-2"><div id="attachment_241" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/boards/75-arduino-uno-r3.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-241" src="http://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-150x150.jpg" alt="Arduino UNO Microcontroller board" width="150" height="150" class="size-thumbnail wp-image-241" srcset="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-241" class="wp-caption-text">Arduino UNO</p></div></td><td class="column-3"><div id="attachment_1571" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/prototyping/19-male-female-jumper-wires-pack-of-10.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1571" src="http://learn.edwinrobotics.com/wp-content/uploads/179-2-150x150.jpg" alt="Arduino Jumper wires" width="150" height="150" class="size-thumbnail wp-image-1571" srcset="https://learn.edwinrobotics.com/wp-content/uploads/179-2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/179-2-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/179-2-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/179-2.jpg 600w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1571" class="wp-caption-text">Male-Female Jumper wires</p></div></td>
</tr>
<tr class="row-2">
	<td class="column-1"><div id="attachment_1999" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/robotics/31-300-rpm-dc-geared-motor.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1999" src="http://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-150x150.jpg" alt="" width="150" height="150" class="size-thumbnail wp-image-1999" srcset="https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/300-RPM-w-yellow-Wheel.jpg 1500w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1999" class="wp-caption-text">DC Geared Motor with Wheel</p></div></td><td class="column-2"><div id="attachment_2000" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/connectors/56-9v-dc-battery-snapper.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2000" src="http://learn.edwinrobotics.com/wp-content/uploads/9v-battery-snapper-1-150x150.jpg" alt="9v battery snap in cable" width="150" height="150" class="size-thumbnail wp-image-2000" srcset="https://learn.edwinrobotics.com/wp-content/uploads/9v-battery-snapper-1-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/9v-battery-snapper-1-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/9v-battery-snapper-1-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/9v-battery-snapper-1.jpg 800w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-2000" class="wp-caption-text">9V DC Battery Snapper</p></div></td><td class="column-3"><div id="attachment_2002" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/connectors/106-microusb-dc-jack-female.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2002" src="http://learn.edwinrobotics.com/wp-content/uploads/microUSB-to-DC-Jack-Female-Front-150x150.jpg" alt="" width="150" height="150" class="size-thumbnail wp-image-2002" srcset="https://learn.edwinrobotics.com/wp-content/uploads/microUSB-to-DC-Jack-Female-Front-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/microUSB-to-DC-Jack-Female-Front-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-2002" class="wp-caption-text">microUSB to DC Jack Female Connector</p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-23 from cache -->
<h2>Features</h2>
<ul>
<li>Dual-H-bridge motor driver: can drive two DC motors or one uni/bi-polar stepper motor</li>
<li>Operating voltage: 2.7‌‌ V to 10.8 V</li>
<li>Output current: 1.2 A continuous (2 A peak) per motor</li>
<li>Motor outputs can be paralleled to deliver 2.4 A continuous (4 A peak) to a single motor</li>
<li>Inputs are 3V- and 5V-compatible</li>
<li>Under-voltage lockout and protection against over-current and over-temperature</li>
<li>Reverse-voltage protection circuit</li>
<li>Current limiting can be enabled by adding sense resistors (not included)</li>
</ul>
<h2>Pinouts:</h2>
<div class="row-fluid build-text">
<div id="attachment_1993" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1993" class="wp-image-1993" src="http://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new.png" alt="DRV8833 motor driver pin description" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new.png 2750w, https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new-1024x1024.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new-1080x1080.png 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Pin-DEscription-new-184x184.png 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1993" class="wp-caption-text"><em>DRV8833 Motor driver pin description</em></p></div>
<p>&nbsp;</p>
<h3>Power</h3>
<ul>
<li><strong>Vm</strong> &#8211; This is the voltage supply for the motors. Keep this voltage between 2.7V and 10.8V. This Supply Pin is not Reverse polarity protected, so care must be taken while connecting jumper wires to it.</li>
<li><strong>Power Screw Terminal: </strong>The Power Screw terminal is labelled with + and -, connect your power supply according to label, this terminal is reverse polarity protected.</li>
<li><strong>USB Power In</strong>: You can power the board with micro USB connector provided; this is reverse polarity protected as well.</li>
<li><strong>GND</strong> &#8211; This is the shared logic and motor ground. All grounds are connected</li>
</ul>
</div>
<div class="row-fluid build-text">
<h3><span id="signal-in-pins" class="anchor-link-target"></span>Signals</h3>
<p>These are all &#8216;2.7V or higher logic level&#8217; inputs</p>
<ul>
<li><strong>AIN1, AIN2</strong> &#8211; Two inputs to the Motor A H-bridges. Speed control supported using PWM.</li>
<li><strong>BIN1, BIN2</strong> &#8211; Two inputs to the Motor B H-bridges. Speed control supported using PWM.</li>
<li><strong>FLT</strong> -This is the <strong>Fault</strong> output, which will drive low if there&#8217;s a thermal shutdown or overcurrent.</li>
<li><strong>SLP</strong> &#8211; sleep pin for quickly disabling the driver. On Board 10K pullup resistor provided to keep the driver enabled.</li>
</ul>
<p>The control inputs are pulled low internally, effectively disabling the motor driver outputs by default. See the truth tables in the DRV8833 datasheet for more information on how the inputs affect the driver outputs.</p>
<p><strong>The FAULT pin is an open-drain output that is driven low by the chip whenever an over-current, over-temperature-or under-voltage condition occurs. Otherwise, it remains in a floating state, so you will need to connect an external pull-up resistor (or use a micro-controller input with its built-in pull-up enabled) if you want to monitor fault conditions on the driver.</strong></p>
<p><strong><span style="color: #ff0000;">Note: There is a misprint on Silkscreen, BIN1 is printed in place of AIN1, refer the above image for correct pinouts description.</span></strong></p>
<p><strong>Note: we had Provided on board power LED, which will stay on whenever board is powered. You can disable the power LED with the jumper provided on the back, refer the image below for power LED (P-LED) Jumper</strong></p>
</div>
<div class="row-fluid build-text">
<h3>Current Limiting Pins</h3>
<p><strong>As/ Bs:</strong> The DRV8833 can perform current limiting for each motor H-bridge by connecting a resistor between As/Bs and ground to set the Motor A/ Motor B Limit.</p>
<p><strong>By default , the current limiting feature is disabled and can be enabled by modifying the jumper, refer the image below:</strong></p>
<div id="attachment_1930" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1930" class="wp-image-1930" src="http://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description.png" alt="DRV8833 Current limiting feature" width="500" height="200" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description.png 1856w, https://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description-300x120.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description-1024x410.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Jumper-Description-1080x433.png 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1930" class="wp-caption-text"><em>Current Limiting and Status LED&#8217;s Jumper Pads.</em></p></div>
<p>The Current limiting can be enabled by cutting out the solder joint between the jumper Pads for Asen and Bsen. Once the jumper pads are modified you can either solder SMD resistor (1206 Size) on board or you can use the AS/BS headers pin to make connection with through hole resistors. You can also totally disable current limiting whenever needed by soldering the two jumpers on the back.</p>
<p><strong>The current limiting rule is: LimitCurrent (amps) = 0.2 V / RSENSE</strong></p>
<div id="attachment_1994" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1994" class="wp-image-1994" src="http://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod.png" alt="Current limiting resistors" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod.png 550w, https://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Current-sense-resistors_mod-184x184.png 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1994" class="wp-caption-text"><em>Add 1206 resistors here to modify the current supplied to the respective motors</em></p></div>
<p>&nbsp;</p>
<h2>Connection&#8217;s</h2>
<p>You can use any stepper motor or dc motor rated upto 10.8v with this board. We have used the following kit to get it tested:</p>
<div id="attachment_1929" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1929" class="wp-image-1929" src="http://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET.png" alt="DRV8833 Motor driver kit" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET.png 4300w, https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET-1024x1024.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET-1080x1080.png 1080w, https://learn.edwinrobotics.com/wp-content/uploads/FUnky-DRIVER-SET-184x184.png 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1929" class="wp-caption-text"><em>Robotics Kit</em></p></div>
<p>&nbsp;</p>
<div class="page-title-wrapper"> Refer the image below for the motor connections</div>
</div>
<div></div>
<div></div>
<div class="row-fluid build-text">
<div></div>
<div>
<div id="attachment_1927" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1927" class="wp-image-1927" src="http://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg" alt="DRV8833 gear motor robotics kit" width="500" height="333" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DRV8833_Cover-140x94.jpg 140w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1927" class="wp-caption-text"><em>Motor Connections</em></p></div>
</div>
</div>
<div class="page-content"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div>You can power the board using phone charger (1.25~ 2.5Ampere rated) using micro usb or use the 9v battery snapper with micro usb connector as shown below:</div>
<div></div>
<div>
<div id="attachment_2013" style="width: 510px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2013" class="wp-image-2013" src="http://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1.jpg" alt="Motor Driver Power Supply" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1.jpg 2800w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-1-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /><p id="caption-attachment-2013" class="wp-caption-text"><em>Power Supply Connections</em></p></div>
</div>
<div></div>
<div>Now connect the following pins to your Arduino board:</div>
<div></div>
<div>

<table id="tablepress-21" class="tablepress tablepress-id-21">
<thead>
<tr class="row-1">
	<th class="column-1">DRV8833 Motor Driver Breakout Pins</th><th class="column-2">Arduino Pins</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2">
	<td class="column-1">AIN1</td><td class="column-2">2</td>
</tr>
<tr class="row-3">
	<td class="column-1">AIN2</td><td class="column-2">3</td>
</tr>
<tr class="row-4">
	<td class="column-1">BIN1</td><td class="column-2">4</td>
</tr>
<tr class="row-5">
	<td class="column-1">BIN2</td><td class="column-2">5</td>
</tr>
</tbody>
</table>
<!-- #tablepress-21 from cache -->
</div>
<div></div>
<div>
<div id="attachment_2008" style="width: 510px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2008" class="wp-image-2008" src="http://learn.edwinrobotics.com/wp-content/uploads/Arduino-Connections.jpg" alt="Stepper Motor driver connections" width="500" height="550" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Arduino-Connections.jpg 816w, https://learn.edwinrobotics.com/wp-content/uploads/Arduino-Connections-273x300.jpg 273w" sizes="auto, (max-width: 500px) 100vw, 500px" /><p id="caption-attachment-2008" class="wp-caption-text"><em>Arduino DRV8833 Connections</em></p></div>
</div>
<div></div>
<h2>Test Codes</h2>
<div></div>
<div></div>
<div> Once the connections are done, upload the following code:</div>
<div></div>
<div></div>
<div></div>
<div>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#define Ain1 5
#define Ain2 6
#define Bin1 9
#define Bin2 10

int speed = 0;

void setup() {
pinMode(Ain1, OUTPUT);  //Ain1
pinMode(Ain2, OUTPUT);  //Ain2
pinMode(Bin1, OUTPUT);  //Bin1
pinMode(Bin2, OUTPUT);  //Bin2

}

void loop() {

    digitalWrite(Ain1,HIGH);
    digitalWrite(Ain2,LOW);
    digitalWrite(Bin1,HIGH);
    digitalWrite(Bin2,LOW);
    delay(700);
    digitalWrite(Ain1,LOW);
    digitalWrite(Ain2,LOW);
    digitalWrite(Bin1,LOW);
    digitalWrite(Bin2,LOW);

    digitalWrite(Ain1,LOW);
    digitalWrite(Ain2,HIGH);
    digitalWrite(Bin1,LOW);
    digitalWrite(Bin2,HIGH);
    delay(700);
    digitalWrite(Ain1,LOW);
    digitalWrite(Ain2,LOW);
    digitalWrite(Bin1,LOW);
    digitalWrite(Bin2,LOW);
  
}</pre>
<p>&nbsp;</p>
</div>
<div></div>
<div></div>
<div></div>
<h2><a href="http://www.ti.com/lit/ds/symlink/drv8833.pdf" target="_blank" rel="noopener">Download DRV8833 Datasheet</a></h2>
<p>&nbsp;</p>
<p>References:</p>
<p><a href="https://learn.adafruit.com/adafruit-drv8833-dc-stepper-motor-driver-breakout-board/stepper-motor-usage" target="_blank" rel="noopener">Adafruit Hookup Guide</a></p>
<p><a href="https://www.pololu.com/product/2130/blog" target="_blank" rel="noopener">Polulu Blog</a></p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/drv8833-dcstepper-motor-driver-hookup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Digital AC Mains Switch Hookup Guide</title>
		<link>https://learn.edwinrobotics.com/digital-ac-mains-switch-hookup-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=digital-ac-mains-switch-hookup-guide</link>
					<comments>https://learn.edwinrobotics.com/digital-ac-mains-switch-hookup-guide/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Wed, 31 May 2017 14:24:44 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1874</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Product Link Looking to control lights and bulbs with microcontroller ? then, this digital AC switch boards is suitable for your application, this board is a great alternative for the solid state relay boards. This board comes pre-assembled with everything, all you need to do is to connect supply, load and digital interface pins. The board [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<div id="attachment_1877" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square.jpg" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1877" class="wp-image-1877" src="http://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square.jpg" alt="Triac based Appliance controlling Switch for 230v and 110 v AC mains" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square.jpg 2100w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Cover-Final_Square-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1877" class="wp-caption-text"><em>Digital AC Mains Switch</em></p></div>
<p><a href="https://shop.edwinrobotics.com/io-devices/921-home-appliance-switch-control-module.html" target="_blank" rel="noopener noreferrer">Product Link</a></p>
<p>Looking to control lights and bulbs with microcontroller ? then, this digital AC switch boards is suitable for your application, this board is a great alternative for the solid state relay boards. This board comes pre-assembled with everything, all you need to do is to connect supply, load and digital interface pins.</p>
<p>The board posses following Electrical Characteristics:</p>

<table id="tablepress-19" class="tablepress tablepress-id-19">
<thead>
<tr class="row-1">
	<th class="column-1">Parameter</th><th class="column-2">Max</th><th class="column-3">Unit</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2">
	<td class="column-1">Power</td><td class="column-2">1000 (Tested)</td><td class="column-3">Watt</td>
</tr>
<tr class="row-3">
	<td class="column-1">Voltage</td><td class="column-2">230 (Tested)</td><td class="column-3">Volt</td>
</tr>
<tr class="row-4">
	<td class="column-1">Voltage</td><td class="column-2">110 (Not Tested)</td><td class="column-3">Volt</td>
</tr>
<tr class="row-5">
	<td class="column-1">Current</td><td class="column-2">5 (Tested)</td><td class="column-3">Ampere</td>
</tr>
<tr class="row-6">
	<td class="column-1">Signal</td><td class="column-2">24</td><td class="column-3">Volt</td>
</tr>
</tbody>
</table>
<!-- #tablepress-19 from cache -->
<p>The board is suitable to use with 3.3, 5, 12 and 24 volt systems, thus making it ideal for any voltage, the maximum ratings are mentioned in the table above and can change based on working conditions. The board is not tested on 110v lines, but its parts are compatible to work with 110V Supply. The on-board fuse are easily replaceable, in case of any damage. The mounting holes will give you the flexibility to screw it to any surface.</p>
<p>&nbsp;</p>
<h2>Connections:</h2>
<p>All the connections must be made via screw terminals and we will recommend you to keep ready one screw driver beside you, before making connections. There are 4 screw terminals on board, please refer the image below for better idea:</p>
<div id="attachment_1878" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/TOP.png" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1878" class="wp-image-1878" src="http://learn.edwinrobotics.com/wp-content/uploads/TOP.png" alt="Triac Switch for Arduino and Raspberry Pi" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/TOP.png 800w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-184x184.png 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1878" class="wp-caption-text"><em>Digital AC Mains Switch Interface</em></p></div>
<p>&nbsp;</p>
<p>Refer the below table for Silkscreen/legend description:</p>

<table id="tablepress-20" class="tablepress tablepress-id-20">
<thead>
<tr class="row-1">
	<th class="column-1">Symbol</th><th class="column-2">Description</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2">
	<td class="column-1">Gnd</td><td class="column-2">Ground</td>
</tr>
<tr class="row-3">
	<td class="column-1">S</td><td class="column-2">Digital Signal (Max upto 24V)</td>
</tr>
<tr class="row-4">
	<td class="column-1">L</td><td class="column-2">Live (To connect AC Supply Input)</td>
</tr>
<tr class="row-5">
	<td class="column-1">N</td><td class="column-2">Neutral</td>
</tr>
<tr class="row-6">
	<td class="column-1">Load</td><td class="column-2">Load (Connect to device to be controlled like Light /Bulb)</td>
</tr>
</tbody>
</table>
<!-- #tablepress-20 from cache -->
<p>&nbsp;</p>
<p>So you need to use &#8216;S&#8217; and &#8216;Gnd&#8217; Pin to interface your Microcontroller board with this unit, there are two &#8216;L&#8217; and &#8216;N&#8217; screw terminals, you just need to connect supply to any one from the both, the second one is to extend the supply to other boards/ peripherals. Loads such as light/fan,etc. must be connected across &#8220;Load&#8221; and &#8216;N&#8217; Pin to establish the connection of the load with the board. You can use jumper wires to to connect microcontroller board and screw the jumper wires to interface &#8220;S and GND &#8220;pins.</p>
<p>&nbsp;</p>
<h2>Connection Diagram:</h2>
<div id="attachment_1902" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Connections.jpg" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1902" class="wp-image-1902" src="http://learn.edwinrobotics.com/wp-content/uploads/Connections.jpg" alt="Triac AC Mains Switch for Home Automation Projects" width="500" height="292" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Connections.jpg 1908w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-300x175.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-1024x597.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Connections-1080x630.jpg 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1902" class="wp-caption-text"><em>Digital AC Mains Switch connections</em></p></div>
<p>&nbsp;</p>
<p>The microcontroller interface just needs 2 Pins, we connected Arduino ground with module ground and Arduino pin A0 as digital control for module. The load will go across Screw terminal where light bulb is connected and the power supply will go into either of the one Screw terminal.</p>
<p>&nbsp;</p>
<h2><span style="color: #ff0000;"><em>Working with AC voltages is DANGEROUS, care must be taken to prevent any short circuits or mistakes in connection. And as always, you are doing this project at your own risk and Edwin Robotics or the Author cannot be held liable for any damages.</em></span></h2>
<p>&nbsp;</p>
<h2>Sample Program:</h2>
<p>To test the connections and board functions, we will recommend you to use the Blinking LED code from the Arduino examples, make sure to change the pin number in the code as follows:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#define LOAD A0

void setup() {
// initialize digital pin LOAD as an output.
pinMode(LOAD, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(LOAD, HIGH); // turn the BULB on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LOAD, LOW); // turn the BULB off by making the voltage LOW
delay(1000); // wait for a second
}</pre>
<p>&nbsp;</p>
<h2><a href="https://shop.edwinrobotics.com/io-devices/921-home-appliance-switch-control-module.html" target="_blank" rel="noopener noreferrer">Buy this Product here</a></h2>
<div class="mceTemp"></div>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/digital-ac-mains-switch-hookup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting Started with ESP-WROOM-02</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-esp-wroom-02/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-esp-wroom-02</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-esp-wroom-02/#comments</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Sun, 26 Mar 2017 10:13:59 +0000</pubDate>
				<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[IOT]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[esp]]></category>
		<category><![CDATA[esp-wroom]]></category>
		<category><![CDATA[esp8266]]></category>
		<category><![CDATA[Getting started]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[wroom]]></category>
		<category><![CDATA[wroom-02]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1673</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Welcome to our Getting started guide on ESP-WROOM-02 board. We had already introduced this board in our previous guide Introduction to ESP8266, there we had mentioned about the ESP-WROOM-02 adapter board as well. Here in this blog, we are using ESP-WROOM-02 with Adapter board, since using the adapter board will give us the flexibility to [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0018-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<p>Welcome to our Getting started guide on ESP-WROOM-02 board. We had already introduced this board in our previous guide <strong><a href="http://learn.edwinrobotics.com/introduction-to-esp8266/" target="_blank">Introduction to ESP8266</a></strong>, there we had mentioned about the ESP-WROOM-02 adapter board as well. Here in this blog, we are using ESP-WROOM-02 with Adapter board, since using the adapter board will give us the flexibility to build and test circuit on a breadboard. Let us have a look at the list of items we needed for getting started with ESP-WROOM-02.</p>
<p>&nbsp;</p>
<h3 id="step1">Hardware Needed:</h3>

<table id="tablepress-17" class="tablepress tablepress-id-17">
<tbody>
<tr class="row-1">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/esp8266/649-wifi-module-esp-wroom-02-with-adapter.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0023.jpg" alt="ESP8266 Wroom" width="150" height="50" class="alignnone size-full wp-image-1655" /></a><p class="wp-caption-text"></p><b><em> ESP-WROOM-02 Board</em></b></p></div></td><td class="column-2"><div id="attachment_1609" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/prototyping/40-breadboard.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1609" src="http://learn.edwinrobotics.com/wp-content/uploads/breadboard.jpg" alt="Breadboard" width="150" height="50" class="size-full wp-image-1609" /></a><p id="caption-attachment-1609" class="wp-caption-text"></p><b><em> Breadboard</em></b></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/voltage-regulator/108-3v-voltage-regulator.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/165-2.jpg" alt="LD33v 3.3v voltage regulator" width="150" height="50" class="alignnone size-full wp-image-1681" /></a><p class="wp-caption-text"></p><b><em>3.3V Voltage Regulator</em></b></p></div></td><td class="column-4"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/fixed-value/8-1k-resistor-pack-of-10.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W.jpg" alt="1k resistor" width="150" height="50" class="alignnone size-full wp-image-1371" /></a><p class="wp-caption-text"></p><b><em>1K Resistors</em></b></p></div></td>
</tr>
<tr class="row-2">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/electrolytic/430-100uf63v-electrolytic-capacitor.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0385.jpg" alt="100uf capacitor" width="150" height="50" class="alignnone size-full wp-image-1683" /></a><p class="wp-caption-text"></p><b><em>100uf Electrolytic Capacitor</em></b></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/switches/427-momentory-push-button-switch-7mm-pack-of-5.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/81DTyucRlLL._SX355_.jpg" alt="tactile switch" width="150" height="50" class="alignnone size-full wp-image-1678" /></a><p class="wp-caption-text"></p><b><em>7mm Tactile Switch</em></b></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/power-supply/163-5v-3a-micro-usb-acdc-power-adapter-uk-plug-charger-supply.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0033.jpg" alt="" width="150" height="50" class="alignnone size-full wp-image-1046" /></a><p class="wp-caption-text"></p><b><em>5V Power Adapter</em></b></p></div></td><td class="column-4"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/fixed-value/229-10k-resistorpack-of-10.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/10k_0.25W.jpg" alt="10k resistor" width="150" height="50" class="alignnone size-full wp-image-1685" /></a><p class="wp-caption-text"></p><b><em>10k Resistor</em></b></p></div></td>
</tr>
<tr class="row-3">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/single-colored/16-5mm-colored-led-pack-of-5.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/solu-5-colors-50pcs-5mm-led-diodes-diffused-red-green-blue-yellow-white-mix-kits-50pcs-5mm-f5-led-light-white-yellow-red_14925927-1.jpeg" alt="led" width="150" height="50" class="alignnone size-full wp-image-1684" /></a><p class="wp-caption-text"></p><b><em>5mm LED</em></b></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/cables-and-adapters/214-monoprice-usb-20-a-male-to-mini-b-5pin-male-cable.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/0_5990_0_720x600.jpg" alt="usb mini cable" width="150" height="150" class="alignnone size-full wp-image-1679" /></a><p class="wp-caption-text"></p><b><em>Mini USB Cable</em></b></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/programmerconverter/158-sparkfun-ftdi-basic-breakout-33v.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/09873-02a.jpg" alt="FTDI USB to Serial Converter" width="150" height="50" class="alignnone size-full wp-image-1682" /></a><p class="wp-caption-text"></p><b><em>USB to Serial Converter</em></b></p></div></td><td class="column-4"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/prototyping/17-male-male-jumper-wires.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/12795-00.jpg" alt="Male Male Jumper Wires" width="150" height="50" class="alignnone size-full wp-image-1620" /></a><p class="wp-caption-text"></p><b><em>Jumper Wires</em></b></p></div></td>
</tr>
<tr class="row-4">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/electrolytic/12-3uf63v-electrolytic-capacitor.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/3.3uF-1.jpg" alt="3.3uf capacitor" width="150" height="50" class="alignnone size-full wp-image-1677" /></a><p class="wp-caption-text"></p><b><em>3.3uf Electrolytic Capacitor</em></b></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/power-supply/301-sparkfun-breadboard-power-supply-stick-5v33v.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/13032-01.jpg" alt="Breadboard power supply" width="150" height="100" class="alignnone size-full wp-image-1711" srcset="https://learn.edwinrobotics.com/wp-content/uploads/13032-01-207x136.jpg 207w, https://learn.edwinrobotics.com/wp-content/uploads/13032-01-140x94.jpg 140w, https://learn.edwinrobotics.com/wp-content/uploads/13032-01-430x283.jpg 430w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p><b><em>Breadboard Power Supply</em></b></p></div></td><td class="column-3"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/breakout-boards/555-sparkfun-microb-usb-breakout.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/12035-01.jpg" alt="Micro USB Pin Breakout Board" width="150" height="100" class="alignnone size-full wp-image-1710" srcset="https://learn.edwinrobotics.com/wp-content/uploads/12035-01-207x136.jpg 207w, https://learn.edwinrobotics.com/wp-content/uploads/12035-01-140x94.jpg 140w, https://learn.edwinrobotics.com/wp-content/uploads/12035-01-430x283.jpg 430w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p class="wp-caption-text"></p><b><em>Micro USB Pin Breakout Board</em></b></p></div></td><td class="column-4"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/ceramic/14-1uf-ceramic-capacitorpack-of-5.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/117-2.jpg" alt="0.1uf ceramic capacitor" width="150" height="50" class="alignnone size-full wp-image-1680" /></a><p class="wp-caption-text"></p><b><em>0.1uf Ceramic Capacitor</em></b></p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-17 from cache -->
<p>You do not need all the above mentioned hardware, some of them are optional, which we had mentioned in details in various sections below.</p>
<p>&nbsp;</p>
<h3></h3>
<h3></h3>
<h3>ESP-WROOM-02 Pinouts:</h3>
<p>It is always important to understand the board which you are working with, is capable of what all stuffs, for this we had added a graphical pinouts and description below:</p>
<div id="attachment_1724" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1724" class="wp-image-1724" src="http://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description.png" alt="ESP8266 Wroom pin graphical description" width="500" height="353" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description.png 1600w, https://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description-300x212.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description-1024x723.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP_WROOM-02-Graphical-description-1080x763.png 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1724" class="wp-caption-text">ESP-Wroom-02 Graphical Description</p></div>
<p>&nbsp;</p>
<h3>Circuit Schematics:</h3>
<p>The ESP-WROOM-02 boards needs few external components to get it working, we had a schematics for ESP-WROOM-02 board below:</p>
<div id="attachment_1714" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1714" class="wp-image-1714" src="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics.png" alt="ESP8266 Wroom Schematics" width="500" height="174" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics.png 1286w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics-300x105.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics-1024x357.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-02-schematics-1080x376.png 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1714" class="wp-caption-text"><em>Circuit Schematics</em></p></div>
<p>Now, if you notice in the schematics, we had added pullup resistors on most of the communication lines, if you are not using those pins, you can ignore those resistors. But the resistors on following lines are must to get it working, i.e GPIO0, reset and enable.</p>
<p><strong>Note: The power Supply schematics is not included in the above circuit.</strong></p>
<p>The power supply to the circuit must be 3.3v and you can use any option to power the circuit, like using breadboard power supply(listed in the <a href="#step1">hardware needed section</a>) and 9v battery or you can power the board directly from USB to serial converter, make sure that converter must be 3.3v logic ones and it is capable enough to supply minimum of 500mA. We tried to power the system from Sparkfun basic 3.3v FTDI converter but we had faced issue several times, if you are looking to power from converter only, we will recommend you to use the Sparkfun beefy FTDI board. We had used 5v Power Adapter and a 3.3V voltage regulator setup on breadboard to power the system, We had added the 3.3V voltage regulator Schematics below:</p>
<div id="attachment_1719" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1719" class="wp-image-1719" src="http://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator.jpg" alt="3.3v Voltage Regulator Circuit" width="500" height="160" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator.jpg 1352w, https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator-300x96.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator-1024x328.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Regulator-1080x346.jpg 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1719" class="wp-caption-text"><em>3.3V Voltage Regulator Schematics</em></p></div>
<p>The voltage Regulator Part is really Simple, if you seen the schematics, you can notice that, we used 4 capacitor in the circuit, Cout capacitor can be replaced with 3.3uF Capacitor or some other higher value than 10uF if you have. We supplied Vin from the 5v USB power Adapter (Refer the <a href="#step1">hardware needed section</a>), we used the Micro USB Breakout Board (Refer the <a href="#step1">hardware needed section</a>) to breakout the power lines from USB adapter, you can use your phone chargers as well,if you have these breakout board with you.</p>
<p>Make sure you use the proper pins of the voltage regulator while assembling your circuit. Refer the LD33V pinouts below:</p>
<div id="attachment_1720" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LD33v-Pinouts.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1720" class="wp-image-1720" src="http://learn.edwinrobotics.com/wp-content/uploads/LD33v-Pinouts.jpg" alt="ld33v pins pinouts" width="500" height="183" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Pinouts.jpg 606w, https://learn.edwinrobotics.com/wp-content/uploads/LD33v-Pinouts-300x110.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1720" class="wp-caption-text">LD33V Pinouts</p></div>
<p>&nbsp;</p>
<p>Now, its time to assemble all this circuit into a breadboard, make sure you follow the connections, as shown, otherwise, your circuit might not work.</p>
<p>&nbsp;</p>
<h3></h3>
<h3>Assemble the Circuit on a Breadboard:</h3>
<p>The first thing in the breadboarding is always begin with Power supply, if you are using breadboard Power Supply module (Refer the <a href="#step1">hardware needed section</a>)  then you do not have to worry much, all you need is battery with DC Jack Male Connector or you might have power adapter with DC Male Jack on it, use it and you are ready to go. Refer the below diagram for using a breadboard power supply.</p>
<div id="attachment_1742" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard-power-supply-stick.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1742" class="wp-image-1742" src="http://learn.edwinrobotics.com/wp-content/uploads/Breadboard-power-supply-stick.jpg" alt="Breadboard Power Supply" width="500" height="831" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Breadboard-power-supply-stick.jpg 586w, https://learn.edwinrobotics.com/wp-content/uploads/Breadboard-power-supply-stick-180x300.jpg 180w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1742" class="wp-caption-text"><em>Breadboard Power Supply</em></p></div>
<p>But we are using Voltage regulator to build our own power supply and which we can use to fed power from standard micro USB power adapter/ Mobile Charger. Refer the Power Supply section below for better idea on this.</p>
<div id="attachment_1739" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1739" class="wp-image-1739" src="http://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard.jpg" alt="3.3V Breadbord Power Supply" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard.jpg 978w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Power-Supply-Breadboard-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1739" class="wp-caption-text"><em>3.3V Breadbord Power Supply</em></p></div>
<p><strong>Note: If you are using some other voltage regulator than what we mentioned, then make sure that you cross check the pinouts and connect accordingly. Refer the <a href="#step1">hardware needed section</a> for the USB Breakout Board which you can use.</strong></p>
<p>Once the power supply is done, now we will assemble the circuit for ESP-WROOM-02 Board as shown in the schematics above.</p>
<div id="attachment_1752" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1752" class="wp-image-1752" src="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD.jpg" alt="ESP8266 Wroom arduino" width="500" height="330" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD.jpg 1300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD-300x198.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD-1024x677.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD-1080x714.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD-207x136.jpg 207w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD-430x283.jpg 430w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1752" class="wp-caption-text"><em>ESP-WROOM-02 Breadboard Arrangement</em></p></div>
<p>Now you are all done with connections, now its time to upload the code, now for this you need a USB to Serial Converter to establish a Serial communication between the WROOM board and the computer. We used the sparkfun basic ftdi board to made it work, you can use any 3.3V logic converter to do the serial communication, just make sure to make the proper connection with this WROOM board. For this we had added a simple graphical representation, where you need to make the connections, refer the image below:</p>
<div id="attachment_1759" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1759" class="wp-image-1759" src="http://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI.png" alt="ESP8266 WROOM Serial Communication" width="500" height="330" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI.png 1300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI-300x198.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI-1024x677.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI-1080x714.png 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI-207x136.png 207w, https://learn.edwinrobotics.com/wp-content/uploads/ESP-WROOM-BREADBOARD_w-FTDI-430x283.png 430w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1759" class="wp-caption-text"><em>ESP-WROOM-02 Serial Communication</em></p></div>
<p>As you can see that it is clearly labeled which connection will go where into this breadboard, all you need to do is connect jumper wires to your Serial Converter and connect it exactly at the same position, i.e RX,TX and GND , these three lines are required. There is no need to cross connect the RX TX line, since it is already been take care of while labeling, just connect straight away the converter TX pin to WROOM pin 11 and Converter RX pin to WROOM pin 12 and common ground is must between the circuits. Lets begin with programming the WROOM board.</p>
<p>&nbsp;</p>
<h3>Uploading first Program</h3>
<p>&nbsp;</p>
<h5></h5>
<h5><strong>Step 1: Put the WROOM Board in Program Download Mode:</strong></h5>
<p>Since you are ready with hardware, its time to put the WROOM board into UART Download mode,to do so, all you need to do is:</p>
<blockquote>
<ol>
<li>Press both the RESET button and PROGRAM Button together.</li>
<li>Leave the RESET button alone and keep Pressing the PROGRAM button for 1 more second.</li>
<li>Leave the PROGRAM Button, now you are in UART Download mode.</li>
</ol>
</blockquote>
<p>So every time, when you need to upload the code, you have to do this before uploading, this is because the &#8220;auto Program&#8221; is not implemented in the circuit we built. To do so you need to add some transistors and you need to make some more connections from the Serial Converter board, this feature is not covered in this tutorial. Refer the Reset and Program Switch in the above image.</p>
<h5><strong>Step 2: Set proper serial port and board in the Arduino</strong></h5>
<p>Once the board is in download mode. You need to Open the Arduino and install the ESP8266 Core for the Arduino, if you have this in Arduino, you can ignore this. If you don&#8217;t have any ESP8266 board present in you Arduino. You need to do the following :</p>
<blockquote><p>http://arduino.esp8266.com/stable/package_esp8266com_index.json</p></blockquote>
<p>Add the above mentioned line to Arduino: File -&gt; Preferences -&gt; Additional Board Managers URL</p>
<p>If there is an entry already, add the line by inserting a comma. If you need more instruction visit this <a href="https://github.com/esp8266/Arduino" target="_blank">github page.</a></p>
<p>Restart the Arduino after above step and open the boards manager from tools -&gt; boards option and install the ESP8266 Core to the boards, after installation ,restart the Arduino again and you will see a set of ESP8266 boards as follows:</p>
<div id="attachment_1756" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Arduino-Boards.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1756" class="wp-image-1756" src="http://learn.edwinrobotics.com/wp-content/uploads/Arduino-Boards.png" alt="ESP8266 Boards Arduino" width="500" height="692" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Arduino-Boards.png 650w, https://learn.edwinrobotics.com/wp-content/uploads/Arduino-Boards-217x300.png 217w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1756" class="wp-caption-text"><em>ESP8266 Boards</em></p></div>
<p>Now if you see we had selected the board option as <strong>ThaiEasyElec&#8217;s ESPino ,</strong> we tried out other boards as well and we did not had any issue with other boards as well. The common setting for most of the board is to set the frequency to 80Mhz, you can overclock the board if needed. Flash Size if available set to 2M, else leave it to defualt option. The WROOM board comes with 2MB SPI Flash with four supported SPI modes: Standard SPI, DIO (Dual I/O), DOUT (Dual Output), QIO (Quad I/O) and QOUT (Quad Output).</p>
<p>Refer the latest <a href="http://www.espressif.com/sites/default/files/documentation/0c-esp-wroom-02_datasheet_en.pdf" target="_blank">WROOM Board Datasheet here</a></p>
<p>Once the Clock and Flash is set, select the proper serial port and you are ready to upload the code.</p>
<h5><strong>Step 3: Upload the first program</strong></h5>
<p>Since you are done with everything, lets begin uploading the first code. Refer the image below:</p>
<div id="attachment_1757" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Example-Program.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1757" class="wp-image-1757" src="http://learn.edwinrobotics.com/wp-content/uploads/Example-Program.png" alt="ESP8266 Wroom Led blink" width="500" height="750" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Example-Program.png 600w, https://learn.edwinrobotics.com/wp-content/uploads/Example-Program-200x300.png 200w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1757" class="wp-caption-text"><em>Example Program</em></p></div>
<p>&nbsp;</p>
<p>Upload the following code from File -&gt; Examples -&gt; ESP8266 -&gt; Blink</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp">/*
 ESP8266 Blink by Simon Peter
 Blink the blue LED on the ESP-01 module
 This example code is in the public domain
 
 The blue LED on the ESP-01 module is connected to GPIO1 
 (which is also the TXD pin; so we cannot use Serial.print() at the same time)
 
 Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                    // but actually the LED is on; this is because 
                                    // it is acive low on the ESP-01)
  delay(1000);                      // Wait for a second
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}</pre>
<p><strong>Note: Make Sure the converter is connected and board is in program Download Mode.</strong></p>
<p>&nbsp;</p>
<p>Once uploaded you can see that the LED connected in the GPIO Pin 16 will start blinking. The LED_BUILTIN is defined different to other boards but for <strong>ThaiEasyElec&#8217;s ESPino </strong>board, the LED_BUILTIN is set to GPIO 16, if you still feel doubtful we will recommend you to initialize pin numbers manually with pinMode(Pin_number, INPUT/OUTPUT);</p>
<p><strong>Note: If you are not able to get any blinking, try the serial window debugging and if you are getting any WDT(Watchdog Timer) related issues, try changing the power supply, since the WROOM board needs a stable power supply.</strong></p>
<p>Hope you enjoyed this getting started tutorial, now its your turn to build some cool IoT Projects with this cheap and tiny little board. Do let us know, what you build with this little beast. We are happy to help if you found yourself in some sort of trouble.</p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/getting-started-with-esp-wroom-02/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>MCP23S17 &#8211; Hook Up Guide</title>
		<link>https://learn.edwinrobotics.com/mcp23s17-hook-up-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mcp23s17-hook-up-guide</link>
					<comments>https://learn.edwinrobotics.com/mcp23s17-hook-up-guide/#comments</comments>
		
		<dc:creator><![CDATA[emil]]></dc:creator>
		<pubDate>Sun, 26 Mar 2017 05:51:10 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Breadkout board]]></category>
		<category><![CDATA[MCP23S17]]></category>
		<category><![CDATA[Port Expander]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1606</guid>

					<description><![CDATA[<img width="1500" height="1000" src="https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image.jpg 1500w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-140x94.jpg 140w" sizes="auto, (max-width: 1500px) 100vw, 1500px" />Introduction The MCP23S17 is a SPI Based Port Expander which can add 16 more digital I/O pins to your Arduino or Raspberry Pi. Thanks to the wide operating voltage of 1.8 &#8211; 5.5V,  you can add 5V I/O pins to the Raspberry Pi or 3.3V based Arduino thereby avoiding a level shifter and simplifying connections. [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="1500" height="1000" src="https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image.jpg 1500w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Feature-Image-140x94.jpg 140w" sizes="auto, (max-width: 1500px) 100vw, 1500px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<h2>Introduction</h2>
<p>The MCP23S17 is a SPI Based Port Expander which can add 16 more digital I/O pins to your Arduino or Raspberry Pi. Thanks to the wide operating voltage of 1.8 &#8211; 5.5V,  you can add 5V I/O pins to the Raspberry Pi or 3.3V based Arduino thereby avoiding a level shifter and simplifying connections.</p>
<h2>Hardware Required:</h2>

<table id="tablepress-18" class="tablepress tablepress-id-18">
<tbody>
<tr class="row-1">
	<td class="column-1"><div id="attachment_1607" style="width: 160px" class="wp-caption alignleft"><a href="https://shop.edwinrobotics.com/breakout-boards/603-edwin-robotics-16-inputoutput-port-expander-breakout-mcp23s17.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1607" class="wp-image-1607 size-thumbnail" src="http://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-150x150.jpg" alt="MCP23S17 Port Expander" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander.jpg 940w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1607" class="wp-caption-text">MCP23S17 Port  Expander</p></div></td><td class="column-2"><div id="attachment_1609" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/prototyping/40-breadboard.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1609" src="http://learn.edwinrobotics.com/wp-content/uploads/breadboard.jpg" alt="Breadboard" width="150" height="50" class="size-full wp-image-1609" /></a><p id="caption-attachment-1609" class="wp-caption-text"></p><b><em> Breadboard</em></b></p></div></td><td class="column-3"><div id="attachment_1620" style="width: 160px" class="wp-caption alignleft"><a href="https://shop.edwinrobotics.com/34-wires" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1620" class="wp-image-1620 size-thumbnail" src="http://learn.edwinrobotics.com/wp-content/uploads/826-04-150x150.jpg" alt="Male - Female Jumper Wires" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/826-04-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/826-04-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1620" class="wp-caption-text">Jumper Wires</p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-18 from cache -->
<h2>Board Overview<a href="http://learn.edwinrobotics.com/wp-content/uploads/Port-Expander.jpg" target="_blank"><img loading="lazy" decoding="async" class="wp-image-1607 aligncenter" src="http://learn.edwinrobotics.com/wp-content/uploads/Port-Expander.jpg" alt="MCP23S17 Port Expander" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander.jpg 940w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Port-Expander-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></h2>
<p>The board consists of 2 Port Banks (A and B), a 3-way switch, power and SPI headers</p>
<p><strong>3-Way switch </strong>is used to set the address of the Port Expander, the switch positioned towards ON sets the address as &#8216;0&#8217;. The image above sets the address as &#8216;7&#8217;</p>
<p><strong>INT B </strong>Interrupt output for PortB</p>
<p><strong>B.0 &#8211; B.7</strong> Bidirectional I/O</p>
<p><strong>INT A </strong>Interrupt output for PortA</p>
<p><strong>A.0 &#8211; A.7</strong> Bidirectional I/O</p>
<p><strong>VCC</strong> Power supply pin for the MCP23S17, connect to a voltage source between 1.8V -5V</p>
<p><strong>GND </strong>connect to ground of power supply</p>
<p><strong>SO, SI, SCK &amp; CS </strong>SPI Pins</p>
<p><strong>RESET </strong>connect to ground to reset the port expander</p>
<p><span style="color: #ff0000;"><strong style="color: #ff0000;">Note: </strong>The silkscreen on Port A is reversed, meaning <strong style="color: #ff0000;">INT A</strong> actually is <strong style="color: #ff0000;">A.7</strong> and <strong style="color: #ff0000;">A.7</strong> actually is <strong style="color: #ff0000;">INT A</strong></span></p>
<p>&nbsp;</p>
<h2>Enabling SPI on the Raspberry Pi</h2>
<p>By default the SPI peripheral is not enabled, we cannot continue unless this is done first. Have a look at the tutorial by SparkFun on <strong><a href="https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial#spi-on-pi" target="_blank">how to do this.</a></strong></p>
<h2></h2>
<p>&nbsp;</p>
<h2>Interfacing the MCP23S17 Port Expander with the Raspberry Pi</h2>
<div id="attachment_1611" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1611" class="wp-image-1611" src="http://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17.jpg" alt="Connection Diagram for the MCP23S17 to the Raspberry Pi 3" width="500" height="356" srcset="https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17.jpg 1389w, https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17-300x213.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17-1024x728.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17-400x284.jpg 400w, https://learn.edwinrobotics.com/wp-content/uploads/RPi-to-MCP23S17-1080x768.jpg 1080w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1611" class="wp-caption-text">Interfacing the MCP23S17 to the Raspberry Pi</p></div>
<p>&nbsp;</p>
<h3>Connections from Raspberry Pi to MCP23S17 Port Expander</h3>

<table id="tablepress-14" class="tablepress tablepress-id-14">
<thead>
<tr class="row-1">
	<th class="column-1">MCP23S17 Pin</th><th class="column-2">Raspberry Pi GPIO Pin</th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1">VCC</td><td class="column-2">5V/3.3V</td>
</tr>
<tr class="row-3">
	<td class="column-1">GND</td><td class="column-2">GND</td>
</tr>
<tr class="row-4">
	<td class="column-1">SO</td><td class="column-2">SPI_MISO / GPIO9 / Pin 21</td>
</tr>
<tr class="row-5">
	<td class="column-1">SI</td><td class="column-2">SPI_MOSI / GPIO10 / Pin 19</td>
</tr>
<tr class="row-6">
	<td class="column-1">SCK</td><td class="column-2">SPI_CLK / GPIO11 /  Pin 23</td>
</tr>
<tr class="row-7">
	<td class="column-1">CS</td><td class="column-2">SPI_CE0_N / GPIO8 / Pin 24</td>
</tr>
</tbody>
</table>
<!-- #tablepress-14 from cache -->
<h3>Installing the Python Library</h3>
<p>In order to get started the python library needs to be installed first. Run the following command in terminal to install the library</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="mootwo">sudo pip install RPiMCP23S17</pre>
<p>&nbsp;</p>
<h3><strong>Sample Code</strong></h3>
<p>The below code will turn ON and OFF all the pins at an interval of 1 second.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="mootwo">from RPiMCP23S17.MCP23S17 import MCP23S17
import time

mcp = MCP23S17(bus=0x00, ce=0x00, deviceID=0x00)
mcp.open()

for x in range(0, 16):
    mcp.setDirection(x, mcp.DIR_OUTPUT)

print "Starting blinky on all pins (CTRL+C to quit)"
while (True):
    for x in range(0, 16):
        mcp.digitalWrite(x, MCP23S17.LEVEL_HIGH)
    time.sleep(1)
    for x in range(0, 16):
        mcp.digitalWrite(x, MCP23S17.LEVEL_LOW)
    time.sleep(1)</pre>
<h2>Further Reading</h2>
<p><a href="https://github.com/petrockblog/RPi-MCP23S17" target="_blank">RPiMCP23S17 Github Repo</a></p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/mcp23s17-hook-up-guide/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to ESP8266</title>
		<link>https://learn.edwinrobotics.com/introduction-to-esp8266/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=introduction-to-esp8266</link>
					<comments>https://learn.edwinrobotics.com/introduction-to-esp8266/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Wed, 22 Mar 2017 12:48:44 +0000</pubDate>
				<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[IOT]]></category>
		<category><![CDATA[Wireless]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1633</guid>

					<description><![CDATA[<img width="3000" height="2000" src="https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover.jpg 3000w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-140x94.jpg 140w" sizes="auto, (max-width: 3000px) 100vw, 3000px" />This quick guide will give you idea about ESP8266 and some boards based on it. The ESP8266 (presently ESP8266EX), it is a chip with which manufacturers are making wirelessly networkable micro-controller modules. More specifically, ESP8266 is a system-on-a-chip (SoC) with capabilities for 2.4 GHz Wi-Fi (802.11 b/g/n), general-purpose input/output, Inter-Integrated Circuit (I²C), analog-to-digital conversion (10-bit [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="3000" height="2000" src="https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover.jpg" class="attachment- size- wp-post-image" alt="" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover.jpg 3000w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/ESP8266-boards-Cover-140x94.jpg 140w" sizes="auto, (max-width: 3000px) 100vw, 3000px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<p>This quick guide will give you idea about ESP8266 and some boards based on it. The <strong><a href="http://espressif.com/en/products/esp8266/" target="_blank">ESP8266</a></strong> (presently ESP8266EX), it is a chip with which manufacturers are making wirelessly networkable micro-controller modules. More specifically, ESP8266 is a system-on-a-chip (SoC) with capabilities for 2.4 GHz Wi-Fi (802.11 b/g/n), general-purpose input/output, Inter-Integrated Circuit (I²C), analog-to-digital conversion (10-bit ADC), Serial Peripheral Interface (SPI), I²S interfaces with DMA (sharing pins with GPIO), UART and pulse-width modulation (PWM). It employs a 32-bit RISC CPU based on the Tensilica Xtensa LX106 running at 80 MHz (or overclocked to 160 MHz). It has a 64 KB boot ROM, 64 KB instruction RAM and 96 KB data RAM. External flash memory can be accessed through SPI.</p>
<p>The ESP8266 is an amazing chip for all your home automation &amp; Internet of Things projects. This chip costs less and has WiFi connectivity and is compatible with the Arduino IDE.Various vendors have consequently created modules containing the ESP8266 chip at their cores. Some of these modules have specific identifiers, like &#8220;ESP-01&#8221; through &#8220;ESP-13&#8221;. ESP8266-based modules have demonstrated themselves as a capable, low-cost, networkable foundation for facilitating end-point IoT developments. Espressif&#8217;s official module is presently the ESP-WROOM-02. The AI-Thinker modules are labeled ESP-01 through ESP-13. NodeMCU boards extend upon the AI-Thinker modules. Olimex, Adafruit, Sparkfun, WeMos, ESPert (ESPresso) all make various modules as well. See this <strong><a href="http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family" target="_blank">ESP8266 article</a></strong> for more information about popular ESP8266 modules. There are many choices available in the market, and it is easy to get lost between all of them. we do have a bunch of them in our store, <strong><a href="https://shop.edwinrobotics.com/41-esp8266" target="_blank">check out our ESP8266 boards collection</a>.</strong></p>
<p>First, We would like to show you the basic ESP8266 module, i.e ESP-01</p>
<h3><a href="https://shop.edwinrobotics.com/esp8266/425-wifi-module-esp8266.html" target="_blank">ESP-01 Module</a></h3>
<div id="attachment_1639" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/2.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1639" class="wp-image-1639" src="http://learn.edwinrobotics.com/wp-content/uploads/2.jpg" alt="ESP-01" width="500" height="375" srcset="https://learn.edwinrobotics.com/wp-content/uploads/2.jpg 700w, https://learn.edwinrobotics.com/wp-content/uploads/2-300x225.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/2-510x382.jpg 510w, https://learn.edwinrobotics.com/wp-content/uploads/2-640x480.jpg 640w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1639" class="wp-caption-text"><em>ESP-01</em></p></div>
<p>This is the first module that came out on the market. It is the cheapest and nearly the smallest module available. It is perfectly usable with the Arduino IDE for example.However, it comes with serious disadvantages. First, you can’t plug it into a breadboard without an adapter or you need to use jumper wires. Then, you don’t have access to all the input/output pins of the ESP8266 chip, which is a problem if you have complex projects that you want to build. However, for simple projects, this is a good module to start with.</p>
<p>Have a look at the pinouts:</p>
<p>&nbsp;</p>
<h2 id="tablepress-15-name" class="tablepress-table-name tablepress-table-name-id-15">ESP-01 Pinouts</h2>

<table id="tablepress-15" class="tablepress tablepress-id-15" aria-labelledby="tablepress-15-name">
<tbody class="row-hover">
<tr class="row-1">
	<td class="column-1"><p align="center">1</p></td><td class="column-2"><p align="center">GND</p></td>
</tr>
<tr class="row-2">
	<td class="column-1"><p align="center">2</p></td><td class="column-2"><p align="center">GPIO1/U0TXD/SPI_CS1</p></td>
</tr>
<tr class="row-3">
	<td class="column-1"><p align="center">3</p></td><td class="column-2"><p align="center">GPIO2/U1TXD</p></td>
</tr>
<tr class="row-4">
	<td class="column-1"><p align="center">4</p></td><td class="column-2"><p align="center">CHIP_EN/CH_PD</p></td>
</tr>
<tr class="row-5">
	<td class="column-1"><p align="center">5</p></td><td class="column-2"><p align="center">GPIO0/SPI_CS2</p></td>
</tr>
<tr class="row-6">
	<td class="column-1"><p align="center">6</p></td><td class="column-2"><p align="center">RST</p></td>
</tr>
<tr class="row-7">
	<td class="column-1"><p align="center">7</p></td><td class="column-2"><p align="center">GPIO3/U0RXD</p></td>
</tr>
<tr class="row-8">
	<td class="column-1"><p align="center">8</p></td><td class="column-2"><p align="center">VCC(3.3V)</p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-15 from cache -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><a href="https://shop.edwinrobotics.com/esp8266/161-esp-wroom-02-wifi-80211-module.html" target="_blank">ESP-WROOM-02 Module</a></h3>
<p>ESP-WROOM-02 is a low-power 32-bit MCU Wi-Fi module, based on the ESP8266 chip. TCP/IP network stacks, 10-bit ADC, and HSPI/UART/PWM/I2C/I2S interfaces are all embedded in this module.It uses a 2 MB SPI flash connected to HSPI, working as the SDIO/SPI slave with the SPI speed of up to 8 Mbps. This module can be easily integrated into space-limited devices, due to its small size of only 18mm x 20mm x 3mm.</p>
<div id="attachment_1637" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/white.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1637" class="wp-image-1637" src="http://learn.edwinrobotics.com/wp-content/uploads/white.jpg" alt="ESP8266 Wroom" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/white.jpg 1400w, https://learn.edwinrobotics.com/wp-content/uploads/white-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/white-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/white-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/white-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/white-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1637" class="wp-caption-text"><em>ESP-WROOM-02</em></p></div>
<p>&nbsp;</p>
<p>This official WROOM board is perfect option if you are planning to build something using ESP8266 Core. This module has most of the things built in, you just needs few external components to get it working. The Board comes in SMD package, thus saving the space on the mother board. Due to its tiny size its perfect for IoT applications. Following pins are accessible on the WROOM board:</p>
<p>&nbsp;</p>
<h2 id="tablepress-16-name" class="tablepress-table-name tablepress-table-name-id-16">ESP-WROOM-02 Pinouts</h2>

<table id="tablepress-16" class="tablepress tablepress-id-16" aria-labelledby="tablepress-16-name">
<thead>
<tr class="row-1">
	<th class="column-1"><p align="center"><b>Pin Number</b></p></th><th class="column-2"><p align="center"><b>Pin Name</b></p></th><th class="column-3"><p align="center"><b>Pin Functions</b></p></th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2">
	<td class="column-1"><p align="center">1</p></td><td class="column-2"><p align="center">3V3</p></td><td class="column-3"><p align="center">3.3V power supply (VDD)</p></td>
</tr>
<tr class="row-3">
	<td class="column-1"><p align="center">2</p></td><td class="column-2"><p align="center">EN</p></td><td class="column-3"><p align="center">Chip enable pin. Active high</p></td>
</tr>
<tr class="row-4">
	<td class="column-1"><p align="center">3</p></td><td class="column-2"><p align="center">IO14</p></td><td class="column-3"><p align="center">GPIO14; HSPI_CLK</p></td>
</tr>
<tr class="row-5">
	<td class="column-1"><p align="center">4</p></td><td class="column-2"><p align="center"> IO12</p></td><td class="column-3"><p align="center">GPIO12; HSPI_MISO</p></td>
</tr>
<tr class="row-6">
	<td class="column-1"><p align="center">5</p></td><td class="column-2"><p align="center">IO13</p></td><td class="column-3"><p align="center">GPIO13; HSPI_MOSI; UART0_CTS</p></td>
</tr>
<tr class="row-7">
	<td class="column-1"><p align="center">6</p></td><td class="column-2"><p align="center">IO15</p></td><td class="column-3"><p align="center">GPIO15; MTDO; HSPICS; UART0_RTS</p></td>
</tr>
<tr class="row-8">
	<td class="column-1"><p align="center">7</p></td><td class="column-2"><p align="center"> IO2</p></td><td class="column-3"><p align="center">GPIO2; UART1_TXD</p></td>
</tr>
<tr class="row-9">
	<td class="column-1"><p align="center">8</p></td><td class="column-2"><p align="center">IO0</p></td><td class="column-3"><p align="center">GPIO0</p></td>
</tr>
<tr class="row-10">
	<td class="column-1"><p align="center">9</p></td><td class="column-2"><p align="center">GND</p></td><td class="column-3"><p align="center">GND</p></td>
</tr>
<tr class="row-11">
	<td class="column-1"><p align="center">10</p></td><td class="column-2"><p align="center"> IO4</p></td><td class="column-3"><p align="center">GPIO4</p></td>
</tr>
<tr class="row-12">
	<td class="column-1"><p align="center">11</p></td><td class="column-2"><p align="center">RXD</p></td><td class="column-3"><p align="center">UART0_RXD; GPIO3</p></td>
</tr>
<tr class="row-13">
	<td class="column-1"><p align="center">12</p></td><td class="column-2"><p align="center">TXD</p></td><td class="column-3"><p align="center">UART0_TXD; GPIO1</p></td>
</tr>
<tr class="row-14">
	<td class="column-1"><p align="center">13</p></td><td class="column-2"><p align="center">GND</p></td><td class="column-3"><p align="center">GND</p></td>
</tr>
<tr class="row-15">
	<td class="column-1"><p align="center">14</p></td><td class="column-2"><p align="center">IO5</p></td><td class="column-3"><p align="center">GPIO5</p></td>
</tr>
<tr class="row-16">
	<td class="column-1"><p align="center">15</p></td><td class="column-2"><p align="center"> RST</p></td><td class="column-3"><p align="center">Reset the module</p></td>
</tr>
<tr class="row-17">
	<td class="column-1"><p align="center">16</p></td><td class="column-2"><p align="center">TOUT</p></td><td class="column-3"><p align="center">It can be used to test the power-supply voltage of VDD3P3 (Pin3 and<br />
Pin4) and the input power voltage of TOUT (Pin 6). However, these two<br />
functions cannot be used simultaneously. </p></td>
</tr>
<tr class="row-18">
	<td class="column-1"><p align="center">17</p></td><td class="column-2"><p align="center"> IO16</p></td><td class="column-3"><p align="center">GPIO16; can be used to wake up the chipset from deep sleep mode.</p></td>
</tr>
<tr class="row-19">
	<td class="column-1"><p align="center">18</p></td><td class="column-2"><p align="center">GND</p></td><td class="column-3"><p align="center">GND</p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-16 from cache -->
<p>But it is very difficult to start using ESP-WROOM-02 PCB without any soldering, thus we are offering a presoldered ESP-WROOM-02 Adapter board in out store.Have a look at the adapter board below:</p>
<p>&nbsp;</p>
<h3><a href="https://shop.edwinrobotics.com/esp8266/649-wifi-module-esp-wroom-02-with-adapter.html" target="_blank">ESP-WROOM-02 with Adapter Baord</a></h3>
<p>&nbsp;</p>
<div id="attachment_1655" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0023.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1655" class="wp-image-1655" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0023.jpg" alt="ESP8266: ESP-WROOM-02 Adapter board" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0023.jpg 900w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0023-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0023-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0023-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1655" class="wp-caption-text"><em>ESP-WROOM-02 Board with Adapter</em></p></div>
<p>&nbsp;</p>
<p>This board is perfect to use with breadboard, you do not need any soldering, it will sit easily on the breadboard. This board will also give you the option to solder the board easily to proto boards, without any complication. The adapter board dimensions will be 25.5mm x 26mm.</p>
<p>We do have different types of ESP8266 boards from different manufacturers which uses ESP8266 as it core. The difference in these boards is that every manufacturer will add their own peripherals and their own standard pinouts, even some boards comes with onboard USB to Serial Converter, so it will be very easy to program those board. Have a look at the <strong><a href="https://shop.edwinrobotics.com/41-esp8266" target="_blank">ESP8266 Boards</a></strong> we having with us.Below we had added the <strong>Summary table for ESP8266 modules</strong>, to get better idea and see the difference between them:</p>
<table class="inline" style="height: 657px;" width="1078">
<thead>
<tr class="row0">
<th class="col0" style="text-align: center;">Board ID</th>
<th class="col1" style="text-align: center;">pins</th>
<th class="col2" style="text-align: center;">pitch</th>
<th class="col3" style="text-align: center;">form factor</th>
<th class="col4" style="text-align: center;">LEDs</th>
<th class="col5" style="text-align: center;">Antenna</th>
<th class="col6" style="text-align: center;">Ant.Socket</th>
<th class="col7" style="text-align: center;">Shielded</th>
<th class="col8" style="text-align: center;">dimensions mm</th>
<th class="col9" style="text-align: center;">Flash Size (KB &amp; Mb)</th>
</tr>
</thead>
<tbody>
<tr class="row1">
<td class="col0" style="text-align: center;">ESP-01</td>
<td class="col1" style="text-align: center;">8</td>
<td class="col2" style="text-align: center;">.1“</td>
<td class="col3" style="text-align: center;">2×4 DIL</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">14.3 x 24.8</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row2">
<td class="col0" style="text-align: center;">ESP-02</td>
<td class="col1" style="text-align: center;">8</td>
<td class="col2" style="text-align: center;">.1”</td>
<td class="col3" style="text-align: center;">2×4 notch</td>
<td class="col4" style="text-align: center;">No?</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">Yes</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">14.2 x 14.2</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row3">
<td class="col0" style="text-align: center;">ESP-03</td>
<td class="col1" style="text-align: center;">14</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×7 notch</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">Ceramic</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">17.3 x 12.1</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row4">
<td class="col0" style="text-align: center;">ESP-04</td>
<td class="col1" style="text-align: center;">14</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×4 notch</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">14.7 x 12.1</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row5">
<td class="col0" style="text-align: center;">ESP-05</td>
<td class="col1" style="text-align: center;">5</td>
<td class="col2" style="text-align: center;">.1“</td>
<td class="col3" style="text-align: center;">1×5 SIL</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">Yes</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">14.2 x 14.2</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row6">
<td class="col0" style="text-align: center;">ESP-06</td>
<td class="col1" style="text-align: center;">12+GND</td>
<td class="col2" style="text-align: center;">misc</td>
<td class="col3" style="text-align: center;">4×3 dice</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">16.3 x 13.1</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row7">
<td class="col0" style="text-align: center;">ESP-07</td>
<td class="col1" style="text-align: center;">16</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 pinhole</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5" style="text-align: center;">Ceramic</td>
<td class="col6" style="text-align: center;">Yes</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">21.2 x 16.0</td>
<td class="col9" style="text-align: center;">1024KB &#8211; 8Mb</td>
</tr>
<tr class="row8">
<td class="col0" style="text-align: center;">ESP-07S</td>
<td class="col1" style="text-align: center;">16</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 pinhole</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">Yes</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">17.0 x 16.0</td>
<td class="col9" style="text-align: center;">1024KB &#8211; 8Mb</td>
</tr>
<tr class="row9">
<td class="col0" style="text-align: center;">ESP-08</td>
<td class="col1" style="text-align: center;">14</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×7 notch</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">17.0 x 16.0</td>
<td class="col9" style="text-align: center;"></td>
</tr>
<tr class="row10">
<td class="col0" style="text-align: center;">ESP-08 New</td>
<td class="col1" style="text-align: center;">16</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 notch</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">18.0 x 16.0</td>
<td class="col9" style="text-align: center;"></td>
</tr>
<tr class="row11">
<td class="col0" style="text-align: center;">ESP-09</td>
<td class="col1" style="text-align: center;">12+GND</td>
<td class="col2" style="text-align: center;">misc</td>
<td class="col3" style="text-align: center;">4×3 dice</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">10.0 x 10.0</td>
<td class="col9"></td>
</tr>
<tr class="row12">
<td class="col0" style="text-align: center;">ESP-10</td>
<td class="col1" style="text-align: center;">5</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">1×5 notch</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">None</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">14.2 x 10.0</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row13">
<td class="col0" style="text-align: center;">ESP-11</td>
<td class="col1" style="text-align: center;">8</td>
<td class="col2" style="text-align: center;">1.27mm</td>
<td class="col3" style="text-align: center;">1×8 pinhole</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">Ceramic</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">No</td>
<td class="col8" style="text-align: center;">17.3 x 12.1</td>
<td class="col9" style="text-align: center;">512KB &#8211; 4Mb</td>
</tr>
<tr class="row14">
<td class="col0" style="text-align: center;">ESP-12</td>
<td class="col1" style="text-align: center;">16</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 notch</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">24.0 x 16.0</td>
<td class="col9" style="text-align: center;">4096KB &#8211; 16Mb</td>
</tr>
<tr class="row15">
<td class="col0" style="text-align: center;">ESP-12-F</td>
<td class="col1" style="text-align: center;">22</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 notch</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">24.0 x 16.0</td>
<td class="col9" style="text-align: center;">4096KB &#8211; 16Mb</td>
</tr>
<tr class="row16">
<td class="col0" style="text-align: center;">ESP-12-E</td>
<td class="col1" style="text-align: center;">22</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 notch</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">24.0 x 16.0</td>
<td class="col9" style="text-align: center;">4096KB &#8211; 16Mb</td>
</tr>
<tr class="row17">
<td class="col0" style="text-align: center;">ESP-12S</td>
<td class="col1" style="text-align: center;">16</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 notch</td>
<td class="col4" style="text-align: center;">Yes</td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">24.0 x 16.0</td>
<td class="col9" style="text-align: center;">4096KB &#8211; 16Mb</td>
</tr>
<tr class="row18">
<td class="col0" style="text-align: center;">ESP-13</td>
<td class="col1" style="text-align: center;">18</td>
<td class="col2" style="text-align: center;">1.5mm</td>
<td class="col3" style="text-align: center;">2×9</td>
<td class="col4" style="text-align: center;"></td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">20.0 x 19.9</td>
<td class="col9" style="text-align: center;">4096KB &#8211; 16Mb</td>
</tr>
<tr class="row19">
<td class="col0" style="text-align: center;">ESP-14</td>
<td class="col1" style="text-align: center;">22</td>
<td class="col2" style="text-align: center;">2mm</td>
<td class="col3" style="text-align: center;">2×8 + 6</td>
<td class="col4" style="text-align: center;">1</td>
<td class="col5 rightalign" style="text-align: center;">Etched-on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8 centeralign" style="text-align: center;">24.3 x 16.2</td>
<td class="col9" style="text-align: center;"></td>
</tr>
<tr class="row20">
<td class="col0" style="text-align: center;">WROOM-02</td>
<td class="col1" style="text-align: center;">18</td>
<td class="col2" style="text-align: center;">1.5mm</td>
<td class="col3" style="text-align: center;">2×9</td>
<td class="col4" style="text-align: center;">No</td>
<td class="col5" style="text-align: center;">Etched on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">20.0 x 18.0</td>
<td class="col9"></td>
</tr>
<tr class="row21">
<td class="col0" style="text-align: center;">WT8266-S1</td>
<td class="col1" style="text-align: center;">18</td>
<td class="col2" style="text-align: center;">1.5mm</td>
<td class="col3" style="text-align: center;">3×6</td>
<td class="col4" style="text-align: center;">1</td>
<td class="col5" style="text-align: center;">Etched on PCB</td>
<td class="col6" style="text-align: center;">No</td>
<td class="col7" style="text-align: center;">Yes</td>
<td class="col8" style="text-align: center;">15.0 x 18.6</td>
<td class="col9" style="text-align: center;"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Hope things are more clear to you now, before we finish with this blog, have a look at variety of <strong><a href="http://learn.edwinrobotics.com/category/esp8266/" target="_blank">projects and tutorials based on the ESP8266 boards</a></strong> we had added in our blog.</p>
<p>&nbsp;</p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/introduction-to-esp8266/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 49/866 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 110/345 queries in 0.225 seconds using APC

Served from: learn.edwinrobotics.com @ 2026-04-10 13:24:26 by W3 Total Cache
-->