<?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;picaxe&amp;rdquo;</title>
 <link>http://letsmakerobots.com/taxonomy/term/97</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en-DA</language>
<item>
 <title>Breadboard Basics II (Add PICAXE)</title>
 <link>http://letsmakerobots.com/node/597</link>
 <description>&lt;p&gt;Time to add PICAXE to the board. &lt;/p&gt;&lt;p&gt;This requires:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;A breadboard&lt;/li&gt;&lt;li&gt;5volt power source&lt;/li&gt;&lt;li&gt;PICAXE 28x1 chip&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/CON039&quot;&gt;Stereo Socket&lt;/a&gt;&lt;/li&gt;&lt;li&gt;USB or Seriel Transfer cable&lt;/li&gt;&lt;li&gt;4k7 ohm resistor&lt;/li&gt;&lt;li&gt;330 ohm resistor&lt;/li&gt;&lt;li&gt;LED&lt;/li&gt;&lt;li&gt;Wire&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I&#039;m not going to go into detail about how to hook things up. If you are having problems and the images aren&#039;t helping I will answer questions if I can :) Basically all this did was help me to learn how to hook up the chip and a stereo socket to a breadboard and get basic output (blinking LED). Hopefully it will help someone else too! Lots of pics to follow so you can see how it is connected. The code follows the pictures.&lt;/p&gt;&lt;p&gt;For help on how to hook up the stereo socket or for what pins do what on the chip click &lt;a href=&quot;http://www.rev-ed.co.uk/docs/AXE001_pinout.pdf&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;563&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/1.jpg&quot; height=&quot;268&quot; alt=&quot;1.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;1&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/2.jpg&quot; height=&quot;1&quot; alt=&quot;2.jpg&quot; /&gt;&lt;img border=&quot;0&quot; width=&quot;534&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/2.jpg&quot; height=&quot;271&quot; alt=&quot;2.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;533&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/3.jpg&quot; height=&quot;276&quot; alt=&quot;3.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;533&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/3.jpg&quot; height=&quot;276&quot; alt=&quot;3.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;347&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/4.jpg&quot; height=&quot;312&quot; alt=&quot;4.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;565&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/5.jpg&quot; height=&quot;306&quot; alt=&quot;5.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;391&quot; src=&quot;http://www.jklug.net/Walkthrough/BlinkLED/6.jpg&quot; height=&quot;324&quot; alt=&quot;6.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Symbol LED = 0&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;AGAIN:&lt;br /&gt;HIGH LED&lt;br /&gt;pause 1000&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;LOW LED&lt;br /&gt;pause 1000&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;GOTO AGAIN&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;END&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;The code assumes you are using output 0 for the LED. If you can&#039;t get the editor to connect to your chip make sure you have the com port setting correct. &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click START (lower left corner of your screen)&lt;/li&gt;&lt;li&gt;Right click My Computer&lt;/li&gt;&lt;li&gt;Click Properties&lt;/li&gt;&lt;li&gt;Click Hardware Tab&lt;/li&gt;&lt;li&gt;Click Device Manager Button&lt;/li&gt;&lt;li&gt;Expand the Ports (COM &amp;amp; LPT)&lt;/li&gt;&lt;li&gt;It should have an item called AXE027 PICAXE USB (COMX) X is your COM Port Number&lt;/li&gt;&lt;li&gt;In the editor go to View-&amp;gt;Options&lt;/li&gt;&lt;li&gt;Click Seriel Port tab &lt;/li&gt;&lt;li&gt;Select the Com Port you found in step 7 and click OK&lt;/li&gt;&lt;li&gt;Try to transfer the code again. &lt;/li&gt;&lt;li&gt;If it still doesn&#039;t work make sure your batteries are charged and connected to the breadboard.&lt;/li&gt;&lt;li&gt;If it STILL doesn&#039;t work take a picture that shows the connections and post &lt;/li&gt;&lt;/ol&gt;&lt;p&gt;For larger more detailed images &lt;a href=&quot;http://www.jklug.net/Walkthrough/Images/&quot;&gt;click here&lt;/a&gt;. No fair making fun of my dirty coffee table or my poorly manicured fingernails...&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/597#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/426">breadboard basics</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/427">how to</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/413">new</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/202">5V</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/428">Newbies with some skills</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/200">Picaxe 28x1</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/597</wfw:commentRss>
 <pubDate>Sun, 11 May 2008 03:21:26 +0200</pubDate>
 <dc:creator>jklug80</dc:creator>
 <guid isPermaLink="false">597 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>Where to buy Picaxe?</title>
 <link>http://letsmakerobots.com/node/213</link>
 <description>&lt;p&gt;There seam to be an echo of &amp;quot;where do I buy Picaxe&amp;quot;, especially from newbees from the US.&lt;/p&gt;&lt;p&gt;Well - let´s make some web-shops happy out there, I entered picaxe.co.uk (&lt;a href=&quot;http://www.rev-ed.co.uk/picaxe/&quot; title=&quot;http://www.rev-ed.co.uk/picaxe/&quot;&gt;http://www.rev-ed.co.uk/picaxe/&lt;/a&gt;), looked under &amp;quot;distributors&amp;quot; and found this most likely not too recently updated list:&lt;/p&gt;&lt;p&gt;&lt;b&gt;International Distributors/Resellers&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/uk.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;uk.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;UK&lt;/td&gt; &lt;td&gt; Revolution Education Ltd&lt;br /&gt;&lt;a href=&quot;http://www.tech-supplies.co.uk/&quot;&gt;www.tech-supplies.co.uk&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/uk.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;uk.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;UK&lt;/td&gt; &lt;td&gt; Rapid Electronics&lt;br /&gt;&lt;a href=&quot;http://www.rapidelectronics.co.uk/&quot;&gt;www.rapidelectronics.co.uk&lt;/a&gt; &lt;br /&gt;&lt;a href=&quot;http://www.rev-ed.co.uk/docs/picaxe_rapid.pdf&quot;&gt;(cross-reference chart)&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/australia.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;australia.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Australia&lt;/td&gt; &lt;td&gt; MicroZed&lt;br /&gt;&lt;a href=&quot;http://www.microzed.com.au/&quot;&gt;www.microzed.com.au&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/estonia.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;estonia.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Estonia&lt;/td&gt; &lt;td&gt; Step Systems&lt;br /&gt;&lt;a href=&quot;http://www.stepsystems.ee/&quot;&gt; www.stepsystems.ee&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/finland.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;finland.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Finland&lt;/td&gt; &lt;td&gt; Step Systems&lt;br /&gt;&lt;a href=&quot;http://www.stepsystems.fi/&quot;&gt; www.stepsystems.fi&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/France.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;France.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;France&lt;/td&gt; &lt;td&gt; A4&lt;br /&gt;&lt;a href=&quot;http://www.a4.fr/&quot;&gt;www.a4.fr&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/Germany.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;Germany.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Germany&lt;/td&gt; &lt;td&gt; roboter-teile.de&lt;br /&gt;&lt;a href=&quot;http://www.roboter-teile.de/Shop/index.html&quot;&gt;www.roboter-teile.de&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/Italy.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;Italy.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Italy&lt;/td&gt; &lt;td&gt; Robot-Italy&lt;br /&gt;&lt;a href=&quot;http://www.robot-italy.com/&quot;&gt;www.robot-italy.com&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/spain.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;spain.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Spain&lt;/td&gt; &lt;td&gt; Didatec&lt;br /&gt;&lt;a href=&quot;http://www.didatec.es/&quot;&gt;www.didatec.es&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/portugal.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;portugal.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Portugal&lt;/td&gt; &lt;td&gt; Aliatron&lt;br /&gt;&lt;a href=&quot;http://www.aliatron.pt/&quot;&gt;www.aliatron.pt&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/Singapore.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;Singapore.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Singapore&lt;/td&gt; &lt;td&gt; Yuga Electronic Supplies&lt;br /&gt;&lt;a href=&quot;http://www.memory.com.sg/&quot;&gt;www.memory.com.sg&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/new_zealand.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;new_zealand.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;New Zealand&lt;/td&gt; &lt;td&gt; South Island Components&lt;br /&gt;&lt;a href=&quot;http://www.sicom.co.nz/&quot;&gt;www.sicom.co.nz&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/Canada.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;Canada.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;Canada&lt;/td&gt; &lt;td&gt; HVW Technologies Inc.&lt;br /&gt;&lt;a href=&quot;http://www.hvwtech.com/&quot;&gt;www.HVWTech.com&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/USA.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;USA.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;USA&lt;/td&gt; &lt;td&gt; World Educational Services&lt;br /&gt;&lt;a href=&quot;http://www.world-educational-services.com/&quot;&gt;www.world-educational-services.com&lt;/a&gt;  &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/USA.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;USA.jpg&quot; /&gt;&lt;/td&gt; &lt;td&gt;USA&lt;/td&gt; &lt;td&gt; Spark Fun Electronics&lt;br /&gt;&lt;a href=&quot;http://www.sparkfun.com/&quot;&gt;www.sparkfun.com&lt;/a&gt;   &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt; &lt;/td&gt; &lt;td&gt;Argentina/Mexico&lt;/td&gt; &lt;td&gt; Editorial Quark SRL&lt;br /&gt;&lt;a href=&quot;http://www.webelectronica.com.ar/&quot;&gt;www.webelectronica.com.ar&lt;/a&gt; &lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://www.rev-ed.co.uk/images/flags/ven.jpg&quot; height=&quot;23&quot; width=&quot;38&quot; alt=&quot;ven.jpg&quot; /&gt;&lt;/td&gt;  &lt;td&gt;Venezuela&lt;/td&gt; &lt;td&gt; Plus Electronics C A &lt;br /&gt;&lt;a href=&quot;http://www.electronica.com.ve/&quot;&gt;www.electronica.com.ve&lt;/a&gt; &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;..And a quick google shows that there are dozens more out there:  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;AU:&lt;/b&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.wiltronics.com.au/catalogue/shop.php?cid=149971&quot; title=&quot;http://www.wiltronics.com.au/catalogue/shop.php?cid=149971&quot;&gt;http://www.wiltronics.com.au/catalogue/shop.php?cid=149971&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.dt.com.au/category.php?cat=ELECT:KITS:PICAXE&quot; title=&quot;http://www.dt.com.au/category.php?cat=ELECT:KITS:PICAXE&quot;&gt;http://www.dt.com.au/category.php?cat=ELECT:KITS:PICAXE&lt;/a&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;b&gt;NZ:&lt;/b&gt; &lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.surplustronics.co.nz/shop/cat286.html&quot; title=&quot;http://www.surplustronics.co.nz/shop/cat286.html&quot;&gt;http://www.surplustronics.co.nz/shop/cat286.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Please add shops you find, all over the world, thanks.&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/213#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/27">General discussion</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/283">Picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/358">purchase</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/355">shop</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/232">shops</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/213</wfw:commentRss>
 <pubDate>Wed, 26 Mar 2008 09:06:32 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">213 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>Robot Hansen</title>
 <link>http://letsmakerobots.com/node/173</link>
 <description>&lt;div class=&quot;field field-type-image field-field-primary-image&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Primary image&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;&lt;img src=&quot;http://letsmakerobots.com/files/field_primary_image/bonzer_monster.jpg&quot; alt=&quot;bonzer_monster.jpg&quot; title=&quot;&quot; width=&quot;500&quot; height=&quot;375&quot; /&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-text field-field-what-does-it-do&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;What does it do?&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;Line following for DTU Robocup&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Out of pure frustration with the fact that my LEGO MINDSTORMS NXT based robot, that was supposed to participate in DTU robocup, turned out to be crap, I thought that I&#039;d try to at least get a decent line follower ready for robocup. This robot is based on my R/C car - an HBX Bonzer Monster Truck XTI - and it will only be able to follow a black line and hopefully also be able to handle line branches.&lt;/p&gt;&lt;p&gt;To start with I was going to build a line sensor based on 8 infrared detectors for 36 KHz modulated infrared light. There were some problems with that so I decided to go for 4 regular infrared photodiodes instead. It is my plan that I will estimate robot position relative to the line by interpolating values between the 4 sensors to get a smooth steering - maybe I will use PD-regulation for this if I have the time.&lt;/p&gt;&lt;p&gt;For controlling the car I&#039;m interfacing the LM-406FB speed controller that came with the car. It is controlled by sending standard servo signals to it, but it does some fancy interpretation of the sequence of signals so one has to be cautious or the car maybe not work the way one intended. For steering the car I&#039;m just using the standard servo that is in the car.&lt;/p&gt;&lt;p&gt;I think maybe I need to get a gear reduction unit for the car, since it goes really fast and I think the robot will be impossible to control at high speed - it tends to skid around when going fast. I&#039;m looking at a 4:1 gear reduction unit which can be bought through eBay.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Friday 28th of March, 2008&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I have made the base for the line sensor by cutting a perforated board to a shape that will fit nicely onto the car and can be held in place by a couple af screws that already hold the front bumper in place (I think I might some longer screws though since they just barely hold the board):&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;500&quot; src=&quot;/files/userpics/u8/DSC00122.jpg&quot; height=&quot;375&quot; alt=&quot;DSC00122.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;500&quot; src=&quot;/files/userpics/u8/DSC00123.jpg&quot; height=&quot;375&quot; alt=&quot;DSC00123.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;Now I just to populate the board with some fancy components that will make the bloody thing work!&lt;/p&gt;
&lt;div class=&quot;field field-type-number-decimal field-field-cost-to-build&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Cost to build&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-video-cck field-field-em-video&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Embedded video&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
          &lt;div class=&quot;field-item&quot;&gt;    &lt;object type=&quot;application/x-shockwave-flash&quot; height=&quot;350&quot; width=&quot;425&quot; data=&quot;http://www.youtube.com/v/iQuq6oEWa1s&amp;amp;rel=0&quot; id=&quot;VideoPlayback&quot; &gt;
      &lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/iQuq6oEWa1s&amp;amp;rel=0&quot; /&gt;
      &lt;param name=&quot;allowScriptAcess&quot; value=&quot;sameDomain&quot;/&gt;
      &lt;param name=&quot;quality&quot; value=&quot;best&quot;/&gt;
      &lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot;/&gt;
      &lt;param name=&quot;scale&quot; value=&quot;noScale&quot;/&gt;
      &lt;param name=&quot;salign&quot; value=&quot;TL&quot;/&gt;
      &lt;param name=&quot;FlashVars&quot; value=&quot;playerMode=embedded&quot; /&gt;
      &lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
    &lt;/object&gt;
&lt;/div&gt;
          &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
          &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
          &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-number-integer field-field-finished-project&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Finished project&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-number-integer field-field-locomotor-number&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Number&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;4&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-number-decimal field-field-time-to-build&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Time to build&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-text field-field-locomotion-type&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Type&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;wheels&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-link field-field-url-more-info&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;URL to more information&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
          &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;field field-type-number-integer field-field-weight&quot;&gt;
  &lt;h3 class=&quot;field-label&quot;&gt;Weight&lt;/h3&gt;
  &lt;div class=&quot;field-items&quot;&gt;
      &lt;div class=&quot;field-item&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</description>
 <comments>http://letsmakerobots.com/node/173#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/85">line follower</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/215">560 sized motor for propulsion and standard servo for steering (ackermann steering)</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/218">7.2 V 3300 mAh racing pack</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/158">autonomous</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/52">DTU RoboCup</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/7">indoor</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/266">Line sensor with 4 IR photodiodes</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/99">PICAXE 40X1</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/24">Picaxe basic</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/173</wfw:commentRss>
 <media:content url="http://youtube.com/v/iQuq6oEWa1s" fileSize="817" type="application/x-shockwave-flash"> <media:thumbnail url="http://img.youtube.com/vi/iQuq6oEWa1s/0.jpg" />
</media:content>
 <enclosure url="http://youtube.com/v/iQuq6oEWa1s" length="817" type="application/x-shockwave-flash" />
 <enclosure url="http://letsmakerobots.com/files/field_primary_image/bonzer_monster.jpg" length="94622" type="image/pjpeg" />
 <pubDate>Sun, 16 Mar 2008 16:54:46 +0100</pubDate>
 <dc:creator>jip</dc:creator>
 <guid isPermaLink="false">173 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>Simple test with PICAXE and a monster truck</title>
 <link>http://letsmakerobots.com/node/148</link>
 <description>&lt;p&gt;Just tried out controlling my radio controlled monster truck with the picaxe. It&#039;s a simple test run of forward, turn left then right and then stop. I put the car in a spot that almost made it reach the bathroom :-). Notice how the breadboard almost flies off when the car turns... a really solid construction! :-)&lt;/p&gt;&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;500&quot; src=&quot;/files/userpics/u8/bonzer_monster.jpg&quot; height=&quot;375&quot; alt=&quot;bonzer_monster.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;I&#039;m looking forward to making something useful out of this car... it can go pretty fast!&lt;/p&gt;&lt;p&gt;Dang! I can&#039;t seem to embed video in a blog post???&lt;/p&gt;&lt;p&gt;Well you can watch it on &lt;a href=&quot;http://www.youtube.com/watch?v=o-oFmCnRe6g&quot;&gt;youtube&lt;/a&gt;&lt;/p&gt;&lt;p&gt;- Jimmy&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/148#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/148</wfw:commentRss>
 <pubDate>Thu, 13 Mar 2008 15:04:51 +0100</pubDate>
 <dc:creator>jip</dc:creator>
 <guid isPermaLink="false">148 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>
<item>
 <title>Stop burning speakers with your Picaxe chips</title>
 <link>http://letsmakerobots.com/node/129</link>
 <description>On Picaxe:&lt;br /&gt;&lt;p&gt;&lt;b&gt;sound 1, (110,3)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;is NOT a good idea, you should allways write&lt;/p&gt;&lt;p&gt;&lt;b&gt;sound 1, (110,3) low 1&lt;/b&gt;&lt;/p&gt;&lt;p&gt;(you do not need line breaks, just write it as above) &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Being used to burning things and changing rechargable batteries all the time, I did not really wonder that much that a tiny speaker or two has been fried while having fun with robots and Picaxe over time (mainly 28&#039; these are the only ones this is tested on).&lt;/p&gt;&lt;p&gt;Now I am building a new robot that has a speaker underneath it.. Lifting it up from a test, I felt that the speaker was burning hot!!&lt;/p&gt;&lt;p&gt;&lt;b&gt;Picaxe is leaving the port to &amp;quot;High&amp;quot; after the &amp;quot;Sound&amp;quot; command!!! So the speaker is just getting continious voltage after a &amp;quot;sound&amp;quot;. &lt;/b&gt;&lt;/p&gt;&lt;p&gt;This means battery drain, and it means burnt speakers after a while, if your robot have just at any point made a small beep!&lt;/p&gt;&lt;p&gt;Crap, Picaxe! (But I still love you) - Must be a bug, no? Or some reason I don´t get??&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/129#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/170">battery</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/173">power drain</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/174">sound</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/169">speaker</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/22">Picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/54">speaker</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/129</wfw:commentRss>
 <pubDate>Sun, 02 Mar 2008 17:06:26 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">129 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>The Picaxe-boards</title>
 <link>http://letsmakerobots.com/node/91</link>
 <description>&lt;p&gt;Allways a board to fit your needs :) &lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Categories/PICAXE/PICAXEProjectBoards&quot; title=&quot;http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Categories/PICAXE/PICAXEProjectBoards&quot;&gt;http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store....&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/91#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/110">Electronics in general</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/91</wfw:commentRss>
 <pubDate>Sat, 16 Feb 2008 21:09:34 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">91 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>Arduino vs Picaxe</title>
 <link>http://letsmakerobots.com/node/80</link>
 <description>&lt;p&gt;&lt;b&gt;Should I go for Arduino or Picaxe for my next robot?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let´s compare:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Scalability:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;Picaxe run on many different chips, all from the company called Microchip.&lt;br /&gt;They range from 8 to 40 pins, and is available in surface mount as well as ordinary housing&lt;br /&gt;Many different pre-made project boards are available, and not only those made by &amp;quot;The Picaxe-people&amp;quot;; Control 3 servos and some ins- and outs on something smaller than a machbox, at a very small price, and up to large 40 pins projects.&lt;br /&gt;******************&lt;br /&gt;Arduino is possible to do in many stange ways, quite diverse, even add it on a T-shirt etc. But for robots the most applicable would most likely be the 28 pin Diecimila with ATmega168. Only this has no motor driver on it, so you are basicly stuck, unless you buy the komplete motor kit, but then..&lt;br /&gt;&lt;/p&gt;&lt;p&gt;******************&lt;br /&gt;The proto board for the picaxe is valued high, it actually makes the difference - you can build a robot just by adding motors and sensors, it is robot-ready!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picaxe: 2 points&lt;br /&gt;Arduino:0points &lt;/b&gt;&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Speed:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;Picaxe can run from 4 to 16 Mhz, but if you plan to use Picaxe Basic, you are best off using 4 Mhz&lt;br /&gt;******************&lt;br /&gt;Arduino runs on 16 Mhz&lt;br /&gt;******************&lt;br /&gt;Although not many robotic projects will have a processor- speed-issue (or they should use co-processors if speed really did matter), and although the Picaxe can run at the same speed, Arduino wins the speed-contest&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Picaxe: 0 points&lt;br /&gt;Arduino:1 points &lt;/b&gt;&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Programming language, posibilities, scalability&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;The Picaxe language is easy, yet it is quite powerful, and plenty for most robotic useage, and has a wide area of actuators and sensors directly supported.&lt;/p&gt;&lt;p&gt;******************&lt;br /&gt;Arduino is, however, more powerful than the Picaxe set of instructions, supports floating point, is documented on how to interact with all sorts of things. But if you just want to control servos, motors, sensors etc that Robots are often made from (and not MIDI-devices, Symbian Phones etc), Picaxe is a much more focused language. To read a temperature, you will have to write dozens of lines with Arduine, do bugtracking, wiring etc. With Picaxe you merely write &amp;quot;Readtemp and hook up the sensor&amp;quot;, same for servo, Picaxe is just &amp;quot;Servo to this and that&amp;quot;, Arduino is several lines and configurations.  &lt;/p&gt;&lt;p&gt;******************&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picaxe: 1 points&lt;br /&gt;Arduino:1 points &lt;/b&gt;&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Building speed - time from you recieve your materials till your robot is working:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;Picaxe is &amp;quot;plug and play&amp;quot; - you get up and running in no time, all included. The language is so easy, your dog can code it, yet it is quite powerful, and plenty for most robotic useage.&lt;br /&gt;******************&lt;br /&gt;Arduino an open source project - you will spend a lot of time before you get from 0 to 100, all included, and waiting for all the packages. The language takes some time to get into, is based upon Alpha software, it is more complex than Picaxe basic, which is in version 5.&lt;br /&gt;******************&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Picaxe: 1 points&lt;br /&gt;Arduino:0 points &lt;/b&gt;&lt;br /&gt;==================&lt;/p&gt;&lt;p&gt;&lt;b&gt;Number of servos controlled and other perperials:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;A picaxe 18 (smaller than 28!) can control 21 servos on a standard board&lt;/p&gt;&lt;p&gt;Picaxe uses one-liners to communicate with servos, serial, I2c and every other protocol used for typical electronics and robot-building&lt;/p&gt;&lt;p&gt;******************&lt;br /&gt;Arduino can &amp;quot;only&amp;quot; control &amp;quot;up to 20&amp;quot; servos, and uses more complicated code for doing the same protocols. &lt;/p&gt;&lt;p&gt;******************&lt;br /&gt;&lt;b&gt;Picaxe: 1 points&lt;br /&gt;Arduino:0 points &lt;/b&gt;&lt;br /&gt;================== &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;b&gt;OS for programing-platform:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;Picaxe works only on MS, although Linux is under development.&lt;br /&gt;******************&lt;br /&gt;Arduino is supporting Mac OS X, MS, and Linux (with some tweaking)&lt;br /&gt;******************&lt;br /&gt;For a wider selection of platforms, Arduino wins.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picaxe: 0 points&lt;br /&gt;Arduino:1 points &lt;/b&gt;&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;Price, pre-made protoboard with chips included:&lt;/b&gt;&lt;br /&gt;******************&lt;br /&gt;Picaxe 28 pin, incl darlington &amp;amp; Picaxe 28X        £16.01 (inc. VAT)&lt;br /&gt;******************&lt;br /&gt;Arduino Diecimila 28 pin incl ATMega168             £18.51 (inc. VAT)&lt;br /&gt;******************&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picaxe: 1 points&lt;br /&gt;Arduino:0 points &lt;/b&gt;&lt;br /&gt;==================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Total:&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Picaxe: 6 points&lt;br /&gt;Arduino: 3 points&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Conclusion must be that Arduino should be used once the cheaper and faster to get started with Picaxe is no longer enough for your creations, but only if you want to do some more hard-coding to peripherals and soldering yourself.&lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/80#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/27">General discussion</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/126">Arduino</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/80</wfw:commentRss>
 <pubDate>Thu, 14 Feb 2008 21:15:17 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">80 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>28 pin Project Board (AXE020), Picaxe for dummies</title>
 <link>http://letsmakerobots.com/node/75</link>
 <description>&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt;  &lt;a href=&quot;/user/50&quot; title=&quot;View user profile.&quot;&gt;Elliot&lt;/a&gt; just wrote that you could use &lt;a href=&quot;/node/85&quot;&gt;a better motor driver&lt;/a&gt; for the board. I have not had the chance to test it myself yet, but it sounds very interesting :) &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;Ground!&lt;/b&gt;&lt;p&gt;Often you get something that you want to connect, and the documentation says connect this to &amp;quot;Ground&amp;quot;, or any other name often used in random. It has many names, that are the same thing:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Ground&lt;/li&gt;&lt;li&gt;Usually &amp;quot;the black wire&amp;quot; if there is a red and a black&lt;/li&gt;&lt;li&gt;G&lt;/li&gt;&lt;li&gt;GND&lt;/li&gt;&lt;li&gt;-&lt;/li&gt;&lt;li&gt;0&lt;/li&gt;&lt;li&gt;Vee&lt;/li&gt;&lt;li&gt;Vss&lt;/li&gt;&lt;li&gt;Negative Supply&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;- All the same!&lt;/p&gt;&lt;p&gt;This is simply where current goes to when it comes from the other pole on the battery (the positive, +).&lt;/p&gt;&lt;p&gt;When something can be connected to your board using &amp;quot;just a single wire&amp;quot;, it allways also has to have a second wire, connected to this ground.&lt;/p&gt;&lt;p&gt;If you want to hook up to ground, you can use any of these connections on the board:&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;/files/userpics/u4/ground.jpg&quot; height=&quot;500&quot; width=&quot;476&quot; alt=&quot;ground.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;V&lt;/b&gt;&lt;p&gt;Also refered to in random as :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Positive supply&lt;/li&gt;&lt;li&gt;&amp;quot;the red wire&amp;quot;&lt;/li&gt;&lt;li&gt;+&lt;/li&gt;&lt;li&gt;Current&lt;/li&gt;&lt;li&gt;Power &lt;/li&gt;&lt;li&gt; VCC&lt;/li&gt;&lt;li&gt;V+&lt;/li&gt;&lt;li&gt;B+&lt;/li&gt;&lt;li&gt;VDD&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Actually the reason for having a Microcontroller on a board is, that you should let the microcontroller control when you send current to something (turn it on or off).&lt;/p&gt;&lt;p&gt;However, quite often, you will need to feed peripherals with current (and ground, this goes unsaid), on top of what you send to it via the microcontroller.&lt;/p&gt;&lt;p&gt;Perhaps you are connecting a Sharp IR range finder, it has 3 wires: Black, White and Red. The black is Ground. The Red then will be V, to power the module, and the white will be a signal returning from the Sharp module to the microcontroller on your board.&lt;/p&gt;&lt;p&gt;Perhaps you want to control a Servo. That will also need a G and a V to power it´s circuit and its motor. And on top of this, it needs a pulse-signal from the microcontroller, the last wire - what color it may be on the perticular model.&lt;/p&gt;&lt;p&gt;The standard setup of the board looks like this, all these areas are V:&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;/files/userpics/u4/vwithjumper_0.jpg&quot; height=&quot;500&quot; width=&quot;476&quot; alt=&quot;vwithjumper_0.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;b&gt;So - what´s with the V1 / V2? &lt;/b&gt;&lt;/p&gt;&lt;p&gt;Well, everything returns to ground. But it can come from different sources. And they can have different voltage.&lt;/p&gt;&lt;p&gt;This way you can power a servo with V2, while the pulses that signals to the servo where it should turn to, is from the Microcontroller that runs on V1. All to the same G.&lt;/p&gt;&lt;p&gt;This 28 pin Project Board has 2 options:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Standard:&lt;/b&gt; See illustration above. V1 &amp;amp; V2 are connected, resoult: There is only one V. As you may have read from the documentation: It is the little jumper in the corner that connects V1 &amp;amp; V2, and when it is on, there is only V &amp;amp; G on the board.&lt;/p&gt;&lt;p&gt;&lt;b&gt;2 power supplies:&lt;/b&gt; See illustration below. Take off the jumper, and connect a seperate power-supply to V2 (and that power supplie&#039;s G to ground, goes unsaid from now ;) - and the board will have V1 to the circuits and inputs, V2 to power external stuff, and G for all of it.&lt;/p&gt;&lt;p&gt;That way you can feed the chips with 5V, and the motors with 12V that would otherwise kill the chips.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;/files/userpics/u4/vwithoutjumper.jpg&quot; height=&quot;500&quot; width=&quot;476&quot; alt=&quot;vwithoutjumper.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;b&gt;So if you hook up a board with 2 power-supplies, this is where you have current and ground:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;/files/userpics/u4/current.jpg&quot; height=&quot;500&quot; width=&quot;476&quot; alt=&quot;current.jpg&quot; /&gt;&lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;p&gt; .. What is left?&lt;/p&gt;&lt;p&gt;Only the interesting stuff! :)&lt;/p&gt;&lt;p&gt;Power they need, the peripherals.. But it is the inputs and outputs that are interesting.&lt;/p&gt;&lt;p&gt;None of the above connections can be controlled by the Microcontroller, and unless you burn something, the Microcontroller does not sense weather you connect something to these or not.&lt;/p&gt;&lt;p&gt;This is where the input&#039;s and outputs come into the picture:&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;/files/userpics/u4/perperials1.jpg&quot; height=&quot;500&quot; width=&quot;476&quot; alt=&quot;perperials1.jpg&quot; /&gt;&lt;/p&gt;&lt;p&gt;These conect to the Microcontrollers legs. Quite often, for advanced useage, things can be altered; An input can be switched in mode, so that it is an output etc. But you will figure that out, this is just the basics, as things are wired in default: &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;A: The digital inputs:&lt;/b&gt;&lt;p&gt;Connect a switch to V1 and one of these. In the program editor you can then write (let&#039;s say you have connected to leg 4, there are 8 in this area)&lt;/p&gt;&lt;p&gt;&lt;i&gt;If pin4 = high then&lt;/i&gt;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;B: The analouge inputs&lt;/b&gt;&lt;p&gt;How much corrent from V1 (or another source not more powerfull then V1) comes to this pin?&lt;/p&gt;&lt;p&gt;Well - it is not a question i ask, but what the pin asks :)&lt;/p&gt;&lt;p&gt;The answer is then returned into a variable, example, pin 2 out of the 4 in this area:&lt;/p&gt;&lt;p&gt;&lt;i&gt;readadc 2, b1&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Now the variable b1 is a value between 0-255, depending on how much corrent from V1 (or another source not more powerfull then V1) comes to this pin.&lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;C: The IR-area&lt;/b&gt;&lt;p&gt;This is a quite undocumented feature on the board! It is used if you want to use standard TV-remote control-protocols to send to your microcontroller.&lt;/p&gt;&lt;p&gt;You can hook up IR ins-and out to anything, to measure IR, for instance to see if something is near or far, or white or black.. but you will have to do with analouge levels of signal and similar, you will not be able to transmit &amp;quot;signals&amp;quot; that can be translated to numbers such as TV romotes does. Most IR remote controls use 38 KHz sub-carrier, and this area let´s you hook up to that quite simply. You should only use it for that!&lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;D: The Serial communication&lt;/b&gt;&lt;p&gt;The square on the picture should perhaps include the Jackstick :) This is the serial connection used to program and more.&lt;/p&gt;&lt;p&gt;You can also use output- and digital input pins for serial connection, but the ones on D are hard-wired&lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;E: Direct outputs from the picaxe&lt;/b&gt;&lt;p&gt;These should (only) be used if you are trying to communicate &amp;quot;chip to chip&amp;quot;. I think this is called TTL-level, where you let the chips talk to each other via pulses. This should not be used to drive anything, but it should allways be used if you want your chip to talk to others, like in this example:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://letsmakerobots.com/node/66&quot; title=&quot;http://letsmakerobots.com/node/66&quot;&gt;http://letsmakerobots.com/node/66&lt;/a&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;F: Output pins&lt;/b&gt;&lt;p&gt;These are what you should start with, IMHO: Connect a LED or something (Remember LED´s should turn the right way around) to one of these (other LED-leg to ground).. let´s say you connect to leg 3 out of the 8 in this area. Write:&lt;/p&gt;&lt;p&gt;&lt;i&gt;high 3&lt;/i&gt;&lt;/p&gt;&lt;p&gt;to turn power on&lt;/p&gt;&lt;p&gt;&lt;i&gt;low 3&lt;/i&gt; &lt;/p&gt;&lt;p&gt;to turn it off&lt;/p&gt;&lt;p&gt;Note that if you are using a motor controller, you should not use leg 4, 5, 6 and 7 for anything else!&lt;/p&gt;&lt;p&gt;These pins are also used for standard servo connection.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;G: Motor connections A &amp;amp; B&lt;/b&gt;&lt;br /&gt;&lt;p&gt;The board is made for the typical applications, and one is where you want to control 2 motors, and being able to switch directions on them.&lt;/p&gt;&lt;p&gt;Of course if you only can turn things on or off, it can be hard to reverse a motor.&lt;/p&gt;&lt;p&gt;You can purchase a L293D motor controller - chip, and place it in here. &lt;/p&gt;&lt;p&gt;Then read the documentation for how to make output 4, 5, 6 and 7 control 2 way-drive of 2 motors connected to A &amp;amp; B outputs. (one motor to A and one to B, not 2 times A+B)&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;b&gt;H: The reset switch&lt;/b&gt;&lt;p&gt;If you mount your board in a case or something, and would like to be able to remote-reset the Microcontroller, add a switch to this, press it and.. Hello? I remember nothing, let´s start all over! &lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/75#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/116">28 pin Project Board</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/117">AXE020</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/120">Microchip</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/22">Picaxe</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/75</wfw:commentRss>
 <pubDate>Thu, 14 Feb 2008 11:31:34 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">75 at http://letsmakerobots.com</guid>
</item>
<item>
 <title>How to connect SRF05 to Picaxe 28 pin Projectboard</title>
 <link>http://letsmakerobots.com/node/66</link>
 <description>&lt;p&gt;If you are a newbee, you may only have learned that the Picaxe 28 pin Project Board has some inputs and outputs.. And you may have purchesed an SRF05 (that Picaxe refers to as SRF005), and you are trying to connect the darn thing.. without resoult?&lt;/p&gt;&lt;p&gt;Reason is likely to be that you are connecting the output from the  Picaxe to the SRF05 through the darlington on the board. &lt;/p&gt;&lt;p&gt;The SRF05 needs (like many other things) a Pulse-signal, not just a &amp;quot;power on / off&amp;quot;. The signal therefore must come directly from the Picaxe chip.&lt;/p&gt;&lt;p&gt;Luckely the board has little &amp;quot;hidden&amp;quot; holes for that kind of conections. (Blue wire, the signal in to the SRF05 directly from the chip). These holes, however, are not described, simply omitted in the manual for the board. So I wonder how a newbee should ever find out, personaly I burned a SRF05 or two in my frustrated attempts to get it right :)  &lt;/p&gt;&lt;p&gt;If you follow the illustration above, you should be able to make the below code work just fine. You will know that the SRF05 is getting a pulse-signal when the little red LED on it´s back is flashing red.&lt;/p&gt;&lt;p&gt;****&lt;br /&gt;&lt;br /&gt;symbol trig = 3 ‘ Define output pin for Trigger pulse&lt;br /&gt;symbol echo = 6 ‘ Define input pin for Echo pulse&lt;br /&gt;symbol range = w1 ‘ 16 bit word variable for range&lt;br /&gt;&lt;br /&gt;main:&lt;br /&gt;pulsout trig,2 ‘ produce 20uS trigger pulse (must be minimum of 10uS)&lt;br /&gt;pulsin echo,1,range ‘ measures the range in 10uS steps&lt;br /&gt;pause 10 ‘ recharge period after ranging completes&lt;br /&gt;‘ now convert range to cm (divide by 5.8) or inches (divide by 14.8)&lt;br /&gt;‘ as picaxe cannot use 5.8, multiply by 10 then divide by 58 instead&lt;br /&gt;let range = range * 10 / 58 ‘ multiply by 10 then divide by 58&lt;br /&gt;debug range ‘ display range via debug command&lt;br /&gt;goto main ‘ and around forever&lt;/p&gt;&lt;p&gt;****&lt;/p&gt;&lt;p&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I did not have a fresh SRF05, and so there are drilled extra holes and soldered pins on the one on the picture.&lt;/p&gt;&lt;p&gt;Be aware that if you also connect servo(s) to the same Picaxe chip, program execution may be bumpy with little iregular breaks when using things as the SFR05 that needs pulses. If it is important for you to have a steady program execution, or if a servo acts totally irrational, it sometimes helps to have a smal pause or turn off a servos pulse for a short time in the code:&lt;/p&gt;&lt;p&gt;&amp;quot;low 3&amp;quot; or &amp;quot;pause 10&amp;quot;. Aparently there is no system, it is just trial and error with your particular setup.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;These pages might have your interest: &lt;a href=&quot;/node/316&quot;&gt;See what Robot Sees&lt;/a&gt;, &lt;a href=&quot;/node/75&quot;&gt;28 pin Project Board (AXE020), Picaxe for dummies&lt;/a&gt;&lt;p&gt; &lt;/p&gt;&lt;hr size=&quot;2&quot; width=&quot;100%&quot; /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;</description>
 <comments>http://letsmakerobots.com/node/66#comments</comments>
 <category domain="http://letsmakerobots.com/taxonomy/term/116">28 pin Project Board</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/117">AXE020</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/97">picaxe</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/113">SRF005</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/70">srf05</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/118">ultra sonic range finder</category>
 <category domain="http://letsmakerobots.com/taxonomy/term/75">SRF05</category>
 <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://letsmakerobots.com/crss/node/66</wfw:commentRss>
 <pubDate>Wed, 13 Feb 2008 17:55:09 +0100</pubDate>
 <dc:creator>fritsl</dc:creator>
 <guid isPermaLink="false">66 at http://letsmakerobots.com</guid>
</item>
</channel>
</rss>
