Open LeadMagnet opened 3 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...
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.
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.
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.
You're welcome! Feels good to help ppl who had the same issues.
WOW! Just WOW! I am very impressed.
If I ever get this thing done, I'll post the blog link.
Aye! Glad that i could help...
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?
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.
Thanks! Appreciate the help...again 😄
You're welcome,... again 😉
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.
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