Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp 2 and BOE-Bot Projects (line follow, line maze) — Parallax Forums

Basic Stamp 2 and BOE-Bot Projects (line follow, line maze)

RichardV2RichardV2 Posts: 4
edited 2009-01-09 23:19 in Robotics
I'm teaching an embedded systems class and using BOE-Bot to make line-following, line-maze, and sumo robots.
Line-following: Making a one-sensor robot now. Will follow up with 2, 3 then 5 sensors with no PID, then add PID. Does anybody have any proven PID code for BS2?
Line maze: I built a line maze for the students to practice on. See www.picrobots.com/line-maze.php if you want to track the progress on this one. Right now I'd like help on the maze algorithm that has the robot follow the shortest path after the first path.
·

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-09-30 15:51
    Richard,

    The sticky thread in the Stamps In Class Forum has a link to PID code, although it is not specifically written for the BOE-Bot, it does demonstrate PID on the BASIC Stamps. I hope this helps. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • RichardV2RichardV2 Posts: 4
    edited 2008-10-01 14:33
    Thanks. I must have downloaded 100 pages of PID documents, and although the math might be great stuff for a mathematician, I found it difficult to convert the math formulas into understandable code.
  • juanpablocangurojuanpablocanguro Posts: 2
    edited 2009-01-04 21:36
    hi there, I have some PID code if you are still looking for some. I have also developed some code for fuzzy logic controllers, all of this within a BS2. If you are still interested let me know.
    Pablo
  • SRLMSRLM Posts: 5,045
    edited 2009-01-05 03:32
    @ Juan

    If it's complete and well commented, why don't you post it in the completed projects forum? I'm sure that lot's would like to take a look... Just a thought.
  • RoboticsProfessorRoboticsProfessor Posts: 54
    edited 2009-01-09 23:19
    Yes Pablo, I'm interested. Could you post some code here or send it to:



    roboticsProfessor@gmail.com



    Thank you!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Richard Vannoy

    Programming and Electronics Instructor
    www.RichardVannoy.info
    ·
Sign In or Register to comment.