CDI gr8flyer55
#751
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
2 stroke start at 5 degrees BTDC for easystart and go back to 28 degrees when the engine runs (100 rpm ?).
When the engine runs, the timing go back to (race engines) 5 degrees BTDC but I think this engines to 15 or 20 degrees BTDC with full trottle.
4 stroke start also at 5 degrees BTDC but building up the degrees to 20 degrees or more BTDC if the engine runs full trottle.
BTW, If the flashlight is working I will post as allways the schematics and pcb's.
When the engine runs, the timing go back to (race engines) 5 degrees BTDC but I think this engines to 15 or 20 degrees BTDC with full trottle.
4 stroke start also at 5 degrees BTDC but building up the degrees to 20 degrees or more BTDC if the engine runs full trottle.
BTW, If the flashlight is working I will post as allways the schematics and pcb's.
#752
RE: CDI gr8flyer55
ORIGINAL: Gompy
There is, use the SCR output from the PIC.
I was work on it, but you send me the CDI boards so I have to stop with the flashlights.......your fault
I was just into town to buy some new SCR to use the strobe flashlight with Xenontube.
When I test the first desgne, I forgot the Voltage is turn backwards when the light flash.
The SCR don't like it and blowup, now I'allmost done with it, only findout the switching points wothout disturbe the CDI.
There is, use the SCR output from the PIC.
I was work on it, but you send me the CDI boards so I have to stop with the flashlights.......your fault
I was just into town to buy some new SCR to use the strobe flashlight with Xenontube.
When I test the first desgne, I forgot the Voltage is turn backwards when the light flash.
The SCR don't like it and blowup, now I'allmost done with it, only findout the switching points wothout disturbe the CDI.
http://www.microchipdirect.com/NewPr...ltree&TreeID=6
#753
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Rob, if I use Nyemi's 683 chip and the RCexl curve in it on my 4 stroke, the engine runs great, not so good with Jake's software though, even if I program the same basic straight line curve Nyemi's software uses, something is different.
John
John
#754
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
In old 4 stroke cars there was a vacume pump.
This vacume pump move the points to early ignition.
So the ignition wil be sooner then normal, say normal 20 degrees.
Sooner wil mean more degrees befor TDC, say 30 degrees BTDC.......NOT less till TDC.
If you program a straight curve, the engine will run also....if you gane somewhere around the 25 degreed BTDC.
BTW, the differend between Neymi and Jake can be the way they calculate the position on the time table.
This vacume pump move the points to early ignition.
So the ignition wil be sooner then normal, say normal 20 degrees.
Sooner wil mean more degrees befor TDC, say 30 degrees BTDC.......NOT less till TDC.
If you program a straight curve, the engine will run also....if you gane somewhere around the 25 degreed BTDC.
BTW, the differend between Neymi and Jake can be the way they calculate the position on the time table.
#755
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
The winner lives a cross the street where I live in 1980, thats why I know something about tuning.
We both drive Kreidler, with the differens.....he was running a race bike (24hp) and I a street bike(9hp).
We live about 10 km away from eache other, but he don't do anything with small bikes anymore []
[youtube]http://www.youtube.com/watch?v=yZrZboBF8ME[/youtube]
BTW, you can set subtitle to English.
We both drive Kreidler, with the differens.....he was running a race bike (24hp) and I a street bike(9hp).
We live about 10 km away from eache other, but he don't do anything with small bikes anymore []
[youtube]http://www.youtube.com/watch?v=yZrZboBF8ME[/youtube]
BTW, you can set subtitle to English.
#757
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
The only way I can run my OS 61 4 stroke is with either Nyemi's curve or a true Syncro Spark module. Tried basically the same curve in Jake's and at about 3,000 rpm it backfires and the prop flies off. Not good or fun either! I am getting good at ducking flying props however. Lol
John
John
#758
RE: CDI gr8flyer55
Help! Is the "static void interrupt isr(void)" routine called or is it just likean event handler? I can't remember how interrupts are handled in'C'but I'm sure it is just like an event handler or interrupt handler in asm.
Ray
Ray
#759
Senior Member
Join Date: Aug 2011
Location: Moscow,
ID
Posts: 144
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
"static void interrupt isr(void)" is the interrupt service routine. It is called whenever an enabled interrupt is generated.
Once it is called it will service one interrupt flag since I'm using an if/elseif structure. Everything happens in the ISR since the program is interrupt driven. The main loop just checks the kill and table switch pins, and services them if needed.
-Jake
Once it is called it will service one interrupt flag since I'm using an if/elseif structure. Everything happens in the ISR since the program is interrupt driven. The main loop just checks the kill and table switch pins, and services them if needed.
-Jake
#760
RE: CDI gr8flyer55
Thanks Jake, so it works just like I thought, create a function with the interupts name and add the logic. I started geting into PIC programming a few years ago but, got side tracked by life. It's amazing how fast 'C' programming comes back, I just have to fill in a few holes.
Ray
Ray
#762
Senior Member
Join Date: Jun 2012
Location: , TX
Posts: 192
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
.<pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-size: 13px; ">
http://www.ebay.com/itm/271087058436...84.m1555.l2649
http://www.ebay.com/itm/271087060641...84.m1555.l2649
http://www.ebay.com/itm/271087063695...84.m1555.l2649
http://www.ebay.com/itm/271087067925...84.m1555.l2649
http://www.ebay.com/itm/271087071975...84.m1555.l2649
http://www.ebay.com/itm/271087054041...84.m1555.l2649</pre>
http://www.ebay.com/itm/271087058436...84.m1555.l2649
http://www.ebay.com/itm/271087060641...84.m1555.l2649
http://www.ebay.com/itm/271087063695...84.m1555.l2649
http://www.ebay.com/itm/271087067925...84.m1555.l2649
http://www.ebay.com/itm/271087071975...84.m1555.l2649
http://www.ebay.com/itm/271087054041...84.m1555.l2649</pre>
#764
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Charlie, I set all my engines @ 28 degrees BTDC. I think I know why I have the prop problem with the 4 stroke now. Nyemi's fires after magnet leaves sensor and Jake's is set for approach. That gives it a few degrees too much advance on my 4 stroke. I knew I'd figure it out eventually. Will try reducing it to about 25 and see what happens. Not as easy on the OS since I have a disc behind the prop drive washer and have to remove it to reset timing.
John
John
#765
RE: CDI gr8flyer55
Jake I finished reading up about the 'GIE' and the 'ISR' and have a clearer picture of things. Hopefully soon I will be able to help you with the coding, proofing, and debugging. I downloaded the 12F1840 code but haven't looked at it yet but, the 1840 sure has a lot more bells and whistles.
Ray
Ray
#766
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
ORIGINAL: Nav-Aids
Jake I finished reading up about the 'GIE' and the 'ISR' and have a clearer picture of things. Hopefully soon I will be able to help you with the coding, proofing, and debugging. I downloaded the 12F1840 code but haven't looked at it yet but, the 1840 sure has a lot more bells and whistles.
Ray
Jake I finished reading up about the 'GIE' and the 'ISR' and have a clearer picture of things. Hopefully soon I will be able to help you with the coding, proofing, and debugging. I downloaded the 12F1840 code but haven't looked at it yet but, the 1840 sure has a lot more bells and whistles.
Ray
A plane don't use two tables, a boat can also do without it, maybe a RC-car with two gears, but then you need a switch over.....when ?
I think it's better to optimize the CDI, faster PIC and communication over USB or TX/RX, but only the things we need.
Not using tables, but realtime calculation from the ignitiontime.
Realtime communication to show ignition angle, rotation and dyno information of the engine.
Everybody know how much time I (we) spent to get thoose things as above.
Now we have (allmost) a real good working CDI-program, a small battle between Nyemi and Jake's program, but don't make bells and whistles please.
First try real communication between a laptop/pc and the CDI, so we can see wat we are doing.
Drop the tables and make realtime timing possible.
Make it possible to change on the fly without flashing the PIC.
After 8 or 10 years on the forum and bussy with CDI I think I know wat usfull is and not.
Again, only positive critic and no attack to Jake or Nyemi.....I love both guys !!!
I can't program, but as a professional user I know wat (I) they want
#768
RE: CDI gr8flyer55
ORIGINAL: Gompy
We don't have forget why we use the CDI for.
A plane don't use two tables, a boat can also do without it, maybe a RC-car with two gears, but then you need a switch over.....when ?
I think it's better to optimize the CDI, faster PIC and communication over USB or TX/RX, but only the things we need.
Not using tables, but realtime calculation from the ignitiontime.
Realtime communication to show ignition angle, rotation and dyno information of the engine.
Everybody know how much time I (we) spent to get thoose things as above.
Now we have (allmost) a real good working CDI-program, a small battle between Nyemi and Jake's program, but don't make bells and whistles please.
We don't have forget why we use the CDI for.
A plane don't use two tables, a boat can also do without it, maybe a RC-car with two gears, but then you need a switch over.....when ?
I think it's better to optimize the CDI, faster PIC and communication over USB or TX/RX, but only the things we need.
Not using tables, but realtime calculation from the ignitiontime.
Realtime communication to show ignition angle, rotation and dyno information of the engine.
Everybody know how much time I (we) spent to get thoose things as above.
Now we have (allmost) a real good working CDI-program, a small battle between Nyemi and Jake's program, but don't make bells and whistles please.
ORIGINAL: Gompy
First try real communication between a laptop/pc and the CDI, so we can see wat we are doing.
First try real communication between a laptop/pc and the CDI, so we can see wat we are doing.
ORIGINAL: Gompy
Drop the tables and make realtime timing possible.
Make it possible to change on the fly without flashing the PIC.
Drop the tables and make realtime timing possible.
Make it possible to change on the fly without flashing the PIC.
ORIGINAL: Gompy
After 8 or 10 years on the forum and bussy with CDI I think I know wat usfull is and not.
Again, only positive critic and no attack to Jake or Nyemi.....I love both guys !!!
I can't program, but as a professional user I know wat (I) they want
After 8 or 10 years on the forum and bussy with CDI I think I know wat usfull is and not.
Again, only positive critic and no attack to Jake or Nyemi.....I love both guys !!!
I can't program, but as a professional user I know wat (I) they want
Ray
#769
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
The programs and hardware we made can communicate realtime with the PIC.
http://www.electronics.gompy.net/cdi/index.html
You can change on the fly the ignition values and monitor the engine.
But there was a problems with the program into the PIC.
Sometimes there was a kickback or the timing was wrong.
But thats wat we have see into the programs from Jake and Nyemi too.
The programmer don't have a engine to test.
He was / is not a RC-man and have do everything with simulators.
But if I say befor and others have say it too into this topic, you can't do all into simulators.
The programmer and I life to far away from each other to help him with real hardware.
So the project stopped, but the PIC- and PCprogram was exactly wat I discribe.
Thats also why I hope Jake or Nyemi can / will finish the programs we start.
I don't have any source code, the programmer make the project free so it was his ownership.
If we want to play, we must help each other, not hide it and raid your hobbypartner.
Now we can all take a look into the source code and find the fault / error, or can tninking about the solution.
I'm a fighter for opensource, thats also why you can find anything on my website, I don't have secrects.
Our hobby cost a lot of money and anything with hobby on it cost double or tripple the money.
http://www.electronics.gompy.net/cdi/index.html
You can change on the fly the ignition values and monitor the engine.
But there was a problems with the program into the PIC.
Sometimes there was a kickback or the timing was wrong.
But thats wat we have see into the programs from Jake and Nyemi too.
The programmer don't have a engine to test.
He was / is not a RC-man and have do everything with simulators.
But if I say befor and others have say it too into this topic, you can't do all into simulators.
The programmer and I life to far away from each other to help him with real hardware.
So the project stopped, but the PIC- and PCprogram was exactly wat I discribe.
Thats also why I hope Jake or Nyemi can / will finish the programs we start.
I don't have any source code, the programmer make the project free so it was his ownership.
If we want to play, we must help each other, not hide it and raid your hobbypartner.
Now we can all take a look into the source code and find the fault / error, or can tninking about the solution.
I'm a fighter for opensource, thats also why you can find anything on my website, I don't have secrects.
Our hobby cost a lot of money and anything with hobby on it cost double or tripple the money.
#771
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I think my engine is allready running with your PIC-software.
It's raining I don't want to test and modify the PIC for this moment.
I don't have even the Exelsheet to rewrite the curve.
I think I can speak for all, we hope you and Jake can make the ultimate CDI program.
The hardware is a other isue, I'm intrested in a littlebit bigger CDI then the one who use it for RC.
If some toy stops, there is no problem, but if my bike stops I have a long way to go......by feet !
It's raining I don't want to test and modify the PIC for this moment.
I don't have even the Exelsheet to rewrite the curve.
I think I can speak for all, we hope you and Jake can make the ultimate CDI program.
The hardware is a other isue, I'm intrested in a littlebit bigger CDI then the one who use it for RC.
If some toy stops, there is no problem, but if my bike stops I have a long way to go......by feet !
#772
Senior Member
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I put three commands in the code.
INTCONbits.INTF = 0; //
INTCONbits.INTE = 0; //
INTCONbits.INTF = 1; //
I found it hard to figure out which location.
Therefore, this Beta version.
I'm still working on it.
We need to examine all the possibilities.
INTCONbits.INTF = 0; //
INTCONbits.INTE = 0; //
INTCONbits.INTF = 1; //
I found it hard to figure out which location.
Therefore, this Beta version.
I'm still working on it.
We need to examine all the possibilities.
#775
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
ORIGINAL: Gompy
I think my engine is allready running with your PIC-software.
It's raining I don't want to test and modify the PIC for this moment.
I don't have even the Exelsheet to rewrite the curve.
I think I can speak for all, we hope you and Jake can make the ultimate CDI program.
The hardware is a other isue, I'm intrested in a littlebit bigger CDI then the one who use it for RC.
If some toy stops, there is no problem, but if my bike stops I have a long way to go......by feet !
I think my engine is allready running with your PIC-software.
It's raining I don't want to test and modify the PIC for this moment.
I don't have even the Exelsheet to rewrite the curve.
I think I can speak for all, we hope you and Jake can make the ultimate CDI program.
The hardware is a other isue, I'm intrested in a littlebit bigger CDI then the one who use it for RC.
If some toy stops, there is no problem, but if my bike stops I have a long way to go......by feet !
Good reading here ...old one but still ok...... http://www.not2fast.com/ignition/cap-dis-ignit-cdi.pdf