<?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>arvydas.co.uk</title>
	<atom:link href="http://www.arvydas.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arvydas.co.uk</link>
	<description>Entrepreneur and inventor with a huge passion for technology striving to find elegant solutions for complex problems</description>
	<lastBuildDate>Tue, 01 Nov 2022 10:06:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.5</generator>
	<item>
		<title>Trouble changing the country of Google account</title>
		<link>http://www.arvydas.co.uk/2022/11/trouble-changing-the-country-of-google-account/</link>
					<comments>http://www.arvydas.co.uk/2022/11/trouble-changing-the-country-of-google-account/#respond</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Tue, 01 Nov 2022 10:06:48 +0000</pubDate>
				<category><![CDATA[No category]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=414</guid>

					<description><![CDATA[So a couple of years ago I moved back to Lithuania, but my Google account was still bound to UK. The guides I used to change the country did not work and I did not have an option to change the country as described in the Google documentation. I had to do a few extra &#8230; <a href="http://www.arvydas.co.uk/2022/11/trouble-changing-the-country-of-google-account/" class="more-link">Continue reading<span class="screen-reader-text"> "Trouble changing the country of Google account"</span></a>]]></description>
										<content:encoded><![CDATA[<p>So a couple of years ago I moved back to Lithuania, but my Google account was still bound to UK. The guides I used to change the country did not work and I did not have an option to change the country as described in <a href="https://support.google.com/googleplay/answer/7431675?hl=en">the Google documentation</a>. I had to do a few extra steps:</p>
<ul>
<li>Delete the Google Family group</li>
<li>Change my phone number associated with the account to a Lithuanian one</li>
</ul>
<p>As soon as I did the last step, the option to switch to Lithuania appeared on my phone&#8217;s <strong>Settings </strong><img decoding="async" src="https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36" alt="and then" width="18" height="18" data-mime-type="image/png" data-alt-src="//lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw" /><strong> General </strong><img decoding="async" src="https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36" alt="and then" width="18" height="18" data-mime-type="image/png" data-alt-src="//lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw" /><strong> Account and device preferences </strong><img decoding="async" src="https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36" alt="and then" width="18" height="18" data-mime-type="image/png" data-alt-src="//lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw" /><strong> Country and profiles </strong>section.</p>
<p>Now I just need to wait and see what content will no longer be available for me as it takes 48 hours for the change to happen. I have a few games I bought for my kids to share with, but the most important one is obviously Minecraft! Fingers crossed it&#8217;s still available to install <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f605.png" alt="😅" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2022/11/trouble-changing-the-country-of-google-account/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sometimes it is worth just to wiggle the wires</title>
		<link>http://www.arvydas.co.uk/2017/09/sometimes-it-is-worth-just-to-wiggle-the-wires/</link>
					<comments>http://www.arvydas.co.uk/2017/09/sometimes-it-is-worth-just-to-wiggle-the-wires/#respond</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Tue, 05 Sep 2017 13:43:22 +0000</pubDate>
				<category><![CDATA[Repairs]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=401</guid>

					<description><![CDATA[Had an issue with a Linx 10 (model 1010B) tablet: touching anywhere on the screen would end up opening up Windows Start menu and touch registration was behaving erratically. This made the tablet pretty much unusable without mouse and keyboard attached.  The fix turned out to be very simple. First I was suspecting a software &#8230; <a href="http://www.arvydas.co.uk/2017/09/sometimes-it-is-worth-just-to-wiggle-the-wires/" class="more-link">Continue reading<span class="screen-reader-text"> "Sometimes it is worth just to wiggle the wires"</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420.jpg" rel="lightbox[401]"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-402" src="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420-500x281.jpg" alt="" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420-1024x576.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134420-1200x675.jpg 1200w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>Had an issue with a Linx 10 (model 1010B) tablet: touching anywhere on the screen would end up opening up Windows Start menu and touch registration was behaving erratically. This made the tablet pretty much unusable without mouse and keyboard attached.  The fix turned out to be very simple.</p>
<p><span id="more-401"></span></p>
<p>First I was suspecting a software issue, but googling turned out fruitless. Just before I was about to order a new touch screen replacement for the tablet, I decided to disassemble the device to check the internals and make sure I order the correct part. There are probably 3 different version of Linx 10 tablet released and I didn&#8217;t want to end up with a wrong part.</p>
<p>Removal of the back cover was very easy as it is held by clips around the edges. Once I got inside I was pleasantly surprised by the sturdiness of the construction. Even though the tablet is rather cheap the internals are securely attached to a metal frame. No wonder the tablet feels heavy. I determined 2 connectors which link with a flexible ribbon cable the touch screen and speakers to the main board. The ribbon cable goes underneath one of the batteries.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect.jpg" rel="lightbox[401]"><img decoding="async" class="alignnone size-medium wp-image-405" src="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect-500x281.jpg" alt="" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect-1024x576.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect-1200x675.jpg 1200w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134354-rect.jpg 1328w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>Just out of curiosity I decided to unclip the connectors and inspect the ribbon cable. Both sides of the connector looked intact and OK. I plugged the ribbon cable back on both ends and secured the connectors. I decided to give it another test to see if there was any change in touchscreen performance and&#8230; presto! It was working perfectly fine!</p>
<p>Reassembly was very easy &#8211; just had to apply double sided sticky tape on one of the internal magnets for the docking station which got loose and put it back in place.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645.jpg" rel="lightbox[401]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-404" src="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645-500x281.jpg" alt="" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645-1024x576.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2017/09/20170905_134645-1200x675.jpg 1200w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>This Linx 10 is back in action with an easy fix and a useful lesson learned: always try to wiggle wires and check connectors first, before carrying on with a repair!</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2017/09/sometimes-it-is-worth-just-to-wiggle-the-wires/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Loss of networking after apt-get upgrade on 1and1 dedicated server</title>
		<link>http://www.arvydas.co.uk/2016/02/loss-of-networking-after-apt-get-upgrade-on-1and1-dedicated-server/</link>
					<comments>http://www.arvydas.co.uk/2016/02/loss-of-networking-after-apt-get-upgrade-on-1and1-dedicated-server/#respond</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Fri, 19 Feb 2016 11:20:47 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=396</guid>

					<description><![CDATA[Recently upgraded my Ubuntu 14.04 server at 1and1 with apt-get update and apt-get upgrade to find out that the server is no longer accessible. Was still able to connect to the server via serial console supplied by 1and1 and found out that the server was having trouble setting up network interfaces during boot process. After &#8230; <a href="http://www.arvydas.co.uk/2016/02/loss-of-networking-after-apt-get-upgrade-on-1and1-dedicated-server/" class="more-link">Continue reading<span class="screen-reader-text"> "Loss of networking after apt-get upgrade on 1and1 dedicated server"</span></a>]]></description>
										<content:encoded><![CDATA[<p>Recently upgraded my Ubuntu 14.04 server at 1and1 with <em>apt-get update</em> and <em>apt-get upgrade</em> to find out that the server is no longer accessible. Was still able to connect to the server via serial console supplied by 1and1 and found out that the server was having trouble setting up network interfaces during boot process.<span id="more-396"></span></p>
<p>After further investigation there seemed to appear a new network interface called p10p1 and a bit of digging through the internet <a href="http://artofsimplicity.co.uk/ubuntu-unidentified-network-interface-biosdevname/" target="_blank">I found this blog post with a description on how to fix the issue</a>. The culprit seems to be biosdevname package which does not work well with 1and1 servers. Followed the instructions on the blog post and server is back up and running.</p>
<p>In case the original post disappears from the Internet, here are the steps to fix this issue.</p>
<p>First connect to the server using serial console supplied by 1and1. You can find the connection details on your 1and1 Control Panel.</p>
<p>Log in with your username and password. Then run the following commands:</p>
<pre class="brush: bash; title: ; notranslate">
sudo apt-get remove biosdevname
sudo update-initramfs -u
sudo reboot
</pre>
<p>You can find more details about the issue and links to StackOverflow explanations in the <a href="http://artofsimplicity.co.uk/ubuntu-unidentified-network-interface-biosdevname/" target="_blank">original blog post</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2016/02/loss-of-networking-after-apt-get-upgrade-on-1and1-dedicated-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fixing Wanhao Duplicator 4S MightyBoard</title>
		<link>http://www.arvydas.co.uk/2016/02/fixing-wanhao-duplicator-4s-mightyboard/</link>
					<comments>http://www.arvydas.co.uk/2016/02/fixing-wanhao-duplicator-4s-mightyboard/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Wed, 10 Feb 2016 13:27:54 +0000</pubDate>
				<category><![CDATA[3D Printer]]></category>
		<category><![CDATA[Repairs]]></category>
		<category><![CDATA[3D printer]]></category>
		<category><![CDATA[crystal oscillator]]></category>
		<category><![CDATA[Duplicator 4S]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[faulty]]></category>
		<category><![CDATA[MigthyBoard]]></category>
		<category><![CDATA[mother board]]></category>
		<category><![CDATA[repair]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=382</guid>

					<description><![CDATA[Recently I bough a faulty Wanhao Duplicator 4S to increase the capacity of my 3D printing requirements as I already own one and know the machine inside out. eBay seller&#8217;s description wrote that the 3D printer stalled in the middle of a print. I did some digging across the internet before I purchased the machine &#8230; <a href="http://www.arvydas.co.uk/2016/02/fixing-wanhao-duplicator-4s-mightyboard/" class="more-link">Continue reading<span class="screen-reader-text"> "Fixing Wanhao Duplicator 4S MightyBoard"</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_113137_HDR.jpg" rel="attachment wp-att-385" rel="lightbox[382]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-385" src="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_113137_HDR-500x281.jpg" alt="20160210_113137_HDR" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_113137_HDR-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_113137_HDR-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_113137_HDR-1024x576.jpg 1024w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>Recently I bough a faulty Wanhao Duplicator 4S to increase the capacity of my 3D printing requirements as I already own one and know the machine inside out. eBay seller&#8217;s description wrote that the 3D printer stalled in the middle of a print. I did some digging across the internet before I purchased the machine and was suspecting that some wires were not shielded correctly which resulted in electromagnetic interference. It cost me £300 and that&#8217;s half of the retail price so even if I couldn&#8217;t be able to fix it, I would have plenty of spare parts for my current 3D printer.</p>
<p><span id="more-382"></span></p>
<p>The machine booted up and was already preloaded with the latest version of Sailfish firmware. After the initial inspection, the troublesome wires were already properly shielded so the issue had to be something else.</p>
<p>First thing I wanted do is to update the Sailfish firmware on the machine and reset all settings as I had no clue what previously had been done to this 3D printer. However I could not connect to the printer with ReplicatorG via USB. Thinking that this could have been an issue with problematic firmware upload by previous owner I took out the MightyBoard mother board out of the machine and hooked it up to Atmel-ICE programmer to upload firmware manually.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160209_180708_HDR-e1455105816880.jpg" rel="attachment wp-att-386" rel="lightbox[382]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-386" src="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160209_180708_HDR-e1455105816880-281x500.jpg" alt="20160209_180708_HDR" width="281" height="500" srcset="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160209_180708_HDR-e1455105816880-281x500.jpg 281w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160209_180708_HDR-e1455105816880-768x1365.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160209_180708_HDR-e1455105816880-576x1024.jpg 576w" sizes="(max-width: 281px) 85vw, 281px" /></a></p>
<p>The upload was successful, but every time the machine booted up, the startup melody would become weird, change pitch and tone as if it was slowed down. Even after uploading the new firmware to the board I was unable to communicate with it via USB cable connected to the PC: the serial monitor would display garbage as soon as the connection was established on the USB to serial COM port.</p>
<p>This looked like mother board is at fault and a replacement costs around £90, but I don&#8217;t give up that easily! That&#8217;s when had an idea: could it be the crystal oscillator at fault? As it&#8217;s the main component that provides clock to the ATMega1280 the symptoms do indeed point to the part: serial communication speeds out of sync and startup melody sounding weird. I quickly found a spare 16MHz crystal lying around in the component box and replaced it with the suspect. Didn&#8217;t solder it flat to the board in case I had to remove it if it wasn&#8217;t faulty.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_101758.jpg" rel="attachment wp-att-384" rel="lightbox[382]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-384" src="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_101758-500x281.jpg" alt="20160210_101758" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_101758-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_101758-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_101758-1024x576.jpg 1024w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>The first time the motherboard booted and instantly played the startup melody at correct speed and pitch! Now I could also communicate with the machine via USB without any issues. I soldered the crystal flat on the motherboard, reassembled the 3D printer, calibrated the bed and now it&#8217;s printing <a href="https://www.blinkstick.com/products/blinkstick-strip">BlinkStick Strip enclosures</a> just as new.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_123411.jpg" rel="attachment wp-att-388" rel="lightbox[382]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-388" src="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_123411-500x281.jpg" alt="20160210_123411" width="500" height="281" srcset="http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_123411-500x281.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_123411-768x432.jpg 768w, http://www.arvydas.co.uk/wp-content/uploads/2016/02/20160210_123411-1024x576.jpg 1024w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>Nothing compares to that feeling when you get to fix a broken thing :-)</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2016/02/fixing-wanhao-duplicator-4s-mightyboard/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Compare version strings with InnoSetup</title>
		<link>http://www.arvydas.co.uk/2015/04/compare-version-strings-with-innosetup/</link>
					<comments>http://www.arvydas.co.uk/2015/04/compare-version-strings-with-innosetup/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Fri, 03 Apr 2015 13:44:52 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=377</guid>

					<description><![CDATA[I recently had to implement version string comparison for InnoSetup, because the solutions that I found on the internet did not suit my needs. Hopefully this will be useful for somebody else. // Procedure to split a string into an array of integers procedure Explode(var Dest: TArrayOfInteger; Text: String; Separator: String); var   i, p: &#8230; <a href="http://www.arvydas.co.uk/2015/04/compare-version-strings-with-innosetup/" class="more-link">Continue reading<span class="screen-reader-text"> "Compare version strings with InnoSetup"</span></a>]]></description>
										<content:encoded><![CDATA[<p>I recently had to implement version string comparison for InnoSetup, because the solutions that I found on the internet did not suit my needs. Hopefully this will be useful for somebody else.</p>
<pre class="brush: delphi; title: ; notranslate">
// Procedure to split a string into an array of integers 
procedure Explode(var Dest: TArrayOfInteger; Text: String; Separator: String);
var
  i, p: Integer;
begin
  i := 0;
  repeat
    SetArrayLength(Dest, i+1);
    p := Pos(Separator,Text);
    if p &amp;gt; 0 then begin
      Dest&#x5B;i] := StrToInt(Copy(Text, 1, p-1));
      Text := Copy(Text, p + Length(Separator), Length(Text));
      i := i + 1;
    end else begin
      Dest&#x5B;i] := StrToInt(Text);
      Text := '';
    end;
  until Length(Text)=0;
end;

// Function compares version strings numerically:
//     * when v1 = v2, result = 0  
//     * when v1 &amp;lt; v2, result = -1  
//     * when v1 &amp;gt; v2, result = 1
//
// Supports version numbers with trailing zeroes, for example 1.02.05.
// Supports comparison of two version number of different lengths, for example
//     CompareVersions('1.2', '2.0.3')
// When any of the parameters is '' (empty string) it considers version number as 0
function CompareVersions(v1: String; v2: String): Integer;
var
  v1parts: TArrayOfInteger;
  v2parts: TArrayOfInteger;
  i: Integer;
begin
  if v1 = '' then
  begin
    v1 := '0';
  end;

  if v2 = '' then
  begin
    v2 := '0';
  end;

  Explode(v1parts, v1, '.');
  Explode(v2parts, v2, '.');
  
  if (GetArrayLength(v1parts) &amp;gt; GetArrayLength(v2parts)) then
  begin
    SetArrayLength(v2parts, GetArrayLength(v1parts)) 
  end else if (GetArrayLength(v2parts) &amp;gt; GetArrayLength(v1parts)) then
  begin
    SetArrayLength(v1parts, GetArrayLength(v2parts)) 
  end; 
  
  for i := 0 to GetArrayLength(v1parts) - 1 do 
  begin
    if v1parts&#x5B;i] &amp;gt; v2parts&#x5B;i] then
    begin
      { v1 is greater }
      Result := 1;
      exit;
    end else if v1parts&#x5B;i] &amp;lt; v2parts&#x5B;i] then
    begin
      { v2 is greater }
      Result := -1;
      exit;
    end;
  end;
  
  { Are Equal }
  Result := 0;
end;
</pre>
<p>To test the code in InnoSetup, you can use the following function:</p>
<pre class="brush: delphi; title: ; notranslate">
procedure TestVersions(v1: String; v2: String);
begin
  Log(v1 + ' : ' + v2 + ' = ' + IntToStr(CompareVersions(v1, v2)));
end;
</pre>
<p>And call it with some parameters:</p>
<pre class="brush: delphi; title: ; notranslate">
  TestVersions('1', '2');
  TestVersions('2', '1');
  TestVersions('3', '3');
  
  TestVersions('1.1', '1');
  TestVersions('2.1', '1');
  TestVersions('1.1', '2');

  TestVersions('2.12.11', '2.12.25');
  TestVersions('', '2.12.25');
  TestVersions('2.12.25', '');
  TestVersions('', '');
  TestVersions('2.12.11', '2.012.11');
</pre>
<p>A practical example can be used as follows:</p>
<pre class="brush: delphi; title: ; notranslate">
if CompareVersion(currentVersion, newVersion) = -1 then
begin
  //do the upgrade
end
</pre>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2015/04/compare-version-strings-with-innosetup/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Windows 7 on Acer E1-530</title>
		<link>http://www.arvydas.co.uk/2015/03/windows-7-on-acer-e1-530/</link>
					<comments>http://www.arvydas.co.uk/2015/03/windows-7-on-acer-e1-530/#respond</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Wed, 04 Mar 2015 10:13:16 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Acer E1-530]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=372</guid>

					<description><![CDATA[My wife&#8217;s Acer E1-530 is a nice laptop which comes with Windows 8 &#8211; rather a big misunderstanding by Microsoft of how proper OS should work. Windows 8 is OK for tablets, but it&#8217;s absolute rubbish for laptops without touchscreen. For no reason whatsoever I had to completely reinstall it twice, because after some time &#8230; <a href="http://www.arvydas.co.uk/2015/03/windows-7-on-acer-e1-530/" class="more-link">Continue reading<span class="screen-reader-text"> "Windows 7 on Acer E1-530"</span></a>]]></description>
										<content:encoded><![CDATA[<p>My wife&#8217;s Acer E1-530 is a nice laptop which comes with Windows 8 &#8211; rather a big misunderstanding by Microsoft of how proper OS should work. Windows 8 is OK for tablets, but it&#8217;s absolute rubbish for laptops without touchscreen. For no reason whatsoever I had to completely reinstall it twice, because after some time it failed to boot due to some mysterious error. The only option was to reset it which fixed it for a few weeks. After the boot problem happened for the third time it was time to load Windows 7 on the laptop.</p>
<p>The process is fairly simple, you just need to go to BIOS (keep pressing F2 during boot screen) and enable legacy boot mode instead of UEFI. Acer does not provide Windows 7 drivers on their website for download, but all drivers are in the C:\OEM\Preload\Autorun\DRV hidden folder. Just stumbled on this blog post which turned out to be very handy by providing the tip on <a href="http://www.kypoth.com/infoblog/how-to-install-windows-7-on-an-acer-aspire-e1-530/">where to find drivers for the Acer E1-530</a>! The only missing driver is the &#8220;USB eXtensible Host Controller&#8221; which you can download from my blog:</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2015/03/USB_Intel_1.0.10.255_W7_April_2014.7z">USB_Intel_1.0.10.255_W7_April_2014</a></p>
<p>I replaced the HDD with an SSD and Windows 7 on the laptop and now it&#8217;s become a very fast and nice piece of kit.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2015/03/windows-7-on-acer-e1-530/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Visual Studio 2013 hangs after each debug session</title>
		<link>http://www.arvydas.co.uk/2015/02/visual-studio-2013-hangs-after-each-debug-session/</link>
					<comments>http://www.arvydas.co.uk/2015/02/visual-studio-2013-hangs-after-each-debug-session/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Sat, 28 Feb 2015 17:37:21 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[msvs2013]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=370</guid>

					<description><![CDATA[Stumbled upon this issue when Visual Studio 2013 Update 4 would hang after each debug session. Very annoying especially when you want to quickly run the application test something, fix code and back to the beginning of this cycle. The hanging would occur for about 15-30s every time I would close the application and debug &#8230; <a href="http://www.arvydas.co.uk/2015/02/visual-studio-2013-hangs-after-each-debug-session/" class="more-link">Continue reading<span class="screen-reader-text"> "Visual Studio 2013 hangs after each debug session"</span></a>]]></description>
										<content:encoded><![CDATA[<p>Stumbled upon this issue when Visual Studio 2013 Update 4 would hang after each debug session. Very annoying especially when you want to quickly run the application test something, fix code and back to the beginning of this cycle. The hanging would occur for about 15-30s every time I would close the application and debug session ends. To resolve this I tried a lot of solutions suggested by Google which didn&#8217;t help:</p>
<ul>
<li>Resetting Visual Studio 2013 settings via &#8220;devenv.exe /ResetSettings&#8221;</li>
<li>Deleted *.suo file</li>
<li>Rebuilt new solution file with all projects</li>
<li>Even disabled internet as I was suspecting some sort of network communication issue was causing this</li>
<li>Attempted to disable git integration with Visual Studio by renaming .git folder to _git as a temporary solution</li>
<li>Tried to disable IntelliSense with no luck</li>
</ul>
<p>The only <strong>solution that worked for me</strong> was to disable Visual Studio host process for the project. To do this on the Project menu, click Properties, then click the Debug tab and uncheck the Enable the Visual Studio hosting process check box.</p>
<p>Hope this post saves a few hours messing around with settings for somebody trying to resolve this issue.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2015/02/visual-studio-2013-hangs-after-each-debug-session/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Cheap USB MIDI cable: some self assembly may be required</title>
		<link>http://www.arvydas.co.uk/2013/07/cheap-usb-midi-cable-some-self-assembly-may-be-required/</link>
					<comments>http://www.arvydas.co.uk/2013/07/cheap-usb-midi-cable-some-self-assembly-may-be-required/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Thu, 11 Jul 2013 16:18:44 +0000</pubDate>
				<category><![CDATA[Hardware hacking]]></category>
		<category><![CDATA[Repairs]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=345</guid>

					<description><![CDATA[I had recently bought a Rock Band 3 Wii keyboard which has come down in price to around £10 with an intention to connect it to a cheap Chinese USB to MIDI interface cable for around £3 pictured above to do some MIDI experiments on my computer. Videos online demonstrated that connecting the IN connector &#8230; <a href="http://www.arvydas.co.uk/2013/07/cheap-usb-midi-cable-some-self-assembly-may-be-required/" class="more-link">Continue reading<span class="screen-reader-text"> "Cheap USB MIDI cable: some self assembly may be required"</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/USB-MIDI-Cable.jpg" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-347" alt="USB-MIDI-Cable" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/USB-MIDI-Cable.jpg" width="500" height="361" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/USB-MIDI-Cable.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/USB-MIDI-Cable-415x300.jpg 415w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>I had recently bought a <a href="http://www.amazon.co.uk/Rock-Band-Wireless-Pro-Keyboard/dp/B003RS19XE" target="_blank">Rock Band 3 Wii keyboard</a> which has come down in price to around £10 with an intention to connect it to a cheap Chinese USB to MIDI interface cable for around £3 pictured above to do some MIDI experiments on my computer. <a href="https://www.youtube.com/watch?v=2KYfeyCG-P4" target="_blank">Videos online demonstrated</a> that connecting the IN connector to the keyboard and USB cable to the PC was all that was needed to use it, but I just couldn&#8217;t get it working. The Rock Band keyboard detected a MIDI cable and switched to MIDI mode, PC properly detected USB MIDI device, but there were no messages in the <a href="http://www.midiox.com/" target="_blank">MIDI-OX</a> application. That&#8217;s when I decided to open up the plastic casing to find a few surprises&#8230;</p>
<p><span id="more-345"></span></p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-disassembled.jpg" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-348" alt="usb-midi-disassembled" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-disassembled-500x374.jpg" width="500" height="374" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-disassembled-500x374.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-disassembled-1024x767.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-disassembled-400x300.jpg 400w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>First thing I noticed, were the missing components on the board pictured in the red square. After further investigations, it turned out that the wiring was done completely different to the <a href="http://www.midi.org/techspecs/electrispec.php" target="_blank">MIDI specifications</a>. Here is a very rough schematic of how it&#8217;s done and how it should have been done:</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-schematic.png" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-354" alt="usb-midi-schematic" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-schematic-500x346.png" width="500" height="346" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-schematic-500x346.png 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-schematic-432x300.png 432w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-schematic.png 770w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>The MIDI specification requires an opto-isolator to completely isolate MIDI connected circuits. The USB cable did not have these parts populated and used a common ground for signal transfers. Rock Band keyboard probably was not expecting this. No wonder it did not work!</p>
<p>So, I went to Maplin and purchased a <a href="http://www.maplin.co.uk/low-current-optocoupler-sfh618-2-2228" target="_blank">low-current opto-coupler SFH618-2</a> for £1.39. A quick assembly on the breadboard and a bit of soldering for ground, 5V and data lines to get to this:</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-breadboard-experiment.jpg" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-346" alt="usb-midi-breadboard-experiment" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-breadboard-experiment-500x375.jpg" width="500" height="375" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-breadboard-experiment-500x375.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-breadboard-experiment-1024x768.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-breadboard-experiment-399x300.jpg 399w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>And it worked! It was finally time to populate the missing components:</p>
<ul>
<li>Got rid of the R11</li>
<li>Soldered opto-coupler in U1 and it was a perfect fit for the pinout. I only had to <a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-trimmed-optocoupler-500x374.jpg" target="_blank" rel="lightbox[345]">shorten the pins</a> to mount it as close to the board as possible.</li>
<li>Soldered a 220 Ohm resistor in R5</li>
<li>Removed the red DIN connector wire completely from GND connection and trimmed it</li>
<li>Soldered the black DIN connector wire to IN- pad</li>
<li>Soldered the green DIN connector wire to IN+ pad</li>
</ul>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-extra-components-added.jpg" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-349" alt="usb-midi-extra-components-added" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-extra-components-added-500x374.jpg" width="500" height="374" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-extra-components-added-500x374.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-extra-components-added-1024x767.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/usb-midi-extra-components-added-400x300.jpg 400w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>The case fit back perfectly, though required some glue to hold in place and MIDI-OX finally came to life!</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2013/07/MIDI-OX.png" rel="lightbox[345]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-355" alt="MIDI-OX" src="http://www.arvydas.co.uk/wp-content/uploads/2013/07/MIDI-OX-500x406.png" width="500" height="406" srcset="http://www.arvydas.co.uk/wp-content/uploads/2013/07/MIDI-OX-500x406.png 500w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/MIDI-OX-369x300.png 369w, http://www.arvydas.co.uk/wp-content/uploads/2013/07/MIDI-OX.png 539w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>This USB MIDI cable might be a cheap and quick way to add <a href="http://shiftmore.blogspot.co.uk/2010/01/quick-and-dirty-arduino-midi-over-usb.html" target="_blank">USB enabled MIDI for Arduino</a>, but I&#8217;m really wondering if it would have worked with any MIDI device at all due to incorrect wiring. You get what you pay for: some self assembly may be required.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2013/07/cheap-usb-midi-cable-some-self-assembly-may-be-required/feed/</wfw:commentRss>
			<slash:comments>144</slash:comments>
		
		
			</item>
		<item>
		<title>Problems with Samsung Series 5 Ultrabook and USBTinyISP</title>
		<link>http://www.arvydas.co.uk/2012/11/problems-with-samsung-series-5-ultrabook-and-usbtinyisp/</link>
					<comments>http://www.arvydas.co.uk/2012/11/problems-with-samsung-series-5-ultrabook-and-usbtinyisp/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Mon, 19 Nov 2012 20:10:18 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Hardware hacking]]></category>
		<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=331</guid>

					<description><![CDATA[Well, this is somewhat disappointing&#8230; I recently acquired a Samsung Series 5 530U3B Ultrabook which is really nice and was going to make my main laptop for on the work on the go. Unfortunately it supplies insufficient power to my USBTinyISP programmer. The effect is that when I try to program ATTiny45, I get this error: &#8230; <a href="http://www.arvydas.co.uk/2012/11/problems-with-samsung-series-5-ultrabook-and-usbtinyisp/" class="more-link">Continue reading<span class="screen-reader-text"> "Problems with Samsung Series 5 Ultrabook and USBTinyISP"</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/11/samsung-530u3b.jpg" rel="lightbox[331]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-332" title="samsung-530u3b" src="http://www.arvydas.co.uk/wp-content/uploads/2012/11/samsung-530u3b-500x374.jpg" alt="" width="500" height="374" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/11/samsung-530u3b-500x374.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/11/samsung-530u3b-400x300.jpg 400w, http://www.arvydas.co.uk/wp-content/uploads/2012/11/samsung-530u3b.jpg 755w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>Well, this is somewhat disappointing&#8230; I recently acquired a Samsung Series 5 530U3B Ultrabook which is really nice and was going to make my main laptop for on the work on the go. Unfortunately it supplies insufficient power to my <a href="http://www.arvydas.co.uk/2012/09/using-usbtinyisp-to-program-attiny45-and-attiny85/" target="_blank">USBTinyISP programmer</a>. The effect is that when I try to program ATTiny45, I get this error:</p>
<pre>Binary sketch size: 2,752 bytes (of a 4,096 byte maximum)
avrdude: verification error, first mismatch at byte 0x0040
 0x02 != 0x36
avrdude: verification error; content mismatch</pre>
<p>The verification fails on random memory addresses. This means that I will need to add an external power supply to my custom programmer or find a USB hub with external power supply. I think that the latter will be the easiest.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2012/11/problems-with-samsung-series-5-ultrabook-and-usbtinyisp/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Repairing Syma S031G helicopter</title>
		<link>http://www.arvydas.co.uk/2012/10/repairing-syma-s031g-helicopter/</link>
					<comments>http://www.arvydas.co.uk/2012/10/repairing-syma-s031g-helicopter/#comments</comments>
		
		<dc:creator><![CDATA[Arvydas]]></dc:creator>
		<pubDate>Wed, 03 Oct 2012 00:51:57 +0000</pubDate>
				<category><![CDATA[R/C toy hacking]]></category>
		<category><![CDATA[Repairs]]></category>
		<guid isPermaLink="false">http://www.arvydas.co.uk/?p=316</guid>

					<description><![CDATA[A few weeks ago I found this boxed Syma S031G helicopter in a ModelZone store on a special shelf where they are selling broken or otherwise non working gadgets. There were more of those broken helicopters for sale, but they were in a range of £30 and were listed as having RC transmitter problems or &#8230; <a href="http://www.arvydas.co.uk/2012/10/repairing-syma-s031g-helicopter/" class="more-link">Continue reading<span class="screen-reader-text"> "Repairing Syma S031G helicopter"</span></a>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-318" title="s031g-heli-title-image" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-title-image.jpg" alt="" width="500" height="333" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-title-image.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-title-image-450x300.jpg 450w" sizes="(max-width: 500px) 85vw, 500px" /></p>
<p>A few weeks ago I found this boxed Syma S031G helicopter in a ModelZone store on a special shelf where they are selling broken or otherwise non working gadgets. There were more of those broken helicopters for sale, but they were in a range of £30 and were listed as having RC transmitter problems or other faulty parts. It wouldn&#8217;t have made sense buying one without investigating if repairs wouldn&#8217;t even cost more than a new heli retailing for £59.99 at the same store (or 30% cheaper on eBay). Mine only had a handwritten sticker &#8220;broken&#8221; stuck to it and a price of £9.99. A quick inspection through the box didn&#8217;t show any signs of significant damage and shop assistant was kind enough to let me open the box and check if it had all parts. Transmitter, charger, heli, instructions and even spare rear propeller was in the box so I decided to take the risk and bough it.</p>
<p><span id="more-316"></span></p>
<p>Just to make it clear, this is not one of those tiny helis that fit into your palm, this is a significantly bigger helicopter with a full size radio remote control. Once I unpacked it I noticed that it had actually been flown as the blades showed a bit of wear and damage.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing1.jpg" rel="lightbox[316]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-319" title="syma-s031g-heli-wing1" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing1-500x333.jpg" alt="" width="500" height="333" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing1-500x333.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing1-1024x682.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing1-450x300.jpg 450w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing2.jpg" rel="lightbox[316]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-320" title="syma-s031g-heli-wing2" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing2-500x333.jpg" alt="" width="500" height="333" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing2-500x333.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing2-1024x682.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing2-450x300.jpg 450w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>But generally it looked like it was in a very decent condition.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing3.jpg" rel="lightbox[316]"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-321" title="syma-s031g-heli-wing3" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing3-500x333.jpg" alt="" width="500" height="333" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing3-500x333.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing3-1024x682.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-wing3-450x300.jpg 450w" sizes="(max-width: 500px) 85vw, 500px" /></a></p>
<p>At first I could not get it to start at all, but then I found out that it has a gyroscope so it needs to be placed on a flat surface and left there for a few seconds in order for the gyroscope to calibrate itself. Luckily I was holding it just far enough in my hand and messing with a remote when to my big surprise the motors kicked in and blades started spinning just few centimetres away from my face! That was close, but it was working!</p>
<p>Unfortunately when I put it on the ground and tried to lift it off, it just didn&#8217;t have enough power and kept sliding on the floor with the full throttle on instead of going up in the air. Something was not right. Digging through the internet I found out that some of the guys who purchased it had similar problems, but they all ended up returning the item to the seller and getting a replacement. The helicopter is so cheap that nobody actually cares about fixing them and just bin them once they are broken. Well, that wasn&#8217;t an option for me :)</p>
<p>In one of those scarce forum posts I found that one of the owners of a similar heli had the same problem and ended up replacing the motors, because they tend to overheat and somehow wear out. I found a pair of motors for a reasonable £6.95 on eBay and decided to take one more risk for the toy and order them. I received the motors today.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-317" title="s031g-heli-motors" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-motors-500x333.jpg" alt="" width="500" height="333" srcset="http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-motors-500x333.jpg 500w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-motors-1024x682.jpg 1024w, http://www.arvydas.co.uk/wp-content/uploads/2012/10/s031g-heli-motors-450x300.jpg 450w" sizes="(max-width: 500px) 85vw, 500px" /></p>
<p>It took a while to disassemble it in order to get to the motors to replace them.</p>
<p><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-repair-1.jpg" rel="lightbox[316]"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-322" title="syma-s031g-heli-repair-1" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-repair-1-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-repair-2.jpg" rel="lightbox[316]"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-323" title="syma-s031g-heli-repair-2" src="http://www.arvydas.co.uk/wp-content/uploads/2012/10/syma-s031g-heli-repair-2-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>I had to remove all lower part of the helicopter and unscrew the bottom blade holder in order to push the gearbox outwards so that I could access the screws for the motors.</p>
<p>I assembled it back again (without any leftover screws!) and now it works! I can feel the power when I&#8217;m holding it in my hands with full throttle and it does lift off from the ground at home, but it&#8217;s too big to fly indoors. It was already too dark to go outside and fly it so will have to wait for a real test tomorrow. Hopefully I will not crash it during the first flight :)</p>
<p>Heli &#8211; £9.99, motors &#8211; £6.95, fun fixing it &#8211; priceless!</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.arvydas.co.uk/2012/10/repairing-syma-s031g-helicopter/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
