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

    • Really? That's piss weak. I didn't know they hobbled the shitboxen that badly. OK. So probs need to buy a flywheel too. But that's not too bad.
    • Hi all. I already posted some newbie-ish questions here and there but this will be my first "big" post. Last summer I went and fulfilled a kind of childhood wish, because I just thought I needed this experience in my life no matter what. The car I bought is a mildly modded 1995 BCNR33 Vspec. It was repainted to a metallic orange color all around and it had all windows reseated. Not so well done black respray in the trunk and a metallic black in the engine bay. From outside it looks very nice except for a minor paint error on the roof and the rear spats needing new adhesive tape. The inside is pretty clean and no broken plastics, missing or faded buttons. Even the adjustable mirrors and trunk antenna work like a charm. Despite a moderately long list of issues I don't (yet) regret buying this car. Most mechanical problems are just due to age, like worn rubbers here and there. The underside sadly has lots of corrosion, especially to the back. It looks like it either has been driven in the winter for a while or it lived near the saltwater in Japan, the rust is nothing terrible but it'll require to be looked after. Mostly panel gaps and all the mounted components underneath are a bit crusty, but I don't think anywhere has progressed so badly that there's going to be holes. Front right jacking rail is crushed and needs some care so it doesn't develop into a rust crater at some point. Worst part is definitely the strut towers. I thought they looked fine but after taking off the strut bar I noticed that it actually started bulging up on the passenger side. Probably would have passed on the car or negotiated down by some thousand Euros more if I had noticed this before buying, but here we are. Trunk area also has signs that there was a water leak to the interior once but nothing too crazy, I guess lots of Skylines had this at some point. As for the list of (known) issues, I'll try to make this compact. I hope the coloring is self explanatory. Mechanical: -Various busted or soon-to-be busted rubber bushings and ball joints. Will replace ball joints with OEM or better and bushings with polyurethane where possible. -Shaking steering wheel at above 80kph -downshift from 5th to 4th is a bit crunchy unless I rev-match, might just try to renew the shifter assembly, but it's not a priority issue -tailshaft centre bearing could use a replacement, is it worth going 1-piece tailshaft as it doesn't look too fresh all around? Chassis: -underbody corrosion on many spots and in hollow spaces, needs to be treated -corrosion on many bolts, hoses, lines, suspension components, subframes, will be treated when replacing of the bushings is needed as time goes on -strut tower top panels and some of the surrounding panels are rusty, so needs fixing. Will look into doing this with a buddy in the winter, otherwise bite the bullet and pay a professional -driver side door is misaligned to the body and needs to go a slight bit more inwards -both door windows are misaligned and have an airgap where the window meets the door at the B pillar -The Aerocatch latches for the bonnet have locks but no keys, need new keys. -driver side door window is kind of gritty and could use a polish -damaged jacking rails and front frame rails, from people lifting the car the wrong way, might have this fixed by a bodyshop Electrical: -Nismo tachometer is just bouncing and displaying nonsense, supposedly worked fine when the stock ECU was still in the car -An old Greddy boost controller sits on the dash which will be removed as it servers no purpose anymore. -a led segment rpm gauge is on the steering column, will probably also be (re-)moved once the Nismo tacho is working correctly -there was an attempt to make the sound system better by the previous owner but it was just inducing noise all the time, ripped out the amp and filters in the back, no music for now -trunk antenna goes up as long as the radio is on regardless of the mode, I want it to only rise if I choose Radio specifically or per switch -3rd brake light is a bit dimmer than the taillights but everything was converted to LEDs so mabye now it just seems dimmer? -reverse light flickers, have to test if that behavior changes when I fiddle with the gear stick. Hope I can get around changing the switch. -Left side taillight, blinker section has minor water intake and is humid after washing. Other side has a hole in it, probably for that exact reason. I'll probably reseal them entirely and plug the holes. Engine: -minor coolant drips on one or the other hose -rear turbo leaks oil onto the exhaust making the car essentially undriveable due to fire hazard -Oil filter relocation kit has an oil drip at the Dash lines, will probably make a new connection there and tighten real good and pray -throttle body assembly is slightly stuck for the first throttle pedal input after sitting for a while I'm always open to suggestions and advice from more experienced people, I'm sure half of this list is easily dealt with and just requires some time and effort to sort out properly. Once I have some proper pictures of the car I will post some in this thread, I just have to remember to take some more once I get the chance to. Will post updates when I have news on anything, I want to try to keep this thread as kind of a logbook as well. Ultimately my goal for this car is to just enjoy it. An engine rebuild is probably going to happen sometime as well, because it is old after all. It will never be fully new again, I am just not that rich. But I want it to look good, work well and not rot away while I drive it. I'm probably gonna spend a lot of money on this journey, hopefully not an unreasonable amount.
    • Hi all. So one of my major issues at the moment is my rear turbo leaking oil on the exhaust (and the general area). I presumed it was the rock hard super old drain hose, which it was not. So now I am in the midst of removing the rear turbo to get access to the banjo bolt that goes into the turbo oil feed. As one of the previous owners accidentally? tore off the OEM oil feed hardline that reaches behind the turbo, they ran braided lines directly to the turbo, presumably PTFE. Now, regardless if the line has rubber or teflon inside, is it just generally a bad idea to do this? I imagine these lines get quite hot being between the engine, turbo core and exhaust manifold. I suppose it's not too far fetched to think the line may even have melted. I'd love to hear your opinions on this as as the replacement OEM hardline piece is 130 per unit. And cutting open the currently mounted line to see inside will mean I just have to get a replacement either way. So far I am hoping maybe the bolt just loosened or (god forbid) they forgot one of the crush washers.
    • If it's a factory 20de manual probably has the 6 bolt flywheel in which case the det clutches won't work as they're 9 bolt.
    • All RB push clutches are interchangeable. AFAIK, the 4cyl ones are not. Different flywheels. The RB small box is not identical to the 4cyl boxes. Just very similar.
×
×
  • Create New...