Jump to content
SAU Community

Recommended Posts

Sooo... I've been mucking around with my iPhone and been writing a couple of apps (one of them should hopefully show up in the iPhone store if its approved).

But I've been thinking... it'd be great to have a iPhone Consult port application. Basically I'm hoping to get a group of you guys who might have some background in programming, and interfacing with the Nissan consult system. There's two ways we can go... either legit and sell the application thru Apple, or go renegade and distro it for hacked iPhones. I'm personally in favour of the latter, but then again, there's always that lure of money and fame :cool:

Before we get carried away, a list of goals for the app:

Interface with the CONSULT port... easiest way would be to use a serial channel:

http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial

This kinda means that the application has to run on a jailbroken iphone though

Although I did come across this... a iSkin TX/RX (http://www.iskin.com/ceruleantx/) which is an official product that allows you to send audio over bluetooth... I'm not sure if its adaptable to serial communication, but with a name like TX/RX its quite interesting.

Has to show pretty gauges (something a bit nicer than Datascan does). Has to show data in realtime. This data can be in graph plots or in gauge form.

Has to be able to give the user a more human language translation of error codes, and switches available.

Has to be able to log the inputs received along with time and location. This would be a killer function for both tuning and datalogging on track days etc.

Has to make full use of the iPhone's accelerometer and pseudo-GPS. One for mapping G-forces etc, and the other for logging geolocation.

If you guys look at the app "Rev" that just got launched a little while back, they kind of do something similar with the OBDII port using a bluetooth signal. However they don't make use of the accelerometer, and they don't do data logging.

Anyways... I'm just putting this post up, so that if anyone who reads this forum is keen on the idea and can actually contribute, then they can make themselves heard. I'll be doing some more planning in the days to come, and probably try and put together a specification of some sort to work through. If you guys have any ideas, please post them up.

Link to comment
https://www.sau.com.au/forums/topic/238030-iphone-consult-software/
Share on other sites

well the first hurdle is the physical stuff. i wouldnt toy with bluetooth if the iphone has an actual serial port (which is great if it does, as the tendancy these days is to just have mini-usb and thats all which blows)

if the iphone is 3v serial input then the consult cable for it would be even simpler than a normal consult cable as you just make it use iphones 3.3v as power supply, and you lose the rs232 level converter and 5v vreg

maybe drop the 10k down to 6.8k due to change in voltage from 5v to 3.3v (keep current the same).

once you can verify the serial comms (e.g send 0xff 0xff 0xff and get back 0x10) then at least we know its do-able. no having an iphone myself means i cant help much in that regard

post-4553-1223000968_thumb.jpg

haha mate I was just reading over some of your posts to put together a consult cable the other day. The serial input is actually a hack, using the proprietary iphone port, and some base level interaction with the darwin based unix platform running on the iphone to get a TX and RX signal. Not too sure on the voltages, I'm waiting for my iphone port breakout circuit from sparkfun to arrive so I can toy with it some more.

  • 2 weeks later...

n95 is symbian not windows. if it was windows it could use ecutalk. but then again it doesnt even have physical serial port, only mini-usb i think? so its fairly useless trying to do anything for it unfortunately

True that, the bluetooth connectivity on the iPhone is shocking, ive done extensive training on the iPhone itself working at a Telco and working in a support role, so i need to know the iPhone inside and out ( not literally inside, if i ripped one apart i'd die :D )

The Physical port would be the way to go, or if they have some sort of " bluetooth connectivity enhancer " which plugs into the serial port and boosts connectivity to keep it constant and accurate, with less data loss.

The Tilt feature would be awesome, but im guess you have to build the base version first just like any new program / software. Then add on bits and peices as the beta versions progress, to a final public release i guess.

I would love to help, if i had any knowledge in programming or interfacing.

MRXTCZ

its restrictive on what you can use to pair with it. to get around this you have to use a $90 dongle... kind of a fuckaround, and you still have a lag at the end of it. I've started working on a serial port emulation which runs on a jailbroken phone... but you'll need to jailbreak your phone first to use it.

  • 2 weeks later...
Found this, not sure if you have already?

http://www.devtoaster.com/products/rev/

If you guys look at the app "Rev" that just got launched a little while back, they kind of do something similar with the OBDII port using a bluetooth signal. However they don't make use of the accelerometer, and they don't do data logging.

:)

forgive my iphone ignorance, do they have a mini usb connector?

i've got a hacked navman, and seen some other examples with cool

interfaces that hook up to obdii via the mini usb.

think people have been doing similar thing on one of the palm pilots linked via some other device.

Edited by Stagea_Neo

nope.... proprietory connector, the supplied USB to iPhone connector cable can be used to connect the iphone to your PC, and access it as a camera... or with the itunes drivers installed you can access it thru itunes... or if you put it into recovery mode you can read and write from the firmware.

I was thinking something along these lines in the supplied link, wonder if you could rig up something to talk to the iphone via the proprietory usb cable to consult port.

http://www.blazt.biz/products/images/usb_cd_large.JPG

well all that does is send a regular RX/TX serial signal using the USB port. You can wire up an iphone to send and recieve this signal (uding the proprietory plug instead of the USB plug), but that level of interaction is not allowed using the factory software, you need to bypass the operating system and talk to the port directly... which you can only do in a jailbroken iphone.

and the usb would only be usb client, ie the iphone is a usb device to the PC, rather than a usb host, as in the iphone can use other usb devices like the usb consult cable.

but thats irrelevant given theres no drivers for the iphone for that usb chip (ftdi)

Not sure if you need these or not, had them in my bookmarks at work.

AppleScript Documentation

http://developer.apple.com/documentation/

welcome to macscripter.net | applescript and script resource

http://www.macscripter.net/

Apple - Software - AppleScript

http://www.apple.com/applescript/

ScriptWeb - Macintosh Scripting Resources - Since 1995

http://www.scriptweb.org/

Scripting Information

http://www.latenightsw.com/scripting.html

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Latest Posts

    • Hi,  Just joined the forum so I could share my "fix" of this problem. Might be of use to someone. Had the same hunting at idle issue on my V36 with VQ35HR engine after swapping the engine because the original one got overheated.  While changing the engine I made the mistake of cleaning the throttle bodies and tried all the tricks i could find to do a throttle relearn with no luck. Gave in and took it to a shop and they couldn't sort it. Then took it to my local Nissan dealership and they couldn't get it to idle properly. They said I'd need to replace the throttle bodies and the ecu probably costing more than the car is worth. So I had the idea of replacing the carbon I cleaned out with a thin layer of super glue and it's back to normal idle now. Bit rough but saved the car from the wreckers 🤣
    • After my last update, I went ahead with cleaning and restoring the entire fuel system. This included removing the tank and cleaning it with the Beyond Balistics solution, power washing it multiple times, drying it thoroughly, rinsing with IPA, drying again with heat gun and compressed air. Also, cleaning out the lines, fuel rail, and replacing the fuel pump with an OEM-style one. During the cleaning process, I replaced several hoses - including the breather hose on the fuel tank, which turned out to be the cause of the earlier fuel leak. This is what the old fuel filter looked like: Fuel tank before cleaning: Dirty Fuel Tank.mp4   Fuel tank after cleaning (some staining remains): Clean Fuel Tank.mp4 Both the OEM 270cc and new DeatschWerks 550cc injectors were cleaned professionally by a shop. Before reassembling everything, I tested the fuel flow by running the pump output into a container at the fuel filter location - flow looked good. I then fitted the new fuel filter and reassembled the rest of the system. Fuel Flow Test.mp4 Test 1 - 550cc injectors Ran the new fuel pump with its supplied diagonal strainer (different from OEM’s flat strainer) and my 550cc injectors using the same resized-injector map I had successfully used before. At first, it idled roughly and stalled when I applied throttle. Checked the spark plugs and found that they were fouled with carbon (likely from the earlier overly rich running when the injectors were clogged). After cleaning the plugs, the car started fine. However, it would only idle for 30–60 seconds before stalling, and while driving it would feel like a “fuel cut” after a few seconds - though it wouldn’t fully stall. Test 2 – Strainer swap Suspecting the diagonal strainer might not be reaching the tank bottom, I swapped it for the original flat strainer and filled the tank with ~45L of fuel. The issue persisted exactly the same. Test 3 – OEM injectors To eliminate tuning variables, I reinstalled the OEM 270cc injectors and reverted to the original map. Cleaned the spark plugs again just in-case. The stalling and “fuel cut” still remained.   At this stage, I suspect an intermittent power or connection fault at the fuel pump hanger, caused during the cleaning process. This has led me to look into getting Frenchy’s fuel hanger and replacing the unit entirely. TL;DR: Cleaned and restored the fuel system (tank, lines, rail, pump). Tested 550cc injectors with the same resized-injector map as before, but the car stalls at idle and experiences what feels like “fuel cut” after a few seconds of driving. Swapped back to OEM injectors with original map to rule out tuning, but the issue persists. Now suspecting an intermittent power or connection fault at the fuel pump hanger, possibly cause by the cleaning process.  
    • For race cars, this is one part where I find having the roll cage bar having gone through a hole in the floor better than the build it up on a ledge inside... The Merc I help on, the main hoop ends are marked on the car, and the jack is marked... Jack goes under a few inches and lifts one whole side of the car up... Removes that fight for long slim jacks for race car duties!   My biggest issue for the daily drivers I work on, is my jacks don't go high enough. The jacks start out on a few blocks, jack it up, then start a second jack under it on more blocks, and then I can get an axle stand under it. My axle stands are presently in use, and are nearly fully extended. The car is sitting with barely more than a cm of clearance to get the wheel off the studs! Sarah's Kluger is the same, as it has an ungodly amount of droop available in the suspension and a distinct lack of good jacking points!
    • Happy? Yep, my to do list is getting shorter and shorter. Either this light approaching is the end of the tunnel, or I'm about to be hit by a train... Ha ha ha   Also, Duncan isn't that far out of town that you need to make a multi day drive out of it. 😛
×
×
  • Create New...