Jump to content
SAU Community

Recommended Posts

was talking to some of the guys in exclusive the ohter night, and they suggested using the xbox for the ECU as well! its only 8 bit registers so it wouldnt be too hard to make an adapter and then write a software app to control it, ive got the xbox SDK so i could either write it in .NET (C#) or write it in any other language and run it under linux.... ive got gentoo installed, how bout u?

  • Replies 109
  • Created
  • Last Reply

Top Posters In This Topic

Yeah i've got debian on there.. I'm a debian user from way back so that was really cool.

That said, I've never really used it, I do development all day in Linux on my notebook so I dont really need Linux on my tv.. plus I really found that the Media Player does everything I've really wanted to do on a TV based unit..

I've also thought of using the XBox like a RSM - showing speeds / trip meter and stuff - quite simple programming once you have the I/O downpat.. but then my car already had a funky Apexi RSM.. so that idea kind of fell away ;)

Using the XBox as an ECU sounds quite interesting.. though I hate to imagine a program bug in that.. ouch!

tried debian, but ive been using gentoo for ages so i just went with that... ive modded a cheep ass controller and replaced the memory card ports with usb ports so i can plug in a usb keyboard and mouse so that makes it much easier than trying to type using the controller!!!

oh we definately need to further develop the RSM idea!!!! i aint got anything funky in there as yet... any ideas where we start looking for the I/O details

Not sure on how to get the input.. I don't know enough about car electronics and so on.. I guess we could use a Serial-> USB type converter to get serial input.. but I have no idea what the input would be like or even where you get it from :(

Once you could accurately get the speed / rev's of the engine the rest is a piece of cake..

I tried using a wireless keyboard/mouse, problem is that a nice compact notebook style wireless keyboard is very had to find with usb input.. I have two PS/2 ones but even with the $30 PS2->USB adaptor it was incredibly flakey.. Using a standard USB keyboard/mouse of course works a treat though. You may have noticed - I seriously hate cables :)

I Modified a controller cable.. Basically chopped the cable used CAT5 male/female as connectors so I can plug the originally controller together or I can unplug it and plug the USB female adaptor in.. seemed to work quite well. But nowdays there are ones you can just buy.. its too easy :P

are you in the xbox-scene forums? paulb is about to release a LBA48 kernel patch so you can access drive space after 137G... here is the link but you might need to sign up

http://forums.xbox-scene.com/index.php?act...50entry687266

oh an i hate cables as well, here is a few things ive been working on

http://development.e-clips.com.au/anton/xbox/

i take it your a programmer as well? or you just like playing around?

you got msn or icq or something, might be easier than this... unless you figure anybody else wants to read it?

Some very interesting developments indeed..

Though, I have a feeling that it may take some time to get the wireless adapter out into the market..

I'm not sure on the practicality of water cooling in a car.. water + electricity doesnt mix at the best of times - let alone on a bumpy road :P

Well.. a 300gb drive is looking a possibility now..

See pm :(

Hi,

Just a thought about power supplies. I don't know if any of you are handy with PC's, but an X-Box is essentially a PC. And a PC is essentially a 12 volt device, as with most PC hardware. There is a mini-pc scene built arount the mini-itx platform that basically tries to fit PC's into the weirdest areas possible. I'm doing such a project, and others have built PC's inside their cars, toasters, life sized dolls, and PS2's. http://www.mini-itx.com is their main site.

One of the items that you may find interesting are the power supplies available help in this quest. You can get some truly tiny PC power supplies that can handle variying amounts of output which themselves run on a 12v DC power source. An X-Box will need one of the higher rated ones because of the full sized hard disk and DVD-Rom. If you hunt around, you can find some that'll handle a PC with a few hard disks, usb devices, and a full sized dvd-rom.

With one of those, you will need to also know what voltages the x-box PSU puts out. I imagine it'll be much like a PC, running from 12v, 5v, 3.3v, and a 5v standby. I can't think why an x-box would use the old -12v and -5v rails a PC power supply provides, since they're for old comm-port chipsets.

If you could get it to work, you'll end up with a power supply that runs of 12 volts dc, is smaller than a postcard (and flat too), generates piss-all heat, and you won't waste all this power converting 12v dc -> 240v ac -> 12v dc needlessly (less strain on car electrics, plus less heat).

Also note, you will not be able to use a laptop DVD with your X-Box. It has a specific control plug that allows the x-box to eject the tray and do other things. Only a few DVD Roms can be modified to replace an X-Box DVD-Rom. Hard disks will be no problem providing you prepare them properly. Any good X-box mod site will tell you how this is done.

Any other PC hardware, such as USB hubs, wap's, etc should be either able to be run on 12 volts, or something less. In which case, you can probably look up how to make a power supply for it using voltage regulators and stuff. I found out how to make one of these to get a PS2 controller working on my PC, and it's not all that difficult. You just need to be handy with a soldering iron.

You could always just get an inverter, power board, and a few extention cords to run around your car, but I think you can pull these projects off without even touching ac power if you do it right.

nice post.. I have looked into some of the PSU's you can buy off the shelf that are straight DC->DC - mostly in ATX form factor.

Now, I know the XBox is basically a PC and AFAIk has an ATX style PSU. However, I'm not entirely familiar with the configuration of the plugs into the mainboard - will be customer of course.

The downside of this, was the PSU would cost more than the Inverter and would create a hell of a lot more mucking around.. with the possibility that it wouldnt work.. It's something I'll have to weigh up once I have the $ in hand are are prepared to dive in feet first..

If there are any examples of epople doing this already spefically with xboes, i would be incredibly interested.. though being the first would be cool too :)

The only thing I can think of is ripping apart an x-box and measuring the outputs of the PSU with a multimeter. But yeah, you'll be doing something custom for the plug. I was looking at diagrams of the mainboards, and it seems there are 2 types..

Ver 1.0/1.1 with a row of 15 pins in a straight line

Ver 1.2/1.3 with an ATX connector. I would not connect an ATX PSU to it though, 'cause you'd be almost assured to smoke your x-box.

I couldn't find any info on the net about what ampage and voltage each of the rails on the x-box psu put out though. So you'll need to do a bit of measuring for the voltages. For the current, you'd just have to hope the PSU can provide enough, otherwise you may have to run 2 in parallel. Also, to ease the strain on the 12v rail, you could run power directly from your 12v source to things like your hard disks, etc. As I recall, the lower wattage mini-psu's main fault was their lack of power on the 12v rail, meaning you couldn't power 7200rpm disk drives with full sized dvd-rom's. This sort of relates to normal psu's anyway, with their 12v rail being the most limited in terms of current (i have to run 2 psu's in my home pc to overcome this - 800 watt psu :) ).

Anyway, if you already have an x-box earmarked, I'd be looking around in it to try and measure the psu output voltages. As with a PC power supply, you should have at least the hard disk connected to the PSU before turning it on (or if you can't work out how to simulate a turn-on, leave the x-box mainboard connected and be really careful :) )

yep was thinking about the micro-itx before the xbox idea but it dont play xbox games... but your right about the powersupply, a lot of people on x-box scene replace theirs with 400W+ pc supplies so they can run extra cooling and hardware... it uses all the standard PC connectors which have both 5v + 12v.... of course none of them actually tell you how they did it, just that its been done...

here is instructions on hooking up an ATX PSU to the xbox, they have already schematicd conveters and mapped out the voltages for all the connector pins http://forums.xbox-scene.com/index.php?act...24&t=57838&hl=&

and this is a connector converter for v1.1 mobo's http://members.tripod.co.jp/barusan/XBOX_ATX.jpg

ill pop the lid off mine 2nite and wack the multimeter on the psu connector and see what it pumps out... and

using xbox to show rpm?? it would be more easier to use a PC .. but yeah it'd be cool to have a PC or whatever and run in inputs and the PC to decode the rpms .. boost ... etc and display it as it is on a GTR ... program wouldn't be hard to write ... just the signals might be a little hard to decode thats all ... may need to build a custom board ... (i can do that!! :D!!)

ok ive found a guy in AUST who can build us the ATX -> xbox converter, although looking at the wiring diagrams its like $10 worth of stuff so we may as well just do it ourselves... you can buy ATX power extensions so there is your female connector, then you just hack the other one off the xbox PSU and you got the male part... if you have an xbox 1.2 then you dont need to destroy your original PSU.... or you can buy a wiped out second hand xbox PSU and use the connector off that, there is 100's of them for sale on e-bay

http://www.x-pc.be/spec/sheets/710796.htm has the power specs for the xbox rated as 100w... no idea how they figure that as if you do the calculations on multiplier and the stepping of the cpu it add up to 37W, plus 8W for the board... even with the DVD and HDD it still dont add up to a hundred... so if we factor in a larget 7200 RPM drive and a usb hub that should take us close to 150W....

http://www.zantech.com.au/apowertech/PSU-1...-12vdc250w.html :D/http://www.zantech.com.au/apowertec...c250w.html halz found us a 12V dc-dc power supply rated @ 250W which should do the trick nicely :)

i think step 1 is to get the xbox in and functioning as a multimedia device, then chuck in the RSM after that...

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



  • Similar Content

  • Latest Posts

    • Any update on this one? did you manage to get it fixed?    i'm having the same issue with my r34 and i believe its to do with the smart entry (keyless) control module but cant be sure without forking out to get a replacement  
    • So this being my first contribution to the SAU forums, I'd like to present and show how I had to solve probably one of the most annoying fixes on any car I've owned: replacing a speedometer (or "speedo") sensor on my newly acquired Series 1 Stagea 260RS Autech Version. I'm simply documenting how I went about to fix this issue, and as I understand it is relatively rare to happen to this generation of cars, it is a gigantic PITA so I hope this helps serve as reference to anyone else who may encounter this issue. NOTE: Although I say this is meant for the 260RS, because the gearbox/drivetrain is shared with the R33 GTR with the 5-speed manual, the application should be exactly the same. Background So after driving my new-to-me Stagea for about 1500km, one night while driving home the speedometer and odometer suddenly stopped working. No clunking noise, no indication something was broken, the speedometer would just stop reading anything and the odometer stopped going up. This is a huge worry for me, because my car is relatively low mileage (only 45k km when purchased) so although I plan to own the car for a long time, a mismatched odometer reading would be hugely detrimental to resale should the day come to sell the car. Thankfully this only occurred a mile or two from home so it wasn't extremely significant. Also, the OCD part of me would be extremely irked if the numbers that showed on my dash doesn't match the actual ageing of the car. Diagnosing I had been in communication with the well renown GTR shop in the USA, U.P.garage up near University Point in Washington state. After some back and forth they said it could be one of two things: 1) The speedometer sensor that goes into the transfer case is broken 2) The actual cluster has a component that went kaput. They said this is common in older Nissan gauge clusters and that would indicate a rebuild is necessary. As I tried to figure out if it was problem #1, I resolved problem #2 by sending my cluster over to Relentless Motorsports in Dallas, TX, whom is local to me and does cluster and ECU rebuilds. He is a one man operation who meticulously replaces every chip, resistor, capacitor, and electronic component on the PCB's on a wide variety of classic and modern cars. His specialty is Lexus and Toyota, but he came highly recommended by Erik of U.P.garage since he does the rebuilds for them on GTR clusters.  For those that don't know, on R32 and R33 GTR gearboxes, the speedometer sensor is mounted in the transfer case and is purely an analog mini "generator" (opposite of an alternator essentially). Based on the speed the sensor spins it generates an AC sine wave voltage up to 5V, and sends that via two wires up to the cluster which then interprets it via the speedometer dial. The signal does NOT go to the ECU first, the wiring goes to the cluster first then the ECU after (or so I'm told).  Problems/Roadblocks I first removed the part from the car on the underside of the transfer case (drain your transfer case fluid/ATF first, guess who found out that the hard way?), and noted the transfer case fluid was EXTREMELY black, most likely never changed on my car. When attempting to turn the gears it felt extremely gritty, as if something was binding the shaft from rotating properly. I got absolutely no voltage reading out of the sensor no matter how fast I turned the shaft. After having to reflow the solder on my AFM sensors based on another SAU guide here, I attempted to disassemble the silicone seal on the back of the sensor to see what happened inside the sensor; turns out, it basically disintegrated itself. Wonderful. Not only had the electrical components destroyed themselves, the magnetic portion on what I thought was on the shaft also chipped and was broken. Solution So solution: find a spare part right? Wrong. Nissan has long discontinued the proper sensor part number 32702-21U19, and it is no longer obtainable either through Nissan NSA or Nissan Japan. I was SOL without proper speed or mileage readings unless I figured out a way to replace this sensor. After tons of Googling and searching on SAU, I found that there IS however a sensor that looks almost exactly like the R33/260RS one: a sensor meant for the R33/R34 GTT and GTS-T with the 5 speed manual. The part number was 25010-21U00, and the body, plug, and shaft all looked exactly the same. The gear was different at the end, but knowing the sensor's gear is held on with a circlip, I figured I could just order the part and swap the gears. Cue me ordering a new part from JustJap down in Kirrawee, NSW, then waiting almost 3 weeks for shipping and customs clearing. The part finally arrives and what did I find? The freaking shaft lengths don't match. $&%* I discussed with Erik how to proceed, and figuring that I basically destroyed the sensor trying to get the shaft out of the damaged sensor from my car. we deemed it too dangerous to try and attempt to swap shafts to the correct length. I had to find a local CNC machinist to help me cut and notch down the shaft. After tons of frantic calling on a Friday afternoon, I managed to get hold of someone and he said he'd be able to do it over half a week. I sent him photos and had him take measurements to match not only the correct length and notch fitment, but also a groove to machine out to hold the retentive circlip. And the end result? *chef's kiss* Perfect. Since I didn't have pliers with me when I picked up the items, I tested the old gear and circlip on. Perfect fit. After that it was simply swapping out the plug bracket to the new sensor, mount it on the transfer case, refill with ATF/Nissan Matic Fluid D, then test out function. Thankfully with the rebuilt cluster and the new sensor, both the speedometer and odometer and now working properly!   And there you have it. About 5-6 weeks of headaches wrapped up in a 15 minute photo essay. As I was told it is rare for sensors of this generation to die so dramatically, but you never know what could go wrong with a 25+ year old car. I HOPE that no one else has to go through this problem like I did, so with my take on a solution I hope it helps others who may encounter this issue in the future. For the TL;DR: 1) Sensor breaks. 2) Find a replacement GTT/GTS-T sensor. 3) Find a CNC machinist to have you cut it down to proper specs. 4) Reinstall then pray to the JDM gods.   Hope this guide/story helps anyone else encountering this problem!
    • So this being my first contribution to the SAU forums, I'd like to present and show how I had to solve probably one of the most annoying fixes on any car I've owned: replacing a speedometer (or "speedo") sensor on my newly acquired Series 1 Stagea 260RS Autech Version. I'm simply documenting how I went about to fix this issue, and as I understand it is relatively rare to happen to this generation of cars, it is a gigantic PITA so I hope this helps serve as reference to anyone else who may encounter this issue. NOTE: Although I say this is meant for the 260RS, because the gearbox/drivetrain is shared with the R33 GTR with the 5-speed manual, the application should be exactly the same. Background So after driving my new-to-me Stagea for about 1500km, one night while driving home the speedometer and odometer suddenly stopped working. No clunking noise, no indication something was broken, the speedometer would just stop reading anything and the odometer stopped going up. This is a huge worry for me, because my car is relatively low mileage (only 45k km when purchased) so although I plan to own the car for a long time, a mismatched odometer reading would be hugely detrimental to resale should the day come to sell the car. Thankfully this only occurred a mile or two from home so it wasn't extremely significant. Also, the OCD part of me would be extremely irked if the numbers that showed on my dash doesn't match the actual ageing of the car. Diagnosing I had been in communication with the well renown GTR shop in the USA, U.P.garage up near University Point in Washington state. After some back and forth they said it could be one of two things: 1) The speedometer sensor that goes into the transfer case is broken 2) The actual cluster has a component that went kaput. They said this is common in older Nissan gauge clusters and that would indicate a rebuild is necessary. As I tried to figure out if it was problem #1, I resolved problem #2 by sending my cluster over to Relentless Motorsports in Dallas, TX, whom is local to me and does cluster and ECU rebuilds. He is a one man operation who meticulously replaces every chip, resistor, capacitor, and electronic component on the PCB's on a wide variety of classic and modern cars. His specialty is Lexus and Toyota, but he came highly recommended by Erik of U.P.garage since he does the rebuilds for them on GTR clusters.  For those that don't know, on R32 and R33 GTR gearboxes, the speedometer sensor is mounted in the transfer case and is purely an analog mini "generator" (opposite of an alternator essentially). Based on the speed the sensor spins it generates an AC sine wave voltage up to 5V, and sends that via two wires up to the cluster which then interprets it via the speedometer dial. The signal does NOT go to the ECU first, the wiring goes to the cluster first then the ECU after (or so I'm told).  Problems/Roadblocks I first removed the part from the car on the underside of the transfer case (drain your transfer case fluid/ATF first, guess who found out that the hard way?), and noted the transfer case fluid was EXTREMELY black, most likely never changed on my car. When attempting to turn the gears it felt extremely gritty, as if shttps://imgur.com/6TQCG3xomething was binding the shaft from rotating properly. After having to reflow the solder on my AFM sensors based on another SAU guide here, I attempted to disassemble the silicone seal on the back of the sensor to see what happened inside the sensor; turns out, it basically disintegrated itself. Wonderful. Not only had the electrical components destroyed themselves, the magnetic portion on what I thought was on the shaft also chipped and was broken. Solution So solution: find a spare part right? Wrong. Nissan has long discontinued the proper sensor part number 32702-21U19, and it is no longer obtainable either through Nissan NSA or Nissan Japan. I was SOL without proper speed or mileage readings unless I figured out a way to replace this sensor. After tons of Googling and searching on SAU, I found that there IS however a sensor that looks almost exactly like the R33/260RS one: a sensor meant for the R33/R34 GTT and GTS-T with the 5 speed manual. The part number was 25010-21U00, and the body, plug, and shaft all looked exactly the same. The gear was different at the end, but knowing the sensor's gear is held on with a circlip, I figured I could just order the part and swap the gears. Cue me ordering a new part from JustJap down in Kirrawee, NSW, then waiting almost 3 weeks for shipping and customs clearing. The part finally arrives and what did I find? The freaking shaft lengths don't match. $&%* I discussed with Erik how to proceed, and figuring that I basically destroyed the sensor trying to get the shaft out of the damaged sensor from my car. we deemed it too dangerous to try and attempt to swap shafts to the correct length. I had to find a local CNC machinist to help me cut and notch down the shaft. After tons of frantic calling on a Friday afternoon, I managed to get hold of someone and he said he'd be able to do it over half a week. I sent him photos and had him take measurements to match not only the correct length and notch fitment, but also a groove to machine out to hold the retentive circlip. And the end result? *chef's kiss* Perfect. Since I didn't have pliers with me when I picked up the items, I tested the old gear and circlip on. Perfect fit. After that it was simply swapping out the plug bracket to the new sensor, mount it on the transfer case, refill with ATF/Nissan Matic Fluid D, then test out function. Thankfully with the rebuilt cluster and the new sensor, both the speedometer and odometer and now working properly!   And there you have it. About 5-6 weeks of headaches wrapped up in a 15 minute photo essay. As I was told it is rare for sensors of this generation to die so dramatically, but you never know what could go wrong with a 25+ year old car. I HOPE that no one else has to go through this problem like I did, so with my take on a solution I hope it helps others who may encounter this issue in the future. For the TL;DR: 1) Sensor breaks. 2) Find a replacement GTT/GTS-T sensor. 3) Find a CNC machinist to have you cut it down to proper specs. 4) Reinstall then pray to the JDM gods.   Hope this guide/story helps anyone else encountering this problem!
    • perhaps i should have mentioned, I plugged the unit in before i handed over to the electronics repair shop to see what damaged had been caused and the unit worked (ac controls, rear demister etc) bar the lights behind the lcd. i would assume that the diode was only to control lighting and didnt harm anything else i got the unit back from the electronics repair shop and all is well (to a point). The lights are back on and ac controls are working. im still paranoid as i beleive the repairer just put in any zener diode he could find and admitted asking chatgpt if its compatible   i do however have another issue... sometimes when i turn the ignition on, the climate control unit now goes through a diagnostics procedure which normally occurs when you disconnect and reconnect but this may be due to the below   to top everything off, and feel free to shoot me as im just about to do it myself anyway, while i was checking the newly repaired board by plugging in the climate control unit bare without the housing, i believe i may have shorted it on the headunit surround. Climate control unit still works but now the keyless entry doesnt work along with the dome light not turning on when you open the door. to add to this tricky situation, when you start the car and remove the key ( i have a turbo timer so car remains on) the keyless entry works. the dome light also works when you switch to the on position. fuses were checked and all ok ive deduced that the short somehow has messed with the smart entry control module as that is what controls the keyless entry and dome light on door opening   you guys wouldnt happen to have any experience with that topic lmao... im only laughing as its all i can do right now my self diagnosed adhd always gets me in a situation as i have no patience and want to get everything done in shortest amount of time as possible often ignoring crucial steps such as disconnecting battery when stuffing around with electronics or even placing a simple rag over the metallic headunit surround when placing a live pcb board on top of it   FML
    • Bit of a pity we don't have good images of the back/front of the PCB ~ that said, I found a YT vid of a teardown to replace dicky clock switches, and got enough of a glimpse to realize this PCB is the front-end to a connected to what I'll call PCBA, and as such this is all digital on this PCB..ergo, battery voltage probably doesn't make an appearance here ; that is, I'd expect them to do something on PCBA wrt power conditioning for the adjustment/display/switch PCB.... ....given what's transpired..ie; some permutation of 12vdc on a 5vdc with or without correct polarity...would explain why the zener said "no" and exploded. The transistor Q5 (M33) is likely to be a digital switching transistor...that is, package has builtin bias resistors to ensure it saturates as soon as base threshold voltage is reached (minimal rise/fall time)....and wrt the question 'what else could've fried?' ....well, I know there's an MCU on this board (display, I/O at a guess), and you hope they isolated it from this scenario...I got my crayons out, it looks a bit like this...   ...not a lot to see, or rather, everything you'd like to see disappears down a via to the other side...base drive for the transistor comes from somewhere else, what this transistor is switching is somewhere else...but the zener circuit is exclusive to all this ~ it's providing a set voltage (current limited by the 1K3 resistor R19)...and disappears somewhere else down the via I marked V out ; if the errant voltage 'jumped' the diode in the millisecond before it exploded, whatever that V out via feeds may have seen a spike... ....I'll just imagine that Q5 was switched off at the time, thus no damage should've been done....but whatever that zener feeds has to be checked... HTH
×
×
  • Create New...