Skip to content

KOCH-Engineering/PinPoint_BLE

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


13-pin connector

Table of Contents
  1. About The Project
  2. Getting Started
  3. Web Page
  4. Roadmap
  5. License
  6. Contact
  7. Acknowledgements
  8. ISO 11446
  9. Pin Definitions

About The Project

This covers a wireless 13-pin Car Connector Tester using BlueTooth Low Energy Link (BLE)

You insert a plug in the cars connector and this power a wireless transmitter that you can connect to from you mobile phone The plug powers up the BLE link from the permanent +12V from the plug

You can then see the status on all pins via the user interface on your phone without a cable out of the door.

The Tester will have different modes:

  • Mode 1: A graphical representation of the Connector where each pin lights up when 12V og GND is connected
  • Mode 2: A Table list structured in groups (ie. Blink Left, Blink Right near to each other
  • Mode 3: A latching mode - So the that has been tested stays on
  • Mode 4: FUTURE: Connection to CAN bus so that the tester and initiate each test by itself

😄

Built With

The code is build with Arduino which supports the ESP32 modules

  • Arduiono IDE 2.3.3

  • Choose the module: "ESP32C3 Dev Module" for the ESP32-C3-Super-Mini module in Arduino IDE

Getting Started

I'm using the ESP32 Board called "ESP32-C3-Super-Mini". This board have both Wi-Fi and Bluetooth 5 ESP32-C3-Super-Mini

This is the pin numbers and definitions that can be used with Arduino:

  • static const uint8_t TX = 21;
  • static const uint8_t RX = 20;
  • static const uint8_t SDA = 8;
  • static const uint8_t SCL = 9;
  • static const uint8_t SS = 7;
  • static const uint8_t MOSI = 6;
  • static const uint8_t MISO = 5;
  • static const uint8_t SCK = 4;
  • static const uint8_t A0 = 0;
  • static const uint8_t A1 = 1;
  • static const uint8_t A2 = 2;
  • static const uint8_t A3 = 3;
  • static const uint8_t A4 = 4;
  • static const uint8_t A5 = 5;
  • Webpage

    The web part (index.html+css fille) file can be shown here within this Gitbub repository acting as a webserver:

    Roadmap

    See the open issues for a list of proposed features (and known issues).

    License

    Distributed under the MIT License. See LICENSE for more information.

    Contact

    Henrik Johansen Koch - @henrikjkoch - [email protected]

    Project Link: [[https://github.com/KOCH-Engineering/PinPoint_BLE/] This!

    Acknowledgements

    #Standards

    ISO 11446

    13 pin Car Connector - 12V

    • Link to the ISO 11446 standard ISO 11446:2004 specifies a 13-pole electrical connector between towing and towed vehicles with 12 volt electrical system. It was developed in 1987 by Erich Jaeger to replace older 7-pin plugs.

    ISO 12098

    15 pin Truck Connector - 24V

    CAN

    CAN bus-compatible controllers is called TWAI, which stands for Two-Wire Automotive Interface.

    ISO 11898-1 protocol (CAN Specification 2.0)

    TJA1050 High-Speed CAN Transceiver (datasheet)

    Pin Definitions

  • Pin 1 Left indicator [Blink Venstre]
  • Pin 2 Rear fog lamp [Tågelys bag]
  • Pin 3 Ground [a]Stel
  • Pin 4 Right indicatorBlink Højre
  • Pin 5 Right tail lamp [b]Højre baglys
  • Pin 6 Brake lampBremselys
  • Pin 7 Left tail lamp[b]
  • Pin 8 Reverse lamp
  • Pin 9 Permanent power
  • Pin 10 Switched supply (for fridge)
  • Pin 11 Ground for pin 10 [a]
  • Pin 12 Trailer Presence Detection[c]
  • Pin 13 Ground for pin 9 [a]