RCU Forums

RCU Forums (https://www.rcuniverse.com/forum/)
-   Engine Conversions (https://www.rcuniverse.com/forum/engine-conversions-92/)
-   -   CDI gr8flyer55 (https://www.rcuniverse.com/forum/engine-conversions-92/10662258-cdi-gr8flyer55.html)

Nav-Aids 12-09-2012 06:33 PM

RE: CDI gr8flyer55
 
I'm sorry Gompy but, I can't remember how you are measuring / calculatingthe actual spark output?

Ray

Gompy 12-10-2012 03:43 AM

RE: CDI gr8flyer55
 
1 Attachment(s)
I doit with this advance device.

Gompy 12-10-2012 04:09 AM

RE: CDI gr8flyer55
 
@Jack,

I don't can see wat you have change into version 1_B

We deside there are no other timerboards, we use timerboard B with a 12F683
If switch on pin 4 (GP3) will be closed, the PIC will be RESET.

* Pin 4(GP3) = Tied low on some timer boards, no function assigned *
=====================================
No pull-ups, if grounded table 1 must be active.

* Pin 2(GP5) = Table Switch, internal pull-up, ground for Table2 *
=====================================
MCLRE is still OFF, pin 4 do not have the RESET funtion.

__CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_ON & MCLRE_OFF & CP_OFF & CPD_OFF & BOREN_OFF & IESO_OFF & FCMEN_OFF);
=====================================
This lines I don't understand, switch ON - switch OFF ?

WPU = 0b000100; // Internal pull-ups on GP2,4,5
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
=====================================

There is also a delay of 100msec for the killswitch to reduce the noice.
It takes 16 turns befor the killswitch is gone work.
I reduce the noise allready with a capacitor, the delay for the killswitch can be removed.

Nav-Aids 12-10-2012 06:29 AM

RE: CDI gr8flyer55
 


ORIGINAL: Gompy

I doit with this advance device.
Cute, I got one of those also but, it doesn't measure voltage or current. Ok I'll put it this way, where and howare you measuring the current andvoltageto get the milli-joules, sparkpower? What are you using to measure the current and voltage of the spark? Are you measuring the spark gap with the spark gap open or with a 1 ohm resistor shorting the spark gap or are you using a 25 to 50 Meg ohn resistor to simulate the gap?

Ray

Nav-Aids 12-10-2012 06:38 AM

RE: CDI gr8flyer55
 
What do we need a reset (MCLRE) on a simple circuit when we have a power switch? IMO we can use it for something else more important like; General purpose input, Slave Select input, Timer1 Gate input, or Programming voltage.

Ray

gr8flyer55 12-10-2012 06:49 AM

RE: CDI gr8flyer55
 
Maybe in some situations the reset function would be of some use, but I have never had a problem with a pic requiring it to be reset to restart the program. If the engine stops for some reason like maybe lack if fuel, broken wire etc. , the program goes back to the main loop anyway. Anything under 2 revs per second tells the pic the engine is not running and it restarts anyway. If there would be some other condition that causes it, I have never run into it in the years of using it.
I would be in favor of leaving it turned off and use the pin for something else later.

John

captinjohn 12-10-2012 08:39 AM

RE: CDI gr8flyer55
 
anyone need a small 1/4x32 sparlplug???

https://www.google.com/search?source...+1%2F4-32+plug

Gompy 12-10-2012 12:33 PM

RE: CDI gr8flyer55
 
THE PIC 12F683 DON'T GET OTHER FUNCTIONS ANYMORE.

Jack don't want spent more time to the 12F683 software !
The only thing I can think about to use pin4 will be a RESET-function.
Only a small piece of txt change with a funtion to pin 4.

gr8flyer55 12-10-2012 01:20 PM

RE: CDI gr8flyer55
 
Jake said he was very busy between work, school finals, and I guess the girlfriend too. If it would work, I'd just edit the source code myself in the excel sheet. You can view it, but not sure if you can edit it while viewing and still have it correct when you try to compile it. I've done it before, so if there's no further changes being made to the code I'll edit it and see what happens, if anything.

I know why you want the reset Rob. Not a problem either way for the rest of us I would think.
On my 3 boards it doesn't matter if the jumper is on or not as the software has it turned off right now as Rob pointed out. I guess now I have a 4th and final version B board to etch and build tonight. Might as well make a few while I'm at it in case this project really takes off. Well, I doubt it. The only person that requested a board so far was Jake. Maybe this isn't such a hot project after all eh?
The only thing I use the features on is my engine test stand. Once testing is over, no need for a second advance table. I already have a kill switch on my ignition board, so there goes that one too. Oh well. It starts, runs well, and it works, what more can I say.


John

Gompy 12-10-2012 02:00 PM

RE: CDI gr8flyer55
 
1 Attachment(s)
A specialy for you John......BUT i want to have my RESET if you accept.

gr8flyer55 12-10-2012 02:16 PM

RE: CDI gr8flyer55
 
Hi Rob.
I was just thinking out loud I guess. That schematic looks familiar, hmmmmmm.
I guess you can have your reset Rob. LOL.
I will just use a jumper, or not.


So, I was testing some new curves today and found that if I pull the reset jumper off while the engine is running, it shuts off the engine, so that means it is functioning Rob, just kind of backwards huh?
Shouldn't it work the other way? If you ground it, it should reset? I'm confused now. Last version of the code it made no difference, jumper on or off, it kept on sparking. Not with this version B software. Maybe he already fixed it?

John

Gompy 12-10-2012 02:26 PM

RE: CDI gr8flyer55
 
You have change line 46 ?

__CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_ON & MCLRE_OFF & CP_OFF & CPD_OFF & BOREN_OFF & IESO_OFF & FCMEN_OFF);

To

__CONFIG(FOSC_INTOSCIO & WDTE_OFF & PWRTE_ON & MCLRE_ON & CP_OFF & CPD_OFF & BOREN_OFF & IESO_OFF & FCMEN_OFF);

Now reset is active (MCLRE_ON)

Change it only into the 12F683 code.

Pin 4 isn't a jumper anymore if you change the line, but a moment switch NO.
Why I want a RESERT, because I test and sometimes the PIC need to be a reset.
In to the code it isn't use, why don't we use it....only if it is a reset, but now we do somrthging with it.

BTW, you don't like the output to the HV-board of the schematic into my last post ?

gr8flyer55 12-10-2012 02:41 PM

RE: CDI gr8flyer55
 
Yes rob I like the schematic just for me. Thanks. I edited my reply above, but I guess you missed it. Your pretty fast on the keyboard these days!!

John

Nav-Aids 12-11-2012 05:39 AM

RE: CDI gr8flyer55
 
Ok Rob, ....You...... have a reason for a reset. This is why I like open source.

Ray

Gompy 12-11-2012 09:00 AM

RE: CDI gr8flyer55
 
17,500 rpm - 271 Volt - 1 Ampere - 72 mJ

[youtube]http://www.youtube.com/watch?v=cw3wqrZaLr8[/youtube]

Gompy 12-12-2012 05:22 AM

RE: CDI gr8flyer55
 
There is a problem with the max rpm, at 12,500 the timer jumps to somewhere 90 degrees BTDC.
I use the standard table like it is into the Exel-file from the website.

gr8flyer55 12-12-2012 07:36 AM

RE: CDI gr8flyer55
 
Sounds like maybe a math error in the current revs loop in the program lookup table. Time for Jake to take a serious look at the program to find a cure. I only tested to 10,500 rpm so never got to the problem area. Good thing you tested higher Rob !!

John

Gompy 12-12-2012 07:48 AM

RE: CDI gr8flyer55
 
More problems, if I program a straight line of 30 degrees, the the timing will be 10 degrees more at higer rpm.
I use both, a hallsensor and a optosensor with a 5 degrees angle, but with the a real flashlight the timing is wrong.
It starts good untill 1000 rpm, but when I speed up it goes wrong.
The timing looks like a 4 stroke......30 degrees BTDC at 1000 rpm will be 40 degrees BTDC at 6000 rpm.

gr8flyer55 12-12-2012 10:14 AM

RE: CDI gr8flyer55
 
I agree with you Rob, there is definitely something going wrong in the program for it to cause this. Have you tried the version before version 1.0 to see if it is just the latest version?
The version I ran on the B board is the older one before 1.0 and didn't see this happen to it. I used my timing light and it was tracking rpm and advancing like it should. Must be the new version at fault.
I jumpered pin 8 on the pic to ground on the back of the board to fix the board problem you told me about and that fixed the reset jumper problem not working. Now one last glitch with version 1.0 for the 683 chip and maybe we will be ok again. Always something isn't it? Lol
BTW Rob, have you set the hall sensor degrees in the setup settings? Jake had it default to 49 degrees for his setting in the excel sheet. I changed that setting to 32 degrees for my curve setup on the sheet. Didn't have any problems after that with the older version before 1.0 .


John

Gompy 12-12-2012 10:26 AM

RE: CDI gr8flyer55
 
[youtube]http://www.youtube.com/watch?v=1OEmtSd0QpY[/youtube]

Nav-Aids 12-12-2012 10:41 AM

RE: CDI gr8flyer55
 
Rob,are the timing tables loadedthe same?

Ray

Gompy 12-12-2012 10:51 AM

RE: CDI gr8flyer55
 
1 Attachment(s)
Curve 1+ 2

gr8flyer55 12-12-2012 12:53 PM

RE: CDI gr8flyer55
 
Ray, now that you have one of the working timer boards, program a 683 chip with the setup specs and Rob's curve and see what you get for results. I just tried version 1.0 software and am not seeing the problem Rob is seeing. More eyes on a problem may see what is causing it. I know if I type in my start up setting for hall position on the engine at 32 degrees, eliminating Jake's setting of 49 degrees, it works for me. Unless there is another glitch somewhere, this setup works on my running engine tracked with a timing light up to 8,000 rpm's. Check if you can and let us know what you find.

John

gr8flyer55 12-12-2012 01:01 PM

RE: CDI gr8flyer55
 
Rob, in the screenshot you posted of the curves, how did you get all the ## symbols in the degree and rpm blocks? Mine looks. Nothing like that. Mine has all blocks filled with numbers , whether it's degrees or rpm figures.
Doesn't look right to me.

John

Gompy 12-12-2012 01:05 PM

RE: CDI gr8flyer55
 
You have te use M$ 2010, all others don't work.

BTW,

You need more then 40 degrees BTDC if the engine run faster then 8,000 rpm.
The SCR puls is 300 usec long, 100 usec is more then enough, but 300 usec = ~20 degrees.
With 30 degrees advance this will be 50 - 55 degrees BTDC you have to fix the hallsensor.


All times are GMT -8. The time now is 08:14 PM.


Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.