Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 08:17:58 20:17


Login with username, password and session length


Pages: [1] 2  All
Print
Author Topic: OBD ii Stack  (Read 2524 times)
0 Members and 1 Guest are viewing this topic.
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« on: December 19, 2014, 06:00:14 18:00 »

Hi

I was looking for OBD Stacks, I found a company called www.obdexperts.co.uk, how ever when I asked them about there stack they were so rude and did not want to do business with the likes of me lol.

So I am asking who would like to join in creating a FREE OBD Stack for donations?
Like FreeRTOS? If any one has a stack they would like to share or charge for please contact me.
I really would like to create a FREE OBD Stack, starting with microchips and moving to other chips.

Thank you
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 579

Thank You
-Given: 101
-Receive: 151


« Reply #1 on: December 20, 2014, 06:34:15 06:34 »

hahaha that's a bummer,

What did you offer them in exchange for use of what probably cost them hundreds of thousands of dollars (if not more) to develop?

I hope you didn't call them and say "Hey, I've got an idea that will undercut your business, do you want to help me?"
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: December 22, 2014, 05:33:24 17:33 »

LOL, I asked them for a price list for the stack. They wanted to know more about me, I told them and they said sorry we cant help lol.
Because they are snobby britsh lol. Oh well, I decided to write a stack myself and give it away for free with donations like the FreeRTOS stack.
So any one want to help?
Logged
Wilksey
Active Member
***
Offline Offline

Posts: 189

Thank You
-Given: 117
-Receive: 1617


« Reply #3 on: December 22, 2014, 06:45:10 18:45 »

Don't stereotype, I am British.

You are correct WRT the fact that they do not want to deal with small companies or individuals, the reason being support I think, I approached them and asked them and they said it would cost a few thousand 's (yes, POUNDS not dollars), I can do CAN Bus which suits me at the moment, I haven't had time to look into any other protocols, CAN Bus is practically open source on the net, mind you, so are the other protocols if you search enough.

Your best bet (and mine when I have chance to actually get around to it) is to buy an ECU Sim, you can get one for a few hundred dollars.
Logged
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 182


« Reply #4 on: December 22, 2014, 11:05:14 23:05 »

I don't now your end goal, but you might find it easier to start with the ELM327 and build upon that...
Logged
Signal
Active Member
***
Offline Offline

Posts: 102

Thank You
-Given: 47
-Receive: 33


« Reply #5 on: December 22, 2014, 11:54:13 23:54 »

There is a cheaper alternative to ELM327 - STN1170 http://www.obdsol.com/solutions/chips/stn1170/  Someone said that it has more features, but I did not study it yet.
Logged

Give a right name to a right game and play it right
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 182


« Reply #6 on: December 23, 2014, 12:10:16 00:10 »

There is a cheaper alternative to ELM327 - STN1170 http://www.obdsol.com/solutions/chips/stn1170/  Someone said that it has more features, but I did not study it yet.

You can get (likely clone) ELM327 bluetooth dongles inside an OBDII connector for about $5 delivered from Asia, that is cheaper then a single STN1170 chip and you get the connector as well as bluetooth chipset...  Cheap way to tinker...
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #7 on: December 23, 2014, 02:41:03 14:41 »

Hi, I was kidding about being British  Tongue. Thank you and I know all the options out there. I really want to write a full OBD stack and open source it. I don't like it when companies are discriminating against the little guys. I have brought the ECU simulators, they are on the way. I have brought the $5 obd and I will intercept the commnications between them. I am ordering a storage scope next.

I was hopping that some-one would have some starter code to start with, I am looking at using the PIC32MX270 device.

Thank you
Logged
Signal
Active Member
***
Offline Offline

Posts: 102

Thank You
-Given: 47
-Receive: 33


« Reply #8 on: December 23, 2014, 04:46:16 16:46 »

I am looking at using the PIC32MX270 device.
Selected part does not have a built-in CAN controller.
Without CAN you have to use external MCP2515, without PPS - external multiplexer for CANRX/CANTX, so MX530 is the minimum (in case of PIC32).To simplify development of J1850 transceiver - fast predictable interrupts is a good option - so PIC24 maybe better (Obdexperts solved this task using PIC32, so maybe it is not a big problem).

Anyway I believe that this is not right if the main target of a project is just to spite someone ;)
« Last Edit: December 23, 2014, 05:17:43 17:17 by Signal » Logged

Give a right name to a right game and play it right
Wilksey
Active Member
***
Offline Offline

Posts: 189

Thank You
-Given: 117
-Receive: 1617


« Reply #9 on: December 23, 2014, 05:48:44 17:48 »

Why do you want to use a 32 bit micro?
Use an 18f or 24f with built in CAN controller, you will still need the transceiver chip like the MCP 2551.

Unfortunately the automotive industry is an expensive one, and if people can afford to ignore the small fish then i'm afraid they will, and there is nothing stopping them, you try buying a few of the chips from Broadcom that they use in various routers etc, you will find the same response, unless you buy 1 million of them they don't care.

I believe ISO/KWP can be achieved by a RS232 level type shifter from what i've read.
PWM and VPW are supposedly very similar.  I think one is 8V rather than 5 or 12.
I think there are a few settings options for can, 500kbps, 250kbps 11 bit, 29 bit etc mine were set up for 500kbps 11 bit.
If I could afford the simulator I would have probably done all of the protocols.
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #10 on: December 23, 2014, 10:38:01 22:38 »

The main purpose of this project is to create an OBD stack that we small fish can use for personal projects like showing rpm and speed.
Oh yes I did not think about the can controller on the pic32mx270, i guess i have to go for the pic24 for that.
Thanks for bringing that up, note this project is to find all the open sources to create a personal OBDD stack like FreeRTOS did when we cant afford $5k for other RTOS.
Logged
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 182


« Reply #11 on: December 23, 2014, 10:46:19 22:46 »

I am looking at using the PIC32MX270 device.

The ELM327 is a PIC18F2480, I would consider looking at that series of chips as a starting point as it's obviously a working choice...  Also consider the original ELM327 chips lock bits were not set, so there are public dumps of the original hex out there that can be reversed or at least used to help decode the intercepted communications...
Logged
Signal
Active Member
***
Offline Offline

Posts: 102

Thank You
-Given: 47
-Receive: 33


« Reply #12 on: December 23, 2014, 11:30:59 23:30 »

The main purpose of this project is to create an OBD stack that we small fish can use for personal projects like showing rpm and speed.
Small fish can easily get rpm and speed without any higher protocols just listening for appropriate single CAN packet.
Pros: simple!
Cons: vehicle specific solution
Logged

Give a right name to a right game and play it right
Wilksey
Active Member
***
Offline Offline

Posts: 189

Thank You
-Given: 117
-Receive: 1617


« Reply #13 on: December 23, 2014, 11:46:36 23:46 »

Question for you, do you require all protocols?
CAN is mandatory on all >=2008 cars?
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #14 on: December 24, 2014, 12:18:57 00:18 »

Hi well it would be nice to have all protocols, how ever getting started one CAN would be great. What did you have in mind?
Logged
Wilksey
Active Member
***
Offline Offline

Posts: 189

Thank You
-Given: 117
-Receive: 1617


« Reply #15 on: December 24, 2014, 04:17:28 04:17 »

Just wondered if there was a reason you wanted all protocols.

There is enough open source projects on the web that will allow you to talk to your car via CAN bus.

If you have a ECU sim you are better placed than most of us to implement the other protocols.

I do wonder, regardless of what you say now, if you did manage to achieve what you wanted if you would actually release the "stack" FOC
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #16 on: December 24, 2014, 05:42:52 05:42 »

I think the problem with the protocols is determining the commands and if there is a CRC involved. So if someone can find docs on the communications then we can code it right. the ECU simulator will help to debug it. I believe there are ISO documents but I don't understand them. If only I could get the communications like talking to an I2C eeprom device. I found a cheap ECU sim on amazon for $$130 at

http://www.amazon.com/ScanTool-602201-ECUsim-Simulator-Development/dp/B008NAH6WE/ref=sr_1_1?ie=UTF8&qid=1419396193&sr=8-1&keywords=ecu+simulator

Logged
CocaCola
V.I.P
Senior Member
*****
Offline Offline

Posts: 397

Thank You
-Given: 108
-Receive: 182


« Reply #17 on: December 24, 2014, 05:55:23 05:55 »


From the reviews...

"Be aware that it's only an entry model. As shipped, it only talks "CAN" and the rest of the protocols are locked. It requires four $200 software upgrades to run all five protocols (J1850 PWM, J1850 VPW, ISO 9141-2, ISO 14230-4 (KWP2000), ISO 15765 (CAN)) Furthermore, the "Standard" version of this board is what's shipped. There's a $300 upgrade for Professional and a $600 upgrade for Ultimate. So this means If you are REALLY going to test or develop software for an OBD-II device, you will need to eventually spend up to another $1000."

So not exactly cheap in the end...
Logged
skullkar
Newbie
*
 Muted
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #18 on: December 24, 2014, 06:18:07 06:18 »

yup i know,I could not find how to unlock the protocols nothing exists on internet.

There is also

https://www.ozenelektronik.com/multiple-protocol-obd-ecu-simulator-p.html

I know of the simulators, I am looking at the protocols data communication.

Posted on: December 24, 2014, 06:11:00 06:11 - Automerged

Oh one more , I found one from Australia for $229 for all protocols.

http://freematics.com/store/index.php?route=product/product&product_id=53


Posted on: December 24, 2014, 06:15:29 06:15 - Automerged

He also has a new one controlled form the PC for $209

http://freematics.com/store/index.php?route=product/product&product_id=71
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #19 on: December 24, 2014, 07:06:56 07:06 »

Stop wasting everyones time
I find this all really funny , 6 years after asking the same shit your still trying to build a handheld code reader you can buy for $25 these days
You expect us to believe since  2008 you haven't learned anything to help you build this yet ? there is so much info out there now if you only looked for it
Your only here with a new name  after your $5 donation to get back in after being muted by me for never posting anything in 7 years here
 (old name graywolf) you are just padding your post count to avoid another mute - nice try
post from 2008       http://www.sonsivri.to/forum/index.php?topic=7507.msg42060#msg42060

Go blow smoke up someone else's ass preferably on a different forum - muted again
« Last Edit: December 24, 2014, 07:13:09 07:13 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Gallymimu
Hero Member
*****
Offline Offline

Posts: 579

Thank You
-Given: 101
-Receive: 151


« Reply #20 on: December 27, 2014, 06:11:47 06:11 »

Stop wasting everyones time
I find this all really funny , 6 years after asking the same shit your still trying to build a handheld code reader you can buy for $25 these days
You expect us to believe since  2008 you haven't learned anything to help you build this yet ? there is so much info out there now if you only looked for it
Your only here with a new name  after your $5 donation to get back in after being muted by me for never posting anything in 7 years here
 (old name graywolf) you are just padding your post count to avoid another mute - nice try
post from 2008       http://www.sonsivri.to/forum/index.php?topic=7507.msg42060#msg42060

Go blow smoke up someone else's ass preferably on a different forum - muted again

Why'd ya have to quash our DREAMS.  He was gonna turn the OBDII world UPSIDE DOWN!!!
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #21 on: December 27, 2014, 04:55:42 16:55 »

Here's a tip - don't hold your breath waiting  Wink
I can always unmute him , nah that ain't going to happen  Tongue

And just in case anyone can't wait for skullkar  to sneak back in here with his new invention try this ,can't say I ever saw one cheaper
http://www.ebay.com/itm/Super-Mini-ELM327-Bluetooth-OBD2-OBD-II-Diagnostic-Car-Auto-Interface-Scanner-CD-/291306593076?pt=LH_DefaultDomain_0&hash=item43d339db34
« Last Edit: December 28, 2014, 04:53:27 04:53 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
fpgaguy
V.I.P
Junior Member
*****
Offline Offline

Posts: 89

Thank You
-Given: 98
-Receive: 86



« Reply #22 on: December 29, 2014, 07:50:34 19:50 »

would this work ?
http://vi-firmware.openxcplatform.com/en/master/
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 579

Thank You
-Given: 101
-Receive: 151


« Reply #23 on: December 30, 2014, 01:04:22 01:04 »

Here's a tip - don't hold your breath waiting  Wink
I can always unmute him , nah that ain't going to happen  Tongue

And just in case anyone can't wait for skullkar  to sneak back in here with his new invention try this ,can't say I ever saw one cheaper
http://www.ebay.com/itm/Super-Mini-ELM327-Bluetooth-OBD2-OBD-II-Diagnostic-Car-Auto-Interface-Scanner-CD-/291306593076?pt=LH_DefaultDomain_0&hash=item43d339db34

hehe, you know I was being facetious right?
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #24 on: December 30, 2014, 01:09:36 01:09 »

hehe, you know I was being facetious right?

Just a minute while I look up that word   Tongue Ok found it - yes I knew   Wink
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Pages: [1] 2  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC