Code Monkey home page Code Monkey logo

navi's Introduction

Navi

Controls the motor and sensor of the stock navigation display on the 2001 to 2008 Mazda 6. Replacing the stock screen controller functionality with a customizable one using off the shelve parts.

This is useful if you want to use the stock navigation enclosure with a tablet and want to retain the same buttons and functionality of the original screen.

This code can also be used to control RX-8's navigation screen as well. (modify thresholds for open, closed and tilted positions accordingly)

schematic

Demo

Schematic

Don't remember much about it, but here is the general idea:

schematic

  • 2 pushbuttons attached from pin 2 and 3 to GND (use existing buttons on Mazda 6 input screen / RX-8 buttons)
  • 1 BA6209 H-Bridge for controlling the motor with its inputs attached to pin 4 and 5.
  • 1 Potentiometer to control position. (included in stock nav enclosure) conected to analog pin 0
  • 1 Motor (included in stock nav enclosure attached to output of H-Bridge)
  • 12v and Ignition should be wired in as well, the idea is that when the car turns off the ignition voltage drops to 0 telling the arduino to initiate the close operation.

Changelog

1 January 2021

  • Edited README

24 October 2014

  • Refactored code to remove redundant calls.
  • Split into various files to improve readability.

22 March 2014

  • Initial version.

Todo

Update: 1/6/2021

It's been a long time... Unfortunately I wasn't able to continue working on this project. I have since moved abroad and unfortunately had to sell my car.

I'll leave this project here in hopes somebody else is interested in thinkering with their Mazdas. There is a "fullish" write up in my blog.

Update: 10/24/2014

I'm pleased to report the code has been working great so far. I've been using it for months already without running into issues.

Although, I have learned from experience that a better circuit needs to be made to avoid wasting power. With that in mind, implementing the arduino sleep functionality into the might be my next step. In hopes of reducing idle power consumption.

Through testing I have discovered it uses about ~90mA while powered on. Seems like nothing, but considering that the car alone uses about ~40mA while turned off, its something to keep in mind while storing your car for longer periods of time.

Happy driving!

navi's People

Contributors

amd989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

navi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.