|
TheStory
The story of miniECMspy.
IntroductionI will start with a bit of history of work done. After 2 years of joyful riding with my Buell XB12S, I was a bit disappointed to not have the information of the engine temperature. Mainly to know when I can use the full possibilities of the great air-cooled Vtwin engine. I used the ECMspy software to calibrate the position of the throttle. With this software, all the information form the ECM is available by the diagnostic plug. Why cannot have information directly on the instrument module? ECM diagnostic plug use a RS232 protocol at TTL levels. Everything was discovered and describe by the ECMspy team on their website. ECM can send back a bunch of hundred live data by send to it a request sentence. First approach: PIC uControllerI started to try establish communication with the bike's ECM with a microchip PIC micro-controller. Successfully, with a 16F877A. Fist success with a small screen
And there the source of the PIC Second approach: intelligent screenProject with a uController imply develop a board enough small to fit inside the instrument module. I searching prototyping board, I found the product of 4Dsystems. Tiny screens integrate a uController, capability of serial communication, exactly my needs ! 4D systems And it's work ! There my fist tests, engine temperature and AFV value, with an history chart of around 30 minutes. AFV is for Adaptive Fuel Value, that influence the air/fuel ratio by analyzing the O2 probe behavior. I use the 12v of the instrument board, a voltage regulator to obtain the 5v supply : A bit of integration in the small space available. After some debug, it's work fine with the bike's ECM. I decide to put more information, by switching between different page on the screen. I use the existing button use normally to reset the counter, possible because the effect for normal use is only after 3 seconds pressed:
There the on road test, and the two screens. I still have work, especially to handle with the two version of ECM. I want to thank a lot all the team of ECMspy and people motivate me on the French Buell forum |
5 stars!
Nice one. Are you aware of any software similar to ECMspy that will work on other make / models?
Hey if you're interested working on an Android phone app that does this, hit me up. I write apps for wireless OBD and such. Your idea is $$$ :)
I have most of Harley Davidson (at least around 2007 ex cruise control) decoded - harleyhacking.blogspot.com, or http://github.com/tz1/minigpsd/blob/master/minigpsd/harley.c since it is just j1850.
I already have it to my nokia tablet as a dashboard (plus GPS linked with weather radar which saves me monthly from a soaking).
Nice! Any C code for the PIC? Or did you code it all directly in assembler?