Skip to main content

Home/ Robotics/ Group items tagged comparison

Rss Feed Group items tagged

York Jong

PHOTORESISTOR ALGORITHMS - 0 views

  • pseudocode: read left_photoresistor read right_photoresistor if left_photoresistor detects more light than right_photoresistor then turn robot left if right_photoresistor detects more light than left_photoresistor then turn robot right if right_photoresistor detects about the same as left_photoresistor then robot goes straight loop
  • Photovore Algorithm, Improved This algorithm does the same as the original, but instead of case-based it works under a more advanced Fuzzy Logic control algorithm. Your robot will no longer just have the three modes of turn left, turn right, and go forward. Instead will have commands like 'turn left by 10 degrees' or 'turn right really fast', and with no additional lines of code! pseudocode: read left_photoresistor read right_photoresistor left_motor = (left_photoresistor - right_photoresistor) * arbitrary_constant right_motor = (right_photoresistor - left_photoresistor) * arbitrary_constant loop
  • ...1 more annotation...
  • Photovore, Split Brain Approach This algorithm works without comparison of photoresistor values. Instead, just command the right motor based on light from the right sensor, and the left motor with only data from the left sensor. You can also get interesting variations by reversing the sensors for a cross-brain algorithm. pseudocode: read left_photoresistor read right_photoresistor move left_wheel_speed = left_photoresistor * arbitrary_constant move right_wheel_speed = right_photoresistor * arbitrary_constant loop
  •  
    The photovore is a robot that chases light, and is perhaps the simplest of all sensor algorithms. If you are a beginner, this should be your first algorithm.
York Jong

BEAM Circuits -- 74*24x-based motor drivers compared - 0 views

  • In many ways, both the 74*240 and 74*245 are equally handy for BEAM use; both have 20 pins, and so the main difference that most folks will care about is that one inverts drive inputs, while the other doesn't. Out of curiousity, I decided to torture test the two chips to see how they compared under load.
York Jong

BASIC Stamp - Wikipedia, the free encyclopedia - 0 views

  • The BASIC Stamp is a microcontroller with a small, specialized BASIC interpreter (PBASIC) built into ROM.
  • The third variant is the Javelin stamp. This stamp uses Sun Microsystem's Java programing language instead of Parallax's PBasic
  • all current PICs are Flash-based, and support in-circuit programming.
  • ...2 more annotations...
  • The Basic Stamp > interprets instructions in real-time, essentially running a virtual machine on the PIC. This means that it is much slower
  • The Stamp implements a complete solution on a single PCB. In comparison, a bare PIC requires a separate power regulator and substantial decoupling on its output.
1 - 3 of 3
Showing 20 items per page