This is the revision B version of the IRDistance2 module.
{more here}
Command
NameBit Action Description 8 7 6 5 4 3 2 1 0 Distance_Read 0 0 0 0 0 0 0 s s Send Return the distance for senosr ss as dddd dddd 0 d d d d d d d d Receive Common
Commands0 1 1 1 1 1 1 x x Send Standard common command. See specifications for details. 0 a a a a a a a a Receive Select 1 a a a a a a a a Send Select the module with an address of aaaa aaaa. A time-out indicates that the module is not selected. 0 0 0 0 0 0 0 0 0 Receive
The hardware consists of a circuit schematic and a printed circuit board.
The parts list kept in a separate file -- irdistance2.ptl.
The schematic for the IRDistance2 module is shown below:
The module is connected to the RoboBricks2 bus via the 2×5 male connector N1 which feeds the can CAN bus physical layer signals into the MCP2551 (U2) which fed into the PIC16F688 microcontroller (U1). The power draw of a GP2D12 varies between 220mA and 9mA. For this reason it is not powered off of the logic power bus. Insetead, power is provided by the battery power bus which is electrically isolated from the logic power. The battery power bus is fead into the low drop out voltage regulator VR1 with regulation capacitors C1 and C2.
{I discovered that I completely bungled the copying of a circuit given to me by David Wyland. Go see Revision C to get the correct diagram.
jThe printed circuit board files are listed below:
The following files are available:
The following fabrication issues came up.