The 6270 Robot Builder Guide - Robot Full Building Manual with Electronic and Stepper Motor Technics

Page 228

B.4. ANALOG INPUTS

203

EXPANSION BOARD INPUT HEADER

SW5 +5V

DIP SWITCHES 33

2 72 62 52 42 32 22 12 01 91 81 71 61 51 41 31 2

VR2 100K

32

Frob Knob

31 1 31 41 51 21 5 2 4 Y Y Y Y Y Y Y Y 0 1 2 3 4 5 6 7

U20 A B C 1 11 09

O u t 3

I V Ne H6 7

4 0 5 1

1 31 41 51 21 5 2 4 Y Y Y Y Y Y Y Y 0 1 2 3 4 5 6 7

U19 A B C 1 11 09

D2D3D4D5Ti3

MAIN BOARD PORT D HEADER

O u t 3

I V Ne H6 7

4 0 5 1

1 31 41 51 21 5 2 4 Y Y Y Y Y Y Y Y 0 1 2 3 4 5 6 7

U18 A B C 1 11 09

O u t 3

I V Ne H6 7

4 0 5 1

1 11 0 9 8

MAIN BOARD ANALOG INPUT HEADER

Figure B.17: Expansion Board Analog Input Circuitry

B.4.2 Analog Input Multiplexing on the Expansion Board

The Expansion Board has three eight-to-one analog multiplexer ICs. These chips (the 74HC4051) have eight inputs and one output; depending on the state of three selector inputs, one of the eight input lines is connected to the output.2 The outputs of the '4051 chips are wired into the 6811 analog inputs when the 6.270 Expansion Board plugs into the main board. Three signals from the 6811 are used to control the multiplexers and select which analog input is mapped to the 6811 analog input3. Figure B.17 is a schematic of the analog input circuitry on the 6.270 Expansion Board. It is easy to see how the use of the analog multiplexer chips greatly expands the analog input capability of the 6.270 hardware:

Two of the '4051 chips have their inputs wired to a bank of sixteen open sensor

inputs. The other chip is wired from the Frob Knob, a general-purpose analog input knob, and four DIP switches (for user con guration input). Actually, the chip's signals are bidirectional, but for the purpose of this discussion, it is convenient to think of the chip as having eight inputs and one output. 3 These signals are taken from the 6811's High Speed Serial Port, a special sub-system of the 6811 that allows it to communicate at high speeds with other 6811's. In the 6.270 application, this functionality is not needed; instead, the signals are used as simple digital outputs. 2


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.