<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Maple Encoder interface.</title>
		<link>http://forums.leaflabs.com/topic.php?id=11890</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:04:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=11890" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Maple Encoder interface."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11890#post-26396</link>
			<pubDate>Sun, 02 Jun 2013 14:39:07 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">26396@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;bubulindo - the AMS encoders, and similar devices, are popular with the Micromouse and robotics folks. They are used to measure position or speed for rotary motion from motors.  Also Faulhaber and Maxon make DC motors with similar encoders built in. However, some folks use the AMS sensors (or equivalent) on lower cost motors.&#60;/p&#62;
&#60;p&#62;If you look at a micromouse like Pete Harrison's (who is using the STM32F4 encoders):&#60;br /&#62;
&#60;a href=&#34;http://www.micromouseonline.com/2013/02/16/quadrature-encoders-with-the-stm32f4/#axzz2V5aUMcXR&#34; rel=&#34;nofollow&#34;&#62;http://www.micromouseonline.com/2013/02/16/quadrature-encoders-with-the-stm32f4/#axzz2V5aUMcXR&#60;/a&#62;&#60;br /&#62;
It uses an encoder count-change of 200/mm
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "Maple Encoder interface."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11890#post-26394</link>
			<pubDate>Sun, 02 Jun 2013 14:01:42 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">26394@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well spotted robodude, I'll correct it and upload a new version.&#60;br /&#62;
Although I tested this library with different timers and it worked. :S I'll investigate that later on. &#60;/p&#62;
&#60;p&#62;@gbulmer, to be honest this came out of sheer boredom... although I'd like to later on play a bit with robots, for the moment I'm more interested in a home monitoring system, so I didn't really want to spend a lot of money just to test the library. &#60;/p&#62;
&#60;p&#62;I did have one of those knobs and they are not great... I'll have a look at the options you listed and see if they are cheap and something I could later on use.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple Encoder interface."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11890#post-26393</link>
			<pubDate>Sun, 02 Jun 2013 13:32:10 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">26393@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;bubulindo - &#60;em&#62;&#34;I haven't been able to test it with an encoder as I haven't found one that works on 3,3V or 5V that wouldn't break my budget. Although the cheap chinese pcb encoders are terrible with bouncing and the internal filters of the chip can only do so much. :(&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Approximately what is your budget for encoders? Are you trying to make 'knobs', or is it for motor position or something 'mechatronic'?&#60;/p&#62;
&#60;p&#62;AMS (formerly Austria Microsystems &#60;a href=&#34;http://www.ams.com/eng)&#34; rel=&#34;nofollow&#34;&#62;http://www.ams.com/eng)&#60;/a&#62; make a bunch of magnetic encoders, which are relatively easy to get; though there is still the problem of building the mechanism.&#60;br /&#62;
&#60;a href=&#34;http://uk.farnell.com/jsp/search/browse.jsp?N=107637+2031+203959&#34; rel=&#34;nofollow&#34;&#62;http://uk.farnell.com/jsp/search/browse.jsp?N=107637+2031+203959&#60;/a&#62;&#60;br /&#62;
IIRC Bosch, and maybe Honeywell make similar parts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "Maple Encoder interface."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11890#post-26392</link>
			<pubDate>Sun, 02 Jun 2013 12:54:43 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">26392@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Pretty cool little library! I did notice this in the code.&#60;/p&#62;
&#60;p&#62;In the constructor, you enable the timer using:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;timer_resume(TIMER2);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;shouldn't that be _TIMER, instead of TIMER2?&#60;/p&#62;
&#60;p&#62;-robodude666
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bubulindo on "Maple Encoder interface."</title>
			<link>http://forums.leaflabs.com/topic.php?id=11890#post-26389</link>
			<pubDate>Sun, 02 Jun 2013 03:45:15 +0000</pubDate>
			<dc:creator>bubulindo</dc:creator>
			<guid isPermaLink="false">26389@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;I just got round to create a library to use an onboard timer as a quadrature encoder interface. &#60;/p&#62;
&#60;p&#62;It is quite undocumented, but I've added an example where the Maple simulates encoder signals and all that is needed is to jumper the board's pins. I haven't been able to test it with an encoder as I haven't found one that works on 3,3V or 5V that wouldn't break my budget. Although the cheap chinese pcb encoders are terrible with bouncing and the internal filters of the chip can only do so much. :( &#60;/p&#62;
&#60;p&#62;If anyone wants to give it a try and point out some improvements/bugs, I'd be happy to correct and upgrade.&#60;br /&#62;
Ideally this would be used with the HardwareTimer class, but I found that I would have to do some changes there and that would probably be an issue for compatibility. &#60;/p&#62;
&#60;p&#62;The library is at: &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://code.google.com/p/maple-encoder-interface/&#34; rel=&#34;nofollow&#34;&#62;https://code.google.com/p/maple-encoder-interface/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any feedback is welcome. :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
