Chevy Spark EV Forum

It is currently Sun Nov 19, 2017 9:35 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 142 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 15  Next
Author Message
 Post subject: Re: Back up camera?
PostPosted: Wed Oct 14, 2015 11:22 am 
Offline

Joined: Sat Jan 10, 2015 12:16 pm
Posts: 94
Location: 2015 Spark EV, NorCal
I don't have the camera installed (or even connected) right now, but the following snippet of code did more or less what we're trying to do:
Code:
#!/usr/bin/perl

open(CAN, "candump -a -t a can2|");

while(<CAN>) {
   if (/102CE040\s+.8.\s+1(.)/) {
      $state = $1;
      print "state = $state\n";
      if ($state == 2) {
         system "cansend can2 244#07.AE.05.20.20.00.00.00"
      }
   }
}
close CAN;
I think 102CE040 is the message that gets sent to the instrument panel when the shifter goes into reverse; there's about a 300ms delay between when I move the shift and when that message gets sent, but it seems livable. There's then a 3 second lag after you switch out of reverse before the display goes back to normal. Finally, we're spamming the CAN bus every 300ms or so, which is overkill ... we only need to send a message more often than every 3 seconds. So there's room for improvement, and it needs to be ported to a microcontroller with a real SWCAN transceiver that won't make my dashboard keep flashing random error messages :P


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sat Oct 17, 2015 1:24 pm 
Offline

Joined: Sat Jan 10, 2015 12:16 pm
Posts: 94
Location: 2015 Spark EV, NorCal
Let me throw out a few caveats -- this is just a proof of concept, because I suck at running wires nicely through my car, and I'm using a suboptimal OBD2 setup (the aforementioned perl script) which I think is causing a fair bit of lag:

Image

... but it does seem to work well enough that I'm going to try to figure out how to run the wire correctly, and then port the code to a simpler device that will have less latency and fewer random SWCAN errors. Haven't been brave enough to drive around with it, so all you get to see is the inside of my garage door, but here it is --

https://vid.me/s0Ny

PS props to bicycleguy for the tip on modifying the camera mount. Wish I didn't have to sacrifice the original bulb holder, but it worked pretty well.


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Oct 25, 2015 6:12 am 
Offline

Joined: Sun Oct 25, 2015 6:06 am
Posts: 3
Hey guys, sorry to intrude but we were emailed a link to this post by one of you :)

Anyhow I wanted to interject that we can program your factory radio to accept the backup camera without issue. In fact according to our records we've already done a couple of them for a few dealers (as well as removing the motion locks IE Video in Motion etc) Just figured I'd throw that out there, you guys seem to be pretty deep into this LOL

_________________
Chris White
White Auto and Media Services
2006 Spice Red GTO - Stock
2015 Yukon Denali #1 Custom BCM/IPC/HMI
2015 Jeep SRT - Stock for a hot minute.
2016 SRX Premium - Custom BCM/HMI - More to come


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Oct 25, 2015 1:04 pm 
Offline

Joined: Tue Oct 06, 2015 6:46 pm
Posts: 87
GTPprix wrote:
Hey guys, sorry to intrude but we were emailed a link to this post by one of you :)

Anyhow I wanted to interject that we can program your factory radio to accept the backup camera without issue. In fact according to our records we've already done a couple of them for a few dealers (as well as removing the motion locks IE Video in Motion etc) Just figured I'd throw that out there, you guys seem to be pretty deep into this LOL


I'd love to hear more details. What does it entail?

_________________
'13 Volt

'15 Spark EV w/Michelin Premier A/S 195/55/15 all around


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Oct 25, 2015 8:26 pm 
Offline

Joined: Thu Jan 22, 2015 1:02 pm
Posts: 158
Location: Decatur, Georgia, USA
GTPprix wrote:
Hey guys, sorry to intrude but we were emailed a link to this post by one of you :)

Anyhow I wanted to interject that we can program your factory radio to accept the backup camera without issue. In fact according to our records we've already done a couple of them for a few dealers (as well as removing the motion locks IE Video in Motion etc) Just figured I'd throw that out there, you guys seem to be pretty deep into this LOL


[...pullis curtain back...] Guilty as charged. I contacted Chris enquiring about his services on our MyLink systems.

Welcome, Chris, to our world! Happy to have you!

I've asked Chris if we can get a discount if we do a group buy. I've never done a group buy before, so perhaps some of you can walk us through this.

Chris has agreed, in principle, provided that one of us ceases to pm him asking how to do it! :D

So, if any of you are interested in this, let's talk.

-Bob K.

_________________
2014 Spark EV


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Oct 25, 2015 9:13 pm 
Offline

Joined: Sat Jan 31, 2015 12:48 pm
Posts: 24
Location: Lincoln, CA
I'm game for a group buy ☕️

_________________
Hi.


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Fri Oct 30, 2015 8:02 pm 
Offline

Joined: Sun Apr 26, 2015 3:27 pm
Posts: 566
Location: Portland, Oregon
I'm interested as well.

_________________
2015 Spark EV 1LT DCFC
BF Goodrich g-Force Super Sport A/S
ClipperCreek EVSE


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Nov 08, 2015 11:38 am 
Offline

Joined: Thu Jan 22, 2015 1:02 pm
Posts: 158
Location: Decatur, Georgia, USA
Meanwhile, during another lazy Sunday morning tea + YouTube couchsurfing session...

https://navtv.com/products/NTV-KIT626/gm-k-prg.html

299 bones.

There's also a video:

https://www.youtube.com/watch?v=1ui2Tw1WZr0

-Bob K.

_________________
2014 Spark EV


Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Nov 08, 2015 1:48 pm 
Offline

Joined: Sat Jan 10, 2015 12:16 pm
Posts: 94
Location: 2015 Spark EV, NorCal
Meanwhile, I'm still working on my own free/cheap/openly-documented/open-source/DIY solution (depends on what I come up with), and I promise not to be passive-aggressive about it (I am the aforementioned "one of us").

On that note, can someone try something for me? Tap on the upper-left corner of the screen real fast (10 or more times) until it says "Development Mode PW" on it? (http://vk.com/video48538247_171385188) Then enter 56811, hit OK, and tell me what happens. Thanks!

Edit: if this does or does not work, please tell me your SW version from the settings menu. Mine is 16.31.


Last edited by solder on Sun Nov 08, 2015 3:06 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Back up camera?
PostPosted: Sun Nov 08, 2015 2:29 pm 
Offline

Joined: Sat Jan 10, 2015 12:16 pm
Posts: 94
Location: 2015 Spark EV, NorCal
sTeeve wrote:
Meanwhile, during another lazy Sunday morning tea + YouTube couchsurfing session...

https://navtv.com/products/NTV-KIT626/gm-k-prg.html

299 bones.

There's also a video:

https://www.youtube.com/watch?v=1ui2Tw1WZr0

-Bob K.

Looks like this reprograms the head unit; I'd be careful to verify compatibility with the Spark EV before buying this, otherwise you could lose the EV functions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 142 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 15  Next

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Chevy Spark EV Forum - part of the MyElectricCarForums.com Group