Search results

Home Model Engine Machinist Forum

Help Support Home Model Engine Machinist Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
  1. 74Sprint

    Model Engine Ignitions

    Andy I checked and the interrupt is firing that's for sure, not exactly sure why but.... On the scope it shows that there is an ignition noise pulse showing up on the output of the 2N4403 which feeds to the int0 on pin 2 which should fire the interrupt. I believe this is where I'll start to...
  2. 74Sprint

    Model Engine Ignitions

    I forgot to mention, on the scope at very high RPM it looks like it is firing on every other pulse but, it's not really, this is just the scopes triggering off channel1. If I just use channel 2 the output trigger then everything is fine. I'm still trying to learn all the features of this scope...
  3. 74Sprint

    Model Engine Ignitions

    Sorry about the confusion of what I wrote but, what I meant was a 'Murphy's law' thing because, I did several runs and didn't have the spark quit. But when I made the movie I was trying to hold the phone and watch what I was recoding. I have a bad connection on the trigger going to the coil and...
  4. 74Sprint

    Model Engine Ignitions

    Making Sparks: Making Nano Sparks movie Finally I'm making sparks and 1 thing is for certain my jury-rigged timing light sucks, I'll make a better one. I made a slow -mo movie but, it kind of sucks also and had to use my editing software to look at it frame by frame. It showed that on one...
  5. 74Sprint

    Model Engine Ignitions

    The ignition curve: Ignition advance movie Have you ever had one of those days when you have a brain fart and spend hours doing something only to realize the answer was staring you in the face? Of course you have, your a hobbyist. Well I had one and it related to the EEPROM. To check out the...
  6. 74Sprint

    Model Engine Ignitions

    I have been working with electronic ignitions since 1975 and programmable ignitions since 1996. I have seen many different types from ones using the intel 386 to dedicated processors of today (ASICs). All the ones that I have seen or read about need at least 2 pulses to sync the angular velocity...
  7. 74Sprint

    Model Engine Ignitions

    That's what I was going to use (ESP32) as a backup mcu incase the Nano didn't/doesn't work out. The code I'm using and because Arduino works with both our processors my code should workout for both. Ray
  8. 74Sprint

    Model Engine Ignitions

    Well I did more testing yesterday and this morning. Didn't get as much done as I had wished but, that's the way it goes sometimes. First of all, I bought myself a new digital scope to replace my old Phillips one some months ago. It's a Rigol DS1054 4 channel with all the updates including...
  9. 74Sprint

    Model Engine Ignitions

    Thank you Peter. Question? ESP32 or DSP-PIC32 Ray
  10. 74Sprint

    Model Engine Ignitions

    Good news, bad news, good news. The first good news; I hooked the Nano up to the Hall-Effect circuit and it works nicely no adjustments required other than 1 line of code. Bad news is that my trigger out pin had tons of jitter and I had very poor control of it. The trigger out pulses when set...
  11. 74Sprint

    Model Engine Ignitions

    Point taken. Yes it will block in the ISR but, I can get away with using an interrupt with the pulseIn. Normally the pulseIn is just placed in the main loop and blocks there until the pulse is done so, it will still block the updating of the LCD. I don't plan on using the LCD as a primary tach...
  12. 74Sprint

    Model Engine Ignitions

    Well I did some more work today as much as I can because of my surgery. Anyway this is what I've done today. For starters I have disabled the temperature and LCD functions in my code for now and will add them back in later. I want to concentrate on the core of get a spark out which means I'm...
  13. 74Sprint

    Model Engine Ignitions

    I know when things get into high power & voltage things tend to get a bit weird. :) Anyway I did some more testing of code to see how long it takes to do the calculations of RPM, degrees to TDC, and to lookup a value stored in the EEPROM. It shows that all the calculations and lookup will take...
  14. 74Sprint

    Model Engine Ignitions

    On locomotives they don't have anything that fancy, just switch gear for forward and reverse and power contactors for for power and dynamic braking. It's the power contactors that handled up to 1Kv and 1,200 amps each, 6 of them, one for each motor. If the power contactors opened somehow under...
  15. 74Sprint

    Model Engine Ignitions

    I've been to your website and I like it for the tid-bits and info. I worked for the railroad for 10 years and I still can remember seeing the flames come out of those arc-chutes on the switch gear and the bang that sounded like a gun going off in the cab. LOL Ray
  16. 74Sprint

    Model Engine Ignitions

    Right, I did it again typed it out wrong :) Thanks again. There is pulseIn() and pulseInLong(). I believe the serial buffering is up to 2 bytes so not very good, it depends on how it is used, serial com or SPI. I have to rewrite some code for my coil winder because the serial com is not working...
  17. 74Sprint

    Model Engine Ignitions

    Let's see I've worked on tractors, trucks, cars, and airplane engines from the 1930's and cars from the 1920's. I still like working on them when I get a chance and yes it is nice to see them just run. I really like going to the steam days where they have all the old stuff steam and petrol in...
  18. 74Sprint

    Model Engine Ignitions

    You know I found that mistake yesterday morning and in the correct version time is in msec, also my correction factor changed to 0.325, (1/(Tmsec*0.325))*600 = RPM. How correct and accurate will be determined once it's all put together. My table looks like this: Hz Pulse Width RPM Time msec...
  19. 74Sprint

    Model Engine Ignitions

    Holly crap! how did you manage to read my code? :) I'm not sure from what you're saying would give me 1 degree precision. I'm willing to try it if you can expand on your thinking. Actually using an index is how I get the EEPROM memory location to read. This is a lot faster than calculating the...
  20. 74Sprint

    Model Engine Ignitions

    A little more work on the calculations. So now that I know the RPM what's next? Well I need to know how fast are the degrees flying by. so (RPM x 360 degrees) / 60 = degrees per second. Example: 300 x 360 = 108,000 per minute 108,000 / 60 = 1,800 degrees per second I know that...
Back
Top