Good thinking on the GPS. The antenna takes up valuable space and needs a skyview to get a good first fix. All GPS receivers, wired or wireless, will output NMEA standardised GPS data. Some GNS units can do TMC (traffic) too, although I'm not sure if it will work in the US.
Alternatively GPS antenna with an MMCX connectors are only a few pounds from China. They will need a 3V3/5V DC bias for the LNA in the antenna, which the GPS module may or may not provide.
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
m2pc, you have convinced me to stop experimenting with AVR processors and order the NXP evaluation board from digi-key. What an incredible jump in capability!
It really is. I haven't found anything with as much power, ease of setup, and wealth of open development tools with any other MCU.
Plus the NXP processors also come in a more powerful version, the LPC1769, which runs at a blazing 120MHz.
I'm going to do some basic programming with the mbed development board, then start laying out the first openOBC board that incorporates the LPC1769.
After doing a lot of SMD soldering at work, I'm tempted to make more of the openOBC board as SMD; this would be a great way to learn SMD soldering, and for the complete kit with board already populated, it won't matter at all using SMD over through-hole.
I received another OBC in the mail yesterday, so I'm back up and running again with my development environment.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Looks like a nice CPU. Does it allow you to step the code and look for bugs like MPLAB?
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
According to this: http://mbed.org/handbook/Debugging you can debug in several ways:
1) Use the built-in LEDs on the mbed board to visually indicate program flow
2) Use the standard printf function to write to the USB port on the host for debugging info.
As far as step-debugging, I'm not sure yet whether or not the mbed supports it. Surely the bare LPC176x MCU would support this ability via the JTAG connector, with appropriate debugging software on the PC side.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
Update from me: I've been playing around with the mbed some more for personal and at work. I was able to move from a "blinking LEDs" to a SD-card based sound effect machine for a show demo in a couple hours.
Let's put it this way: Data logging with the openOBC is a connector and wires away from becoming reality!
So far I'm incredibly impressed with the whole ecosystem NXP has put together for their MCU's.... much better than any other offering I've encountered thus far.
The biggest asset is the ability to search across all other projects and libraries that others have made; for instance, a fully-functional FAT filesystem for SDCards took me less than 5 minutes to find, add to my project, and get working. AMAZING!
Stay tuned!
Last edited by m2pc; 02-18-2011 at 02:05 AM.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Surface mount is really easy with a stencil (pololu.com) and a hot plate or skillet. Sparkfun has a writeup on it, but basically the stencil lets you apply solder paste to all the SMD pads quickly/accurately. Place all your chips/components on top of the paste, place the board in the skillet, and when the solder reflows, the chips position themselves pretty much perfectly on their own.
http://www.sparkfun.com/tutorials/58
Last edited by capacitor; 02-19-2011 at 12:30 AM.
Last edited by m2pc; 02-19-2011 at 12:52 AM.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
And exactly what noise was that?
Wow, this looks interesting. How much progress have you made on your original goals?
It was a car starting, running, and stopping. The beeping in the beginning was the "key in" warning. My boss recorded the sounds of a coworker's corvette starting.
It sounds a lot better in person.
The point was it was a piece of cake for me to read and play WAV files stored on an SD card.
Thanks. Well, I have pretty much every signal in and out of the OBC understood and documented; I had boards made using a PIC microcontroller that is apparently the worst ever made (even though it's listed as "mature" and "in production" on the vendor's website).
I'm redoing the board using a more powerful MCU that will allow me to meet all my original goals, and then some. We just may get the German voices integrated after all!
Last edited by m2pc; 02-21-2011 at 01:48 AM. Reason: Automerged Doublepost
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
It is a project for my work; we make automotive test tools, and we purchased the entire dash out of a 1999 Jeep Grand Cherokee to use at trade shows; my boss wanted it to act and sound like a real car, so the mbed came to the rescue!
As for the info on the website, it's a bit stale. I'll try to add some additional info this week on the pinouts and speed sensor input. If you search this thread myself and others have posted info about this.
Speed sensor is an active LOW pulsating signal with x pulses per km (I'll get the exact # for you). This gets you vehicle road speed (how many pulses counted over a specified period of time, converted to mi/h or km/h) and distance travelled (running counter that increments internal mi/km numbers), all in one signal.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Ohh okay, all makes sense now
If you have/can find/ figure out the pulses per KM... that'd be perfect.
I have an 16x2 LCD where the MPG gauge used to be. I was gunna just swap the euro oil temp in there, but figured that was the easy way out. Plus, I wanted some additional functionality.
Got it color matched pretty well and the screen size is *almost* perfect. Should turn out well
^^^ VERY IMPRESSIVE!!!
Ok, there's 4712 pulses per kilometer. I'd pass this signal through an 74HC14 to square it up a bit (the original OBC does this IIRC) and feed it to a counter pin on your embedded board.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
The AVR inputs of an Arduino have ca. 0.3 - 0.4 volts of hysteresis. A two-resistor divider, and possibly an EMC filter capacitor for an edge-triggered input, could do.
Last edited by johnf; 02-23-2011 at 09:03 AM.
I have been following this thread for quite some time, and i was just wondering if you would be able to, in the final iteration, be able to output all of the data over 2 or 3 serial connections, so that i would be able to interface directly to my car computer. Second, if your going to be selling units as retrofits, are we going to have to desolder the black/white connectors that are normally on the back, or are you going to find a distributor?
Yes there's definitely the possibility of exposing all OBC functions over a serial or USB connection; the embedded board I'm looking into using has these plus Ethernet (maybe overkill).
Regarding the connectors, these appear to be a joint effort between BMW and amphenol; desoldering them is quite easy, but we could substitute basic 2x9 box header male connectors instead. The only downside is we lose the keying and locking mechanism BMW designed into the system.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
UPDATE: We now have a source for X1070/X1071 board-level male connectors. Thanks to JoyLove for the UK connection!
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Would that be the 967618 connector with the A and B codings? All I can find for sale in small quantities is C.
Here's the datasheet: http://docs-europe.electrocomponents...6b80ed2388.pdf
It looks like they come in "A" and "B" variants (white/black).
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
That looks more like it. I may have found a variant that AMP created for someone else.
Bookmarks