Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2024, 02:41:35 14:41


Login with username, password and session length


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

Posts: 8

Thank You
-Given: 0
-Receive: 0


« on: December 19, 2014, 05:00:14 17: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: 704

Thank You
-Given: 152
-Receive: 214


« Reply #1 on: December 20, 2014, 05:34:15 05: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
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: December 22, 2014, 04:33:24 16: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
Cracking Team
Senior Member
****
Offline Offline

Posts: 413

Thank You
-Given: 161
-Receive: 2549


« Reply #3 on: December 22, 2014, 05:45:10 17: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
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #4 on: December 22, 2014, 10:05:14 22: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: 200

Thank You
-Given: 113
-Receive: 81



« Reply #5 on: December 22, 2014, 10:54:13 22: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
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #6 on: December 22, 2014, 11:10:16 23: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
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #7 on: December 23, 2014, 01:41:03 13: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: 200

Thank You
-Given: 113
-Receive: 81



« Reply #8 on: December 23, 2014, 03:46:16 15: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, 04:17:43 16:17 by Signal » Logged

Give a right name to a right game and play it right
Wilksey
Cracking Team
Senior Member
****
Offline Offline

Posts: 413

Thank You
-Given: 161
-Receive: 2549


« Reply #9 on: December 23, 2014, 04:48:44 16: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
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #10 on: December 23, 2014, 09:38:01 21: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
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #11 on: December 23, 2014, 09:46:19 21: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: 200

Thank You
-Given: 113
-Receive: 81



« Reply #12 on: December 23, 2014, 10:30:59 22: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
Cracking Team
Senior Member
****
Offline Offline

Posts: 413

Thank You
-Given: 161
-Receive: 2549


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

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

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #14 on: December 23, 2014, 11:18:57 23: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
Cracking Team
Senior Member
****
Offline Offline

Posts: 413

Thank You
-Given: 161
-Receive: 2549


« Reply #15 on: December 24, 2014, 03:17:28 03: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
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #16 on: December 24, 2014, 04:42:52 04: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
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #17 on: December 24, 2014, 04:55:23 04: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
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 0


« Reply #18 on: December 24, 2014, 05:18:07 05: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: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #19 on: December 24, 2014, 06:06:56 06: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, 06:13:09 06:13 by bbarney » Logged

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

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #20 on: December 27, 2014, 05:11:47 05: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: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #21 on: December 27, 2014, 03:55:42 15: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, 03:53:27 03:53 by bbarney » Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
fpgaguy
Active Member
***
Offline Offline

Posts: 138

Thank You
-Given: 154
-Receive: 166


« Reply #22 on: December 29, 2014, 06:50:34 18:50 »

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

Posts: 704

Thank You
-Given: 152
-Receive: 214


« Reply #23 on: December 30, 2014, 12:04:22 00: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: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #24 on: December 30, 2014, 12:09:36 00: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