Skip to content

zorrobyte/betterToyotaAngleSensorForOP

Repository files navigation

betterToyotaAngleSensorForOP

The project aims to provide an improved angle sensor setup for Toyota vehicles compatible with OpenPilot. This involves installing a magnetic encoder sensor for more accurate angle readings, supplemented by necessary electronics and firmware.

Components

Below is a list of components needed for this project:

1. Magnetic Encoder (AS5047P)

2. Microcontroller and CAN Interface

3. Encoder Buffer

4. Additional Hardware

  • M3 Flat-Cap Screws: Stainless steel, non-ferrous recommended.
  • 3D Printed Components: Necessary parts for mounting and alignment.

5. Optional Items

  • Erich’s Magnet Holder: No permanent modifications required for installation. Join Discord for more information.
  • BOM (Bill of Materials): A supplementary BOM on Google Sheets to assist with sourcing components.

Assembly Instructions

  1. Connections:

    • Connect the CAN board and LS7366R to the Arduino.
    • Wire the AS5047P sensor to the LS7366R encoder buffer.
  2. Mechanical Setup:

    • Extend the hole in the EPS motor shaft, if needed, and tap it to M3 size.
    • Align and attach the magnet holder to the cap.
    • Snap the AS5047P sensor into place and secure it with a small amount of superglue once functionality is confirmed.
  3. Software Configuration:

    • Recalibrate your vehicle’s fingerprint and add the new signals to Cabana.
    • Adjust the angle offset within OpenPilot settings.

Additional Resources

Acknowledgments

Special thanks to Erich and the community for providing valuable resources and feedback.

About

A DIY angle sensor for high performance vehicle autonomy applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published