BlueWave Studio forum
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Help
  • View Today's Post
  • More
    • BlueWave Studio
    • Shop
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Help View Today's Post
    More
    • BlueWave Studio
    • Shop
    BlueWave Studio forum Head-unit projects Your projects Mazda 6 (2004) Stock Navi: NaviPi!

    Mazda 6 (2004) Stock Navi: NaviPi!
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #1
    12-25-2020, 12:04 PM (This post was last modified: 12-25-2020, 12:15 PM by KreAch3R.)
    Hello! 



    I'm pleased to be able to finally present my completed project. I installed RPi 4B+OAP inside the stock Navigation unit of the first generation Mazda 6 (2004). I had to track down the unit and ship it to me because my car didn't come with it and painted it. 

    I also used an AUX XCarLink module for Bluetooth audio + music so that the stock stereo can remain fully functional (including the small display). I also took extra care so no permanent modifications are made to the car; I made a custom Mazda to Mazda harness so you can remove everything. 



    Features:


    • Functional OAP (no backup camera because I use an aftermarket Mirror camera)
    • Functional OBD
    • Functional wireless AA
    • Functional Google Assistant
    • Functional steering wheel controls (including answering/hanging up calls)
    • Functional stock stereo unit
    • GPS module
    • RTC module
    • Automatic screen dimming (photoresistor inside stock IR sensor window)
    • Temperature (including greek summers: 40-65C)
    • Functional stock Navi behavior (all buttons work, screen tilts and opens/closes, position "memory" works)
    • Safe power up and shutdown (RPi powers up on "ACC on" and triggers a shutdown on "ACC off", BAT power stays on for 15 seconds waiting for RPi to turn off safely then turns off).

    [Image: zduRxam.jpg]

    [Image: QBiJbMv.jpg]

    Part list (ask me specifically about something and I'll try to find links to buy):





    Raspberry Pi 4b 2GB
    USB sound card CAB-U036
    Microphone random 3.5 jack one
    CSR 4.0 bluetooth dongle (not fake)
    Official RPi touchscreen
    ds1307 rtc module
    DOUBLE-LAYER ACRYLIC CASE FOR RASPBERRY PI 4 MODEL B
    Raspberry Pi Dual Cooling Fan Kit Module
    USB GLONASS GPS Receiver UBLOX M8030 Dual GNSS Receiver Module Antenna FLASH PC
    3.5mm Audio Aux Noise Filter Ground Loop Isolator Eliminate Car Electric Noise
    OBDII Bluetooth adapter
    
    custom 12v to 5v 3A converter (built my own):
    https://bluewavestudio.io/community/showthread.php?tid=1391
    12V/24V LED Automation Delay Timer Control Switch Relay Module PCB Board w/ Case
    XL4015E1 step down converter
    
    custom Mazda to Mazda audio harness (built my own)
    
    https://github.com/opencardev/crankshaft/wiki/Boot,-reboot-and-shutdown-the-Pi-with-ignition-key
    12V 40A automotive relay https://github.com/scruss/shutdown_button
    
    Photoresistor GL5528 LDR https://github.com/dandydanny/PiAutoDim 
    
    random ANGLE BRACKET
    
    XCarLink aux module
    
    Tasker (Android app)




    Video of the install:

    https://www.youtube.com/watch?v=i4B1WcOLxLU


    Photo story of the install:

    https://photos.app.goo.gl/xheAwoG4qWsdQWJ66



    I want to thank the OAP team because this wouldn't possible without them, and also all the forum members that helped indirectly with their posts and input. My Mazda thanks you all.
    jennmike2
    Offline

    Member

    Posts: 138
    Threads: 5
    Joined: Jan 2019
    Reputation: 6
    #2
    12-26-2020, 04:31 AM
    Looks great!!! i was going to put mine in a Mazda 6 2008 but hit a deer last year. Newer 2017 jeep replaced it so now i dont want to put it in until the warranty runs out.

    But nice job.
    Tested build hardware that works!!!

    https://bluewavestudio.io/community/show...p?tid=2106
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #3
    12-29-2020, 04:41 PM (This post was last modified: 12-29-2020, 06:43 PM by KreAch3R.)
    (12-26-2020, 04:31 AM)jennmike2 Wrote: Looks great!!! i was going to put mine in a Mazda 6 2008 but hit a deer last year.  Newer 2017 jeep replaced it so now i dont want to put it in until the warranty runs out.

    But nice job.

    Thanks! Shame for your Mazda. Well maybe you can get it inside your jeep but make yourself a custom harness and buy second dashboard parts as needed as well so that it can be uninstalled without any permanent modifications.
    Daniel_BlueWave
    Offline

    BlueWave Team member

    Posts: 1,213
    Threads: 45
    Joined: Jul 2019
    Reputation: 53
    #4
    12-29-2020, 07:37 PM
    Good to see such a great setup and execution. Looks like it was there from the beginning. Idea with custom harness is really clever.
    Thank you very much for sharing, providing list of components, photos and description. We appreciate that.

    We also encourage you to present your project on Reddit in Rpi section. We think that larger audience should be able to see that.
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #5
    01-04-2021, 08:21 PM
    (12-29-2020, 07:37 PM)Daniel_BlueWave Wrote: Good to see such a great setup and execution. Looks like it was there from the beginning. Idea with custom harness is really clever.
    Thank you very much for sharing, providing list of components, photos and description. We appreciate that. 

    We also encourage you to present your project on Reddit in Rpi section. We think that larger audience should be able to see that.


    Thank you Daniel! I did as you said, I made a post for /r/raspberry_pi, check it out here: https://www.reddit.com/r/raspberry_pi/co...od_navipi/
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #6
    09-10-2021, 04:47 PM
    Update on my build. I finally pulled the trigger and installed a compatible rear camera. I used a relay to trigger a GPIO pin, and the common rca usb grabber EasyCap, and everything works beautifully. Some pictures of the install:
    [Image: ODYCBko.jpg]

    [Image: 08btzym.jpg]

    [Image: zZijoQt.jpg]

    [Image: QwQpGYh.png]

    Thanks OAP!
    n3zhov
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: Jul 2022
    Reputation: 0
    #7
    07-21-2022, 09:15 PM
    Hello there!
    You're project inspired me to do something familiar with my own gg mazda, but i have some questions.
    Do you still have dimensions of power relay box? I'm just a newbie to this kind of stuff and didn't find anything according to this.
    How did you managed to connect RPi with steering wheel buttons?
    Do you have some scheme or something like that for camera connection?
    And maybe you still have 3d model for angel bracket, because in mine monitor assembly they're missing entirely.
    And by your photo it's not such clear what to do with wirings, how to conncet them and so on, but still, i'm just a newbie to this stuff

    Thank you in advance for the answer!
    Sicboy
    Offline

    Junior Member

    Posts: 5
    Threads: 3
    Joined: Mar 2020
    Reputation: 1
    #8
    10-20-2022, 05:40 AM (This post was last modified: 10-20-2022, 05:57 AM by Sicboy.)
    [Image: m6.jpg]

    HI! Glad to see project like ive make. can u help me with obd pids in this m6?
    p.s. its 2004, yes i change multimedia from 2006

    have no ideas how to hide gestures sensor. make case like this.
    [Image: m6-1.jpg]
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #9
    02-09-2023, 04:38 PM (This post was last modified: 02-09-2023, 04:42 PM by KreAch3R.)
    (07-21-2022, 09:15 PM)n3zhov Wrote: Hello there!
    You're project inspired me to do something familiar with my own gg mazda, but i have some questions.
    Do you still have dimensions of power relay box? I'm just a newbie to this kind of stuff and didn't find anything according to this.
    How did you managed to connect RPi with steering wheel buttons?
    Do you have some scheme or something like that for camera connection?
    And maybe you still have 3d model for angel bracket, because in mine monitor assembly they're missing entirely.
    And by your photo it's not such clear what to do with wirings, how to conncet them and so on, but still, i'm just a newbie to this stuff

    Thank you in advance for the answer!

    Hello, sorry for the late reply!

    I don't have any dimensions, I bought some boxes that thought I could fit it inside. Speaking from memory only, it should be something like 10cm x 5cm x 5cm.
    I didn't connect the pi with steering wheel. I am using XCarLink simultaneously, connected with bluetooth to my phone (with Tasker), to accomplish the music/audio/steering wheel part of it. Check the original post.
    About the Camera, what kind of scheme? It's basically Camera -> cable to  EasyCAP equivalent USB video adapter (check the other thread about which one) --> powered USB hub --> RPI. 
    About the angle bracket, you mean, the part that I 3d printed? Yes I have a 3d model, I can attach it here if you would like. Notice though, that it did need manual trimming to fit after I printed it. 
    Now about the wiring, yeah it's not clear because it's not meant to be a guide. If you really want to learn to do this, you gotta read all the other threads and understand basic DC power circuitry.

    (10-20-2022, 05:40 AM)Sicboy Wrote: HI! Glad to see project like ive make. can u help me with obd pids in this m6?
    p.s. its 2004, yes i change multimedia from 2006

    have no ideas how to hide gestures sensor. make case like this.


    Hello, looks great! It's so awesome when someone else uses your idea! About the OBD pids, what about them? I'm using a bluetooth OBDII port adapter and Pi just connects to it. I haven't really looked into if something is missing. 

    I don't use gesture control at all, but if I did, I would try to place it inside the center vent, or inside the CD slot, or in the empty cassette cover. Wherever it fits or makes more sense for the movements. An alternative would be placing it behind the IR glass, if you haven't used it for the ambient light sensor, like I did.
    KreAch3R
    Offline

    Member

    Posts: 196
    Threads: 18
    Joined: Apr 2020
    Reputation: 13
    #10
    03-15-2023, 03:10 PM (This post was last modified: 03-15-2023, 03:20 PM by KreAch3R.)
    I added a car battery voltage custom Dashboard, check it out here: https://bluewavestudio.io/community/thread-3738.html

    [Image: 225339687-71e9e841-73b2-48fc-91aa-b1ed3c5147ab.jpg]

    Front Camera and Camera Video Channel Converter Installed!

    [Image: hQemcVW.jpg]

    I bought this camera:
    https://www.aliexpress.com/item/10050032...18022x6Sb0

    [Image: GreenYi-HD-170-Night-Vision-Car-Front-Vi....jpg_.webp]

    and this converter:
    https://www.aliexpress.com/item/32819254...18022x6Sb0

    [Image: Car-Parking-Camera-Video-Channel-Convert....jpg_.webp]

    I placed the front camera button here:
    [Image: xsLdram.jpg]


    and I can confirm that the converter works beautifully with my USB grabber and consequently with OpenAuto. It automatically shows the reverse backup camera when the reverse gear is engaged as stock behavior, but when you disengage the gear, the front camera is shown automatically for some seconds. Very handy for tight parking. 

    And you also get the front camera button which allows you to just press the button and enable the front camera without engaging the reverse gear at all. Openauto is completely obeying its orders (because of the GPIO trigger, of course).
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Help · BlueWave Studio · Shop

    Copyright © bluewavestudio.io. All rights reserved.

    Linear Mode
    Threaded Mode