Jump to content

Ghostchips

Members
  • Posts

    4869
  • Joined

  • Days Won

    5

Everything posted by Ghostchips

  1. Yes i found enough pieces of bronze ones to make about 80% of one, then faked the rest with bits from the rustiest one i could find. Not sure why i spent about...50 hours on it? It's a ...questionable? design, like, Victorian era "I just designed an engine that runs on gas & want to run it on liquid fuel & this is the best I have" design. Not horrible, just weird. They have a 'toilet lid' looking flapper in them and a bowl of gas, and tubes, and the flapper not only regulates how much air (yes air) gets sucked into the main jet but opens at speed as a kind of mixing valve? And doubles as a backfire arrestor. Weird, logical enough, but horridly old fashioned.
  2. I picked through a bucket of parts & found them. Should be enough parts for 1 good one. I think the parts carb' was one you gave me too. Do you need a giant 3 litre lawnmower engine carb?
  3. Huh.... someone gave me rusty carb's. At first i couldn't find any, now i have spares.
  4. Forget that one, the new tune is better. That one sounded like a series of tiny gearshifts, kind of like an early fast&furious movie. Eww why is there a digital thing on my dash? Oh, if i look closer it's an exhaust temp' sensor. But the gauge seems to have suffered damage from a 25 volt alternating current charging system. But it worked for a month so i guess i got enough data...
  5. They only need 10 seconds of water flow every 1 minute. And that plug does look a bit lean but i run mine at 9.5:1 so i might be bias.
  6. I thought ellerslie was fine as long as someone gets broken leaky BW35 on their doorstep if they complain?
  7. Would have but i think i'd get lost again. Great idea though.
  8. If i increment the math side of things by 100 it stays at full advance all the time. By 1,000 - 10,000, same thing. It even advances while sitting there not turning over, but will retard while running. Please tell me how bad my math is.
  9. Don't mind this, it's just a basic, primitive tune i spent the afternoon adjusting // constants won't change. Used here to set a pin number: const int coil1 = 3; const int coil2 = 5; const int coil3 = 7; const int coil4 = 9; const int sensorPin1 = A4; const int sensorPin2 = A1; const int sensorPin3 = A2; const int sensorPin4 = A3; int sensorValue = 0; int sensorThreshold = 200; int sensorMax = 0; // Variables will change: volatile int coilState = LOW; volatile int coilPin = LOW; volatile int sparkTriggerDelayActive = false; //added this to try & see if i can delay spark at low RPM. volatile int sparkTriggerDelay = 0; volatile unsigned long rpmCurrMicros= 0; volatile unsigned long rpmOldMicros = 0; volatile int sensor1TriggerCounter = 0; // counter for the number of button presses volatile int sensorTriggerState = false; // current state of the button volatile int lastsensorTriggerState = true; // previous state of the button/sensor in this case. // constants won't change: // Generally, you should use "unsigned long" for variables that hold time // The value will quickly become too large for an int to store const long dwell = 10; // but this is how long the "points" are open, open longer reduces duty cycle of coils. // constants won't change: const long coilCharge = 2; // interval at which to charge coil (milliseconds) void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(coil1, OUTPUT); pinMode(coil2, OUTPUT); pinMode(coil3, OUTPUT); pinMode(coil4, OUTPUT); pinMode(A4, INPUT_PULLUP); pinMode(A1, INPUT_PULLUP); pinMode(A2, INPUT_PULLUP); pinMode(A3, INPUT_PULLUP); } void activateCoilsIfLow(uint8_t inPin, uint8_t outPin) { volatile unsigned long timestamp = 0; sensorTriggerState = true; if (analogRead(inPin) <= sensorThreshold) { if (lastsensorTriggerState = (false)) { delay(sparkTriggerDelay); lastsensorTriggerState = true; } else { coilState = HIGH; coilPin = HIGH; digitalWrite(outPin, HIGH); timestamp = millis(); while (coilState == HIGH && coilPin == HIGH && (timestamp + coilCharge) > millis()); //Busy wait digitalWrite(outPin, LOW); coilPin = LOW; timestamp = millis(); while (coilState == HIGH && coilPin == LOW && (timestamp + dwell) > millis()); coilState = LOW; coilPin = LOW; } } else if (analogRead(inPin) >= sensorThreshold) { sensorTriggerState = false; if (sensorTriggerState != lastsensorTriggerState) { rpmOldMicros = rpmCurrMicros; rpmCurrMicros = micros(); lastsensorTriggerState = false; rpmConsultRatioTable(); } } } void loop() { activateCoilsIfLow(sensorPin1, coil1); activateCoilsIfLow(sensorPin3, coil3); activateCoilsIfLow(sensorPin2, coil4); activateCoilsIfLow(sensorPin4, coil2); } void rpmConsultRatioTable() { if (rpmCurrMicros - rpmOldMicros >= 497512) //sub250rpm { sparkTriggerDelay =0; } else if (rpmCurrMicros - rpmOldMicros <= 255024) //125rpm { sparkTriggerDelay =57; //prev'55 } else if (rpmCurrMicros - rpmOldMicros <= 169491) //177rpm { sparkTriggerDelay =39; //prev' 37 } else if (rpmCurrMicros - rpmOldMicros <= 127512) //250rpm { sparkTriggerDelay =27; //at 250 RPM and 45 degree sensor advance, this would be 30ms to TDC, subtract 2ms for coil charging and subtract more m.s. for advance } else if (rpmCurrMicros - rpmOldMicros <= 85008) //375rpm { sparkTriggerDelay =16; } else if (rpmCurrMicros - rpmOldMicros <= 61000) //500rpm { sparkTriggerDelay =11; } else if (rpmCurrMicros - rpmOldMicros <= 48000) //625rpm { sparkTriggerDelay =7; } else if (rpmCurrMicros - rpmOldMicros <= 41000) //750rpm { sparkTriggerDelay =2; } else if (rpmCurrMicros - rpmOldMicros <= 31500) //just under 1000rpm { sparkTriggerDelay =0; } } Posting this here so i can find it later if i'm not home. Side note: i am probably the only person using milliseconds to determine when to fire the plug compared to using actual degrees.
  10. After deciding that i can't really devise a means of making a sparkplug ionization measuring device at home... Has anyone here used inductance on the coil lead to calculate the delay of firing a coil to the point of the spark occurring? Bonus points if it's an earth lead on a C.o.P. setup.
  11. If you're asking how much of the closing face needs to be lapped to fit. It should have a minimum ring, if the seat is cut on 2 angles and the valve face would be lapped for maybe half a mill' or so? Reason being that sharp edge cuts through carbon, but is still wide enough to dissipate heat. Obviously i do 1-2 mm on my dinosaurs so maybe you shouldn't take my advice. Or i answered a different question altogether.
  12. I have no idea what that made cold starting easier but in the limited tests i did (2 tests. Not very accurate) it did.
  13. Not sure how to test the frequency of the main loop without an oscilloscope so i had it serial print for 30 seconds. Which told me the baud rate was the limiting factor. E.G. Versus Edit: what happened to the text with the other rate ect? Anyhow. adding "coilState = LOW" in the 'else' statement has transformed the open road running. Work much like i intended (Duhh what an oversight that was!) Would drive fine. But it's now hard to start & misses at 120-500 RPM? Can't figure that one out.
  14. Good observation, but if that happened it'd cut power to the coil which would result in a spark. So not a bad result as it'd be "on time" rather than lagging.
  15. Edit: Forgot to mention this is a nano 328P about 16.000hrtz? If that makes a difference to the way it runs. So.. this runs really weird on manual advance mode, seems to lag at certain RPM, then suddenly the timing will become accurate for a slightly higher RPM, then lag for the few RPM above that. Revving stationary it'll be fine at idle to ...1100RPM? cough & pop out the carb' until 1700 RPM. On the road you can feel it lurching at cruise speeds, each time the RPM rises or falls across that threshold that spans maybe... 10RPM layers where the lag disappears & re-appears, judging from the exhaust sound and gas temp' gauge reading 50-70 degrees above normal it's running retarded. Feels like a cross between riding a horse and "Run out of gas & sloshing the last bit of fuel in the carb' bowl over the main jet" surging. At 1600-1700 RPM or so it'll lose that lag & fire on time every time, feels like someone hit Vtec. Tried changing micros to millis ect, same effect. 6,000 worked better than 10,000 micros. Meanwhile. This crappy delay code will run perfectly. But doesn't have any advance/retard (and if i tried to add that i'd lose lots of time to calculate it due to the delay...)
  16. Depends what paint you want used. I have a spray gun and you've seen the cars i've painted.
  17. Did you know those high voltage generator things they sell on ebay are actually really good for low revving engines as ignition parts? The increase in fuel economy is slightly better than the electronic ignition i am using currently. I suspect they burn away the spark plug electrodes over time though. I might explore better power supplies in the future & re-visit this idea. Do try it.
  18. I know someone used a power steering pump /ling
  19. I can wind the mixture screw in 1/8th and not melt the pistons. i also made a music player for summer. The first one, had no support for remembering where it stopped playing when it was turned off & i didn't want to stress the EEPROM by writing to it every time you changed a song. So i made this hilarious work around. The first one, had no support for remembering where it stopped playing when it was turned off & i didn't want to stress the EEPROM by writing to it every time you changed a song. So i made this hilarious work around. Ultra capacitors running the player for a few seconds after it is turned off.
  20. Not entirely, but you could use it for knock sensing. https://www.vehicular.isy.liu.se/Publications/Lic/02_LIC_962_IA.pdf As i read this i have no idea how to couple a high voltage coil to it or to a sensitive analogue input i'd likely use without frying something. The marvels of modern technology.
  21. Some default state according to what i based it on. Only just now noticed this utterly disgusting computer seems to have not copy-pasted the rest of neds code. enum warningStates_t {IDLE = 0, WARN_MINOR, WARN_GENERAL, WARN_DIRE}; warningStates_t curState, oldState;
  22. I saw someone who did this, but with ford pickups. It was cert'ed as a body swap. /ling
  23. Umm i can't edit the prior post to have //high is turning the coil on for 2ms and low turns it off & makes a spark. //wait 10 milliseconds then turn the coil on again, saves much battery. I do question why this doesn't compile
×
×
  • Create New...