<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: Arduino Knock Lock not working properly</title>
	<atom:link href="https://www.hive-rd.com/blog/arduino-knock-lock-not-working-properly/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.hive-rd.com/blog</link>
	<description>Absorb through eyes and into brain</description>
	<lastBuildDate>Thu, 16 Apr 2020 17:49:43 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.4</generator>
	<item>
		<title>By: Joe</title>
		<link>https://www.hive-rd.com/blog/arduino-knock-lock-not-working-properly/#comment-172091</link>
		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Thu, 16 Apr 2020 17:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hive-rd.com/blog/?page_id=464#comment-172091</guid>
		<description><![CDATA[Hey, thank you for putting this up. I couldn&#039;t get piezo to register anything at all and i couldn&#039;t find where the code was wrong. I pasted yours in and kept comparing with mine until I found the extra = sign somewhere. Thanks for the help!]]></description>
		<content:encoded><![CDATA[<p>Hey, thank you for putting this up. I couldn&#8217;t get piezo to register anything at all and i couldn&#8217;t find where the code was wrong. I pasted yours in and kept comparing with mine until I found the extra = sign somewhere. Thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>https://www.hive-rd.com/blog/arduino-knock-lock-not-working-properly/#comment-139636</link>
		<dc:creator><![CDATA[Kris]]></dc:creator>
		<pubDate>Thu, 19 Sep 2019 01:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.hive-rd.com/blog/?page_id=464#comment-139636</guid>
		<description><![CDATA[Forgot to mention, I just built the circuit on the breadboard, rather than attaching the piezo directly to anything. The upshot of that is you need to make sure the breadboard isn&#039;t moving around, and then produce a defined tap on the piezo, probably with something metallic or rigid plastic.  For me, tapping it with tweezers worked, but not my finger for instance.]]></description>
		<content:encoded><![CDATA[<p>Forgot to mention, I just built the circuit on the breadboard, rather than attaching the piezo directly to anything. The upshot of that is you need to make sure the breadboard isn&#8217;t moving around, and then produce a defined tap on the piezo, probably with something metallic or rigid plastic.  For me, tapping it with tweezers worked, but not my finger for instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>https://www.hive-rd.com/blog/arduino-knock-lock-not-working-properly/#comment-139635</link>
		<dc:creator><![CDATA[Kris]]></dc:creator>
		<pubDate>Thu, 19 Sep 2019 01:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.hive-rd.com/blog/?page_id=464#comment-139635</guid>
		<description><![CDATA[Thanks, the key for me was in adding a delay after incrementing numberOfKnocks:


if (checkForKnocks(knockVal) == true) { // Validate the vibration as knocks with a custom function.
        numberOfKnocks++; // if they&#039;re valid knocks, then increment the knockCounter.
        delay(200); // This was key to reducing in the noise and making it detect knocks
      }


I ended up using these for the knock detection thresholds:
int quietKnock = 150;
int loudKnock = 5500;]]></description>
		<content:encoded><![CDATA[<p>Thanks, the key for me was in adding a delay after incrementing numberOfKnocks:</p>
<p>if (checkForKnocks(knockVal) == true) { // Validate the vibration as knocks with a custom function.<br />
        numberOfKnocks++; // if they&#8217;re valid knocks, then increment the knockCounter.<br />
        delay(200); // This was key to reducing in the noise and making it detect knocks<br />
      }</p>
<p>I ended up using these for the knock detection thresholds:<br />
int quietKnock = 150;<br />
int loudKnock = 5500;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kathy</title>
		<link>https://www.hive-rd.com/blog/arduino-knock-lock-not-working-properly/#comment-94088</link>
		<dc:creator><![CDATA[Kathy]]></dc:creator>
		<pubDate>Wed, 24 May 2017 00:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.hive-rd.com/blog/?page_id=464#comment-94088</guid>
		<description><![CDATA[Thank you so much for your code improvements.  My project works now.]]></description>
		<content:encoded><![CDATA[<p>Thank you so much for your code improvements.  My project works now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
