Wip4a-spi

From DIDEAS Wiki
Revision as of 23:43, 29 March 2009 by Ceb (talk | contribs)
Jump to: navigation, search


wip4a w/spi

interface to robot

power

  • The hardware can be powered over the FUP port (WIP4a.PFUP1) or via the 3 pin header (WIP4a.PO3)
  • The unit accepts 15-30 volts and requires ~ 2watts

MC Comm (Dataport)

  • straight 1.25mm cable into 5 pin connector (WIP4a.PFUP1)
  • connect to normal (RED) 5 header on FUP1.pcb
  • connect 9 pin 1.00mm cable to MOTOR CONTROLLER PORT pf UPD 200-218 (SC/MC)

SC Comm (MPD proto)

  • connect special 6 to 5 min 1.25mm cable (marked with orange/green strip on 6 pin housing) to 6 pin connector (WIP4a.PX1)
  • connect to normal (RED) 5 header on FUP1.pcb
  • connect 9 pin 1.00mm cable to STATE CONTROLLER PORT of UPD 200-218 (SC/MC)


diagnostics

on power

  1. the red led lights to indicate power
  2. the yellow leds on the ENDs (DM1, DM7) will flash and bounce back and forth as the devices negotiates a connection with the access point
  3. the orange and blue LEDs (DM4 and DM5) light briefly during boot
  4. when booting is complete the right side LEDs (red and yellow) will be lit.

when active

  1. established TCP connections on port 10001 and 10002 cause DM2 and DM3 to be lit
  2. each MPD message will case the flash of the ORANGE LED (DM4), the robot's answer will cause the BLUE LED (DM5) to flash briefly
  3. when the dataport is active, and the WIPORT is unable to accept data - the BLUE led will light. (A blue flash without a preceding red flash suggest this case). Some flashing of the BLUE let is normal as radio packets are lost and retransmitted. Continuioes illumination of the BLUE suggest that the TCP connection is broken. This is possibly not a problem as the WIP4 can buffer minutes of data.

LED details

  • DM1 (orange) WiPort diagnostics LED - flashes when booting
  • DM2 (orange) indicates a TCP connection on port 10001 (DATAPORT - MC)
  • DM3 (green) indicates a TCP connection on port 10002 (MPD PORT - SC)
  • DM4 (red) flashes when data received from port 10002
  • DM5 (blue) flash when data transmitted on port 10002 and ALSO when Wiport when communication on 10001 is blocking.
  • DM6 (red led) indicates 3.3V supply
  • DM7 (orange) indicates radio power / active communication (flashes with)