rampage128 / niscan

nissan canbus interface for arduino uno
18 stars 8 forks source link

*Questions* Connectivity to the car #4

Open estingala opened 5 years ago

estingala commented 5 years ago

Hi!

First of all, thank you for providing your work to the community!. I own a 370z (GT - 2015 - european model) and plan to replace the very outdated infotainment with a tablet.

I have chosen a USB-C tablet I have for work (a Galaxy S5e), which seemed like a good choice given its compatibility with usb-c hubs with power delivery, and its very good screen. I plan to add an EasyCap device for the (built-in) rearview camera as well as a CarPlay/Android auto dongle. I'm probably planning to leave the factory AC controls, which I believe will fit below the tablet. I've been investigating around the 370z service manuals and have everything almost figured out, but seeing your set-up (here and in your YouTube video) I have a couple of questions that you have have already stumbled upon:

I've tried your software in a rig I have for testing and seems to be working great. I also like a lot the way you've organized the code. It has provided me a lot of inspiration! Thanks again and I hope to share also my progress in this endeavour :)

rampage128 commented 5 years ago

Hey,

Sounds like a nice plan you have there. Good luck with your build.

Regarding keeping the OEM A/C dials:

Unfortunately for NAV versions of the 370z, the A/C-dials do not work without the OEM navigation unit. This is because the dials are not directly communicating with the A/C-amp. They actually communicate with the navigation unit, which then relays the values to the A/C-amp. AFAIK there is no way around this other than using the non-nav dials and connecting those to the arduino to read the dial state.

Regarding your questions:

estingala commented 5 years ago

I'm also on EcuTek and would like to build at least some more extra functionality by interfacing ECM signals (speed, load, ignition timing, current map setting). I saw that your current functionality is consuming around half of the serial rate speed, but see that you still have plenty of room to increase baud rate of the serial port. Have you seen the Arduino as a bottleneck in terms of processing power to process your current set-up? Do you think it's a viable platform to build more features on top or should I consider alternatives like the ESP32?

Another thing is the mechanical aspect of the build. I plan to build my own using my 3d printer. Did you do the same? I'm suspecting it will be good for prototyping, but long term usage will require of a more heat-resistant material.

I'm excited about this build and hope to share as much as possible!

rampage128 commented 5 years ago
xadamadax commented 4 years ago

Hey guys, I'm actually trying to accomplish this in a GTR. the only spot for an aftermarket stereo is where the AC controls are.

Am I understanding correctly that this "will not" work in the Z that has the nav unit? The GTR "only" comes with that unit, so I'm trying too gauge my likelihood of success before jumping in.

This would be game changing for the GTR community as many are stuck with the 10 year old head unit.

rampage128 commented 4 years ago

Hey!

I have a 370z with nav. This project only works with the nav unit. Since only with the nav unit the AC can be controlled via can-bus.

I don't know the GTR specifics tho. It could be that the AC works differently in the GTR. But with hands on a GTR that could be figured out easily.

xadamadax commented 4 years ago

Thanks so much for the response! I have extensive background in AV and video game modding, I run cyber security practice for a living. Arduino however is brand new to me. I have read a bit already but there is so much i am looking to target what I need.

If you could help point me at the right resources - or better still if you'd be willing to collaborate. There is a potential market for the GTR to have a stereo solution that doesn't require hacking up the AC. Particularly as all vehicles from 2009 to 2016 have a garbage infotainment - which i believe is identical to the unit in your z.

I picture an android headunit with this integrated via usb

rampage128 commented 4 years ago

Sure, I would love to collaborate.

Currently the requirements to use this project are:

I would love to contribute more, since I hope that adding the GTR might involve more people into development of this system. Unfortunately I have no GTR and I do not have access to one. I don't even know anyone who owns a GTR. This means you would have to build and test the stuff on your own to find out if it works. If it doesn't I will be happy to assist in fixing any potential issues.

An alternative would be if you have access to a can-sniffer. Then you could check the can bus and we could do a preliminary check for compatibility. Mainly to see if the packet-ids in the GTR match the 370z.

xadamadax commented 4 years ago

Awesome!! I think can sniffing will be beneficial regardless to see what additional functionality we want to add. We have access to more than few GTR and several tablets and android double dins

Wasn't sure the best way to exchange contact info, so i'll just put my email here so we can move communication outside of your bugs section :)

xadamadax@gmail.com

Shoot me a line and we can do a webex and do some brain storming/create like a project plan. I'll start looking through the links you sent over- thanks again for reaching back out, looking forward to it

Adam

estingala commented 4 years ago

Hi!

I now have a working design for a slide-in solution for a Galaxy Tab s5e (https://imgur.com/a/IqEHV05). I've printed this with Petg and it has (so far) withstood the summer in the Canary Islands :). As we commented before, my set-up differs a bit of what the Carduino hardware offers, and I had to build my own solution for this.

I would love to collaborate in the project. I'm highly skilled in embedded systems, C, C++ and currently learning Android (I do audio development for iOS, macOS and embedded for a living). Perhaps we can set-up a Discord or Slack group where we can sync on our different goals and ambitions and align them together?

rampage128 commented 4 years ago

Great frame! I have very good news for you regarding reading ECM data. I am currently working on an update of firmware and app. All the data you want to retrieve is now directly configurable in the app. No need to update the firmware on the arduino for new values anymore.

It already works, I just have to finish the user interface and iron out some bugs to make it ready to be pushed and merged.

Would you be willing to share the 3D file for the frame? Then I could make a version for the trekstor tablet.

The slack group is a great idea! I will create one. Feel free to drop me an email (frederik.wolter@gmail.com)!