<?xml version="1.0" encoding="UTF-8"?>
<!--

If you're seeing this, it means your browser isn't capable of client side XSLT transformations.
You can't view this website correctly, sorry.

Please get a real browser like Firefox
    http://www.mozilla.com/firefox/

-->
<?xml-stylesheet type="text/xsl" href="xslt/site.xsl"?>

<page title="Marc-Hughes.com">

    <navigation>
        <page title="Home" page="index.xml"/>
        <page title="Projects" page="projects.xml"/>
        <link title="Blog" url="http://marc-hughes.blogspot.com/index.html"/>
        <page title="Pictures" page="pictures.xml"/>
        <page title="Resume" page="resume.xml"/>
        <page title="Links" page="links.xml"/>
    </navigation>

    <content>

        <article heading="My Robot" type="html">
            <p>
                <H1>The Robot</H1>

                <H3>General Idea</H3>
                I'm making a robot that is controlled with my palm pilot.  It will
                have two independently driven wheels for motion, and three infrared
                sensors to determine the range of things in front of it.
                <H3>Step 1 - Building the body</H3>
                I hollowed out an old CD-ROM drive for the main part of the
                body.  I have attached a bracket type thing to hold the palm
                pilot.  The bracket holds the pilot at about a 45 degree upwards
                angle.  This is the allow the infrared sensor on the palm pilot to
                be able to receive signals from my TV remote control.  After the
                initial design is done, and the software written for the pilot,
                I plan to add on and be able to control it with my DVD remote control.
                Inside the drive, I will mount the battery case, and all of the controlling
                circuits.<BR />

                    Here are some photos:

                    <TABLE BORDER="0">
                        <TR><TD>
                            <P>One interesting problem was the placement of the sensors.  They
                                can only see in one direction, and simply return a distance to the
                                closest object they can see.  The robot needs to be able to move
                                around without bumping into things.  Furthermore, eventually I want to
                                be able to have it map where it's been, so it needs to be able to see more
                                than just straight forward.  These are some of my ideas on sensor placement:
                            </P>
                        </TD><TD>
                            <IMG SRC="images/sensors.gif" />
                        </TD></TR></TABLE>

                    <H3>Step 2 - Attaching the servos</H3>
                    This was easy.. I drilled a few holes, used my dremel to hollow out places
                    for the axles to fit through, and screwed it on.  The wheels got superglued
                    to the servo-connectors, and the connectors attached to the servos.

                    <H3>Step 3 - Wiring the electronics</H3>
                    I just followed the scematics on the PPRK page.


                    <H3>Step 4 - Writting the palm pilot software</H3>

                    The SDK rocks!  It's just a special version of GCC, so standard
                    C/C++ code works just fine.
                    <BR /><BR />
                And here are <A HREF="pictures/robot/slideshow.php"> pictures</A> of the robot!.
            </p>
        </article>
    </content>

</page>
