<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://letsmakerobots.com" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
 <title>Content in &amp;ldquo;infrared&amp;rdquo;</title>
 <link>http://letsmakerobots.com/taxonomy/term/179</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en-DA</language>
<item>
 <title>New line sensor</title>
 <link>http://letsmakerobots.com/node/240</link>
 <description>&lt;p&gt;I had some problems with the 36 KHz detector when trying to read it from the picaxe, so I have switched to using 4 infrared photodiodes in a feedback setup with two LM358 dual opamp packages as shown in the following image (for one photodiode only):&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;500&quot; src=&quot;/files/userpics/u8/linedetector.jpg&quot; height=&quot;479&quot; alt=&quot;linedetector.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;This gives an analog reading and I will use this for linear interpolation between the sensors to determine where the line is relative to the robot center.&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/240#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/179">infrared</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/123">IR</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/234">line following</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/237">lm358</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/236">opamp</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/235">photodiode</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/240</wfw:commentRss>
 <pubDate>Sun, 30 Mar 2008 12:27:35 +0200</pubDate>
 <dc:creator>jip</dc:creator>
 <guid isPermaLink="false">240 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>36 KHz modulated infrared light detector</title>
 <link>http://letsmakerobots.com/node/133</link>
 <description>&lt;p&gt;I have started working on a new robot that is mainly based on LEGO MINDSTORMS NXT. This robot is aimed at participating in DTU robocup 2008 but time will tell if it will be finished in time. Anyway in robocup the robot must at least be good at following a black line and preferably it should be able to accomplish other of the tasks at hand as well, and this is just not feasible using the standard LEGO sensors and the very limited number of these it can use at one time. So I thought I&#039;d take advantage of the fact that LEGO sensor ports can access I2C hardware (up to 127 devices on each port!) and make my own I2C slave line follower.&lt;/p&gt;&lt;p&gt;First off I had read somewhere that the picaxe can only do I2C master, so I figured I&#039;d go for using the PCF8574 I/O expander from NXP since I had five of these lying around. After designing a circuit on paper I realised that the picaxe 40x1 which is the only picaxe chip I have can in fact be set to act as an I2C slave (though I have not tested this yet - just read it in the manual), so I dropped the PCF8574 since it would now be possible to do the whole processing of the line detection in the picaxe and just returning the result of the processing to the NXT when it asked for it.&lt;/p&gt;&lt;p&gt;The line sensor will contain 8 SFH5110-36 infrared detectors that can detect an infrared signal modulated at around 36 KHz - when a signal is detected it draws its DETECT-pin low. Also it will contain 7 infrared LEDs that will be modulated at 36 KHz by the picaxe via PWM. The light from the LEDs are supposed to be bounced back from the floor only where there is no black line.&lt;/p&gt;&lt;p&gt;Yesterday I made a test setup for the detector circuit on my breadboard and it seems to work kind of like I want it to. First I thought that the SFHs could only be used for ON/OFF detection but after testing it, I think maybe I can put in a capacitor on the DETECT-pin and maybe a resistor somewhere to make a potential divider and measure the voltage somewhere. I got the idea since the detection LED I put in did not just switch on and off - rather it seemed to go from off to on smoothly which I guess happened because the infrared light just barely reached the SFH so the DETECT-pin was modulated like PWM or something.&lt;/p&gt;&lt;p&gt;You can see a short movie showing detection of my hand here:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://defiant.dk/movies/infrared_detector.mov&quot;&gt;http://defiant.dk/movies/infrared_detector.mov&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see this setup can easily be used for obstacle detection as well (maybe my robot will use that as well).&lt;/p&gt;&lt;p&gt;Picture of the test setup:&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;500&quot; src=&quot;/files/userpics/u8/ir_detector.jpg&quot; height=&quot;375&quot; alt=&quot;ir_detector.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;- Jimmy&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/133#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/178">detector</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/179">infrared</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/123">IR</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/133</wfw:commentRss>
 <pubDate>Sat, 08 Mar 2008 16:59:46 +0100</pubDate>
 <dc:creator>jip</dc:creator>
 <guid isPermaLink="false">133 at http://letsmakerobots.com</guid>
</item>
</channel>
</rss>
