Jump to content

IvyMike

Members
  • Posts

    235
  • Joined

  • Last visited

Everything posted by IvyMike

  1. Sodium Saccharin for the most part, at least in one form.
  2. Wish I had seen this a week ago. Locked it in yet? EDIT: https://www.trademe.co.nz/a/marketplace/business-farming-industry/industrial/manufacturing-metalwork/welders/listing/3266379839?bof=QecdUlNO
  3. What resin do you use for your castings and at what ratios? The quality looks great.
  4. Just try this.. void activateCoilsIfLow(uint8_t inPin, uint8_t outPin) { volatile unsigned long timestamp = 0; if (analogRead(inPin) <= sensorThreshold){ coilState = HIGH; coilPin = HIGH; digitalWrite(outPin, HIGH); timestamp = micros(); while (coilState == HIGH && coilPin == HIGH && (timestamp + coilCharge) > micros()); //Busy wait digitalWrite(outPin, LOW); coilPin = LOW; timestamp = micros(); while (coilState == HIGH && coilPin == LOW && (timestamp + dwell) > micros()); coilState = LOW; coilPin = LOW; } } I'm not sure how long your trigger period is, whether an ignition cycle could repeat during one combustion cycle, or whether that would even matter.. but I assume this would do what you're intending your code to do.
  5. Would it be on time? I think your misfiring is caused by the main execution loop having to cycle through all the other cylinders before coming back to the active coil and checking micros() as the while loops behave like if statements. Have you tested the frequency of the main execution loop? I know some of those Arduino library calls can be particularly slow which could be causing large lapses in time.
  6. Maybe I'm missing something here but how does currentMicros get updated within the while loops? Edit: Nevermind, just realised that this operates across calls to activateCoilsIfLow. Is there any point in guarding the second two while loops with the state of the input sensor once you've put the coil state into high? Maybe the input sensor state is changing and preventing the later two loops from being executed.
  7. Congrats. How did you sort the ignition drivers in the end?
  8. Could be a 555 flasher circuit or some other astable multivibrator. Pretty much what Yowzer described. Hard to know without seeing the layout.
  9. Does the flash rate slow down? Total stab in the dark but I'd guess your multimeter probe is introducing some stray capacitance
  10. It's going back a while but I think you only had to drill out the holes on the turbo exhaust housing to fit the old studs, grind away a bit of the exhaust housing so that the nuts could turn, and fit a new oil line. You will need a new down pipe as well I think.
  11. Yeah, that's usually how it starts out until you get used to it. A tc05 exhaust housing will give you better response but at the expense of top end. I think the A/R is 0.49 for them. I had a TC06 on another engine with the standard exhaust housing (0.63 A/R IIRC), it wouldn't get on boost until 4000rpm. To be honest a lot of those older TC series turbos are pretty inefficient, even the td05-14B wasn't too good at higher levels of boost. I think either the small 16G or big 16G is the standard port of call, they give you a lot of leg room if you want to do something later.
  12. I had a td05-14b on a rebuilt G63B years ago. Managed 200rwhp @ 13psi with a type A injection system and 8.5:1 compression. Definitely doable without too much tweaking, but that was on its outer limits though.
  13. Good to hear. Might be better off flushing the buffer if that's the issue. The only reasons I can think of that would stop the coil from firing are, as you said, not enough volts or you placed some form of resistance after the IGBT. Typically the gate needs to be at least 4V higher than the emitter with an IGBT.
  14. On your schematic it connects to the boost converter + via a 330 Ohm resistor, states grounds are separate. Is that what you meant? Grounds should never be coupled using resistors and all elements of a circuit should be tied to a common ground. Also, I'm a bit dubious about you tying the output of each FET/IGBT to ground behind a diode, I'd get rid of them. I'm pretty certain most ECUs run low side drivers i.e. place the IGBT after the coil so it grounds the coil. I think right now, without the use of a bootstrap circuit (something to ensure that Vg is always higher than Vs) you've got some funky stuff going on as the inductive kickback will overwhelm in the input signal. Somehow you've managed to get it to latch up each gate using those resistors but it definitely doesn't stand a chance doing what you want it to with the IGBTs signal input being tied to ground via diodes. Fuck it, this is roughly how it should look: This will invert the signal but you can just negate that in software (Coil fires from high to low). Might be worth protecting Vcc with a diode on the IGBT side. EDIT: Also, I forgot to add a resistor between the driver FET and Vcc. Right now it'll just short and explode.
  15. Random guess: try prefixing " int thermoSensorNewVal, thermoSensorOldVal;" with "volatile". Also, does the arduino share a common ground with the 12V boost converter?
  16. Are you busy waiting serial commands in the main execution loop? Might want to switch to hardware/interrupt based serial communication if that's the case.
  17. Yeah, my comment might've been a bit ambiguous. Meant post the rectifier/DC cap.
  18. Any idea what sort of load you are putting on that rectifier? Would've thought Ali would have something in the way of a buck boost converter, something to help stabilize the rectified DC. Maybe this?
  19. Have you checked out any application notes? They're usually packed with related information. EDIT: This is probably a bit more useful: http://www.cde.com/resources/technical-papers/design.pdf
  20. Spinning a magnet across the pickup circuit is probably introducing stray currents. You could use an opto isolator to protect your arduino but really you want to shield the supporting circuitry of those hall sensors.
  21. I had a play with the stm32f429 disco a few years back. Took quite a while to get the configs setup correctly as stm cube was quite buggy, especially when you're using a lot of other peripherals. Maybe it's better now? They provide a graphics library called stemwin which is pretty handy for building a generic GUI.
  22. Maybe. When you connect/disconnect the Arduino does 'Port' under the Tools menu display an extra COM port? (Make sure you collapse the menu to allow it to refresh its state)
  23. Yeah, Arduino isn't really VGA/HDMI friendly. It might pay to use a Raspberry Pi instead. Youtube has loads of tutorials for those as well.
  24. If you get yourself an Arduino and a basic display (LCD1602 or similar) that shouldn't be hard to accomplish. If you use something like this as a guide: https://www.youtube.com/watch?v=dZZynJLmTn8 it should help you get on your feet.
  25. IvyMike

    PAINT THREAD

    Yeah, I figured it's a marketing exercise but I wrote to them anyway just to see what really qualifies as "protection". I've been rolling the 3M ones for a while now, I don't reckon they give you much protection from 2k. I've only shot it a couple times when I needed to use an epoxy. I was outside and upstream from the spray and I still reckon it got me despite being covered head to toe.
×
×
  • Create New...