Skip to main content

Home/ Robotics/ Group items tagged driver

Rss Feed Group items tagged

York Jong

BEAM Pieces -- Integrated circuits - 0 views

  • 1381s are CMOS voltage-controlled triggers -- these "gate" a source until the voltage is above some "trip" limit, at which point it is allowed onto a third pin
  • We use them as 3- or 5-volt triggers
  • This chip is often considered the heart of Nv net technology
  • ...22 more annotations...
  • The '240 is often called "the bicore chip," because we can take advantage of the 240's inverters to turn a single 74*240 into a bicore
  • The '240 also has tri-state outputs, so an enable line can be used to turn its outputs on and off simply (good for adding reversing capability to a 'bot).
  • any *cores built with a 74*04 will require additional logic "downstream" to amplify the current to levels sufficient to drive a moto
  • Schmitt triggers can't easily be used in suspended bicore implementations
  • use its buffers as little current amplifiers
  • it is usable for either grounded or suspended bicore designs (but better for suspended)
  • 74HC/HCTxx non-buffers (74HC14 or 74HC04) draw about half of the current consumption, and have about half the drive current compared to HC / HCT buffer chips (74HC240 or 74HC245). Non-buffer chips are thus better for oscillators, say Nv and Nu applications; they are not suited for use in driving motors.
  • 74AC is best suited for motor driver applications with all inputs driven rail to rail.
  • The '245 is an octal buffer chip, and so has 8 channels of buffering power available for our misuse. This chip was designed for data transmission uses, but we'll misuse it as a motor driver chip
  • The '244 provides us with 8 (thus the "octal") buffers, enableable in banks of 4. This is a very useful chip for amplifying small currents
  • it can drive up to 4 motors in 2 directions each, or you can "buddy up" inputs and outputs to drive fewer motors at higher current
  • it can drive up to 4 motors in 2 directions each, or you can "buddy up" inputs and outputs to drive fewer motors at higher current
  • If you can't find 1381s locally, you might have better luck finding its European cousin, the TC-54 -- for details on it
  • Note that if you need more than about 200 mA per motor, you'll need to use an H-bridge, or some similar motor driver
  • The ideal BEAM circuit would use a low (2V-3V) voltage core and sensors combined with level shifting high (5-6V) volt motor drivers to maximize efficiency.
  • 74ACxxx used in typical BEAM applications uses 4x more supply current than does 74HC/HCTxxx.
  •  
    The following material is intended to cover usage and part selection details of ICs you're most likely to see in BEAM robots.
York Jong

74*240-based photopopper circuits - 0 views

  • This adapted photodiode is not as sensitive as large area types so C2 may need to be reduced to 0.01uF while the value of R2 and R3 can be increased by a factor of 10.
  • Two leaded phototransistors can also be used but may require extra shielding to reduce light current in the bridge to acceptable levels
  • basic photopopper functions plus reverse -- all on a single chip
  • ...8 more annotations...
  • The monocore capacitor is for positive feedback for fast switching between the two motors and to slow down and avoid high frequency oscillations.
  • R2 together with C2 limits the maximum frequency of the monocore and motor drivers when the light is bright and the sensors are equally lit
  • R3 together with C2 sets the minimum frequency of the waggle even in the complete dark which is more interesting than twirling endlessly in a circle.
  • Having said that, maxibug is not perfect: it churns its wheels while feeding and does not back out of the feeding station when full. CD MaxiBug v5 uses just a few more parts but has powerful and efficient motor drivers, its motors are off while feeding, and it backs up when full.
  • The CD Maxibug v5 uses just one 74AC240 chip
York Jong

BEAM Circuits -- Motor drivers - 0 views

  • Motor drivers are essentially little current amplifiers
  • the control signal is likely on the order of 10 mA, and the motor may require 100's of mA to make it turn
York Jong

RoboLogo - Teaching Children how to program Interactive Robots - 0 views

  • All of the procedures take a discrete ``gear'' to specify the speed. The reasons for this are two-fold; first, by limiting the power of the truck, we simplify the interface to children. Secondly, it allows use to calibrate the ``gears'' so that, for example, 10 seconds forward in first gear is the same distance as 10 seconds backward in first gear.
  • The limitation of LOGO however is the lack of feedback from the environment. There is no way of expressing an event occuring in the outside world.
  • Simple constructs in iLogo extend the original LOGO language with interactivity capabilities of reading sensors and transfering control to different parts of the program.
  • ...6 more annotations...
  • These above rules handle all of the commands and expressions of the iLogo language except for the DoUnlessCommand. This command will execute a list of commands unless a boolean condition is met. If so, control is switched to a new list of commands for handling the exception condition.
  • Each stage of the compiler is designed using the Visitor pattern described in the book Design Pattern by Eric Gamma, et al. This pattern allows tree traversers to be created as seperated objects, instead of doing all traversals as methods of the nodes of the tree
  • We decided to use the JavaCC/JJTree tools created by Sun for generating a custom parser for our iLogo language written in Java.
  • The language must have primitives which allow the user of the language to write programs which easily transfer control based upon outside stimuli, in this case sensors on the truck.
  • An LM18293 push-pull motor driver connects the programmable counter array (PCA) of the 8051 to the truck's motors.
    • York Jong
       
      LM18293 is a DC motor driver.
  • We took the Berkeley Logo language design as our base and then added a primitive for reading sensor and an exception-based control structure.
  •  
    RoboLogo is a system that enables children to program interactive robots. Children can program a robotic truck that interacts with the environment without having to deal with low-level implementation details.
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

How to freeform the H-bridge - by Brian Hendrickson - 0 views

  •  
    Most of us are familiar with Beckingham's photovore block (also known as Chiu's). The following is a similar format used for freeforming a simple H-bridge motor driver that can be used for walkers, heads, and any other project that uses motors that requir
York Jong

MetaCricket: A designer's kit for making computational devices - 0 views

  • All Cricket devices have a built-in bidirectional infrared communications channel, which is used for Cricket-to-desktop communication (when downloading programs to a Cricket, or viewing sensor data) and Cricket-to-Cricket communication.
  • Cricket Logo is based on an iterative, interactive model of project development. It includes a “command center” window; instructions typed into this window are instantaneously compiled, downloaded to a Cricket, and executed, giving the system the flavor of an interpreted software environment such as LISP, BASIC, or FORTH.
  • The MetaCricket software system is based on a virtual machine, written in PIC assembly language and running on the Cricket, and a compiler for the virtual machine running on a desktop development computer
  • ...13 more annotations...
  • It is straightforward to implement an interpreter-like interface, where user commands are transparently compiled, downloaded, and executed.
  • The Cricket virtual machine is burned into the PIC microprocessor's internal ROM
  • The user's code resides in a serial EEPROM
  • Built-in infrared communications routines include a protocol for reading and writing to this external EEPROM, and for asking the virtual machine to begin execution of byte codes already loaded into the EEPROM.
  • Users write programs for the Cricket in Cricket Logo, a dialect of Logo specialized for the Cricket virtual machine. Essentially, there is a one-to-one mapping between statements in Cricket Logo and primitive functions built into the virtual machine. This makes the implementation of the compiler far simpler than typical compilers.
  • The infrared protocol includes the following capabilities: Check that a Cricket is present and ready for other commands. Write a byte to the Cricket's EEPROM. Read a byte from the Cricket's memory. Begin program execution from a particular memory address.
  • we have found that a debugger is not necessary because of the interactive and incremental style of project development that occurs when using the Cricket.
  • The compiler includes an interactive mode—a text window where user expressions are compiled, downloaded, and executed in one step when the user presses the return key. A portion of the Cricket's memory is set aside for these dynamic programs.
  • User-level primitive functions compile to one, two, or three bytes of object code for the Cricket virtual machine.
  • The Cricket virtual machine has two process threads: a foreground process and a background daemon. In most Cricket programs, the foreground thread handles all the work, but for some tasks, the background daemon is valuable. For example, the background daemon can be used to instigate a periodic activity, or take action when some event occurs.
  • There are hardware-specific primitives for interacting with on-board Cricket hardware. Motor commands set state (on or off), direction, and power levels for each of the two integrated motor drivers. Analog sensor primitives (sensora and sensorb) return a value (0 to 255) for each of the two voltage inputs. These inputs also may be interpreted as digital values using the switcha and switchb primitives. There is a pair of primitive functions for generating tones on the piezo beeper: beep and note, the latter taking pitch and duration arguments.
  • there is a background millisecond timer that is updated every four milliseconds
  • One foreground thread plus one background daemon Daemon fires when provided Boolean expression makes false-to-true transition
York Jong

Ray's BEAM Bots -- BatteryVore - 0 views

  • It's simply a Phototropic BiCore driving two small motors
  • I had to add resistors across the motor leads to slow them down! I got this idea from Ben Hitchcock's Fred Troubleshooting Page -- "D) If the motor fires strongly once..."
  •  
    It's simply a Phototropic BiCore driving two small motors. -- a 74HCT240 chip with no motor driver. See the Schematic below.
York Jong

A Bot With Peripheral Vision - 0 views

  • I wanted to share an adaptation of the Schead v4, that I have been experimenting with. It is (for lack of a better term) a Master/Slave Schmitt Comparitor Head (M/S SC-H). With the addition of a 74 AC 240 or two (as motor drivers) and a pair of motors, you can put together an interesting little light seeking, wheeled robot with peripheral vision.
  • As long as the light reaching the photo-bridge of the Master SC-H is balanced, then the Slave SC-H acts as a regular, lone SC-H would. So, if one of the slave photo-diodes detects more light then the other, the inverter that controls the motor on that side changes states and is now the same as the inverter of the Master SC-H tied to the same motor. This turns that motor off and the robot will pivot around the stopped wheel toward the greater light source until the light on each sensors is balanced and the motor again begins to turn.
  • I am also using SCar to continue experimenting with Stacking separate Sensor/Behavior circuits onto a robot. I will post more as progress is made.
  • ...9 more annotations...
  • The diodes between the  photo-diodes create a constant voltage drop between the inputs of the inverters. They cause  a dead band to exist between the thresholds of the two inverters. In a way they cause the circuit to act like a kind of window  comparator. Without these diodes both inverters would always be in the same state. With them, there is a small range where their outputs are in opposite states.
  • The Slave section has only two diodes (or one LED) between the photo-diodes. This makes it respond to smaller differences in light levels than does the Master part of the circuit
  • Basically, what I did was to stack one SC-H on top of another
  • I?m using a 74 HC 139 to direct the outputs of the M/S SC-H circuit to the appropriate motor(s)
  • Cheesy works very well. I?ve had fun making him chase a spot of light from a flashlight around on the floor. He has even been able to detect and react to the flashlight spot on the floor of the brightly lighted lab where I work.
    • York Jong
       
      Stacking separate Sensor/Behavior
York Jong

74*14-based photopopper circuits - 0 views

  • Droidmakr (Cliff Boerema) came up with an interesting idea for a light-tracking head with a form of peripheral vision. As often happens, the circuit turned into something different -- a photopopper:
  • All done with a single 74HC14 (the '240 being a motor driver).
  • I tried the same setup with the 74*240 (with an extra inverter per motor) and 7404, but the 74HC14 seems to work best.
  • ...6 more annotations...
  • John-Isaac Mumford started off by simplifying the Maxibug design, and wound up with an entirely new circuit -- Mazibug
  • The tactiles switches behave even more strongly: if a switch is closed then the bot turns away unconditionally. If both switches are closed the robots reverse straight back regardless of light level.
  • When the robot bumps into something on one side, it over-rides all the photodiode circuits and reverses the motor on the OPPOSITE side
  • From the title it would appear that all 4 photodiodes face forward but the 2 inner PDs face directly forward and the outer 2 are angled to the left and right
    • York Jong
       
      behavior-based control that all done with a sigle 74HC14
York Jong

ACTUATORS - SERVOS - 0 views

  •  
    Servos are DC motors with built in gearing and feedback control loop circuitry. And no motor drivers required!
York Jong

BICORE ARTICLE - 0 views

  •  
    The suspended bicore is the core of most BEAM devices. It's unique structure makes it very easy to customize for a wide range of uses. These uses vary from blinking LED's to servo-drivers to walkers.
York Jong

Furby Schematics - 0 views

  • Note that the resistor value of the pull-down resistor affects the voltage at pin 3 of the Furby's connector. We used a 1k ohm resistor to make it less sensitive to light (since we're now operating with it open to ambient light).
  • In the above diagram, a 20k ohm resistor is used as the pull-up resistor. You can, however, use any resistor as the pull-up resistor as long as the resistance is high enough to protect the circuit.
  •  
    There are a number of sensors and a motor driver on the Furby. The following is a list of these sensors and their functions.
1 - 13 of 13
Showing 20 items per page