JMS icon indicating copy to clipboard operation
JMS copied to clipboard

Unified Field Electronics Driver

Open CJBuchel opened this issue 1 year ago • 0 comments

UFE Code implementation.

  • Add basic e stop code for master UFE, pins below
  • Add communication between UFE's, (serialized and sent using CAN)
  • Control lights using communication (from master UFE to alliance stations)
enum class Mode {
        kOff        = 0,
        kConstant   = 1,
        kPulse      = 2,
        kChase      = 3,
        kRainbow    = 4
};

struct BRGB {
        byte brightness;
        byte r;
        byte g;
        byte b;
};
  • Add e stop over communications, (primarily to switch lights when e stopped)
  • Add communication between master UFE and JMS (usb communication)

Lighting Hardware

  • LED Strips WS2811 (unspecified amount ~22 meters)
  • Exposed/Used Pins:
Left Pins Right Pins
5v +3v3
SDA D4/E_R1
SCL D5/E_R2
CANH D6/E_R3
CANL D7/E_B1
RESET D8/E_B2
MASTER D9/E_B3
E_MST/Al0 Al1/R_OK
GND Al2/B_OK
GND GND

Comms (Per device -> Slave)

  • 2 RJ45 Connectors In/Out (CAN link Pin 7/8).
  • 1 RJ45 Connectors Master uplink (CAN link Pin 7/8)

Comms (Per device -> Master)

  • 2 RJ45 Connectors RedDS/BlueDS downlink (CAN link pin 7/8)
  • 2 RJ54 Connectors In/Out (CAN link Pin 7/8).

CJBuchel avatar Jul 24 '22 17:07 CJBuchel