<?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>IOT | Learn with Edwin Robotics</title>
	<atom:link href="https://learn.edwinrobotics.com/category/iot/feed/" rel="self" type="application/rss+xml" />
	<link>https://learn.edwinrobotics.com</link>
	<description>Tutorials on basics of electronics, etc.</description>
	<lastBuildDate>Sun, 30 Dec 2018 11:17:58 +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>Getting Started with ESP-WROOM-02</title>
		<link>https://learn.edwinrobotics.com/getting-started-with-esp-wroom-02/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-esp-wroom-02</link>
					<comments>https://learn.edwinrobotics.com/getting-started-with-esp-wroom-02/#comments</comments>
		
		<dc:creator><![CDATA[Abhishek Nair]]></dc:creator>
		<pubDate>Sun, 26 Mar 2017 10:13:59 +0000</pubDate>
				<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[IOT]]></category>
		<category><![CDATA[Wireless]]></category>
		<category><![CDATA[esp]]></category>
		<category><![CDATA[esp-wroom]]></category>
		<category><![CDATA[esp8266]]></category>
		<category><![CDATA[Getting started]]></category>
		<category><![CDATA[IoT]]></category>
		<category><![CDATA[wroom]]></category>
		<category><![CDATA[wroom-02]]></category>
		<guid isPermaLink="false">http://learn.edwinrobotics.com/?p=1673</guid>

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

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

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

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

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

					<description><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2.jpg" class="attachment- size- wp-post-image" alt="AC Line detector using optocoupler" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" />Want to check if you left your lights ON remotely, need to detect the zero crossing point for your dimming circuit or do you just need to interface a 230V signal to your Arduino? The AC Mains Detector board simplifies interfacing high voltage signals by giving a digital output when an AC voltage is detected. [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="6000" height="4000" src="https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2.jpg" class="attachment- size- wp-post-image" alt="AC Line detector using optocoupler" style="float:left; margin:0 15px 15px 0;" decoding="async" loading="lazy" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2.jpg 6000w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-300x200.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-1024x683.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-1080x720.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Isometric-2-140x94.jpg 140w" sizes="auto, (max-width: 6000px) 100vw, 6000px" /><p>Want to check if you left your lights ON remotely, need to detect the zero crossing point for your dimming circuit or do you just need to interface a 230V signal to your Arduino? The AC Mains Detector board simplifies interfacing high voltage signals by giving a digital output when an AC voltage is detected. By disabling the on board capacitor, zero crossing detection is possible as well.</p>
<div id="attachment_2054" style="width: 510px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/sensors/960-ac-line-detection-module.html" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2054" class="wp-image-2054" src="http://learn.edwinrobotics.com/wp-content/uploads/Iso.jpg" alt="AC line detection using optocoupler, diode and rectifer" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Iso.jpg 1500w, https://learn.edwinrobotics.com/wp-content/uploads/Iso-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Iso-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Iso-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Iso-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/Iso-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-2054" class="wp-caption-text"><em>AC Line detection Module</em></p></div>
<p>You can buy this item from the following links:</p>
<p><strong>Within GCC</strong>: <a href="https://shop.edwinrobotics.com/sensors/960-ac-mains-zero-crossing-detection-module.html" target="_blank" rel="noopener">Edwin Robotics</a></p>
<p><strong>International Order</strong>: <a href="https://www.tindie.com/products/edwinrobotics/ac-mains-zero-crossing-detector/" target="_blank" rel="noopener">Tindie</a></p>
<p><a href="https://www.tindie.com/stores/edwinrobotics/?ref=offsite_badges&amp;utm_source=sellers_edwinrobotics&amp;utm_medium=badges&amp;utm_campaign=badge_medium"><img loading="lazy" decoding="async" src="https://d2ss6ovg47m0r5.cloudfront.net/badges/tindie-mediums.png" alt="I sell on Tindie" width="150" height="78" /></a></p>
<p>Let us have a look at the guide contents, refer to the list below:</p>
<ul>
<li>
<h4><a href="#Step1">Components</a></h4>
</li>
<li>
<h4><a href="#Step8">Board Pinouts</a></h4>
</li>
<li>
<h4><a href="#Step2">Circuit Schematics </a></h4>
</li>
<li>
<h4><a href="#Step4">Interfacing with Arduino</a></h4>
</li>
<li>
<h4><a href="#Step7">Zero Crossing detection using Arduino</a></h4>
</li>
</ul>
<p>&nbsp;</p>
<h1 id="Step1"><strong>Components</strong></h1>

<table id="tablepress-24" class="tablepress tablepress-id-24">
<tbody>
<tr class="row-1">
	<td class="column-1"><div id="attachment_2055" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/sensors/960-ac-line-detection-module.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2055" src="http://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-150x150.jpg" alt="AC LINE MONITOR LOGIC-OUT MODULE" width="150" height="150" class="size-thumbnail wp-image-2055" srcset="https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/AC-Line-Detector_Side.jpg 1300w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-2055" class="wp-caption-text">AC Line detection Module</p></div></td><td class="column-2"><div id="attachment_241" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/boards/75-arduino-uno-r3.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-241" src="http://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-150x150.jpg" alt="Arduino UNO Microcontroller board" width="150" height="150" class="size-thumbnail wp-image-241" srcset="https://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/2016/05/UNO-184x184.jpg 184w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-241" class="wp-caption-text">Arduino UNO</p></div></td><td class="column-3"><div id="attachment_1571" style="width: 160px" class="wp-caption aligncenter"><a href="https://shop.edwinrobotics.com/prototyping/19-male-female-jumper-wires-pack-of-10.html"target="_blank"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-1571" src="http://learn.edwinrobotics.com/wp-content/uploads/179-2-150x150.jpg" alt="Arduino Jumper wires" width="150" height="150" class="size-thumbnail wp-image-1571" srcset="https://learn.edwinrobotics.com/wp-content/uploads/179-2-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/179-2-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/179-2-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/179-2.jpg 600w" sizes="auto, (max-width: 150px) 100vw, 150px" /></a><p id="caption-attachment-1571" class="wp-caption-text">Male-Female Jumper wires</p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-24 from cache -->
<p>&nbsp;</p>
<h1 id="Step8"><strong>Board Pinouts</strong></h1>

<table id="tablepress-25" class="tablepress tablepress-id-25">
<tbody>
<tr class="row-1">
	<td class="column-1"><div id="attachment_2066" style="width: 310px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2066" src="http://learn.edwinrobotics.com/wp-content/uploads/PCB-TOP-Pins-300x300.jpg" alt="AC Detection Board for industrial application" width="300" height="300" class="size-medium wp-image-2066" srcset="https://learn.edwinrobotics.com/wp-content/uploads/PCB-TOP-Pins-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/PCB-TOP-Pins-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/PCB-TOP-Pins-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/PCB-TOP-Pins.jpg 1000w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p id="caption-attachment-2066" class="wp-caption-text">Top Side</p></div></td><td class="column-2"><div id="attachment_2092" style="width: 310px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2092" src="http://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper-300x300.jpg" alt="AC mains zero crossing detection" width="300" height="300" class="size-medium wp-image-2092" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper-184x184.jpg 184w, https://learn.edwinrobotics.com/wp-content/uploads/Bottom-jumper.jpg 1000w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><p id="caption-attachment-2092" class="wp-caption-text">Bottom Side</p></div></td>
</tr>
</tbody>
</table>
<!-- #tablepress-25 from cache -->
<ul>
<li><strong>AC-IN &#8211; </strong>Connect the AC line that needs to be detected here.</li>
<li><strong>&#8211;</strong> (negative sign) &#8211; Connect to ground of microcontroller</li>
<li><strong>+</strong> (positive sign) &#8211; Connect to VCC of microcontroller <strong>in case external pull-up is required</strong></li>
<li><strong>S</strong> &#8211; Connect to a digital/interrupt pin of microcontroller</li>
</ul>
<p><strong>Note: 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.</strong></p>
<p>&nbsp;</p>
<h1 id="Step2"><strong>Circuit Schematics</strong></h1>
<p>The circuit consists of two main parts, first is the Bridge Rectifier (DB107) which converts the AC signal to DC and the second is the Optocoupler (LTV816), which provides isolation between High voltage(HV) side and Low Voltage (LV) Side.<a href="http://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-2115" src="http://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated.png" alt="AC line Detection Schematics and Circuit" width="1121" height="275" srcset="https://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated.png 1121w, https://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated-300x74.png 300w, https://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated-1024x251.png 1024w, https://learn.edwinrobotics.com/wp-content/uploads/Schematics_LTV816_updated-1080x265.png 1080w" sizes="auto, (max-width: 1121px) 100vw, 1121px" /></a></p>
<p>&nbsp;</p>
<p>A pull-up resistor is provided for use with microcontrollers (e.g. ESP8266) that do not have an internal pullup resistor.</p>
<p>&nbsp;</p>
<h1 id="Step4"><strong>Interfacing with Arduino</strong></h1>
<p>The hardware connections are pretty straightforward. On the low voltage side the + (positive symbol) goes to VCC of microcontroller, &#8211; (negative symbol) goes to GND and S goes any digital/interrupt pin. On the high voltage side, the AC lines are connected.</p>
<div id="attachment_2078" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2078" class="wp-image-2078" src="http://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino.jpg" alt="AC Line detection using arduino" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino.jpg 1300w, https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino-1024x1024.jpg 1024w, https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino-1080x1080.jpg 1080w, https://learn.edwinrobotics.com/wp-content/uploads/PCB_Arduino-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-2078" class="wp-caption-text"><em>Arduino Connections</em></p></div>
<p>In this example, Pin 2 on the arduino is used in this example as it can be used as an interrupt pin as well.</p>
<p>Sample Code:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="c" data-enlighter-theme="atomic">#define Signal_Pin 2  // Modify this pin as per your connection

void setup() {
  pinMode(Signal_Pin , INPUT_PULLUP);
  Serial.begin(9600);
}

void loop() {
  if ( digitalRead(Signal_Pin) == 0 )
    Serial.println (" AC Mains 230v Detected ");
}
</pre>
<p>&nbsp;</p>
<p><strong>Note: Do not touch the PCB once powered, you can get electrocuted. Keep it away from reach of humans/Animals. Make sure that there are no shorted wires, when connecting the 230v AC mains supply.</strong></p>
<p>&nbsp;</p>
<h1 id="Step7"><strong>Zero Crossing Detection using Arduino</strong></h1>
<p>By default zero crossing detection is disabled by the use of a 2.2uF capacitor, in order to use the board for zero crossing detection the capacitor needs to be bypassed by cutting the trace shown below. It can be resoldered at any time later to disable zero crossing:</p>
<div id="attachment_2072" style="width: 510px" class="wp-caption aligncenter"><a href="http://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-2072" class="wp-image-2072" src="http://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB.jpg" alt="Zero crossing detection using AC line detector module" width="500" height="500" srcset="https://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB.jpg 1000w, https://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB-150x150.jpg 150w, https://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB-300x300.jpg 300w, https://learn.edwinrobotics.com/wp-content/uploads/zero-Crossing-PCB-184x184.jpg 184w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><p id="caption-attachment-2072" class="wp-caption-text"><em>Modify the jumper</em></p></div>
<p>The Arduino connection will be same as before, upload the following code and view the output on Serial Monitor at 9600 baud rate:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp" data-enlighter-theme="atomic">#define Signal_Pin 2 //Use Arduino Pin 2 or pin 3, both supports hardware interrupt
int counter=0;

void setup()
{
  pinMode(Signal_Pin , INPUT_PULLUP);
  Serial.begin(9600);
  attachInterrupt(0, zero_crosss_int, RISING);  // Choose the zero cross interrupt # from the table above
}

void zero_crosss_int()  // function to be fired at the zero crossing to dim the light
{
  counter++;
}

void loop()
{
  Serial.println(counter);
}
</pre>
<p>&nbsp;</p>
<p>You can see that the counter value increases with every cycle of AC line and the moment you turn off the AC line, the counter Stops as well.</p>
<p>&nbsp;</p>
<h1><strong>References:</strong></h1>
<ul>
<li><a href="http://www.rectron.com/data_sheets/db101-107.pdf" target="_blank" rel="noopener">DB107 Rectifier Datasheet</a></li>
<li><a href="http://datasheet.octopart.com/LTV-816S-Lite-On-datasheet-26684805.pdf" target="_blank" rel="noopener">LTV-816 Datasheet</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://learn.edwinrobotics.com/230v110v-ac-mains-detection-using-arduino-raspberry-pi-and-esp8266-thing/feed/</wfw:commentRss>
			<slash:comments>54</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 217/248 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 43/94 queries in 0.056 seconds using APC

Served from: learn.edwinrobotics.com @ 2025-07-21 13:57:46 by W3 Total Cache
-->