<?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>General | Learn with Edwin Robotics</title>
	<atom:link href="https://learn.edwinrobotics.com/category/general/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.2</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>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" fetchpriority="high" 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="(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 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="(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 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="(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>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>HC-06 Bluetooth Module Hookup Guide</title>
		<link>https://learn.edwinrobotics.com/hc-06-bluetooth-module-hookup-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hc-06-bluetooth-module-hookup-guide</link>
					<comments>https://learn.edwinrobotics.com/hc-06-bluetooth-module-hookup-guide/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Mon, 13 Feb 2017 15:31:43 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Wireless]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1523</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1.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_0019-2-1.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Bluetooth is a wireless technology standard for exchanging data over short distances (using short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz) from fixed and mobile devices, and building personal area networks (PANs). Range is approximately 10 Meters (30 feet). The Bluetooth Module Bluetooth HC-06s with Bluetooth V2.0 have proven themselves [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1.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_0019-2-1.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1-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>Bluetooth is a wireless technology standard for exchanging data over short distances (using short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz) from fixed and mobile devices, and building personal area networks (PANs). Range is approximately 10 Meters (30 feet). The Bluetooth Module Bluetooth HC-06s with Bluetooth V2.0 have proven themselves to be very reliable and easy to use module, these module uses serial interface for communication , thus very easy to interface with any microcontroller/Computer over RX/TX Lines.</p>
<p>You can refer the list of items we are covering in this hookup guide here:</p>
<ol>
<li><a href="#step1">Hardware Needed</a></li>
<li><a href="#step2">Board Description</a></li>
<li><a href="#step3">Pin Description</a></li>
<li><a href="#step4">Jumper Description</a></li>
<li><a href="#step5">AT Commands and Arduino Interface Code</a></li>
<li><a href="#step6">Datasheets</a></li>
</ol>
<h3 id="step1">Hardware Needed:</h3>

<table id="tablepress-13" class="tablepress tablepress-id-13">
<tbody>
<tr class="row-1">
	<td class="column-1"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/wireless/602-edwin-robotics-bluetooth-module-hc-06.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2.jpg" alt="" width="150" height="50" class="alignnone size-full wp-image-1555" /></a><p class="wp-caption-text"></p> <em>Edwin Robotics Bluetooth Module - HC06</em></p></div></td><td class="column-2"><div style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/wires/19-male-female-jumper-wires.html"target="_blank"><img loading="lazy" decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/179-2.jpg" alt="" width="150" height="50" class="alignnone size-full wp-image-1571" /></a><p class="wp-caption-text"></p><em>Male-Female Jumper Wires</em></p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-13 from cache -->
<p>&nbsp;</p>
<h3 id="step2">Board Description:</h3>
<p>The HC-06 modules are based on the Cambridge Silicon Radio BC417 2.4 GHz Bluetooth Radio chip. This is a complex chip which uses an external 8 Mbit flash memory. These low-cost Bluetooth Sub-modules work well with Arduino and other Microcomputers. HC-06 is a Slave only device.The module has two modes of operation, Command Mode where we can send AT commands to it and Data Mode where it transmits and receives data to and from another Bluetooth module. By default the device was in Command mode and needs to pair with some device to get it into data mode.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1555" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1555" class="wp-image-1555" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2.jpg" alt="Its a brand new HC-06 Bluetooth module with latest updated firmware (Firmware: hc01.comV2.0 (It does not use Linvor firmware)) and HC06 hardware" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0019-2-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1555" class="wp-caption-text"><em>Edwin Robotics Bluetooth Module &#8211; HC06</em></p></div>
<p>&nbsp;</p>

<table id="tablepress-10" class="tablepress tablepress-id-10">
<tbody class="row-striping row-hover">
<tr class="row-1">
	<td class="column-1"><b align="center">Bluetooth version</b></td><td class="column-2">v2.0 + EDR</td>
</tr>
<tr class="row-2">
	<td class="column-1"><b align="center">Firmware</b></td><td class="column-2">hc01.comV2.0 (It does not use Linvor firmware)</td>
</tr>
<tr class="row-3">
	<td class="column-1"><b align="center">Default baud rate</b></td><td class="column-2">9600</td>
</tr>
<tr class="row-4">
	<td class="column-1"><b align="center">Default PIN</b></td><td class="column-2">1234</td>
</tr>
<tr class="row-5">
	<td class="column-1"><b align="center">Default NAME</b></td><td class="column-2">HC-06</td>
</tr>
<tr class="row-6">
	<td class="column-1"><b align="center">Status LED</b></td><td class="column-2">Blue (Top Left)</td>
</tr>
<tr class="row-7">
	<td class="column-1"><b align="center">Power LED</b></td><td class="column-2">Red (Bottom Right)</td>
</tr>
</tbody>
</table>
<!-- #tablepress-10 from cache -->
<p>There are two LED&#8217;s on board for indication, refer the diagram below, for better idea:</p>
<div id="attachment_1557" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1557" class="wp-image-1557" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2.jpg" alt="Firmware: hc01.comV2.0 (It does not use Linvor firmware)" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0030-2-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1557" class="wp-caption-text"><em>LED Indication</em></p></div>
<p>&nbsp;</p>
<h3 id="step3">Pins/Headers:</h3>
<p>Board needs 4-lines to communicate most of the times, i.e <strong>Vcc</strong>, <strong>Gnd</strong>, <strong>RX</strong> and <strong>TX</strong> pin. There are two additional pin onboard, one is Key pin and the other is Reset pin, this Reset pin can be used to send reset signal from microcontroller to reset the bluetooth module. Refer the table and image below in detail:</p>
<p>&nbsp;</p>
<div id="attachment_1559" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1559" class="wp-image-1559" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1.jpg" alt="Bluetooth Module v2.0 HC06" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1.jpg 2000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-1-1-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1559" class="wp-caption-text"><em>Silkscreen</em></p></div>

<table id="tablepress-11" class="tablepress tablepress-id-11">
<thead>
<tr class="row-1">
	<th class="column-1"><b align="center">Pin</b></th><th class="column-2"><b align="center">Description</b></th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1"><b align="center">RST</b></td><td class="column-2">Reset input (Logic Low resets the Module)</td>
</tr>
<tr class="row-3">
	<td class="column-1"><b align="center">VCC</b></td><td class="column-2">Supply input 3.3V to 5.5V Input</td>
</tr>
<tr class="row-4">
	<td class="column-1"><b align="center">GND</b></td><td class="column-2">Ground</td>
</tr>
<tr class="row-5">
	<td class="column-1"><b align="center">TXD</b></td><td class="column-2">Transmit Data (Connect RX line from other peripheral here)</td>
</tr>
<tr class="row-6">
	<td class="column-1"><b align="center">RXD</b></td><td class="column-2">Receive Data (Connect TX line from other peripheral here)</td>
</tr>
<tr class="row-7">
	<td class="column-1"><b align="center">KEY</b></td><td class="column-2">This function is intended to use with Master module to clear the memory and search for new slave device</td>
</tr>
</tbody>
</table>
<!-- #tablepress-11 from cache -->
<p>&nbsp;</p>
<h3 id="step4">Jumper&#8217;s:</h3>
<p>There are Jumpers provided on the bottom side of the module, refer the below image and table for better idea:</p>
<p>&nbsp;</p>
<div id="attachment_1556" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1556" class="wp-image-1556" src="http://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-.jpg" alt="HC-06 Bluetooth Module Firmware: hc01.comV2.0 (It does not use Linvor firmware)" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025-.jpg 1950w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025--150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025--300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025--1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0025--184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1556" class="wp-caption-text"><em>Jumper Settings</em></p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>

<table id="tablepress-12" class="tablepress tablepress-id-12">
<thead>
<tr class="row-1">
	<th class="column-1"><b align="center">Jumper</b></th><th class="column-2"><b align="center">Description</b></th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1"><b align="center">VCC/REG</b></td><td class="column-2">Its a two way jumper, to Use/ bypass regulator.<br />
<br />
<b>By default:</b> VCC connected to Regulator.<br />
<br />
Cut the trace and solder the center pad with VCC to supply 3.3V Supply to daughter board directly.</td>
</tr>
<tr class="row-3">
	<td class="column-1"><b align="center">PLED</b></td><td class="column-2">Cut the trace to disable Power LED</td>
</tr>
<tr class="row-4">
	<td class="column-1"><b align="center">SLED2</b></td><td class="column-2">Cut the trace to disbale status LED on Mother Board (Blue LED next to Power LED, not provided on some boards) </td>
</tr>
<tr class="row-5">
	<td class="column-1"><b align="center">SLED1</b></td><td class="column-2">Dedicated for future purpose/Other boards.</td>
</tr>
</tbody>
</table>
<!-- #tablepress-12 from cache -->
<p>&nbsp;</p>
<h3 id="step5">AT Commands:</h3>
<p>The bluetooth module supports some limited commands set, which you can refer from the datasheet, we had addded the code below, to get the AT command interface working on any Arduino board. All the Supported commands are well documented in the code below, make sure of following things:</p>
<ul>
<li>nl/cr line endings not required in the serial window.</li>
<li>AT commands are required to be in upper case</li>
<li>Default Serial Communication baud rate: 9600</li>
</ul>
<p>&nbsp;</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">/**********************************************************************************
AT_Command_Interface.ino

Description:
  Sample AT Command Interface code for Arduino and HC06 Bluetooth Module

Tutorial Link:  
  learn.edwinrobotics.com/hc-06-bluetooth-module-hookup-guide

Created by:
  Abhishek Nair @ Edwin Robotics
  Feb 9th 2017

Distributed as-is; no warranty is given.   
**********************************************************************************/
#include &lt;SoftwareSerial.h&gt;

SoftwareSerial mySerial(2, 3); // RX, TX

void setup() {

Serial.begin(9600);
Serial.println("------------------------------------------------------------------------------------------");
Serial.println("             Edwin Robotics HC06 Bluetooth Module Serial Interface ");
Serial.println("------------------------------------------------------------------------------------------");
Serial.println("                 Connect Bluetooth Module RX -&gt; Arduino pin 3 ");
Serial.println("                 Connect Bluetooth Module TX -&gt; Arduino pin 2 ");
Serial.println("------------------------------------------------------------------------------------------");
Serial.println("");
Serial.println("Entered AT command Mode, please Enter AT Commands from the list of supported commands:");
Serial.println("******************************************************************************************");
Serial.println("AT              &gt; connection test command. Returns OK");
Serial.println("");
Serial.println("AT+BAUDx        &gt; sets the baud rate to respective board rate for entered 'x' value(refer values below) and returns OKBaud_Rate");
Serial.println("                   1: 1200  2: 2400  3: 4800  4: 9600  5: 19200  6: 38400  7: 57600  8: 115200  9: 230400  A: 460800  B: 921600  C: 1382400");
Serial.println("");
Serial.println("AT+NAME(myName) &gt; sets the name to (myName), returns OKsetname");
Serial.println("");
Serial.println("AT+PIN9999      &gt; changes the PIN to 9999, returns OKsetPIN");
Serial.println("");
Serial.println("AT+VERSION      &gt; returns the firmware version : hc01.comV2.0");
Serial.println("");
Serial.println("AT+LED0         &gt; turn off the blue LED, returns LED OFF");
Serial.println("");
Serial.println("AT+LED1         &gt; turn on the blue LED, returns LED ON");
Serial.println("");
Serial.println("AT+PN           &gt; sets no parity");
Serial.println("");
Serial.println("AT+PE           &gt; sets even parity");
Serial.println("");
Serial.println("AT+PO           &gt; sets odd parity");
Serial.println("******************************************************************************************");
Serial.println("");

mySerial.begin(9600);
delay(300);
Serial.println();
Serial.println("Note: if 'Version: hc01.comV2.0' is not printed below, make sure that your connections are correct or your module is not connected to any other device,try restarting the device/Serial Window");
Serial.println("----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------");
Serial.print("Version: ");
mySerial.write("AT+VERSION");
}

void loop()
{
  if (mySerial.available())
    Serial.write(mySerial.read());

  if (Serial.available())
    mySerial.write(Serial.read());
}</pre>
<p>&nbsp;</p>
<h3 id="step6">Datasheets:</h3>
<p><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperek5Ca2JobU4xZjA" target="_blank">Download English Datasheet</a> : In this datasheet, the photo would appear to be of an older version but the commands, pins and functionalities are same.<br />
<a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperSmRxc3ZNSGdSdjQ" target="_blank">Download Chinese Datasheet</a></p>
<p>&nbsp;</p>
<p>Other command which we did not added in the code but can be found in the data sheet is the ROLE command:<br />
AT+ROLE=S puts the module in to SLAVE mode, returns OK+ROLE:S<br />
AT+ROLE=M puts the module in to MASTER mode, returns OK+ROLE:M<br />
We did not seen any affect or usage of this command, we will update this section , if there is some information on this part from the manufacturer.</p>
<p>&nbsp;</p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/hc-06-bluetooth-module-hookup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting Started with Raspberry Pi and Electronics</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-raspberry-pi-and-electronics</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Mon, 06 Feb 2017 17:36:55 +0000</pubDate>
				<category><![CDATA[Breadboard]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1341</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png" 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/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-140x94.png 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />New to Electronics or programming ? No need to worry now, the Raspberry pi is only for you. If you are beginner, we will recommend you to go through our Raspberry Pi Blogs. We will recommend you to go through these set of videos before getting started. Lets have a look at set of contents we [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png" 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/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-feature-image-black-140x94.png 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>New to Electronics or programming ? No need to worry now, the Raspberry pi is only for you. If you are beginner, we will recommend you to go through our <a href="http://learn.edwinrobotics.com/category/raspberry-pi/" target="_blank" rel="noopener">Raspberry Pi Blogs</a>. We will recommend you to go through these set of <a href="https://www.raspberrypi.org/help/videos/" target="_blank" rel="noopener">videos</a> before getting started. Lets have a look at set of contents we are covering in this tutorial.</p>
<p>&nbsp;</p>
<ul>
<li>
<h6><a href="#step1">Hardware Needed</a></h6>
</li>
<li>
<h6><a href="#step12">Using RasPiO Portsplus with Raspberry Pi</a></h6>
</li>
<li>
<h6><a href="#step2">Getting Started With Breadboard and LED</a></h6>
</li>
<li>
<h6><a href="#step3">Getting Started with Switch, transistor and buzzer on breadboard</a></h6>
</li>
<li>
<h6><a href="#step4">Pi Wedge Hookup Guide</a></h6>
</li>
<li>
<h6><a href="#step5">Getting Started with Physical Computing on Raspberry Pi</a></h6>
</li>
<li>
<h6><a href="#step6">Getting Started with Scratch</a></h6>
</li>
<li>
<h6><a href="#step7">Test blinking LED using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step8">Testing Switch using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step9">Testing Capacitive Touch using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step10">Testing Buzzer using Python/Scratch</a></h6>
</li>
<li>
<h6><a href="#step11">References</a></h6>
</li>
</ul>
<p>&nbsp;</p>
<h3 id="step1">Hardware Needed</h3>
<p>&nbsp;</p>
<p><a href="https://shop.edwinrobotics.com/kits/547-raspberry-pi-electronics-starter-kit.html" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignleft wp-image-1392" src="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new.png" alt="Raspberry Pi Electronics Starter Kit tutorial and blog" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new.png 2048w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-1024x1024.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-3-ELectronics-Starter-Kit-square-ratio-new-184x184.png 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>        <em>Raspberry Pi Electronics Starter Kit</em></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3 id="step12">RasPiO Portsplus</h3>
<p>&nbsp;</p>
<p>The RasPiO® Portsplus board is designed for the new Raspberry Pi 3/2/A+/B+. It labels the ports clearly for you so that you don’t need to count pins. This will help you avoid wiring errors and damage.You can slip it over the GPIO header if you want, or hold it next to the header.RasPiO® Portsplus has GPIO port numbers on one side and Pin numbers on the other side, so you can use whichever numbering system you prefer. At just 1mm thick, it leaves plenty of space for attaching your wires. It’s thick enough not to feel flimsy, but thin enough not to be clunky. Refer the image below, to see how to use RasPio Portsplus.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1465" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1465" class="wp-image-1465" src="http://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg" alt="How to connect jumpers to Raspberry Pi with RasPiO Portsplus" width="500" height="448" srcset="https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1.jpg 1661w, https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1-300x269.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/RasPiO_w_jumper-1-1024x917.jpg 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1465" class="wp-caption-text"><em>Raspberry Pi with RasPiO Portsplus and jumpers</em></p></div>
<h4></h4>
<h4></h4>
<h3>Breadboard and LED</h3>
<p>&nbsp;</p>
<p>In this step we will start with the breadboard, breadboards are preferred platform to start building circuits because it don’t need any soldering, thus giving you the flexibility to try, test and modify your circuit at any point of time. They allow you to make quick circuits, test out ideas and allow prototyping before making a permanent Printed Circuit Board. They are inexpensive and reusable and they are easily available in any electronics store. Once you understood the basics regarding breadboading , then will go ahead with the basic essential component of all the electronics circuit i.e LED.<strong>We have already added all the details regarding this step in the following blog, refer this blog on <a href="http://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/" target="_blank" rel="noopener">&#8221; How to Breadboard LED &#8220;</a></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3 id="step3">Getting Started with Switch, transistor and buzzer on breadboard</h3>
<p>&nbsp;</p>
<p>One of the most elementary and easy-to-overlook circuit component is the switch. Switches don’t require any fancy equations to evaluate. All they do is select between an open circuit and a short circuit. Simple. But how could we live without buttons and switches!? What good is a blinky circuit with no user input? Or a deadly robot with no kill switch? or any remote or mobile with no buttons? What would our world be without with big red buttons.A switch is a component which controls the open-ness or closed-ness of an electric circuit. They allow control over current flow in a circuit (without having to actually get in there and manually cut or splice the wires). Switches are critical components in any circuit which requires user interaction or control.A switch can only exist in one of two states: open or closed. In the <strong>off</strong> state, a switch looks like an open gap in the circuit. This, in effect, looks like an <strong>open circuit</strong>, preventing current from flowing.In the <strong>on</strong> state, a switch acts just like a piece of perfectly-conducting wire. A short. This <strong>closes the circuit</strong>, turning the system “on” and allowing current to flow unimpeded through the rest of the system.</p>
<p>&nbsp;</p>
<div id="attachment_1452" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Function.gif" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1452" class="wp-image-1452" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Function.gif" alt="LED + Switch Basic circuit with battery" width="500" height="237" /></a><p id="caption-attachment-1452" class="wp-caption-text"><em>A circuit with an LED, resistor, and a switch. When the switch is closed, current flows and the LED can illuminate. Otherwise no current flows, and the LED receives no power.</em></p></div>
<p>&nbsp;</p>
<p>There are tons and tons of switches out there: toggle, rotary, DIP, push-button, rocker, membrane, … the list just goes on and on. Each of those switch types has a set of unique characteristics to differentiate it from others. Characteristics like what action flips the switch, or how many circuits the switch can control. You can check the <a href="https://shop.edwinrobotics.com/21-switches" target="_blank" rel="noopener">different types of switches</a> we having with us.Transistors can be regarded as a type of switch, as can many electronic components. They are used in a variety of circuits and you will find that it is rare that a circuit built/available in school Technology Department/ Laboratory does not contain at least one transistor. Even the things you used in your daily life, i.e mobile, tv, computers, etc all comes with tons of transistors built into it, transistors are central to electronics and there are two main types; NPN and PNP. Most circuits tend to use NPN. There are hundreds of transistors which work at different voltages but all of them fall into these two categories.<strong>We had added detailed tutorial on <a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">&#8221; Getting started with switch, transistors and buzzer on breadboard &#8220;</a> ,</strong> so that you will clearly understand the basics of switches, transistors and buzzer.</p>
<p>&nbsp;</p>
<h3 id="step4">Pi Wedge</h3>
<p>&nbsp;</p>
<p>Its time to expand your GPIO pins from the Raspberry pi and made it accessible for Breadboarding. The preassembled 40-pin Pi Wedge will let your Pi pins broken out to a breadboard so that they can easily be used. The Sparkfun has already added a detailed <a href="https://learn.sparkfun.com/tutorials/preassembled-40-pin-pi-wedge-hookup-guide" target="_blank" rel="noopener">hookup guide</a> on their website, we will recommend you to <a href="https://learn.sparkfun.com/tutorials/preassembled-40-pin-pi-wedge-hookup-guide" target="_blank" rel="noopener">refer this tutorial</a> to understand pi-Wedge better.</p>
<p>&nbsp;</p>
<h3 id="step5">Physical Computing on Raspberry Pi</h3>
<p>&nbsp;</p>
<p>The Raspberry Pi learning resource is provided for free by the <a href="https://www.raspberrypi.org/" target="_blank" rel="noopener">Raspberry Pi Foundation</a> under a <a href="https://www.raspberrypi.org/creative-commons/" target="_blank" rel="noopener">Creative Commons</a> licence, which we are able to access from their website, you can find the <a href="https://www.raspberrypi.org/learning/physical-computing-guide/" target="_blank" rel="noopener">resources here</a>, We have provided all the items in the Electronics Starter Kit to get started with mentioned tutorial, all you need to do is follow the steps mentioned in the getting started tutorial to understand the basic principles  of interfacing individual items. <strong>please go through this guide on <a href="https://www.raspberrypi.org/learning/physical-computing-guide/worksheet/" target="_blank" rel="noopener">&#8220;Getting Started with Physical Computing on Raspberry Pi &#8220;</a></strong></p>
<p>&nbsp;</p>
<h3 id="step6">Scratch</h3>
<p>&nbsp;</p>
<p>Scratch is a visual programming tool which allows the user to create animations and games with a drag-and-drop interface. It allows you to create your own computer games, interactive stories, and animations using some programming techniques without actually having to write code. This resource will help get you started with the basics of Scratch. The Raspberry Pi learning resource is provided for free by the <a href="https://www.raspberrypi.org/" target="_blank" rel="noopener">Raspberry Pi Foundation</a> under a <a href="https://www.raspberrypi.org/creative-commons/" target="_blank" rel="noopener">Creative Commons</a> licence, which we are able to access from their website, you can find the <a href="https://www.raspberrypi.org/learning/getting-started-with-scratch/worksheet/" target="_blank" rel="noopener">resources here</a>, <strong>please go through <a href="https://www.raspberrypi.org/learning/getting-started-with-scratch/worksheet/" target="_blank" rel="noopener">&#8220;Getting Started with Scratch on Raspberry Pi Tutorial&#8221;</a></strong> to understand the various features and application of the Scratch tool.</p>
<p>&nbsp;</p>
<h3 id="step7">Blinking LED</h3>
<p>&nbsp;</p>
<p>Since you have already seen some basic programming in the getting started section, we are adding one more advancement in the LED circuit and code here, we will recommend you to build the following circuit in your breadboard:</p>
<div id="attachment_1472" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1472" class="wp-image-1472" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg" alt="Getting started with LED and Raspberry GPIO pins" width="500" height="679" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit.jpg 666w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Circuit-221x300.jpg 221w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1472" class="wp-caption-text"><em>Blinking LED Circuit</em></p></div>
<p>&nbsp;</p>
<p>To begin with, we will recommend you to open the IDLE from the following path: <strong>Menu -&gt; Programming -&gt; IDLE 3/Python 3 </strong>and you will find the Scratch in the Same path as well:  <strong>Menu -&gt; Programming -&gt; Scratch.</strong>We had added the python code and Scratch Project in the following link, you can save/download the file in your system, click on the respective icon to open/download the file.</p>

<table id="tablepress-7" class="tablepress tablepress-id-7">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperTTdkUXItODBGWm8" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperQUxyNkEtYU1ydXM" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-7 from cache -->
<p>You can refer to scratch program in the image below:</p>
<div id="attachment_1602" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1602" class="wp-image-1602" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg" alt="Raspberry pi LED blinking and change cat costume color on scratch" width="500" height="584" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch.jpg 826w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Blink_Scratch-257x300.jpg 257w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1602" class="wp-caption-text"><em>LED Blinking</em></p></div>
<h4></h4>
<h3 id="step8">Switch</h3>
<p>&nbsp;</p>
<p>In this step you have to add switch connection to the LED connections you made in the previous step. Follow the circuit shown below:</p>
<div id="attachment_1788" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1788" class="wp-image-1788" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg" alt="Rising and falling edge detection using Raspberry Pi" width="500" height="675" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit.jpg 667w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch_Circuit-222x300.jpg 222w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1788" class="wp-caption-text"><em>Switch Connection</em></p></div>
<p>Now refer the Scratch and Python Code to get it working</p>

<table id="tablepress-8" class="tablepress tablepress-id-8">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperQVRnNUFDLWQ3WE0" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperUzF4cFNPU25nSGc" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-8 from cache -->
<p>You can refer the Scratch program in the blow image:</p>
<div id="attachment_1601" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1601" class="wp-image-1601" src="http://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png" alt="Controlling LED and Motors in scratch " width="500" height="539" srcset="https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch.png 505w, https://learn.edwinrobotics.com/wp-content/uploads/LED-Switch-Scratch-278x300.png 278w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1601" class="wp-caption-text"><em>Contro LED Using Switch/Sensor</em></p></div>
<p>&nbsp;</p>
<h3 id="step9">Capacitive Touch</h3>
<p>&nbsp;</p>
<p>The capacitve touch module we providing in the Kit works as momentary switch in default mode, but if need you can solder the jumper to the pads or add some conductive tape to the pads to change the mode of operation from momentary to toggle. The Capapcitive touch module is capable to sense the human touch, even it can sense the body within nearby range to the pads thus allowing you to place the pads under thin cardboards/paper/plastic, you can add copper tape to it to extend the capacitive touch area as your wish. These tiny boards are nice addon to your project. Refer the image below for the connection diagram:</p>
<div id="attachment_1506" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1506" class="wp-image-1506" src="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg" alt="TTP223 Capapcitive touch module with toggle and momentary mode" width="500" height="431" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch.jpg 728w, https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-Touch-300x259.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1506" class="wp-caption-text"><em>Capacitive Touch Board description</em></p></div>
<p>The board works well with 3.3v and 5v Systems, thus giving you the flexibility to use it straight away, these boards comes with onboard LED for the indication, thus you can use it as an independent product without any need of  Microcontroller or Microprocessor. Now, refer the breadboard connection for the Capacitive touch board and the LED:</p>
<div id="attachment_1508" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1508" class="wp-image-1508" src="http://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg" alt="Connect momentary and Toggle Capacitive Touch module with Raspberry Pi" width="500" height="674" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led.jpg 706w, https://learn.edwinrobotics.com/wp-content/uploads/Capacitive-touch-and-Led-222x300.jpg 222w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1508" class="wp-caption-text"><em>Capapcitive Touch and LED Connection with Raspberry Pi</em></p></div>
<h4></h4>
<p>Since we had replaced the tactile switch with Capacitive touch module in this circuit and we let the LED stay as it is like in the previous steps, thus the code which we used to control LED with tactile switch will work for this module as well.</p>
<p><strong>Note: We had used GPIO pin 24 to connect Signal pin of the Capacitive touch module thus the previous code will work for this case as well, but if you had used some other pins for this module, make sure to change the pin numbering in the code as well.</strong></p>
<p>If you are using the Capacitve module in Toggle Mode, try out the following code to understand the difference:</p>

<table id="tablepress-9" class="tablepress tablepress-id-9">
<tbody>
<tr class="row-1">
	<td class="column-1"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperZ3hUVWhuRjJTVlk" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1481" srcset="https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo.png 943w, https://learn.edwinrobotics.com/wp-content/uploads/pythonlogo-300x89.png 300w" sizes="(max-width: 943px) 100vw, 943px" /></a></p></td><td class="column-2"><p align="center"><a href="https://drive.google.com/uc?export=download&amp;id=0BzmrQ1bTvperVDRQM1JURzJrVEk" target="_blank"><img decoding="async" src="http://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png" alt="" width="200" height=auto class="alignnone size-full wp-image-1475" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline.png 434w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-300x98.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Scratch-logo-outline-430x142.png 430w" sizes="(max-width: 434px) 100vw, 434px" /></a></p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-9 from cache -->
<p>&nbsp;</p>
<h3 id="step10">Transistor and Buzzer</h3>
<p>&nbsp;</p>
<p>Till now, you have seen the LED indication in the output side, now its time to add some sound to the circuit, since you had already worked with <strong><a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">&#8221; Getting started with switch, transistors and buzzer on breadboard &#8220;</a>  </strong>tutorial, this step is going to be easy. Refer the modified breadboard connection for the circuit.</p>
<div id="attachment_1513" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1513" class="wp-image-1513" src="http://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg" alt="Transistor, Buzzer and Switch Interface with Raspberry Pi using python and scratch" width="500" height="636" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor.jpg 758w, https://learn.edwinrobotics.com/wp-content/uploads/Raspberry-Pi-buzzer-and-P2N2222A-transistor-236x300.jpg 236w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1513" class="wp-caption-text"><em>Transistor, Buzzer and Switch Interface with Raspberry Pi</em></p></div>
<p>&nbsp;</p>
<p>We are not adding any specific code to this section because the circuit is connected to work with all the three codes described above, so we will recommend you to run all the three codes again for the above circuit, try to add and change the delay in the code, so that you can hear the variation in the output.Since you already understood the basics of various components and its interfacing and programming in scratch and python, <strong>we are giving you challenge to breadboard RGB LED we provided in the Kit and write your own Python and Scratch code for the same, to made it glow for different combination of colors. </strong></p>
<p>Let us know your feedback on this and we are happy to help you, if you found any issue or difficulty in any circuit or have any queries, please do let us know.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4 id="step11">References:</h4>
<ul>
<li><a href="http://learn.edwinrobotics.com/tutorial-how-to-breadboard-led/" target="_blank" rel="noopener">Tutorial: How to Breadboard LED</a></li>
<li><a href="http://learn.edwinrobotics.com/tutorial-switch-transistor-and-buzzer-on-breadboard/" target="_blank" rel="noopener">Tutorial: Getting started with switch, transistors and buzzer on breadboard</a></li>
<li><a href="https://learn.sparkfun.com" target="_blank" rel="noopener">Sparkfun Tutorials</a></li>
<li><a href="https://shop.edwinrobotics.com/91-buttonsswitches" target="_blank" rel="noopener">Buy Switches Online</a></li>
<li><a href="https://shop.edwinrobotics.com/98-transistorsmosfet" target="_blank" rel="noopener">Buy Transistors Online</a></li>
<li><a href="https://www.raspberrypi.org/resources/" target="_blank" rel="noopener">Raspberry Pi Learning Resources</a></li>
</ul>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/getting-started-with-raspberry-pi-and-electronics/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MOSFET Breakout board Hookup Guide</title>
		<link>https://learn.edwinrobotics.com/mosfet-breakout-board-hookup-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mosfet-breakout-board-hookup-guide</link>
					<comments>https://learn.edwinrobotics.com/mosfet-breakout-board-hookup-guide/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Tue, 31 Jan 2017 09:00:51 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Power Appliances]]></category>
		<category><![CDATA[Relay]]></category>
		<category><![CDATA[high power application]]></category>
		<category><![CDATA[mosfet]]></category>
		<category><![CDATA[mosfet breakout]]></category>
		<category><![CDATA[mosfet interface]]></category>
		<category><![CDATA[power applicance]]></category>
		<category><![CDATA[power application]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1221</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-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/MOSFTE-BREAKOUT-COVER.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-COVER-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-COVER-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-COVER-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />This hookup guide is not only limited to the MOSFET breakout board, here you can learn basics of MOSFET, so that you can build your own circuit in a breadboard/ Protoboard with components we are providing or use if you have some with you. Check below the contents we covered in this tutorial: &#160; MOSFET BASICS [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-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/MOSFTE-BREAKOUT-COVER.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-COVER-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-COVER-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFTE-BREAKOUT-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>This hookup guide is not only limited to the MOSFET breakout board, here you can learn basics of MOSFET, so that you can build your own circuit in a breadboard/ Protoboard with components we are providing or use if you have some with you. Check below the contents we covered in this tutorial:</p>
<p>&nbsp;</p>
<ul>
<li>
<h4><a href="#step1">MOSFET BASICS</a></h4>
</li>
<li>
<h4><a href="#step2">Hardware Needed</a></h4>
</li>
<li>
<h4><a href="#step3">MOSFET Breakout PCB Introduction</a></h4>
</li>
<li>
<h4><a href="#step4">PCB SilkScreen</a></h4>
</li>
<li>
<h4><a href="#step5">Gate Control Circuit Schematics</a></h4>
</li>
<li>
<h4><a href="#step6">Jumper Settings</a></h4>
</li>
<li>
<h4><a href="#step7">PCB Assembly</a></h4>
</li>
<li>
<h4><a href="#step8">Heatsink Assmebly</a></h4>
</li>
<li>
<h4><a href="#step9">References</a></h4>
</li>
</ul>
<h4></h4>
<h4></h4>
<h4></h4>
<h4 id="step1">MOSFET BASICS</h4>
<p>&nbsp;</p>
<p>Most of you have heard of BJT and MOSFET but still you have doubts regrading MOSFET, here we are covering some basics of MOSFET before going to the breakout board details. MOSFET stands for &#8220;metal-oxide semiconductor field-effect transistor&#8221;. It is a special type of field-effect transistor (FET). Its g<span class="ntxt">ate</span> input is electrically insulated from the main current carrying channel and is therefore also called as an &#8220;Insulated Gate Field Effect Transistor&#8221; or &#8220;IGFET&#8221;.<b> </b>Unlike BJT which is ‘current controlled’, the MOSFET is a voltage controlled device. The MOSFET has “gate“, “Drain” and “Source”  terminals instead of a “base”, “collector”, and “emitter” terminals in a bipolar transistor. By applying voltage at the gate, it generates an electrical field to control the current flow through the channel between drain and source, and there is no current flow from the gate into the MOSFET. Unlike the BJT, the FET is a unipolar device since it functions with the conduction of electrons alone for the N-channel type or on holes alone for a P-channel type.</p>
<p>Hope now things are little clear to you now, but this is not enough, so we had covered types of MOSFET as well, refer the types below:</p>
<ul>
<li>N-Channel (NMOS) or P-Channel (PMOS)</li>
<li>Enhancement or Depletion mode</li>
</ul>
<p><strong>N-Channel</strong> – For an N-Channel MOSFET, the source is connected to ground. To turn the MOSFET on, we need to raise the voltage on the gate. To turn it off we need to connect the gate to ground.</p>
<p><strong>P-Channel</strong> – The source is connected to the power rail (Vcc). In order to allow current to flow the Gate needs to be pulled to ground. To turn it off the gate needs to be pulled to Vcc.</p>
<p><strong>Depletion Mode</strong> – It requires the Gate-Source voltage ( Vgs ) applied to switch the device “OFF”.</p>
<p><strong>Enhancement Mode</strong> – The transistor requires a Gate-Source voltage ( Vgs ) applied to switch the device “ON”.</p>
<p>Despite the variety, the most commonly used type is N-channel enhancement mode. There are also &#8220;Logic-Level&#8221; and &#8220;Normal MOSFET&#8221;, but the only difference is the Gate-Source potential level required to drive the MOSFET. Refer the symbols in the diagram below to distinguish the types of MOSFET.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1223" style="width: 490px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/MOSFET.gif" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1223" class="wp-image-1223 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/MOSFET.gif" width="480" height="544" /></a><p id="caption-attachment-1223" class="wp-caption-text"><em>MOSFET TYPES</em></p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now consider the following points while connecting the load/Heatsink to the MOSFET:</p>
<ul>
<li>Because load  has resistance, which is basically a resistor. For N-channel MOSFET put the load at the Drain side and Source is usually connected to GND. If load is connected at the source side, the Vgs will needs to be higher in order to switch the MOSFET, or there will be insufficient current flow between source and drain than expected</li>
<li>For P-Channel MOSFET put the load at the source side and drain is usually connected to GND.</li>
<li>Typically the heat sink on the back of a MOSFET is connected to the Drain! If you mount multiple MOSFETs on a heat sink, they must be electrically isolated from the heat sink! It’s good practice to isolate regardless in case the heat sink is bolted to a grounding frame.</li>
</ul>

<table id="tablepress-3" class="tablepress tablepress-id-3">
<thead>
<tr class="row-1">
	<th class="column-1">MOSFET type</th><th class="column-2"><p align="center">VGS = +ve</p>	</th><th class="column-3"><p align="center">VGS = 0</p>	</th><th class="column-4"><p align="center">VGS = -ve</p>	</th>
</tr>
</thead>
<tbody class="row-striping row-hover">
<tr class="row-2">
	<td class="column-1">N-Channel Depletion</td><td class="column-2"><p align="center">ON</p></td><td class="column-3"><p align="center">ON</p></td><td class="column-4"><p align="center">OFF</p></td>
</tr>
<tr class="row-3">
	<td class="column-1">N-Channel Enhancement</td><td class="column-2"><p align="center">ON</p></td><td class="column-3"><p align="center">OFF</p></td><td class="column-4"><p align="center">OFF</p></td>
</tr>
<tr class="row-4">
	<td class="column-1">P-Channel Depletion</td><td class="column-2"><p align="center">OFF</p></td><td class="column-3"><p align="center">ON</p></td><td class="column-4"><p align="center">ON</p></td>
</tr>
<tr class="row-5">
	<td class="column-1">P-Channel Enhancement</td><td class="column-2"><p align="center">OFF</p></td><td class="column-3"><p align="center">OFF</p></td><td class="column-4"><p align="center">ON</p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-3 from cache -->
<h4></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4 id="step2"><strong>Hardware Needed:</strong></h4>
<p>&nbsp;</p>

<table id="tablepress-5" class="tablepress tablepress-id-5">
<tbody>
<tr class="row-1">
	<td class="column-1"><div id="attachment_1372" style="width: 160px" class="wp-caption alignleft"><a href="http://learn.edwinrobotics.com/wp-content/uploads/BACK-square.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1372" class="wp-image-1372" src="http://learn.edwinrobotics.com/wp-content/uploads/BACK-square.png" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/BACK-square.png 1600w, https://learn.edwinrobotics.com/wp-content/uploads/BACK-square-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/BACK-square-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/BACK-square-1024x1024.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/BACK-square-184x184.png 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1372" class="wp-caption-text"><em>MOSFET Breakout Board</em></p></div></td><td class="column-2"><div id="attachment_1375" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/mosfet/201-irf1404.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1375" class="wp-image-1375" src="http://learn.edwinrobotics.com/wp-content/uploads/MOSFET.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/MOSFET.jpg 850w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFET-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFET-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/MOSFET-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1375" class="wp-caption-text"><em>N Channel MOSFET (IRF1404)</em></p></div></td><td class="column-3"><div id="attachment_1374" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/miscellaneous-components/152-heat-sink-multiwatt-package.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1374" class="wp-image-1374" src="http://learn.edwinrobotics.com/wp-content/uploads/Heatsink-Square.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-Square.jpg 525w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-Square-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-Square-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-Square-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1374" class="wp-caption-text"><em>Heatsink -Multiwatt Package</em></p></div></td>
</tr>
<tr class="row-2">
	<td class="column-1"><div id="attachment_1371" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/fixed-value/8-1k-025watt-resistor.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1371" class="wp-image-1371" src="http://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W.jpg 1650w, https://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/1k_0.25W-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1371" class="wp-caption-text"><em>1KΩ Resistor</em></p></div></td><td class="column-2"><br />
<div id="attachment_1376" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/connectors/463-screw-terminal-kf126-5mm-pitch-2-pin.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1376" class="wp-image-1376" src="http://learn.edwinrobotics.com/wp-content/uploads/screw-terminal-kf126-5mm-pitch-2-pin.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/screw-terminal-kf126-5mm-pitch-2-pin.jpg 450w, https://learn.edwinrobotics.com/wp-content/uploads/screw-terminal-kf126-5mm-pitch-2-pin-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/screw-terminal-kf126-5mm-pitch-2-pin-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/screw-terminal-kf126-5mm-pitch-2-pin-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1376" class="wp-caption-text"><em>Screw Terminal- 2pin (5mm)</em></p></div></td><td class="column-3"><br />
<div id="attachment_1373" style="width: 160px" class="wp-caption alignnone"><a href="https://shop.edwinrobotics.com/miscellaneous-components/68-male-header-40x1.html" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1373" class="wp-image-1373" src="http://learn.edwinrobotics.com/wp-content/uploads/Header.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Header.jpg 550w, https://learn.edwinrobotics.com/wp-content/uploads/Header-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Header-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Header-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1373" class="wp-caption-text"><em>Male Header 40 x 1</em></p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-5 from cache -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4></h4>
<h4 id="step3">MOSFET Breakout PCB Introduction:</h4>
<p>&nbsp;</p>
<p>This basic is enough for now, to getting started with MOSFET. There are many more things which you can do with MOSFET, we did not covered all the things in details here, but we will recommend you to start using MOSFET in most of the circuits to understand its uses in various applications, only practice makes man perfect, so this is what we are expecting from you that you will build something really cool projects using MOSFET. Now its time to go in details of MOSFET breakout board. Refer the board shown in the Image below:</p>
<h4></h4>
<h4></h4>
<p>&nbsp;</p>
<div id="attachment_1383" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/TOP-BOTTOM.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1383" class="wp-image-1383" src="http://learn.edwinrobotics.com/wp-content/uploads/TOP-BOTTOM.jpg" width="500" height="282" srcset="https://learn.edwinrobotics.com/wp-content/uploads/TOP-BOTTOM.jpg 3100w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-BOTTOM-300x169.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/TOP-BOTTOM-1024x578.jpg 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1383" class="wp-caption-text"><em>MOSFET BREAKOUT PCB</em></p></div>
<h4></h4>
<h4></h4>
<h4></h4>
<p>&nbsp;</p>
<h4 id="step4">PCB SilkScreen:</h4>
<p>&nbsp;</p>
<p>Now if you notice, then you can see the silkscreen at the bottom and the top will distinguish between P Channel side and N channel Side. You only need to solder the parts which are dedicated for that specific channel, i.e if you are willing to use just N channel Enhancement type MOSFET in your project, then all you need to do is to solder the parts needed only for N channel, which you can easily distinguish by referring the silkscreen. We had highlighted the TOP side silkscreen in the following image to distinguish between the two channel side.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1381" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Highlighted.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1381" class="wp-image-1381" src="http://learn.edwinrobotics.com/wp-content/uploads/Highlighted.jpg" width="500" height="545" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Highlighted.jpg 1458w, https://learn.edwinrobotics.com/wp-content/uploads/Highlighted-275x300.jpg 275w, https://learn.edwinrobotics.com/wp-content/uploads/Highlighted-940x1024.jpg 940w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1381" class="wp-caption-text"><em>N Channel / P Channel</em></p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>You can refer the following image to see which resistors refer to which channel, this you can easily distinguish, if you refer the bottom silkscreen.</p>
<div id="attachment_1318" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/N_P-Channel_Resistors.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1318" class="wp-image-1318" src="http://learn.edwinrobotics.com/wp-content/uploads/N_P-Channel_Resistors.png" width="500" height="563" srcset="https://learn.edwinrobotics.com/wp-content/uploads/N_P-Channel_Resistors.png 1600w, https://learn.edwinrobotics.com/wp-content/uploads/N_P-Channel_Resistors-267x300.png 267w, https://learn.edwinrobotics.com/wp-content/uploads/N_P-Channel_Resistors-910x1024.png 910w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1318" class="wp-caption-text"><em>N Channel/ P Channel Resistors</em></p></div>
<h4></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4></h4>
<h4></h4>
<h4></h4>
<h4 id="step5">Gate Control Circuit Schematics:</h4>
<p>&nbsp;</p>
<p>We had added the <strong>Pull_Up / Pull_Down Resistor</strong> for the Gate, this feature is disabled by default, but if you need you can use this feature in your circuit by enabling the jumper J1/J2. Refer the below Schematics for better idea of the circuit.</p>
<div id="attachment_1322" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Gate-Schematic.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1322" class="wp-image-1322" src="http://learn.edwinrobotics.com/wp-content/uploads/Gate-Schematic.jpg" width="500" height="231" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Gate-Schematic.jpg 1250w, https://learn.edwinrobotics.com/wp-content/uploads/Gate-Schematic-300x138.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Gate-Schematic-1024x473.jpg 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1322" class="wp-caption-text"><em>Gate Circuit Schematics</em></p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>You can see in the following images we had highlighted the pull_up/ pull_down resistors.</p>
<p>&nbsp;</p>
<div id="attachment_1319" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/P_up_DN_Resistors.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1319" class="wp-image-1319" src="http://learn.edwinrobotics.com/wp-content/uploads/P_up_DN_Resistors.png" width="500" height="563" srcset="https://learn.edwinrobotics.com/wp-content/uploads/P_up_DN_Resistors.png 1600w, https://learn.edwinrobotics.com/wp-content/uploads/P_up_DN_Resistors-267x300.png 267w, https://learn.edwinrobotics.com/wp-content/uploads/P_up_DN_Resistors-910x1024.png 910w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1319" class="wp-caption-text"><em>Gate Control Resistors</em></p></div>
<h4></h4>
<h4></h4>
<p>&nbsp;</p>
<h4></h4>
<h4></h4>
<h4></h4>
<h4 id="step6">Jumper Settings:</h4>
<p>&nbsp;</p>
<p>These Pull-Up/Down Resistors (R_U/D) is disabled by default and can be enabled by adding solder to the Jumper Pads J1 for P-Channel and Jumper Pads J2 for N-Channel, the Vcc and Ground side is indicated in the Silkscreen. Its a 2-Way Jumper thus center pad is the main path and you need to apply solder either to &#8220;+&#8221; or &#8220;-&#8220;, so make sure to solder only required logic for each jumper, i.e either Vcc or ground. In case you need to disable this feature from the circuit, just remove the solder from the pads you applied. You can see the J1 and J2 Jumper in the following image and the + and &#8211; indication against its pad.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1384" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Jumper.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1384" class="wp-image-1384" src="http://learn.edwinrobotics.com/wp-content/uploads/Jumper.png" width="500" height="630" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Jumper.png 1464w, https://learn.edwinrobotics.com/wp-content/uploads/Jumper-238x300.png 238w, https://learn.edwinrobotics.com/wp-content/uploads/Jumper-813x1024.png 813w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1384" class="wp-caption-text">Jumper Pads</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Note: Do not Solder all the three pads of the jumper together, this will create a short between Vcc and GND.</strong></p>
<p>Refer the below table for jumper selection chart:</p>

<table id="tablepress-4" class="tablepress tablepress-id-4">
<tbody class="row-striping row-hover">
<tr class="row-1">
	<td class="column-1"></td><td class="column-2"><b><p align="center">CHANNEL</p></b></td><td class="column-3"><b><p align="center">RESISTOR</p></b></td><td class="column-4"><b><p align="center">+(Vcc)</p></b></td><td class="column-5"><b><p align="center">-(GND)</p></b></td>
</tr>
<tr class="row-2">
	<td class="column-1"><b align="center">J1</b></td><td class="column-2"><p align="center">P</p></td><td class="column-3"><p align="center">R1_U/D</p></td><td class="column-4"><p align="center">Pullup</p></td><td class="column-5"><p align="center">Pulldown</p></td>
</tr>
<tr class="row-3">
	<td class="column-1"><b align="center">J2</b></td><td class="column-2"><p align="center">N</p></td><td class="column-3"><p align="center">R_U/D</p></td><td class="column-4"><p align="center">Pullup</p></td><td class="column-5"><p align="center">Pulldown</p></td>
</tr>
</tbody>
</table>
<!-- #tablepress-4 from cache -->
<p>You can ignore these R_U/D and R1_U/D resistor in the breakout board, if you don&#8217;t need pull_up/Down Feature. Now if you notice the Gate schematics you can see that the control signal is passed via Gate Resistor, so you need to solder this in your breakout PCB to get the circuit working, if you don&#8217;t want any Gate resistors, you can solder the 0Ω Resistor in the R_G / R1_G. We had Provided some standard values of resistors with this breakout board, so you don&#8217;t need to worry much about it, all you need to do is, to solder the resistors as per your requirement. Refer the below image for the Gate resistors slot in the Breakout board.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1316" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Gate_Resistors.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1316" class="wp-image-1316" src="http://learn.edwinrobotics.com/wp-content/uploads/Gate_Resistors.png" width="500" height="563" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Gate_Resistors.png 1600w, https://learn.edwinrobotics.com/wp-content/uploads/Gate_Resistors-267x300.png 267w, https://learn.edwinrobotics.com/wp-content/uploads/Gate_Resistors-910x1024.png 910w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1316" class="wp-caption-text"><em>Gate current limit </em></p></div>
<p>&nbsp;</p>
<p><strong>Note: MOSFET will not work if R_G / R1_G  Gate Resistor is left open, atleast you must solder 0Ω Resistor or short the slot with solder/Wire.</strong></p>
<h4></h4>
<h4></h4>
<h4></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4 id="step7">PCB Assembly:</h4>
<p>&nbsp;</p>
<p>The Drain and  Source pins are indicated clearly on the TOP/BOTTOM Silkscreen, this can be accessed either with screw terminal or with male/female Headers, you can solder whichever you need. You need to solder three pin header for Gate, Gnd, Vcc pins as well, so as to control the MOSFET from microcontroller or any other circuit. Make sure to use the Gate Control header of the same channel as that of MOSFET. Refer the legend and the diagram below for the  N- Channel MOSFET assembly:</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1385" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Legend-.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1385" class="wp-image-1385" src="http://learn.edwinrobotics.com/wp-content/uploads/Legend-.png" width="500" height="353" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Legend-.png 2300w, https://learn.edwinrobotics.com/wp-content/uploads/Legend--300x212.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Legend--1024x723.png 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1385" class="wp-caption-text">Legend</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1284" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Assembled.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1284" class="wp-image-1284" src="http://learn.edwinrobotics.com/wp-content/uploads/Assembled.jpg" width="500" height="453" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Assembled.jpg 3471w, https://learn.edwinrobotics.com/wp-content/uploads/Assembled-300x272.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Assembled-1024x928.jpg 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1284" class="wp-caption-text"><em>N Channel MOSFET Assembly</em></p></div>
<h4></h4>
<h4></h4>
<h4></h4>
<h4></h4>
<h4></h4>
<h4 id="step8">Heatsink Assmebly:</h4>
<p>&nbsp;</p>
<p>The board supports one N Channel and one P-Channel MOSFET at the same time, since both channels have its own sets of resistors, headers and screw terminal slot, make sure that all the things are properly connected. For the high current application your MOSFET will heat up like crazy, thus you need to add heatsink to provide cooling to the MOSFET, we had provided Heatsink Slot to be soldered on board for both type of MOSFET, refer the following image on how to use heatsink with MOSFET:</p>
<p>&nbsp;</p>
<div id="attachment_1290" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Heatsink.jpg" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1290" class="wp-image-1290" src="http://learn.edwinrobotics.com/wp-content/uploads/Heatsink.jpg" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Heatsink.jpg 600w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1290" class="wp-caption-text"><em>Heatsink Multiwatt</em></p></div>
<p>&nbsp;</p>
<div id="attachment_1388" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Heatsink_assembled-1.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1388" class="wp-image-1388" src="http://learn.edwinrobotics.com/wp-content/uploads/Heatsink_assembled-1.png" width="500" height="553" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Heatsink_assembled-1.png 1568w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink_assembled-1-271x300.png 271w, https://learn.edwinrobotics.com/wp-content/uploads/Heatsink_assembled-1-926x1024.png 926w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1388" class="wp-caption-text">N Channel MOSFET with Heatsink</p></div>
<p>&nbsp;</p>
<p>The P Channel also supports Heatsink. If you are using Heatsink with N Channel  MOSFET then it is not possible to use P Channel MOSFET or vice versa. The Heatsink is not provided with the MOSFET Breakout PCB, you need to buy it separately if needed. If you are facing any issue or difficulty with the PCB, do let us know, our team will help you with all the issue, we are happy to hear from you, do let us know your feedback.</p>
<h4></h4>
<h4></h4>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4></h4>
<h4 id="step9">References:</h4>
<p>&nbsp;</p>
<ul>
<li>MOSFET types Image Source:  <a href="http://www.electronics-tutorials.ws" target="_blank">Electronics Tutorials</a></li>
<li>Heatsink Image Source: <a href="https://www.sparkfun.com/" target="_blank">Sparkfun</a></li>
</ul>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/mosfet-breakout-board-hookup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting Started with Ardublockly</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-ardublockly/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-ardublockly</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-ardublockly/#comments</comments>
		
		<dc:creator><![CDATA[emil]]></dc:creator>
		<pubDate>Mon, 30 Jan 2017 15:33:54 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[General]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1222</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037.jpg" class="attachment- size- wp-post-image" alt="Arduino UNO" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-768x512.jpg 768w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Ardublockly Ardublockly is a visual programming language that is based on Google&#8217;s Blockly. Being a visual programming language you don&#8217;t need to worry about remembering syntaxes or missing semicolons. The Arduino code is generated when the blocks are connected to perform an action. Ardublockly also displays the actual C code that is being uploaded making [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037.jpg" class="attachment- size- wp-post-image" alt="Arduino UNO" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-768x512.jpg 768w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/DSC_0037-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">
		<h2>Ardublockly</h2>
<p>Ardublockly is a visual programming language that is based on Google&#8217;s <a href="https://developers.google.com/blockly/" target="_blank">Blockly</a>. Being a visual programming language you don&#8217;t need to worry about remembering syntaxes or missing semicolons. The Arduino code is generated when the blocks are connected to perform an action. Ardublockly also displays the actual C code that is being uploaded making it easier to understand what goes on in the background.<br />
&nbsp;</p>
<h2>Installing &amp; Configuring Ardublockly</h2>
<p>Get the latest version of Ardublockly from its <a href="https://github.com/carlosperate/ardublockly/releases" target="_blank">github page</a>. Do ensure that you have the latest <a href="https://www.arduino.cc/en/Main/Software" target="_blank">Arduino IDE</a> installed as well, check the Arduino guide for more info on <a href="https://www.arduino.cc/en/Guide/HomePage" target="_blank">how to install Arduino.</a><br />
<span class="collapseomatic " id="id687b89b2051eb"  tabindex="0" title="&lt;strong&gt;Installing on Windows&lt;/strong&gt;"    ><strong>Installing on Windows</strong></span><div id="target-id687b89b2051eb" class="collapseomatic_content ">
<ol>
<li><strong>Extract Ardublockly &#8211;</strong> Once you have downloaded the latest version of Ardublockly, extract it to a location of your choosing.</li>
<li><strong>Run Ardublockly &#8211; </strong>In the Ardublockly folder <strong>run the ardublockly_run.bat.</strong> This will run Ardublockly and create the <strong>ServerCompilerSettings.ini </strong>file that we need to modify to get Ardublockly working. Once Ardublockly has successfully started you should see the Ardublockly homescreen.
<div id="attachment_1225" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-IDE.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1225" class="wp-image-1225" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-IDE.png" alt="Ardublockly" width="500" height="318" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-IDE.png 1185w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-IDE-300x191.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-IDE-1024x651.png 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1225" class="wp-caption-text">Ardublockly IDE</p></div></li>
<li><strong>Close Ardublockly &#8211;</strong> Now that the <strong>ServerCompilerSettings.ini</strong> has been created, we can <strong>close Ardublockly</strong></li>
<li><strong>Open ServerCompilerSettings.ini file using Wordpad &#8211;</strong> The <strong>ServerCompilerSettings.ini</strong> file needs to be edited to configure the location of <strong>arduino_debug.exe<br />
</strong><strong>Note: </strong>Open the file using pretty much any text editor other than notepad as notepad does not recognize the line breaks properly</li>
<li><strong>Add location of arduino_debug.exe &#8211;</strong>   The location of <strong>arduino_debug.exe </strong>if installed via the Arduino installer, will be located at <strong>C:\Program Files (x86)\Arduino\arduino_debug.exe</strong>
<div id="attachment_1252" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/serverconfig.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1252" class="wp-image-1252" src="http://learn.edwinrobotics.com/wp-content/uploads/serverconfig.png" alt="Configuring Ardublockly" width="500" height="163" srcset="https://learn.edwinrobotics.com/wp-content/uploads/serverconfig.png 605w, https://learn.edwinrobotics.com/wp-content/uploads/serverconfig-300x98.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1252" class="wp-caption-text">ServerCompilerSettings.ini configured using wordpad</p></div></li>
<li><strong>Run Ardublockly &#8211;</strong> To test whether it has been configured properly, <strong>r</strong><strong>un ardublockly_run.bat</strong> and open the preferences ( Edit → Preferences) it should show a window like this
<div id="attachment_1253" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Settings-1.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1253" class="wp-image-1253" src="http://learn.edwinrobotics.com/wp-content/uploads/Settings-1.png" alt="Ardublockly Preferences" width="500" height="388" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Settings-1.png 691w, https://learn.edwinrobotics.com/wp-content/uploads/Settings-1-300x233.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1253" class="wp-caption-text">Ardublockly Preferences</p></div></li>
<li><strong>Select Board &amp; Port &#8211;</strong> Next select the board that is being used, in our case it is the UNO. The available serial port will be shown only if the Arduino is connected.</li>
<li><strong>Test Configuration &#8211;</strong> To ensure everything is all set and done click on the verify button</li>
</ol>
<div id="attachment_1254" style="width: 93px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Verify-1.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1254" class="wp-image-1254 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Verify-1.png" alt="Ardublockly Verify" width="83" height="77" /></a><p id="caption-attachment-1254" class="wp-caption-text"><em>Ardublockly Verify</em></p></div>
<div id="attachment_1255" style="width: 332px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1255" class="wp-image-1255 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png" alt="Verify Successfully" width="322" height="89" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png 322w, https://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully-300x83.png 300w" sizes="auto, (max-width: 322px) 100vw, 322px" /></a><p id="caption-attachment-1255" class="wp-caption-text"><em>Verify Successfully</em></p></div>
<ul>
<li>If all goes well the <strong>Successfully Verified Sketch</strong> will be displayed, this <strong>may take 20-30 seconds</strong> on some machines.</li>
</ul>
</div>
<span class="collapseomatic " id="id687b89b20539f"  tabindex="0" title="&lt;strong&gt;Installing on Linux&lt;/strong&gt;"    ><strong>Installing on Linux</strong></span><div id="target-id687b89b20539f" class="collapseomatic_content ">
<ol>
<li><strong>Extract Ardublockly &#8211;</strong> Once you have downloaded the latest version of Ardublockly, extract it to a location of your choosing.</li>
<li><strong>Run Ardublockly &#8211; </strong>In the Ardublockly folder <strong>run the ardublockly_run.sh as root </strong>file from terminal. This will run Ardublockly and create the <strong>ServerCompilerSettings.ini </strong>file that we need to modify to get Ardublockly working. Once Ardublockly has successfully started you should see the Ardublockly homescreen.
<div id="attachment_1315" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Terminal.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1315" class="wp-image-1315" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Terminal.png" alt="Ardublockly Terminal" width="500" height="299" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Terminal.png 732w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Terminal-300x180.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1315" class="wp-caption-text"><em>Ardublockly Terminal</em></p></div>
<p>&nbsp;</p>
<div id="attachment_1283" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1283" class="wp-image-1283" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux.png" alt="Ardublockly Linux" width="500" height="330" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux.png 1200w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux-300x198.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux-1024x677.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux-207x136.png 207w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Linux-430x283.png 430w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1283" class="wp-caption-text"><em>Ardublockly Linux</em></p></div></li>
<li><strong>Close Ardublockly &#8211;</strong> Now that the <strong>ServerCompilerSettings.ini</strong> has been created, we can <strong>close Ardublockly</strong></li>
<li><strong>Open ServerCompilerSettings.ini file &#8211;</strong> The <strong>ServerCompilerSettings.ini</strong> file needs to be edited to configure the location of <strong>arduino</strong></li>
<li><strong>Add location of arduino &#8211;</strong>   <strong>arduino  </strong>is located at the root folder of Arduino, in this case it is <strong><strong>/home/emil/Apps/arduino-1.8.0/arduino<br />
</strong></strong></p>
<div id="attachment_1295" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-gedit.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1295" class="wp-image-1295" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-gedit.png" alt="Editing ServerCompilerSettings.ini in gedit" width="500" height="404" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-gedit.png 900w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-gedit-300x243.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1295" class="wp-caption-text"><em>Editing ServerCompilerSettings.ini in gedit</em></p></div></li>
<li><strong>Run Ardublockly &#8211;</strong> To test whether it has been configured properly, <strong>Run ardublockly_run.sh as root </strong>from terminal and open the preferences ( Edit → Preferences) it should show a window like this
<div id="attachment_1304" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Preferences-Linux-e1485846189635.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1304" class="wp-image-1304" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Preferences-Linux-e1485846189635.png" alt="Ardublockly Preferences on Linux" width="500" height="413" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Preferences-Linux-e1485846189635.png 690w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Preferences-Linux-e1485846189635-300x248.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1304" class="wp-caption-text"><em>Ardublockly Preferences on Linux</em></p></div></li>
<li><strong>Select Board &amp; Port &#8211;</strong> Next select the board that is being used, in our case it is the UNO. The available serial port will be shown only if the Arduino is connected.</li>
<li><strong>Test Configuration &#8211;</strong> To ensure everything is all set and done click on the verify button
<div id="attachment_1254" style="width: 93px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Verify-1.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1254" class="wp-image-1254 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Verify-1.png" alt="Ardublockly Verify" width="83" height="77" /></a><p id="caption-attachment-1254" class="wp-caption-text"><em>Ardublockly Verify</em></p></div>
<div id="attachment_1255" style="width: 332px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1255" class="wp-image-1255 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png" alt="Verify Successfully" width="322" height="89" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully.png 322w, https://learn.edwinrobotics.com/wp-content/uploads/Verify-Successfully-300x83.png 300w" sizes="auto, (max-width: 322px) 100vw, 322px" /></a><p id="caption-attachment-1255" class="wp-caption-text"><em>Verify Successfully</em></p></div></li>
<li>If all goes well the <strong>Successfully Verified Sketch</strong> will be displayed</li>
</ol>
</div>
<p>&nbsp;</p>
<h2>Blinking An LED</h2>
<ul>
<li>The first step should be to add the <strong>Arduino Run First/Arduino Loop Forever block</strong> although this is not necessary it will help keep your code clean. It can be found under the <strong>functions category</strong></li>
<p>&nbsp;<br />
<a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-1.png" target="_blank"><img loading="lazy" decoding="async" class="aligncenter wp-image-1257 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-1.png" width="362" height="123" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-1.png 362w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-1-300x102.png 300w" sizes="auto, (max-width: 362px) 100vw, 362px" /></a></p>
<li>This block lets define what instructions need to be run first and what needs to run forever. Most instructions will come under the latter.</li>
<li>Next involves setting the digital pin onto which the LED is connected as either HIGH (ON) or LOW (OFF), this block can be found under the <strong>Input/Output </strong>category</li>
<p>&nbsp;<br />
<a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-2.png" target="_blank"><img loading="lazy" decoding="async" class="aligncenter wp-image-1258 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-2.png" width="367" height="61" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-2.png 367w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-2-300x50.png 300w" sizes="auto, (max-width: 367px) 100vw, 367px" /></a></p>
<li>The on board LED is connected to pin 13, set the pin# to 13 to be able to turn ON the LED. Next comes the delay this will ensure that the pin stays in the HIGH (ON) state for a set period of time. This can be found under the <strong>Time </strong>category. The time is set in milliseconds, 1 second = 1000 milliseconds.</li>
<p>&nbsp;<br />
<a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-3.png" target="_blank"><img loading="lazy" decoding="async" class="aligncenter wp-image-1259 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-3.png" width="238" height="70" /></a></p>
<li>These 2 steps needs to be repeated again but in the LOW state to turn off the LED. The final code will be as follows.</li>
</ul>
<div id="attachment_1265" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Final-2.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1265" class="wp-image-1265" src="http://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Final-2.png" alt="Blink Code" width="500" height="165" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Final-2.png 1032w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Final-2-300x99.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Ardublockly-Final-2-1024x337.png 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1265" class="wp-caption-text"><em>Blink Code</em></p></div>
<ul>
<li>Click the upload button to push the code to the Arduino.</li>
</ul>
<div id="attachment_1272" style="width: 282px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Upload.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1272" class="wp-image-1272 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Upload.png" alt="Upload Ardublockly" width="272" height="95" /></a><p id="caption-attachment-1272" class="wp-caption-text"><em>Upload Button (Center Button)</em></p></div>
<ul>
<li>If all goes well, the LED should start blinking now.</li>
</ul>
<div id="attachment_1275" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Upload-Successfully.png" target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1275" class="wp-image-1275" src="http://learn.edwinrobotics.com/wp-content/uploads/Upload-Successfully.png" alt="Successful Upload - Ardublockly" width="500" height="320" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Upload-Successfully.png 1184w, https://learn.edwinrobotics.com/wp-content/uploads/Upload-Successfully-300x192.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Upload-Successfully-1024x656.png 1024w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-1275" class="wp-caption-text"><em>Successful Upload</em></p></div>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/getting-started-with-ardublockly/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>RetroPie Install Guide</title>
		<link>https://learn.edwinrobotics.com/retropie-install-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=retropie-install-guide</link>
					<comments>https://learn.edwinrobotics.com/retropie-install-guide/#respond</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Sat, 28 Jan 2017 17:25:28 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[GamePad]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[joystick]]></category>
		<category><![CDATA[Raspberry]]></category>
		<category><![CDATA[RetroPie]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1166</guid>

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/cover-1.png" 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-1.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-140x94.png 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Good to see that lots of people are interested and looking forward for Raspberry pi, to have the feel of old gaming experience. We already wrote one blog on Retro Gaming machine using Raspberry pi, we mentioned there how to download RetroPie Image and ROM and Install it in your system. We will recommend you to [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/cover-1.png" 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-1.png 6000w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-300x200.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-1024x683.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/cover-1-140x94.png 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>Good to see that lots of people are interested and looking forward for Raspberry pi, to have the feel of old gaming experience. We already wrote one blog on <a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/" target="_blank">Retro Gaming machine using Raspberry pi</a>, we mentioned there how to download RetroPie Image and ROM and Install it in your system. We will recommend you to go through <a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/" target="_blank">Retro Gaming machine using Raspberry pi Blog</a></p>
<p>&nbsp;</p>
<p>This blog is targeted towards people who might not want Raspberry pi to be dedicated just for Retro Gaming Purpose or whom already have our Raspberry Pi Gaming Kit or whom having Raspberry loaded with Raspbian. Here we mentioned steps on how to install RetroPie on a Raspberry pi running Raspbian. This setup will give you flexibility to use any one system(Raspbian or RetroPie) as per their need, i.e they can run RetroPie without uninstalling Raspbian and choose between any one at a time to work with. We will show you how to set RetroPie EmulationStation as default environment and from their if you want you can skip the RetroPie and go to either terminal or Raspbian desktop environment.</p>
<p>&nbsp;</p>
<p>To start with, we will recommend you to have our Raspberry Pi Gaming Kit ready with you, its comes with SD Card preinstalled with latest Raspbian on it. Note: If you aren&#8217;t comfortable with the terminal you would be wise to just use the RetroPie SD image as described in this <a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/" target="_blank">Retro Gaming machine using Raspberry pi Blog</a>. Follow the steps mentioned to get it working.</p>
<p>&nbsp;</p>
<ol>
<li><a href="#step1">Download RetroPie Setup script</a></li>
<li><a href="#step2">Download and Install Putty to run Command via computer</a></li>
<li><a href="#step3">Set EmulationStation as default boot option (video)</a></li>
<li><a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/#step4" target="_blank">Download ROM</a></li>
<li><a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/#step3" target="_blank">Install ROM</a></li>
<li><a href="#step4">Configure Gamepad</a></li>
<li><a href="#step5">References</a></li>
</ol>
<p>&nbsp;</p>
<p>1)    Open the command terminal, refer the following image if you don&#8217;t have idea where is it:</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/raspberry_pi_raspi-terminal.png" target="_blank"><br />
<img loading="lazy" decoding="async" class="alignnone wp-image-1170 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/raspberry_pi_raspi-terminal.png" width="646" height="419" srcset="https://learn.edwinrobotics.com/wp-content/uploads/raspberry_pi_raspi-terminal.png 646w, https://learn.edwinrobotics.com/wp-content/uploads/raspberry_pi_raspi-terminal-300x195.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/raspberry_pi_raspi-terminal-260x170.png 260w" sizes="auto, (max-width: 646px) 100vw, 646px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2)   <strong id="step1">Download RetroPie Setup Script: </strong></p>
<blockquote><p><code>cd<br />
</code><code>git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git</code></p>
<p>&nbsp;</p></blockquote>
<p>All you need to do is copy the mentioned command line by line and paste it(mouse right click) to the terminal. If you are wondering how to copy paste this, then you can either open this blog in the Raspberry pi browser or It is recommended to use putty on your computer to access the Raspberry Pi terminal.</p>
<p>&nbsp;</p>
<p><strong id="step2">Download and Install Putty to run Command via computer:</strong></p>
<p>Download <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Putty from here</a> and install it, then you need to enter you Raspberry Pi IP address in the space provided, refer the following image for the same:</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Putty.jpg" target="_blank"><img loading="lazy" decoding="async" class="wp-image-1172 size-full alignleft" src="http://learn.edwinrobotics.com/wp-content/uploads/Putty.jpg" width="451" height="438" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Putty.jpg 451w, https://learn.edwinrobotics.com/wp-content/uploads/Putty-300x291.jpg 300w" sizes="auto, (max-width: 451px) 100vw, 451px" /><br />
</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Raspberry Pi IP address can be found out by running the <strong>ifconfig</strong> Command in your LX terminal. Make Sure that your Raspberry Pi is connected to Wifi or ethernet before doing this step.</p>
<p>&nbsp;</p>
<p>3)    Once the Script is downloaded you need to execute the script as follows:</p>
<blockquote><p><code> cd RetroPie-Setup<br />
chmod +x retropie_setup.sh<br />
sudo ./retropie_setup.sh<br />
</code></p></blockquote>
<p>&nbsp;</p>
<p>4)    Make sure to run command line by line as shown, refer the video shown below on how to install the RetroPie</p>
<p>&nbsp;</p>
<div style="width: 1584px;" class="wp-video"><!--[if lt IE 9]><script>document.createElement('video');</script><![endif]-->
<video class="wp-video-shortcode" id="video-1166-1" width="1584" height="1138" preload="metadata" controls="controls"><source type="video/mp4" src="http://learn.edwinrobotics.com/wp-content/uploads/Basic-Install.mp4?_=1" /><a href="http://learn.edwinrobotics.com/wp-content/uploads/Basic-Install.mp4">http://learn.edwinrobotics.com/wp-content/uploads/Basic-Install.mp4</a></video></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>5)  <strong id="step3"> Set EmulationStation as default boot option (video):</strong>  It will take some time to install the RetroPie on Raspbian, you need to wait till then, once done, the last step you need to do is to run the script again and set EmulationStation as default in the boot option, refer the video below for the same:</p>
<p>&nbsp;</p>
<div style="width: 1584px;" class="wp-video"><video class="wp-video-shortcode" id="video-1166-2" width="1584" height="1138" preload="metadata" controls="controls"><source type="video/mp4" src="http://learn.edwinrobotics.com/wp-content/uploads/ES-at-boot.mp4?_=2" /><a href="http://learn.edwinrobotics.com/wp-content/uploads/ES-at-boot.mp4">http://learn.edwinrobotics.com/wp-content/uploads/ES-at-boot.mp4</a></video></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>6)    Once the above step is done, you can see that after the computer reboots, it will open the EmulationStation by default, if you want to access command terminal, you need to <strong>press F4</strong> on you keyboard to exit the EmulationStation, you can type <strong>emulationstation</strong> in the command terminal to open EmulationStation back again. To open pixel desktop you need to run <strong>startx</strong> command in the terminal, it will load pixel environment for you.</p>
<p><strong>Note: You cannot run EmulationStation and the LXDE/ Pixel Environment at the same time so you need to reboot your system to turn on your EmulationStation.</strong></p>
<p>&nbsp;</p>
<p>7)    If you are all done till previous point, now all you need to add is ROM to your system, due to the nature/complexity of Copyright/Intellectual Property Rights Law, which differs significantly from Country to Country, ROMs cannot be provided with RetroPie and must be provided by the user. You should only have ROMs of games that you own.Refer this link to see how to <a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/?preview_id=1064&amp;preview_nonce=f990d40e07&amp;_thumbnail_id=1101&amp;preview=true#step4" target="_blank">download ROM</a> and <a href="http://learn.edwinrobotics.com/retro-gaming-machine-using-raspberry-pi/?preview_id=1064&amp;preview_nonce=f990d40e07&amp;_thumbnail_id=1101&amp;preview=true#step3" target="_blank">Install ROM</a></p>
<p>&nbsp;</p>
<p>8)    <strong id="step4">Configure Gamepad:</strong> Once you added the ROM, its time to configure your gamepad, to do so open the EmulationStation Menu( refer the below shown Image)</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Emulator-Screen.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1082" src="http://learn.edwinrobotics.com/wp-content/uploads/Emulator-Screen.png" alt="" width="1274" height="711" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Emulator-Screen.png 1274w, https://learn.edwinrobotics.com/wp-content/uploads/Emulator-Screen-300x167.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Emulator-Screen-1024x571.png 1024w" sizes="auto, (max-width: 1274px) 100vw, 1274px" /></a></p>
<p>&nbsp;</p>
<blockquote><p>Select: retroPie menu -&gt; Input options.</p></blockquote>
<p>&nbsp;</p>
<p>9)    Make Sure to connect your game pad before selecting Input options from the Menu. Once selected refer the below key map to configure your gamepad, all you need to do is to press the corresponding key for the shown input option.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://learn.edwinrobotics.com/wp-content/uploads/Gamepad.png" target="_blank"><img loading="lazy" decoding="async" class="alignnone wp-image-1179 size-full" src="http://learn.edwinrobotics.com/wp-content/uploads/Gamepad.png" width="1768" height="851" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Gamepad.png 1768w, https://learn.edwinrobotics.com/wp-content/uploads/Gamepad-300x144.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Gamepad-1024x493.png 1024w" sizes="auto, (max-width: 1768px) 100vw, 1768px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Once done, the settings will be saved permanently  in your system, incase any mistake happened, you can reconfigure your gamepad anytime. <a href="https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration" target="_blank">Refer this link</a>, if you are planning to add some other gamepad to your raspberry pi, once done you are ready to control your EmulationStation and play games using your gamepad.</p>
<blockquote><p>Note: Only one input is supported for single player games, thus if you had connected multiple inputs like keyboard and gamepad, make sure to disconnect whichever not needed and connect only one.</p></blockquote>
<p>&nbsp;</p>
<p>Do let us know if you are facing any issue with any step, our team will get back to you, to help with installation.</p>
<p>&nbsp;</p>
<p><strong id="step5">References:</strong></p>
<ul>
<li><a href="https://shop.edwinrobotics.com/raspberry-pi/559-raspberry-pi-compatible-usb-gamepad.html" target="_blank">Buy Raspberry Pi Compatible Gamepad</a></li>
<li><a href="https://github.com/retropie/retropie-setup/wiki/Updating-RetroPie" target="_blank">Updating RetroPie</a></li>
<li><a href="https://github.com/retropie/retropie-setup/wiki/RetroArch-Configuration" target="_blank">RetroArch Configuration</a></li>
<li><a href="https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#where-did-the-desktop-go" target="_blank">FAQ</a></li>
</ul>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/retropie-install-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="http://learn.edwinrobotics.com/wp-content/uploads/Basic-Install.mp4" length="298995" type="video/mp4" />
<enclosure url="http://learn.edwinrobotics.com/wp-content/uploads/ES-at-boot.mp4" length="878116" type="video/mp4" />

			</item>
		<item>
		<title>Getting started with the Particle Photon</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-the-particle-photon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-the-particle-photon</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-the-particle-photon/#respond</comments>
		
		<dc:creator><![CDATA[emil]]></dc:creator>
		<pubDate>Fri, 20 Jan 2017 20:13:26 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[IOT]]></category>
		<category><![CDATA[Particle Photon]]></category>
		<category><![CDATA[Wireless]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1121</guid>

					<description><![CDATA[<img width="1000" height="750" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013.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_0013.jpg 1000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013-300x225.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013-640x480.jpg 640w" sizes="auto, (max-width: 1000px) 100vw, 1000px" />The particle photon provides one of the best IoT experience in the market, its out of the box experience is unparalleled. Here we will be talking about the steps required to get started with the Particle Photon. Hardware Required:   &#160; Particle Photon w/ Headers   &#160; microUSB Cable Manually upgrading to the latest firmware: [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="1000" height="750" src="https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013.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_0013.jpg 1000w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013-300x225.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/DSC_0013-640x480.jpg 640w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><div class="et-l et-l--post">
			<div class="et_builder_inner_content et_pb_gutters3">
		<p align="left"><span style="font-family: Calibri,sans-serif;">The particle photon provides one of the best IoT experience in the market, its out of the box experience is unparalleled. Here we will be talking about the steps required to get started with the Particle Photon.</span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Hardware Required:</b></span></p>
<table style="height: 177px;" width="451" cellspacing="0" cellpadding="4">
<tbody>
<tr valign="top">
<td width="50%"> <a href="https://shop.edwinrobotics.com/particle/506-particle-photon-wh.html" target="_blank"><img loading="lazy" decoding="async" class="aligncenter wp-image-1122 size-thumbnail" src="http://learn.edwinrobotics.com/wp-content/uploads/particle-photon-sq-150x150.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/particle-photon-sq-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/particle-photon-sq-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/particle-photon-sq-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/particle-photon-sq.jpg 477w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a></td>
<td width="50%">&nbsp;</p>
<p><a href="https://shop.edwinrobotics.com/particle/506-particle-photon-wh.html" target="_blank">Particle Photon w/ Headers</a></td>
</tr>
<tr valign="top">
<td width="50%"> <a href="https://shop.edwinrobotics.com/cables-and-adapters/213-usb-20-a-male-to-micro-5pin-male.html" target="_blank"><img loading="lazy" decoding="async" class="aligncenter wp-image-1124 size-thumbnail" src="http://learn.edwinrobotics.com/wp-content/uploads/usb-20-a-male-to-micro-5pin-male-150x150.jpg" width="150" height="150" srcset="https://learn.edwinrobotics.com/wp-content/uploads/usb-20-a-male-to-micro-5pin-male-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/usb-20-a-male-to-micro-5pin-male-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/usb-20-a-male-to-micro-5pin-male-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/usb-20-a-male-to-micro-5pin-male.jpg 477w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a></td>
<td style="text-align: center;" width="50%">&nbsp;</p>
<p><a href="https://shop.edwinrobotics.com/cables-and-adapters/213-usb-20-a-male-to-micro-5pin-male.html" target="_blank">microUSB Cable</a></td>
</tr>
</tbody>
</table>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Manually upgrading to the latest firmware:</b></span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">The Particle Photon may not come with the latest firmware, <b>the firmware is automatically upgraded to the latest version when a program is uploaded</b>. Alternatively, the firmware can also be upgraded to the latest version using the Particle Firmware Manager app. You can get the latest version from <a href="https://github.com/spark/firmware/releases">Firmware Releases page</a></span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">Once downloaded, run the application as administrator this will automatically install the drivers first and will later ask to connect the board.</span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">Once the drivers are installed, <b>connect the Particle Photon</b> and <b>click on Update to X.X.X</b> where X.X.X is the firmware version. </span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Connecting the Particle Photon to the WiFi using the Particle App</b></span></p>
<ol>
<li><span style="font-family: Calibri,sans-serif;">The easiest way to configure the Particle Photon is using the Particle App, there are <a href="https://play.google.com/store/apps/details?id=io.particle.android.app">Android</a> and <a href="https://itunes.apple.com/us/app/particle-build-iot-projects/id991459054?mt=8">iOS</a> versions available.</span></li>
<li><span style="font-family: Calibri,sans-serif;">Once the board is booted up and in setup mode the on board RGB Led will start <b>blinking blue.</b></span></li>
<li><span style="font-family: Calibri,sans-serif;">Click on <b>setup a photon </b>and choose the WiFi AP corresponding to <b>Photon-XXXX </b>where XXXX varies from board to board. Once connected select your WiFi and enter the password.</span></li>
<li><span style="font-family: Calibri,sans-serif;">The tinker code helps you configure the various GPIO pins on the Photon through the mobile app. If the board is flashed with a non-Tinker code, it can be re-flashed though the app itself. The <b>on-board LED</b> is connected to D7</span></li>
</ol>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Programming the Particle Photon</b></span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">Particle offers 3 options to program the Particle Photon.</span></p>
<ul>
<li><span style="font-family: Calibri,sans-serif;">Online</span></li>
<li><span style="font-family: Calibri,sans-serif;">Semi-offline</span></li>
<li><span style="font-family: Calibri,sans-serif;">Offline</span></li>
</ul>
<p align="left"><span style="font-family: Calibri,sans-serif;">In this tutorial we will be covering the Online and the Semi-offline method</span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Programming the Particle Photon Online</b></span></p>
<p align="left"><img loading="lazy" decoding="async" class="aligncenter wp-image-1117" src="http://learn.edwinrobotics.com/wp-content/uploads/Particle-IDE-1024x695.png" width="649" height="441" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Particle-IDE-1024x695.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-IDE-300x204.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-IDE-140x94.png 140w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-IDE.png 1599w" sizes="auto, (max-width: 649px) 100vw, 649px" /></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">Particle has a great <a href="https://build.particle.io/">online IDE</a> that can be used for pushing code onto the Particle Photon. </span></p>
<table style="height: 281px;" width="560" cellspacing="0" cellpadding="4">
<colgroup>
<col width="128*" />
<col width="128*" /> </colgroup>
<tbody>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1114" src="http://learn.edwinrobotics.com/wp-content/uploads/Flash.png" alt="" width="44" height="44" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Flash the code on to the Particle Photon</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1119" src="http://learn.edwinrobotics.com/wp-content/uploads/Verify.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Verify the code of errors</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1116" src="http://learn.edwinrobotics.com/wp-content/uploads/Open.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Save current code</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1111" src="http://learn.edwinrobotics.com/wp-content/uploads/Code.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Show/Hide the side bar</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1115" src="http://learn.edwinrobotics.com/wp-content/uploads/Library.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">List of libraries</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1113" src="http://learn.edwinrobotics.com/wp-content/uploads/Docs.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">View the docs</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1120" src="http://learn.edwinrobotics.com/wp-content/uploads/Devices.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">List of devices</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1112" src="http://learn.edwinrobotics.com/wp-content/uploads/Console.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Open the Particle Dashboard that will list all your devices and products</span></p>
</td>
</tr>
<tr>
<td width="50%"> <img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1118" src="http://learn.edwinrobotics.com/wp-content/uploads/Settings.png" alt="" width="45" height="45" /></td>
<td width="50%">
<p align="left"><span style="font-family: Calibri,sans-serif;">Basics settings for Particle Account </span></p>
</td>
</tr>
</tbody>
</table>
<p align="left"><strong><span style="font-family: Calibri,sans-serif;">Step 1: Get the Code ready</span></strong></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">The first step would be to create an app, for the tutorial we will be using the blink an LED app. Once the code is typed out and ready to be flashed, the board that needs to be flashed needs to be selected. </span></p>
<p align="left"><strong><span style="font-family: Calibri,sans-serif;">Step 2: Select the device</span></strong></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">The device to be flashed can be selected from the list of devices tab. Here you can also select the firmware that is to be used.<br />
</span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;"><strong> Step 3: Flashing the code</strong></span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">Flashing the code is as simple as clicking on the flash button. The first time uploading the code might take longer as the firmware will need be upgraded, this process is denoted by the magenta color on the RGB Led</span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;"><b>Programming the Particle Photon using the IDE</b></span></p>
<p align="left"><img loading="lazy" decoding="async" class="aligncenter wp-image-1126" src="http://learn.edwinrobotics.com/wp-content/uploads/Particle-Dev.png" width="650" height="647" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Particle-Dev.png 1006w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-Dev-150x150.png 150w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-Dev-300x300.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Particle-Dev-184x184.png 184w" sizes="auto, (max-width: 650px) 100vw, 650px" /></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">The Particle IDE offers a local solution to coding on the Particle Photon, the IDE allows you to code locally but still requires an internet connection to be able to compile the code and to push it to the board. </span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">In order to be able to select the board that needs to be programmed, the IDE needs access to your particle account. This can be done through the Particle menu, <b>Particle</b> → <b>Login to Particle Cloud</b><br />
The device can be selected from <b>Parti</b><b>cl</b><b>e </b>→<b> Select Device </b></span></p>
<p align="left"><span style="font-family: Calibri,sans-serif;">In order to get started, we need to create a project folder which will hold the code. Once done add the project folder to the Particle IDE. This will show in the side bar</span></p>
<p align="left"><img loading="lazy" decoding="async" class="aligncenter wp-image-1125" src="http://learn.edwinrobotics.com/wp-content/uploads/Project-Folder.png" alt="" width="460" height="112" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Project-Folder.png 1199w, https://learn.edwinrobotics.com/wp-content/uploads/Project-Folder-300x73.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Project-Folder-1024x249.png 1024w" sizes="auto, (max-width: 460px) 100vw, 460px" /></p>
<p><span style="font-family: Calibri,sans-serif;">All of the files for the project will be shown in the sidebar. <b>Any library that is to be included in the code must be added to this folder </b>, all added libraries will show up under this.</span></p>
<p><span style="font-family: Calibri,sans-serif;">Once the code is ready to be uploaded, click on flash. The status will display success once uploaded.</span></p>
<p align="left"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1129" src="http://learn.edwinrobotics.com/wp-content/uploads/success.png" alt="" width="1700" height="52" srcset="https://learn.edwinrobotics.com/wp-content/uploads/success.png 1700w, https://learn.edwinrobotics.com/wp-content/uploads/success-300x9.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/success-1024x31.png 1024w" sizes="auto, (max-width: 1700px) 100vw, 1700px" /></p>

		</div><!-- .et_builder_inner_content -->
	</div><!-- .et-l -->
	]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/getting-started-with-the-particle-photon/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 176/699 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 77/235 queries in 0.172 seconds using APC

Served from: learn.edwinrobotics.com @ 2025-07-19 16:04:02 by W3 Total Cache
-->