dasonwong / rx8navhood

An Arduino project that emulates the stock Mazda RX-8 navigation hood functions. See here for more information: https://www.youtube.com/watch?v=jJZqU2XOzgE
Apache License 2.0
13 stars 5 forks source link

[Question] Arduino wiring diagram #1

Open LeadMagnet opened 3 years ago

LeadMagnet commented 3 years ago

Thanks for sharing your code. Will come in handy for my version of this project.

Is it possible to get a wiring diagram of your arduino setup? Maybe a parts list (what you used and where)

Thanks

:D

Timohead commented 2 years ago

Hi! I just finished this mod and made a wiring diagram. It's a bit different, but the basic wiring is the same...

LeadMagnet commented 2 years ago

Hi! I just finished this mod and made a wiring diagram. It's a bit different, but the basic wiring is the same...

I'd be interested to see the pinout used for the potentiometer used to detect position of the motor.

It's the thing with three wires. One orange, two grey.

In the code he's checking pin A5 analogue port for the value. Had planned on running a 5V constant through Orange and attach one of the Grey's to A5.

Timohead commented 2 years ago

Hi! You need to connect +5V and ground to the potentiometer and the third cable to A5. If you run the code you can check the values you need with the command "Serial.println(analogRead(A5)" by opening and closing the hood by hand.

Timohead commented 2 years ago

MAZDA NAV MOD.pdf

LeadMagnet commented 2 years ago

Hi! You need to connect +5V and ground to the potentiometer and the third cable to A5. If you run the code you can check the values you need with the command "Serial.println(analogRead(A5)" by opening and closing the hood by hand.

Excellent! Thanks dude! Just what I needed 😄

This was the last piece to my project. Almost finished writing the interface. Have a C# WPF program for the UI running on a LattePanda. The Arduino is slaved into it so I can update the program on the fly 😀 Plan is to read the CANN bus later on.

Timohead commented 2 years ago

You're welcome! Feels good to help ppl who had the same issues.

Timohead commented 2 years ago

IMG20220513163751 IMG20220517131334 IMG20220517131342

LeadMagnet commented 2 years ago

WOW! Just WOW! I am very impressed.

If I ever get this thing done, I'll post the blog link.

Timohead commented 2 years ago

Aye! Glad that i could help...

LeadMagnet commented 2 years ago

Aye! Glad that i could help...

Had a good nights sleep and thought of something....

Does it matter what the start position is of the potentiometer when re-assembling?

Timohead commented 2 years ago

Before i reassembled the hood back in the dashboard i did a last meassurement of the values, they didn't change. So just give it a try, it should work fine.

LeadMagnet commented 2 years ago

Thanks! Appreciate the help...again 😄

Timohead commented 2 years ago

You're welcome,... again 😉

brownmiata commented 1 year ago

Thank you for the wiring diagram and photos. They are going to be paramount in my success I believe. I’ll try to remember to post photos when I’m finished.