Pages: [1]   Go Down
Author Topic: Interfacing  (Read 844 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,

I'm working on a senior design project at school and I have some questions I'm hoping some of you can help out with.
First off, we're trying to make an android application that reads from a vehicles OBD-II port, but also has the ability to start the car, lock/unlock doors, window control etc.
We want to use an ELM327 chip to read data from the OBD-II port, the ELM327 is basically a microcontroller that is pre-programmed to request and receive data from a car.  We are trying to interface the Arduino BT board with this ELM chip so that the Arduino can receive signals from the phone and then either start the car or pass these messages on to the ELM to read data from the car.  So that the ELM and Arduino should be interfaced using the Tx and Rx pins, but we wanted to know:
1) how we can go about getting a PCB made with these specific parts that we want (a pre-programmed ELM327 and an Arduino BT board + MCU), given that we have EAGLE files for the Arduino board?
2) Once a PCB is made, will we still be able to program the MCU on the Arduino?

I hope these questions make sense and sorry if the answers are obvious, I don't have a whole lot of experience with embedded design.
Thank you for your help!
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 169
Posts: 12441
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
we're trying to make an android application that reads from a vehicles OBD-II port, but also has the ability to start the car, lock/unlock doors, window control etc.
Sounds like a illegal action in most countries.

If I understand correctly you want to make the following pipeline:

Android BT <---> BT Arduino < --> ELM327 <--> ODB-II    

You could just connect - http://www.sparkfun.com/products/9555 - with the Arduino using NewSoftSerial - http://arduiniana.org/libraries/newsoftserial/ - remember that TX connects to RX and you need a common ground. I would certainly not make a separate PCB for that.

You have to search the forum for bluetooth Android side, no experience with that one. Keep us informed of your progress.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Portugal
Offline Offline
God Member
*****
Karma: 5
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Say me what is your license plate, hacking BT is a 2 min job, then I can slam your brakes your you are driving around or blow up your airbags.
Cars are not toys....
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 169
Posts: 12441
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I can slam your brakes your you are driving around or blow up your airbags.
Please first blow up the airbags before hitting the brakes smiley-wink
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
we're trying to make an android application that reads from a vehicles OBD-II port, but also has the ability to start the car, lock/unlock doors, window control etc.
Sounds like a illegal action in most countries.

If I understand correctly you want to make the following pipeline:

Android BT <---> BT Arduino < --> ELM327 <--> ODB-II    

You could just connect - http://www.sparkfun.com/products/9555 - with the Arduino using NewSoftSerial - http://arduiniana.org/libraries/newsoftserial/ - remember that TX connects to RX and you need a common ground. I would certainly not make a separate PCB for that.

You have to search the forum for bluetooth Android side, no experience with that one. Keep us informed of your progress.

Thanks for the reply man.  As far being illegal, I'm thinking it's not because it basically does the same thing that the Buick and GM apps that you see commercials for.  Either way though, it's not, and never will be, a commercial product, its only a school project.  I totally agree with your comment that we normally wouldn't need a separate PCB; unfortunately though, our professor will not let us buy design boards and use them in the final version.  He wants all the hardware on one chip and wants us to get experience designing and making PCBs, even if we just make them straight from the EAGLE files.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'm thinking it's not because it basically does the same thing that the Buick and GM apps that you see commercials for.

It's OK, you're in the US; land of the free, home of the ambulance chaser.

Just carry on, enjoy.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: