JMP Posted July 2, 2016 Report Share Posted July 2, 2016 When I was testing I just used a V88 on the bench with power and ground connected, CAN data started flowing as soon as power was applied Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 2, 2016 Report Share Posted July 2, 2016 thanks JMP, thats what i thought. im expecting a crapton of CAN packets once it works, even if the values are 0's at least i would recieve valid CAN packets on the bus network. still stuck with no real way out ive msg'd lekonna the original devloper to check a few things but i cannot find out what on earth i am doing wrong. all i can think of is a) get a CAN emulator and give it to my friend to get it working (saves going to the garage each time)or b ) get a CAN sniffer but all that will do is confim vipec is ok (i think it is) and my wiring is right (100% certain, but you never know Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 2, 2016 Report Share Posted July 2, 2016 I've ordered another CANBUS controller in case this one is faulty Quote Link to comment Share on other sites More sharing options...
Scott Posted July 4, 2016 Report Share Posted July 4, 2016 "CAN is not supported by this version of firmware, upgrade firmware and try again"That is unusual, has it only happened the one time?JMP is correct, once powered up the VI-PEC should start firing out data onto the CAN bus without any need for a request or engine running.Scott. Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 4, 2016 Report Share Posted July 4, 2016 yeah i have only seen it once, and it was when vipec was connected and i opened VTS, i didnt even click on connect to ECU or anything and it came up.... ? Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 8, 2016 Report Share Posted July 8, 2016 slight update, turns out the libraries define the clock speed and subsequent block sizes. We were using a 16Mhz library and the can shield had an 8Mhz clock... Replaced the 8Mhz clock with a 16Mhz and the comms is now working well Testing with a really cheap shield: http://www.aliexpress.com/item/EMS-Free-shipping-6870C-0243C-LC420WUN-LC470WUN-SBA1-Logic-board-High-quality-Hot-sale/620222773.htmlI think this issue the i have a the moment. im using the sparkfun can shield in the first post of this page and i think its a "cheap" canbus shield. ive brought a new canbus shield which has 16mhz on it from here so hopefully this works for me. https://tronixlabs.com.au/arduino/shields/can-bus/can-bus-shield-for-arduino-australia/ Quote Link to comment Share on other sites More sharing options...
ssddaa Posted July 8, 2016 Report Share Posted July 8, 2016 I don't think that is the problem, unless you overheated it while soldering.I have been there before and I am almost sure that it's the code somewhere Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 8, 2016 Report Share Posted July 8, 2016 ok i will try with this new shield. The ardrunio has 12mhz and 16mz chips on it and the new CANBUS has 16mhz on it. The old CANBUS has no MHz markings on it anywhere. Even with a basic "loopback" test it wouldn't work on the current board and shield so I'll see if loopback test works ok the new shield Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 8, 2016 Report Share Posted July 8, 2016 ok i have canbus loopback working with this new shield, worked first shot, not a single change required. this is very positive. ill try on the car with vipec tomorrow Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 8, 2016 Report Share Posted July 8, 2016 good news, got it working first shot with new controller board. this is what it should look like using the simple CAN_RECIEVE test demo. ill write up a full howto for those playing at home as its taken me a good few weeks to get to this point Scott 1 Quote Link to comment Share on other sites More sharing options...
JMP Posted July 8, 2016 Report Share Posted July 8, 2016 Congrat's, glad to see you got it working Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 9, 2016 Report Share Posted July 9, 2016 ghetto as packet disassembly, but hopefully it helps explain it for some people (and hopefully my theory is correct) Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 9, 2016 Report Share Posted July 9, 2016 here are the values i am interested in and how i think it will map out, the benefit of the ardunio is that we can do whatever we like with the data, in any format. for example, i convert oil pressure to kgCM2 as i prefer it in that over KPA Quote Link to comment Share on other sites More sharing options...
Scott Posted July 11, 2016 Report Share Posted July 11, 2016 Well done on getting it going, looking forward to seeing what you do with it.Scott. Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 11, 2016 Report Share Posted July 11, 2016 my screen display has been shipped so should have it in a day or so. the display has a pretty powerful graphics library IDE system and i can pretty much do whatever within the code to display gauges, bar graphs, digit displays etc so the possibilities is endless. the one issue i have is screen size real estate as the display is 3.2" because i didnt want a mega display panel on my evo dash. ill do a full detailed write up including parts and part #'s once i have working Scott 1 Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 14, 2016 Report Share Posted July 14, 2016 slow progress for those sports fans playing at home, but at least i know how to code on the graphics library, very quick hack another shot, showing the size Quote Link to comment Share on other sites More sharing options...
Scott Posted July 14, 2016 Report Share Posted July 14, 2016 Looking good, now you've done the hard work of nutting this out I expect there will be others wanting to get this going too.Scott Quote Link to comment Share on other sites More sharing options...
trd87t Posted July 19, 2016 Report Share Posted July 19, 2016 Following this... was interested when @lekonna started this project as I had already bought all the stuff. So interested to see the finished projects on here. Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 20, 2016 Report Share Posted July 20, 2016 Haven't forgotten and still working on it, just a few design things to work through. I can show more of the design but won't have working release for a while yet Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 20, 2016 Report Share Posted July 20, 2016 just looking at the data model, within the CAN packets i get hex values, but for things like AFR and oil pressure there is decimal values, i.e 4.4 bar oil pressure is very different to 4 or 5how are decimal values managed inside the CAN hex values? The vipec documentation simply states RAW x 0.01? here is quick video demo of the design. obviously random() values used etchttps://youtu.be/-JpSrB4BlTM Quote Link to comment Share on other sites More sharing options...
Scott Posted July 22, 2016 Report Share Posted July 22, 2016 The Vi-PEC VSeries documentation didn't contain a lot of info on the resolution of parameters, mainly because there wasn't much ability for custom CAN. However on the iSeries/G4+ platform this changes, and in the CAN setup window there is a tab called 'Test Calculator' which displays info about the parameter, and also a calculator in which you can see what the CAN bus value will be for a certain for in PCLink. The way data works between the VSeries and iSeries/G4+ has not changed greatly, and you can use the test calculator offline, so it may be worth you downloading the software and having a play.Scott Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 24, 2016 Report Share Posted July 24, 2016 Ive got the final piece of the puzzle figured out so now i just need to do some good coding to handle the string data between the two units and capture some more test CAN packetsthen i should be ok to handle data between the two and write CAN() values on the display. the problem is ill have to run two ardunio's in my glovebox and some messy wiring which sucks but i should be able to find some cases to put them in and seal it all up thanks heaps for the additional info and the CAN test tool helps me map it all out without sitting in the garage reading packets all night =) hopefully i can do a real demo soon Quote Link to comment Share on other sites More sharing options...
JMP Posted July 24, 2016 Report Share Posted July 24, 2016 Why do you need two units? Quote Link to comment Share on other sites More sharing options...
paulr33 Posted July 25, 2016 Report Share Posted July 25, 2016 Both shields use serial 0unless someone can help me so I can make the 4d display use other pins I need to use two arduinos which I don't mind Quote Link to comment Share on other sites More sharing options...
JMP Posted July 25, 2016 Report Share Posted July 25, 2016 will check out the 4D display and ask a couple of the Dev's at work, there's about 5 different Arduino projects on the go there between us and they're much better at this stuff than me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.