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

    • Update 3: Hi all It's been a while. Quite a lot of things happened in the meantime, among other things the car is (almost) back together and ready to be started again. Things that I fixed or changed: Full turbo removal, fitting back the OEM turbo oil hardlines. Had to do quite a bit of research and parts shopping to get every last piece that I need and make it work with the GT2860 turbos, but it does work and is not hard to do. Proves that the previous owner(s) just did not want to. While I was there I set the preload for the wastegates to 0,9bar to hopefully make it easier for the tuner to hit the 370hp I need for the legal inspections that will follow later on. Boost can always go up if necessary. Fitted a AN10 line from the catch can to the intake hose to make the catchcan and hopefully the cam covers a slight vacuum to have less restrictive oil returns from the head and not have mud build up as harshly in the lines and catch can. Removed the entire front interior just shy of the dashboard itself to clean up some of the absolutely horrendous wiring, (hopefully) fix the bumpy tacho and put in LED bulbs while I was there. Also put in bulbs where there was none before, like the airbag one. I also used that chance to remove the LED rpm gauge on the steering column, which was also wired in absolute horror show fashion. Moved the 4in1 Prosport gauge from sitting in front of the OEM oil pressure gauge to the center console vents, I used a 3D printed vent piece to hold that gauge there. The HKB steering wheel boss was likely on incorrectly as I sometimes noticed the indicator reset being uneven for left vs. right. In the meantime also installed an airbag delete resistor, as one should. Installed Cube Speed premium short shifter. Feels pretty nice, hope it'll work great too when I actually get to drive. Also put on a fancy Dragon Ball shift knob, cause why not. My buddy was kind enough to weld the rust hole in the back, it was basically rusted through in the lowermost corner of the passenger side trunk area where the wheel arch, trunk panel and rear quarter all meet. Obviously there is still a lot of crustiness in various areas but as long as it's not rusted out I'll just treat and isolate the corrosion and pretend it's not there. Also had to put down a new ground wire for the rear subframe as the original one was BARELY there. Probably a bit controversial depending on who you ask about this... but I ended up just covering the crack in the side of the engine block, the one above the oil feed, with JB Weld. I used a generous amount and roughed up the whole area with a Dremel before, so I hope this will hold the coolant where it should be for the foreseeable future. Did a cam cover gasket job as the half moons were a bit leaky, and there too one could see the people who worked on this car before me were absolute tools. The same half moons were probably used like 3 times without even cleaning the old RTV off. Dremeled out the inside of the flange where the turbine housing mates onto the exhaust manifolds so the diameter matches, as the OEM exhaust manifolds are even narrower than the turbine housings as we all know. Even if this doesn't do much, I had them out anyways, so can't harm. Ideally one would port-match both the turbo and the manifold to the gasket size but I really didn't feel up to disassembling the turbine housings. Wrapped turbo outlet dumps in heat wrap band. Will do the frontpipe again as well as now the oil leak which promted me to tear apart half the engine in the first place is hopefully fixed. Fitted an ATI super damper to get rid of the worn old harmonic balancer. Surely one of the easiest and most worth to do mods. But torquing that ARP bolt to spec was a bitch without being able to lock the flywheel. Did some minor adjustments in the ECU tables to change some things I didn't like, like the launch control that was ALWAYS active. Treated rusty spots and surface corrosion on places I could get to and on many spots under the car, not pretty or ideal but good enough for now. Removed the N1 rear spats and the carbon surrounding for the tailpipe to put them back on with new adhesive as the old one was lifting in many spots, not pretty. Took out the passenger rear lamp housing... what do you know. Amateur work screwed me again here as they were glued in hard and removing it took a lot of force, so I broke one of the housing bolts off. And when removing the adhesive from the chassis the paint came right off too. Thankfully all the damaged area won't be visible later, but whoever did the very limited bodywork on this car needs to have their limbs chopped off piece by piece.   Quite a list if I do say so myself, but a lot of time was spent just discovering new shit that is wrong with the car and finding a solution or parts to fix it. My last problem that I now have the headache of dealing with is that the exhaust studs on the turbo outlets are M10x1.25 threaded, but the previous owner already put on regular M10 nuts so the threads are... weird. I only found this out the hard way. So now I will just try if I can in any way fit the front pipe regardless, if not I'll have to redo the studs with the turbos installed. Lesson learned for the future: Redo ALL studs you put your hands on, especially if they are old and the previous owners were inept maniacs. Thanks for reading if you did, will update when the engine runs again. Hope nothing breaks or leaks and I can do a test drive.
    • No those pads are DBA too  but they have colors too. I look at the and imo the green "street" are the best.
    • I’m not sure what happened I told them about sonic tunes free OTS tune and the next the I know .. I was booted..   To funny 
    • Yea - I mean I've seen my fuel pump which is decades old and uh, while I'm not saying this with real knowledge... but I sure get the ick at using anything in the fuel system that produced the state of that pump. Many years ago I went through multiple pumps (and strainers) before I dropped the tank to clean it out with extreme violence. I'm talking the car would do maybe 50km before coming to a halt, which resulted in me cleaning out the filter with some brake cleaner and going on my way. None of my stuff ever looked like what came out of your fuel tank. I don't think I'd be happy with it unless every single component was replaced (or at least checked/cleaned/confirmed to be clean here).
    • I'm not going to recommend an EBC pad. I don't like them. Just about anything else would suit me better. I've been using Intima pads for a while now.
×
×
  • Create New...