writting code for a 16 X 16 Table


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Melbourne, Australia
    Posts
    25


    Did you find this post helpful? Yes | No

    Smile Custom Fuel injected Rideon

    Thanks to everyone that responded. Its been great.

    This project is for a fuel injected rideon. i have compleded an analogue circuit and it works ok. but i am not 100% happy with it. the o2 sensor is sensing if the engine is rich or lean. the pic's (16f877a @ 20MhZ) job is to make sure it stays correct at 14.7 with injecting the correct amount of fuel at its given RPM / LOAD thats why i am needing a table.

    The max rpm the engine will do is 3600

    Is there any way to make the table bigger than 16 X 16
    ie 64 X 64?


    thanking all in advance
    IF ITS STOCK IT WONT ROCK

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes, use an external EEPROM or use a variant of 'Embedded string in your CodeSpace' thread
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    And again, you do realize that a regular 2 wire O2 sensor doesn't tell you what your A/F ratio is, it just tells you if you're running rich or lean. And it only tells you that if let it switch between rich and lean.
    The ECM's don't try to maintain an exact .5v from the O2 sensor (that's practically impossible), they run the engine just a bit leaner, wait for the O2 sensor voltage to drop, then run it a bit richer, wait for the O2 sensor to rise, the start the process over again. They call it 'O2 sensor crosscounts'. On normal engines (well, ok, mine for example, '01 Dodge Ram), I measure around 30 cross counts, which means 30 times second, my truck's computer has recognized that the O2 sensor has swung lean, so it richens up the mixture, then it see the O2 sensor swing rich, so it lean out the mixture.

    See that?

    Do a Google search for 'MegaSquirt' do-it-yourself fuel injection system, you'll see what I mean by all this.

    JDG

Similar Threads

  1. decoding quadrature encoders
    By ice in forum mel PIC BASIC Pro
    Replies: 93
    Last Post: - 28th February 2017, 09:02
  2. PC Scan Code Table
    By Melanie in forum Documentation
    Replies: 1
    Last Post: - 18th November 2009, 19:36
  3. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Embedded Strings in your Code Space
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 9th March 2008, 07:50

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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