<?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>MXChip Archives | KAISPE</title>
	<atom:link href="https://www.kaispe.com/tag/mxchip/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kaispe.com/tag/mxchip/</link>
	<description>Your Digital Transformation Partner</description>
	<lastBuildDate>Wed, 15 May 2019 09:10:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>

<image>
	<url>https://www.kaispe.com/wp-content/uploads/2022/01/cropped-k-32x32.png</url>
	<title>MXChip Archives | KAISPE</title>
	<link>https://www.kaispe.com/tag/mxchip/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Working with MxChip AZ3166 IoT DevKit-Part II</title>
		<link>https://www.kaispe.com/working-with-mxchip-az3166-iot-devkit-part-ii/</link>
		
		<dc:creator><![CDATA[jdkaispe]]></dc:creator>
		<pubDate>Wed, 15 May 2019 09:10:05 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Azure IoT Hub]]></category>
		<category><![CDATA[Microsoft Azure IoT]]></category>
		<category><![CDATA[MXChip]]></category>
		<category><![CDATA[MxChip AZ3166 IoT DevKit]]></category>
		<guid isPermaLink="false">https://www.kaispe.com/?p=485</guid>

					<description><![CDATA[<p>&#160; Hi! Today in this blog post, I will demonstrate you how to get started with MXChip AZ3166 that will let you build cloud powered IoT application in minutes using [&#8230;]</p>
<p>The post <a href="https://www.kaispe.com/working-with-mxchip-az3166-iot-devkit-part-ii/">Working with MxChip AZ3166 IoT DevKit-Part II</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Hi!</p>
<p>Today in this blog post, I will demonstrate you how to get started with MXChip AZ3166 that will let you build cloud powered IoT application in minutes using Microsoft Azure Services.</p>
<p>First of all, we need to prepare the development environment which includes:</p>
<ul>
<li>Visual Studio Code.</li>
<li>Arduino</li>
<li>An active Microsoft Azure Account/subscription.</li>
<li>MXChip AZ3166 for hardware use.</li>
<li>Extensions for Visual Studio Code:<br />
-Arduino<br />
-Azure IoT Tools<br />
-Azure IoT Hub Toolkit<br />
-Azure  IoT Device Workbench</li>
</ul>
<p>We also need to install ST-Link driver ( Uses for communication with development machine), and  <strong>Arduino:Board manager</strong> which we can find by pressing the F1 for command option and install <strong>AZ3166</strong>.</p>
<p><img fetchpriority="high" decoding="async" class="wp-image-537 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx4-2.png" alt="" width="593" height="300" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx4-2.png 743w, https://www.kaispe.com/wp-content/uploads/2019/05/mx4-2-300x152.png 300w" sizes="(max-width: 593px) 100vw, 593px" /></p>
<p>So, now as we have developed the lab environment, we will use Azure Portal to create a resource group and Azure IoT Hub to register our device.</p>
<p>To configure the device we need to plug the USB cable to IoT DevKit and a PC. Finally, we need to configure WiFi for our IoT DevKit internet  connectivity. We will hold down button <strong>B, </strong>push and release reset the button and then it displays the service set identifier (SSID) and a WiFi configuration IP address.</p>
<p><img decoding="async" class="size-medium wp-image-492 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx12-300x300.jpg" alt="" width="300" height="300" /></p>
<p>For the WiFi connectivity first we need to connect our IoT DevKit SSID to PC  and enter 192.168.0.1 in the browser, now we are ready to use our device.</p>
<p>Now lets build the project as IoT DevKit contains  loads of sample projects which we can use to connect  with the IoT DevKit and explore Azure services such as Cognitive Service etc.</p>
<p>So, in the first step we have to open Visual Studio Code and press F1 for the command palette and search for <strong>Azure  IoT Device Workbench:Open Example </strong>and then select IoT DevKit</p>
<p><img decoding="async" class="wp-image-538 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx5-1.png" alt="" width="587" height="472" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx5-1.png 881w, https://www.kaispe.com/wp-content/uploads/2019/05/mx5-1-300x241.png 300w, https://www.kaispe.com/wp-content/uploads/2019/05/mx5-1-768x617.png 768w" sizes="(max-width: 587px) 100vw, 587px" /></p>
<p>Next step, in Azure  IoT Device Workbench page we have to find Get Started sample and download the sample code.</p>
<p>After we have downloaded the sample code we need to &#8220;Provision Azure Services&#8221; and we can do that by pressing F1 and write in a command palette <strong>Azure IoT Device Workbench:Provision Azure Services</strong>.</p>
<p><img decoding="async" class="wp-image-539 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx6-1.png" alt="" width="580" height="379" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx6-1.png 1530w, https://www.kaispe.com/wp-content/uploads/2019/05/mx6-1-300x196.png 300w, https://www.kaispe.com/wp-content/uploads/2019/05/mx6-1-1024x668.png 1024w, https://www.kaispe.com/wp-content/uploads/2019/05/mx6-1-768x501.png 768w" sizes="(max-width: 580px) 100vw, 580px" /></p>
<p>Now, as we have successfully provisioned, we have to select the serial port and a board which we can find in bottom-right page in Visual Studio Code, and that is where the ST-Link driver is being used.</p>
<p>In next step we need to configure the device connection string. We can do that by running the command <strong>Azure</strong> <strong>IoT Device Workbench:Configure Device Setting</strong>. We then select the configure Device Setting and we will see the following steps:</p>
<p><strong>1-Configure Device Connection String</strong><br />
<strong>2-Select  IoT hub Device Connection String.</strong></p>
<p>On hardware side, we need to configure and save the connection string, we have to hold down button A, push and release the reset button.</p>
<p>Now, we are ready to upload the device code and you can upload it by running the command in command palette by pressing F1 and type <strong>Azure IoT Device Workbench:Upload Device Code.</strong></p>
<p><img decoding="async" class="wp-image-497 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1.png" alt="" width="641" height="95" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1.png 1920w, https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1-300x45.png 300w, https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1-1024x152.png 1024w, https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1-768x114.png 768w, https://www.kaispe.com/wp-content/uploads/2019/05/mx8-1-1536x228.png 1536w" sizes="(max-width: 641px) 100vw, 641px" /></p>
<p>We can test the project by opening the serial monitor port and then serial monitor will start displaying the messages which were sent to IoT Hub.</p>
<p><img decoding="async" class="wp-image-499 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1.png" alt="" width="659" height="172" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1.png 1920w, https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1-300x78.png 300w, https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1-1024x267.png 1024w, https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1-768x200.png 768w, https://www.kaispe.com/wp-content/uploads/2019/05/mx9-1-1536x401.png 1536w" sizes="(max-width: 659px) 100vw, 659px" /></p>
<p>We can also see the device messages on the IoT Hub we created as you can see below:</p>
<p><img decoding="async" class="wp-image-500 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2019/05/mx11.png" alt="" width="668" height="311" srcset="https://www.kaispe.com/wp-content/uploads/2019/05/mx11.png 1911w, https://www.kaispe.com/wp-content/uploads/2019/05/mx11-300x140.png 300w, https://www.kaispe.com/wp-content/uploads/2019/05/mx11-1024x477.png 1024w, https://www.kaispe.com/wp-content/uploads/2019/05/mx11-768x358.png 768w, https://www.kaispe.com/wp-content/uploads/2019/05/mx11-1536x716.png 1536w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>I hope you found this blog post helpful. If you have any questions, please feel free to contact me muhammad.ahmad@kaispe.com</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.kaispe.com/working-with-mxchip-az3166-iot-devkit-part-ii/">Working with MxChip AZ3166 IoT DevKit-Part II</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
