Bavarian Soundwerks
Page 24 of 79 FirstFirst ... 1415161718192021222324252627282930313233344974 ... LastLast
Results 576 to 600 of 1959

Thread: Feeler: Open Source OBC Firmware

  1. #576
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Thanks guys, it's nice to finally be getting somewhere with this project. I should have the expansion board drawn and ready for production any day now as well. Stay tuned!

    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

  2. #577
    Join Date
    Mar 2003
    Location
    Akron, Ohio
    Posts
    470
    My Cars
    M3 Saloon, Z3 3.0 Coupe

  3. #578
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Another update!

    I just finished drawing the board layouts for the "A" and "B" expansion boards. These plug directly on top of the main openOBC board to provide additional expansion.

    The "A" board, with GPS, 3-axis accelerometer, analog inputs, and 8 high current outputs, suitable for directly driving relays and small solenoids:


    The "B" board, for the adventurous type, is strictly a plated through, 0.1" centered solder breadboard:


    Once I verify each of these, I will order boards and continue the process!
    Last edited by m2pc; 12-30-2010 at 09:01 PM.

    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

  4. #579
    Join Date
    Dec 2004
    Location
    NJ
    Posts
    1,209
    My Cars
    03 540i M Sport/95 525iT
    Outstanding progress on this! I have not visited this thread in a long time and I am very impressed with where the developers have taken this project.

    I am very interested in the expansion capability you are designing. Are the analog inputs on the expansion board buffered or filtered in any way or just pass through signals to the PIC microprocessor analog inputs? I ask because it can be risky to pass automotive analog sensor signals directly to a microprocessor without analog low pass filtering and some kind of voltage clamp to protect against spikes.

    Can there be more than one expansion board with different types of analog inputs? For example, with a turbo or supercharged engine, it would be desirable to have Exhaust Gas Temp monitoring. I am thinking this would have to be an additional expansion board for several reasons. Most folks will not want it and the additional signal conditioning circuits would probably not fit on the existing expansion board.

  5. #580
    Join Date
    Jul 2010
    Location
    Ireland
    Posts
    128
    My Cars
    1996 E36 318is
    What's the accelerometer for? Gonna hook it up to show lateral g's?

  6. #581
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Mark185 View Post
    Outstanding progress on this! I have not visited this thread in a long time and I am very impressed with where the developers have taken this project.

    I am very interested in the expansion capability you are designing. Are the analog inputs on the expansion board buffered or filtered in any way or just pass through signals to the PIC microprocessor analog inputs? I ask because it can be risky to pass automotive analog sensor signals directly to a microprocessor without analog low pass filtering and some kind of voltage clamp to protect against spikes.
    Very good points. Currently I'm routing 4 A/D inputs directly from the PIC to the I/O header on the expansion board. IIRC the PIC does have some sort of input protection/filtering built-in; I'll check the datasheet to be sure and I'll see if I can diode clamp these, and filter to ground using a bypass cap if needed. Most of these will be resistive dividers to allow for various sensors. Most sensors are either 0-5V or 0-12V or varying resistances.

    Quote Originally Posted by Mark185 View Post
    Can there be more than one expansion board with different types of analog inputs? For example, with a turbo or supercharged engine, it would be desirable to have Exhaust Gas Temp monitoring. I am thinking this would have to be an additional expansion board for several reasons. Most folks will not want it and the additional signal conditioning circuits would probably not fit on the existing expansion board.
    Currently I'm designing 2 expansion boards: One ("A") with GPS, Accelerometer, 8 500mA output drivers, and 4 A/D inputs as well as a CAN bus interface for even further external connectivity. The second ("B") board is strictly a breadboard for prototyping/custom circuitry.

    Maybe we need a "C" board that removes either the GPS or the Accelerometer and focuses more on I/O expansion, with filtered, op-amp buffered A/D inputs with configurable offsets, etc. Since there is an SPI bus on the expansion card, we could even include some DigiPots to drive the input adjustment from the software side.

    EDIT: I just checked the datasheet and all the PIC I/O pins are diode clamped internally to VCC and GND. Just for extra measure, I'll update my design to include a series resistor and a pair of extra Schottky diodes between the PIC's power rails. This should provide current limiting, plus clamp any transients to within 0.3V of the rails.
    Last edited by m2pc; 12-31-2010 at 02:00 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

  7. #582
    Join Date
    Dec 2004
    Location
    NJ
    Posts
    1,209
    My Cars
    03 540i M Sport/95 525iT
    All good ideas in your response to my questions but this really is interesting to me:

    "Maybe we need a "C" board that removes either the GPS or the Accelerometer and focuses more on I/O expansion, with filtered, op-amp buffered A/D inputs with configurable offsets, etc. Since there is an SPI bus on the expansion card, we could even include some DigiPots to drive the input adjustment from the software side."

    I have been playing with concepts for stand alone data acquisition for my Celica All Trac Turbo which is an OBD 1 system. (Using an AVR Butterfly as basic development platform because it is cheap but capable and a free C compiler is available.) The Celica has a modified turbo engine and I want to monitor EGT, boost pressure, oil press, oil temp, water temp, inlet temp, and other parameters. I don't think I would attempt to use the complete Open OBC design but would be interested in adapting an expansion board for this vehicle.

    I am also very interested in using the Open OBC to modify the computer in my 97 328iC. I do not plan forced induction on that car and would not have as much interest in additional instrumentation for it. Your base design is a good fit for my interest on the bimmer.

  8. #583
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Mark185 View Post
    All good ideas in your response to my questions but this really is interesting to me:

    "Maybe we need a "C" board that removes either the GPS or the Accelerometer and focuses more on I/O expansion, with filtered, op-amp buffered A/D inputs with configurable offsets, etc. Since there is an SPI bus on the expansion card, we could even include some DigiPots to drive the input adjustment from the software side."

    I have been playing with concepts for stand alone data acquisition for my Celica All Trac Turbo which is an OBD 1 system. (Using an AVR Butterfly as basic development platform because it is cheap but capable and a free C compiler is available.) The Celica has a modified turbo engine and I want to monitor EGT, boost pressure, oil press, oil temp, water temp, inlet temp, and other parameters. I don't think I would attempt to use the complete Open OBC design but would be interested in adapting an expansion board for this vehicle.

    I am also very interested in using the Open OBC to modify the computer in my 97 328iC. I do not plan forced induction on that car and would not have as much interest in additional instrumentation for it. Your base design is a good fit for my interest on the bimmer.
    I don't see why you couldn't adapt the expansion board to your AVR project. As long as you have +5V and +3.3V along with SPI bus and some address lines, it would work.

    Yes, the basic openOBC design is ideal for people who want a bit more out of the stock unit without a lot of expansion. Just being able to read and reset OBD-II trouble codes would be a huge plus, which is the goal of 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

  9. #584
    Join Date
    Sep 2006
    Location
    Hollywood, CA
    Posts
    1,458
    My Cars
    '97 540i/6, '46 Navion
    Your board drawings look fantastic! Poking my head in from the E39 side of things... what are the odds we can port this project to our OBC's?

    The software is probably the same, but the hardware is a totally different animal.
    www.hangar504.com

    4dr Mafia Member #42

  10. #585
    Join Date
    Sep 2006
    Location
    Hollywood, CA
    Posts
    1,458
    My Cars
    '97 540i/6, '46 Navion
    Your board drawings look fantastic! Poking my head in from the E39 side of things... what are the odds we can port this project to our OBC's?

    The software is probably the same, but the hardware is a totally different animal.
    www.hangar504.com

    4dr Mafia Member #42

  11. #586
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by kingsly View Post
    Your board drawings look fantastic! Poking my head in from the E39 side of things... what are the odds we can port this project to our OBC's?

    The software is probably the same, but the hardware is a totally different animal.
    Doesn't the E39 have an integrated "MID" in the cluster and nota separate OBC unit? If so, those can be addressed via the I-bus from a remotely mounted device. I've seen a lot of iPod interfaces do this to display song titles, etc.

    The E31 is similar; the OBC is just a display fed from the I-bus.

    Other OBCs that could be used would be the 7 and 11 button E36 variants.

    Update: New version "A" design, with diodes between power rails and series resistors protecting all A/D inputs:

    Last edited by m2pc; 01-03-2011 at 01:14 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

  12. #587
    Join Date
    Sep 2006
    Location
    Hollywood, CA
    Posts
    1,458
    My Cars
    '97 540i/6, '46 Navion
    Yeah we've got a MID pulling info from god-knows-where. All the info can be displayed in the instrument panel display too, pretty cool having the mpg in the dash and dte or whatever below the spedo simultaneously. It would be even cooler to access live engine data or accelerometer info. And even even cooler to drive a third display positioned to reflect off the windshield and act as a HUD.

    Sounds like it might even be slightly simpler since we can just tap into the I-bus? I'd happily donate my car to science if you think it could be done! : )
    Last edited by kingsly; 01-03-2011 at 05:11 AM.
    www.hangar504.com

    4dr Mafia Member #42

  13. #588
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by kingsly View Post
    Yeah we've got a MID pulling info from god-knows-where. All the info can be displayed in the instrument panel display too, pretty cool having the mpg in the dash and dte or whatever below the spedo simultaneously. It would be even cooler to access live engine data or accelerometer info. And even even cooler to drive a third display positioned to reflect off the windshield and act as a HUD.

    Sounds like it might even be slightly simpler since we can just tap into the I-bus? I'd happily donate my car to science if you think it could be done! : )
    iBus interfacing is actually very simple. Here's an example that uses a handful of components: http://e34.org/forums/posts/142176

    It would be a matter of adding these circuits and reworking the openOBC main board. Then, instead of driving the main (integrated) OBC display and reading its keyboard buttons, it would send commands over the iBus to the various displays in the car, and read buttons from the steering wheel and NAV console.

    So we'd have a "headless" openOBC board with expansion board tucked away somewhere in your E39 performing all these functions. The tough part will be how to get things like a) Vehicle speed, b) Fuel consumption, c) Fuel tank level, d) Ambient temperature, etc, etc. These signals are present in the OEM connectors in the E36; I have no idea where these are in an E39. Maybe the vehicle diagnostic bus of the E39 has these, but again no idea as I have not researched it.

    For starters though, I'd like to focus on getting the E36 version working 100%, then branching out into other models is possible.

    One last thought on the iBus; some E36 head units (CD43 for example) are connected to the iBus and can be addressed. So the stereo is a 2nd display option in the E36 for openOBC with an iBus interface!

    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

  14. #589
    Join Date
    Sep 2006
    Location
    Hollywood, CA
    Posts
    1,458
    My Cars
    '97 540i/6, '46 Navion
    Yeah get the E36 one going first and then we can look at other models. I am very excited about the prospects of this project!
    www.hangar504.com

    4dr Mafia Member #42

  15. #590
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Update: I spent about 4 hours over the past week tracing out every wire and component and verifying the design of the main board and the "A" expansion board.

    I found a few problems, but nothing major. Mainly ground plane issues but easily fixed.

    I'll be ordering real PCBs by the end of this week!

    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

  16. #591
    Join Date
    Dec 2009
    Location
    PDX, OR
    Posts
    620
    My Cars
    e30.
    I don't understand half of the words in this thread, but it looks like good, hard work. I'm impressed!

  17. #592
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Update: Boards have been ordered. I ordered a set of 10 main boards and 10 expansion "A" boards to start. Exciting times!

    Boards will be delivered by next Wednesday (1/19) by noon.
    Last edited by m2pc; 01-14-2011 at 12:25 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

  18. #593
    Join Date
    Dec 2003
    Location
    SJ, CA
    Posts
    2,350
    My Cars
    '00 Z3C, '70 XJ6
    Could the software be modified to accept the error signal to replace the e31 MID? It would be great to have all this functionality and have an option for replacing the shitty, rare e31 MID.
    2.8 Z3 coupe + 6 speed || 200kW electric 1970 Jaguar XJ6

  19. #594
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Quote Originally Posted by Bryson View Post
    Could the software be modified to accept the error signal to replace the e31 MID? It would be great to have all this functionality and have an option for replacing the shitty, rare e31 MID.
    The E31 MID is a different animal than the E36 OBC from what I've read. Rather than tie all the sensors and inputs into the MID itself, the E31 MID gets all this info over the vehicle's data bus. It may be possible, but without access to an E31 and and E31 MID, it's going to be difficult.

    But yes, anything is possible. Right now my focus is to get the E36 version completed, then we can move to other platforms/variations.

    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

  20. #595
    Join Date
    Aug 2008
    Location
    Charlotte, NC
    Posts
    387
    My Cars
    E38, BNR32, E36, B5S4
    Subbed!!!
    2001 BMW 750iL Black on Black fully loaded
    1997 BMW M3/4/6 - Awaiting turbo
    2001 Audi S4 - VR6 turbo swap in progress
    2016 ZX14R
    1993 R32 GTR V-Spec

  21. #596
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Parts are on order from DigiKey to make 1 real prototype. Cost is around $50 for the parts, plus around $60 for the PC boards, not including the GPS and accelerometer which I already have. Not too bad for a single quantity.

    I'll be populating 1 main board and 1 expansion "A" board once the boards arrive from the PCB house on Wednesday.

    Once that is proved, I will continue with the software side of things.

    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

  22. #597
    Join Date
    Apr 2003
    Location
    Back in Hunt Valley, MD
    Posts
    2,745
    My Cars
    96 ACS S3 CLS, 02 540iA
    Quote Originally Posted by m2pc View Post
    Parts are on order from DigiKey to make 1 real prototype. Cost is around $50 for the parts, plus around $60 for the PC boards, not including the GPS and accelerometer which I already have. Not too bad for a single quantity.

    I'll be populating 1 main board and 1 expansion "A" board once the boards arrive from the PCB house on Wednesday.

    Once that is proved, I will continue with the software side of things.
    Loving the progress and anxiously awaiting the end result.
    Quick question though...kinda unrelated to the OpenOBC discussion, but maybe not. Is it possible to modify or reprogram the OBC or Check Control Module so that it can properly monitor the lighting circuits running LED's and Xenons instead of regular incandescent and halogen bulbs? I figure you electrical gurus would have A better chance with this than I...
    Last edited by Mpowered02; 01-19-2011 at 10:01 AM.
    Alvin Caragay
    Mpire Automotive (https://www.facebook.com/MpireAutomotive/)
    '96 AC Schnitzer S3 Sport CLS Replica (https://www.facebook.com/ACSS3SportCLSR)
    '02 E39 540iAT

  23. #598
    Join Date
    Apr 2007
    Location
    Yorba Linda, CA
    Posts
    3,781
    My Cars
    1999 TiAg M3, 2003 E46M3
    Update: The boards arrived today!!!



    and



    Quote Originally Posted by Mpowered02 View Post
    Loving the progress and anxiously awaiting the end result.
    Quick question though...kinda unrelated to the OpenOBC discussion, but maybe not. Is it possible to modify or reprogram the OBC or Check Control Module so that it can properly monitor the lighting circuits running LED's and Xenons instead of regular incandescent and halogen bulbs? I figure you electrical gurus would have A better chance with this than I...
    Thanks, it's been a fun project thus far! As far as the Check Control Module goes, to have it not throw errors for LED and HID bulbs, you'd need to crack the CCM open and swap out a few resistors to allow it to sense lower current draw and not trigger a fault condition.

    One thing the openOBC will do, however, is allow you to selectively DISABLE certain CCM messages from being displayed. For example, if you know your HIDs cause the LBF frequently, you can disable just the LBF message.

    Rats, parts shipment delayed until tomorrow. I'll have some pics of the populated boards up ASAP as I continue my testing.
    Last edited by m2pc; 01-20-2011 at 01:00 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

  24. #599
    Join Date
    Mar 2008
    Location
    Fort Wayne, IN
    Posts
    620
    My Cars
    '96 328iC, '05 Impreza, '88 LS1-RX7
    This is really slick, glad to see you making some progress!
    1996 BMW 328iC - Sold.
    2007 G35x - Daily Tourer.
    2005 Subaru Impreza - Nasty weather entertainment.
    1988 Mazda RX7 - LS1/2004r swap, 3600 RPM stall, heads/cam/TC76 Turbo, 2 Step, E85, Corvette Dana36 Rear, full suspension, yada yada... Bottled evil.

  25. #600
    Join Date
    Jul 2007
    Location
    North Delaware
    Posts
    3,013
    My Cars
    BMWs
    You have no idea how glad it makes it to see this actually happening.

    You just caught me at bad time for help. Gimme a few digital classes and then I'll be of assistance.

Page 24 of 79 FirstFirst ... 1415161718192021222324252627282930313233344974 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •