<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>TL-MR3020 &#8211; Squix &#8211; TechBlog</title>
	<atom:link href="https://blog.squix.org/tag/tl-mr3020/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.squix.org</link>
	<description></description>
	<lastBuildDate>Sun, 17 Apr 2016 07:56:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.8</generator>
<site xmlns="com-wordpress:feed-additions:1">121913304</site>	<item>
		<title>Turn on/off USB Power on TL-MR3020 running OpenWrt to restart Arduino</title>
		<link>https://blog.squix.org/2013/09/turn-onoff-usb-power-on-tl-mr3020.html</link>
					<comments>https://blog.squix.org/2013/09/turn-onoff-usb-power-on-tl-mr3020.html#respond</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Wed, 18 Sep 2013 06:28:00 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[low cost wifi shield]]></category>
		<category><![CDATA[TL-MR3020]]></category>
		<guid isPermaLink="false">http://blog.squix.org/2013/09/18/turn-onoff-usb-power-on-tl-mr3020/</guid>

					<description><![CDATA[In a later blog post I will describe how I am using a TL-MR3020 router as low-cost wifi shield for my Arduino to transmit sensor data over wifi. In this post I just want to show how you can script a restart of the arduino ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2013/09/turn-onoff-usb-power-on-tl-mr3020.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;" trbidi="on">
In a later blog post I will describe how I am using a TL-MR3020 router as low-cost wifi shield for my Arduino to transmit sensor data over wifi. In this post I just want to show how you can script a restart of the arduino by powering off the USB port that the Arduino is connected to. In need this because sometimes the arduino does not send anymore data to the ttyUSB0 device. So as a workaround I&#8217;m restarting the Arduino from time to time by cron job.</p>
<pre class="prettyprint">
#!/bin/sh
echo 0 > /sys/class/gpio/gpio8/value
echo 1 > /sys/class/gpio/gpio8/value
echo "$(date)" >> /tmp/restart.log
</pre>
<p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2013/09/turn-onoff-usb-power-on-tl-mr3020.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">86</post-id>	</item>
	</channel>
</rss>
