<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Measurement problem using \[select\]]]></title><description><![CDATA[<p>Hello PD community,<br />
I am trying to measure the frequency of an anemometer that gives as its values 1's and 0's as it spins. I am using a [select 1] object and an adding scheme to measure how many times the box reads 1 in a given amount of time before I a [metro] bangs 0 to the addition scheme and it starts counting from 0 again.</p>
<p>my problem is that when the number box goes from 0 to 1 it counts to like 8, instead of just 1. and if it is just sitting on 1 and the anemometer is not moving at all, it just keeps counting. maybe this is because there are slight variations in '1' ? i dont know.<br />
I am using an Arduino circuit with PDuino to hook up the anemometer to PD.</p>
<p>any ideas? i have attached my patch to better show what i am talking about.</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/count.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/count.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 08:39:58 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/3052.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Aug 2009 19:02:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Measurement problem using \[select\] on Sun, 30 Aug 2009 19:02:07 GMT]]></title><description><![CDATA[<p>Hello PD community,<br />
I am trying to measure the frequency of an anemometer that gives as its values 1's and 0's as it spins. I am using a [select 1] object and an adding scheme to measure how many times the box reads 1 in a given amount of time before I a [metro] bangs 0 to the addition scheme and it starts counting from 0 again.</p>
<p>my problem is that when the number box goes from 0 to 1 it counts to like 8, instead of just 1. and if it is just sitting on 1 and the anemometer is not moving at all, it just keeps counting. maybe this is because there are slight variations in '1' ? i dont know.<br />
I am using an Arduino circuit with PDuino to hook up the anemometer to PD.</p>
<p>any ideas? i have attached my patch to better show what i am talking about.</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/count.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/count.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select</guid><dc:creator><![CDATA[abbernstein]]></dc:creator><pubDate>Sun, 30 Aug 2009 19:02:07 GMT</pubDate></item><item><title><![CDATA[Reply to Measurement problem using \[select\] on Sun, 30 Aug 2009 20:59:10 GMT]]></title><description><![CDATA[<p>since i don't know, how your anemometer really works, it's hard to find out the problem, but it sounds like 0's and 1's repeat sometimes before they change. you could try to connect a [change] object between the inlet and the select object to avoid repetive bangs. i mean, it could be, that the numbers don't appear like 1 0 1 0 1 0 but 1 1 0 1 0 0 1.<br />
further, i don't really understand the usage of the [sig~] and the [samphold~] - you could leave it as a control signal, if you'd feed the out of the second number box in the right inlet of a [f] instead of the [samphold~] and send the metro to the left inlet of the [f] - this should do the same.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/2</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Sun, 30 Aug 2009 20:59:10 GMT</pubDate></item><item><title><![CDATA[Reply to Measurement problem using \[select\] on Tue, 01 Sep 2009 16:12:57 GMT]]></title><description><![CDATA[<p>thanks, it seems that [change] has done the trick. I had the [sig~] with the [snapshot~] so that I could periodically send the wind speed data out to the rest of the patch instead of having it go out constantly. i know it is a round about way to do that but i havent been able to find an easier way. thanks again for the help.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/3</guid><dc:creator><![CDATA[abbernstein]]></dc:creator><pubDate>Tue, 01 Sep 2009 16:12:57 GMT</pubDate></item><item><title><![CDATA[Reply to Measurement problem using \[select\] on Tue, 01 Sep 2009 16:17:22 GMT]]></title><description><![CDATA[<p>[metro 1500] [__\<br />
| |<br />
[ f ]<br />
.....</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3052/measurement-problem-using-select/4</guid><dc:creator><![CDATA[toxonic]]></dc:creator><pubDate>Tue, 01 Sep 2009 16:17:22 GMT</pubDate></item></channel></rss>