Create a vehicle model (console) - AWS IoT FleetWise

Create a vehicle model (console)

In the AWS IoT FleetWise console, you can create a vehicle model in the following ways:

Use a template provided by AWS

AWS IoT FleetWise provides an On-board Diagnostic (OBD) II, J1979 template that automatically creates a signal catalog, a vehicle model, and a decoder manifest for you. The template also adds OBD network interfaces to the decoder manifest. For more information, see Create and manage decoder manifests.

To create a vehicle model by using a template
  1. Navigate to the AWS IoT FleetWise console.

  2. On the navigation pane, choose Vehicle models.

  3. On the Vehicle models page, choose Add provided template.

  4. Choose On-board diagnostics (OBD) II.

  5. Enter a name for the OBD network interface that AWS IoT FleetWise is creating.

  6. Choose Add.

Manually create a vehicle model

You can add signals from the signal catalog or import signals by uploading one or more .dbc files. A .dbc file is a file format that Controller Area Network (CAN bus) databases support.

Important

You can't create a vehicle model with vision system data signals using the AWS IoT FleetWise console. Instead, use the AWS CLI to create a vehicle model.

Vision system data is in preview release and is subject to change.

To manually create a vehicle model
  1. Navigate to the AWS IoT FleetWise console.

  2. On the navigation pane, choose Vehicle models.

  3. On the Vehicle models page, choose Create vehicle model, and then do the following.

Step 1: Configure vehicle model

In General information, do the following.

  1. Enter a name for the vehicle model.

  2. (Optional) Enter a description.

  3. Choose Next.

Step 2: Add signals

Note
  • If this is the first time you've used AWS IoT FleetWise, this step isn't available until you have a signal catalog. When the first vehicle model is created, AWS IoT FleetWise automatically creates a signal catalog with signals added to the first vehicle model.

  • If you're experienced with AWS IoT FleetWise, you can add signals to your vehicle model by selecting signals from the signal catalog or uploading .dbc files to import signals.

  • You must have at least one signal to create a vehicle model.

To add signals
  1. Choose one or more signals from the signal catalog that you're adding to the vehicle model. You can review selected signals in the right pane.

    Note

    Only selected signals will be added to the vehicle model.

  2. Choose Next.

Step 3: Import signals

Note
  • If this is the first time you've used AWS IoT FleetWise, you must upload at least one .dbc file to import signals.

  • If you're experienced with AWS IoT FleetWise, you can add signals to your vehicle model by selecting signals from the signal catalog or uploading .dbc files to import signals.

  • You must have at least one signal to create a vehicle model.

To import signals
  1. Choose Choose files.

  2. In the dialog box, choose the .dbc file that contains signals. You can upload multiple .dbc files.

  3. AWS IoT FleetWise parses your .dbc files to retrieve signals.

    In the Signals section, specify the following metadata for each signal.

    • Name – The signal's name.

      The signal name must be unique. The signal name plus the path can have up to 150 characters. Valid characters: a–z, A–Z, 0–9, : (colon), and _ (underscore).

    • Data type – The signal's data type must be one of the following: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, FLOAT, DOUBLE, STRING, UNIX_TIMESTAMP, INT8_ARRAY, UINT8_ARRAY, INT16_ARRAY, UINT16_ARRAY, INT32_ARRAY, UINT32_ARRAY, INT64_ARRAY, UINT64_ARRAY, BOOLEAN_ARRAY, FLOAT_ARRAY, DOUBLE_ARRAY, STRING_ARRAY, UNIX_TIMESTAMP_ARRAY, or UNKNOWN.

    • Signal type – The type of the signal, which can be Sensor or Actuator.

    • (Optional) Unit – The scientific unit for the signal, such as km or Celsius.

    • (Optional) Path – The path to the signal. Similar to JSONPath, use a dot(.) to refer to a child signal. For example, Vehicle.Engine.Light.

      The signal name plus the path can have up to 150 characters. Valid characters: a–z, A–Z, 0–9, : (colon), and _ (underscore).

    • (Optional) Min – The minimum value of the signal.

    • (Optional) Max – The maximum value of the signal.

    • (Optional) Description – The description for the signal.

      The description can have up to 2048 characters. Valid characters: a–z, A–Z, 0–9, : (colon), _ (underscore), and - (hyphen).

  4. Choose Next.

(Optional) Step 4: Add attributes

You can add up to 100 attributes, including the existing attributes in the signal catalog.

To add attributes
  1. In Add attributes, specify the following metadata for each attribute.

    • Name – The attribute's name.

      The signal name must be unique. The signal name and path can have up to 150 characters. Valid characters: a–z, A–Z, 0–9, : (colon), and _ (underscore)

    • Data type – The attribute's data type must be one of the following: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, BOOLEAN, FLOAT, DOUBLE, STRING, UNIX_TIMESTAMP, INT8_ARRAY, UINT8_ARRAY, INT16_ARRAY, UINT16_ARRAY, INT32_ARRAY, UINT32_ARRAY, INT64_ARRAY, UINT64_ARRAY, BOOLEAN_ARRAY, FLOAT_ARRAY, DOUBLE_ARRAY, STRING_ARRAY, UNIX_TIMESTAMP_ARRAY, or UNKNOWN

    • (Optional) Unit – The scientific unit for the attribute, such as km or Celsius.

    • (Optional) Path – The path to the signal. Similar to JSONPath, use a dot(.) to refer to a child signal. For example, Vehicle.Engine.Light.

      The signal name plus the path can have up to 150 characters. Valid characters: a–z, A–Z, 0–9, : (colon), and _ (underscore)

    • (Optional) Min – The minimum value of the attribute.

    • (Optional) Max – The maximum value of the attribute.

    • (Optional) Description – The description for the attribute.

      The description can have up to 2048 characters. Valid characters: a–z, A–Z, 0–9, : (colon), _ (underscore), and - (hyphen).

  2. Choose Next.

Step 5: Review and create

Verify the configurations for the vehicle model, and then choose Create.

Duplicate a vehicle model

AWS IoT FleetWise can copy the configurations of an existing vehicle model to create a new model. Signals specified in the selected vehicle model are copied to the new vehicle model.

To duplicate a vehicle model
  1. Navigate to the AWS IoT FleetWise console.

  2. On the navigation pane, choose Vehicle models.

  3. Choose a model from the vehicle model list, and then choose Duplicate model.

To configure the vehicle model, follow the Manually create a vehicle model tutorial.

It can take a few minutes for AWS IoT FleetWise to process your request to create the vehicle model. After the vehicle model is successfully created, on the Vehicle models page, the Status column shows ACTIVE. When the vehicle model becomes active, you can't edit it.