CDI gr8flyer55
#101
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
John,
I changed the curve by changing values in the table between 1600 rpm and 7500 rpm. With the values I put in, this resulted in the curve changing to a dead straight line between the 2 points. If it works i.e. changes the delays like I think it should, I give you a rundown on how to do it.
Doesn't work by trying to drag the curve as far as I am aware.
Transistor, I did not use 2N4401, I think maybe BC547 so that might be why I showed it a-about. I thought I checked that..mmm.ok
Either way, I did have it connected the right way but i will change it to show your transistor.
Ok..cheers...Jeff
I changed the curve by changing values in the table between 1600 rpm and 7500 rpm. With the values I put in, this resulted in the curve changing to a dead straight line between the 2 points. If it works i.e. changes the delays like I think it should, I give you a rundown on how to do it.
Doesn't work by trying to drag the curve as far as I am aware.
Transistor, I did not use 2N4401, I think maybe BC547 so that might be why I showed it a-about. I thought I checked that..mmm.ok
Either way, I did have it connected the right way but i will change it to show your transistor.
Ok..cheers...Jeff
#102
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Re-transistor...yes, just checked, used BC547 so thats why in the pic of my board, Q2 has flat the other way. Connections are correct though.
#103
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
That's what I figured you did Jeff, made a substitution and it worked for you. Overlay looked excellent!
Is it ok to post the files after I convert to PDF format?
I believe everything else is correct in all the other files. Let me know when you have the edit sequences perfected for the curves. I'll test that here on my plane to make sure it'll give the performance figures I am expecting in idle, transition and top rpms. My test engine (a 25cc weedeater engine) reflects changes pretty well when testing.
John
Is it ok to post the files after I convert to PDF format?
I believe everything else is correct in all the other files. Let me know when you have the edit sequences perfected for the curves. I'll test that here on my plane to make sure it'll give the performance figures I am expecting in idle, transition and top rpms. My test engine (a 25cc weedeater engine) reflects changes pretty well when testing.
John
#104
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
ORIGINAL: gr8flyer55
Is it ok to post the files after I convert to PDF format?
Is it ok to post the files after I convert to PDF format?
Cheers...Jeff
#105
Junior Member
Join Date: Feb 2012
Location: balikesir, TURKEY
Posts: 12
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
hi john thanks for share. i want to make your cdi. can you sent me files?.i have asp .61 two stroke glow engine and i want to conversion gasoline.
best regards...
kemal
#106
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I will try to post files here. Been having alot of trouble lately even logging onto RCU. The software will be posted first, then the PDF etch files etc.
John
John
#107
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
This is the ASM file for the 12F683 chip on the timer board.
Code:
;nyemicdi2T PIC 12F683 4Mhz. LIST P=12F683, F=INHX8M include "P12F683.inc" ORG 0x0000 GOTO Label_0001 ORG 0x0004 MOVWF 0x70 SWAPF STATUS , W CLRF STATUS MOVWF 0x71 INCF 0x27 , F ;TMR0 interrupt 0x27=TMR0 overflow registers BCF INTCON , T0IF SWAPF 0x71 , W MOVWF STATUS SWAPF 0x70 , F SWAPF 0x70 , W RETFIE NOP ;ignition advance table RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0000 RETLW 0001 RETLW 0001 RETLW 0001 RETLW 0001 RETLW 0001 RETLW 0001 RETLW 0002 RETLW 0002 RETLW 0002 RETLW 0002 RETLW 0002 RETLW 0003 RETLW 0003 RETLW 0003 RETLW 0003 RETLW 0003 RETLW 0004 RETLW 0004 RETLW 0004 RETLW 0004 RETLW 0004 RETLW 0004 RETLW 0005 RETLW 0005 RETLW 0005 RETLW 0005 RETLW 0005 RETLW 0006 RETLW 0006 RETLW 0006 RETLW 0006 RETLW 0006 RETLW 0007 RETLW 0007 RETLW 0007 RETLW 0007 RETLW 0007 RETLW 0007 RETLW 0009 RETLW 000A RETLW 000C RETLW 000C RETLW 000F RETLW 0010 RETLW 0012 RETLW 0013 RETLW 0015 RETLW 0016 RETLW 0018 RETLW 0019 RETLW 001A RETLW 001B RETLW 001E RETLW 0020 RETLW 0021 RETLW 0023 RETLW 0024 RETLW 0025 RETLW 0027 RETLW 0028 RETLW 002A RETLW 002B RETLW 002D RETLW 002F RETLW 0030 RETLW 0032 RETLW 0032 RETLW 0034 RETLW 0036 RETLW 0037 RETLW 0039 RETLW 0039 RETLW 003C RETLW 003D RETLW 003F RETLW 0040 RETLW 0042 RETLW 0044 RETLW 0045 RETLW 0047 RETLW 0049 RETLW 004A RETLW 004B RETLW 004D RETLW 004E RETLW 004F RETLW 0051 RETLW 0052 RETLW 0054 RETLW 0055 RETLW 0057 RETLW 0058 RETLW 005A RETLW 005B RETLW 005D RETLW 005E RETLW 0060 RETLW 0061 RETLW 0063 RETLW 0064 RETLW 0066 RETLW 0067 RETLW 0069 RETLW 006A RETLW 006D RETLW 006E RETLW 006E RETLW 0071 RETLW 0071 RETLW 0074 RETLW 0075 RETLW 0077 RETLW 0078 RETLW 0078 RETLW 007A RETLW 007B RETLW 007C RETLW 007D RETLW 007E RETLW 007F RETLW 0080 RETLW 0081 RETLW 0082 RETLW 0083 RETLW 0084 RETLW 0085 RETLW 0086 RETLW 0087 RETLW 0088 RETLW 0089 RETLW 008A RETLW 008B RETLW 008C RETLW 008D RETLW 008E RETLW 008F RETLW 008F RETLW 0090 RETLW 0091 RETLW 0092 RETLW 0093 RETLW 0094 RETLW 0095 RETLW 0096 RETLW 0097 RETLW 0098 RETLW 0099 RETLW 009A RETLW 009B RETLW 009C RETLW 009D RETLW 009E RETLW 009F RETLW 00A0 RETLW 00A1 RETLW 00A2 RETLW 00A3 RETLW 00A4 RETLW 00A5 RETLW 00A6 RETLW 00A7 RETLW 00A8 RETLW 00A9 RETLW 00AA RETLW 00AB RETLW 00AC RETLW 00AD RETLW 00AE RETLW 00AF RETLW 00B0 RETLW 00B1 RETLW 00B2 RETLW 00B3 RETLW 00B3 RETLW 00B4 RETLW 00B5 RETLW 00B6 RETLW 00B7 RETLW 00B8 RETLW 00B9 RETLW 00BA RETLW 00BB RETLW 00BC RETLW 00BD RETLW 00BE RETLW 00BF RETLW 00C0 RETLW 00C1 RETLW 00C2 RETLW 00C3 RETLW 00C4 RETLW 00C5 RETLW 00C6 RETLW 00C7 RETLW 00C8 RETLW 00C9 RETLW 00CA RETLW 00CB RETLW 00CC RETLW 00CD RETLW 00CE RETLW 00CF RETLW 00D0 RETLW 00D1 RETLW 00D1 RETLW 00D3 RETLW 00D4 RETLW 00D5 RETLW 00D6 RETLW 00D7 RETLW 00D7 RETLW 00D7 RETLW 00D8 RETLW 00DA RETLW 00DB RETLW 00DC RETLW 00DD RETLW 00DE RETLW 00DE RETLW 00DF RETLW 00E1 RETLW 00E2 RETLW 00E3 RETLW 00E4 RETLW 00E5 RETLW 00E5 RETLW 00E6 RETLW 00E8 RETLW 00E9 RETLW 00EA RETLW 00EB RETLW 00EC RETLW 00EC RETLW 00ED RETLW 00EF RETLW 00F0 RETLW 00F1 RETLW 00F2 RETLW 00F3 RETLW 00F3 RETLW 00F5 RETLW 00F6 RETLW 00F7 RETURN Label_0006 BCF STATUS , RP1 BCF STATUS , RP0 MOVF 0x22 , W MOVWF PCLATH MOVF 0x21 , W MOVWF PCL RETURN Label_0001 BCF STATUS , RP1 BSF STATUS , RP0 MOVLW 0X61 MOVWF OSCCON Label_0013 BTFSS OSCCON , HTS GOTO Label_0013 BCF STATUS , RP1 BCF STATUS , RP0 CLRF GPIO MOVLW 0x07 MOVWF CMCON0 ;comparator module Initialization BCF STATUS , RP1 BSF STATUS , RP0 CLRF ANSEL MOVLW 0x0C MOVWF TRISIO ;GP2= HALL sensor input. GP0-GP1, ouput MOVLW 0x07 MOVWF OPTION_REG ;OPTION_REG 07=256uS prescaler BCF STATUS , RP1 BCF STATUS , RP0 MOVLW 0x02 MOVWF GPIO CLRF 0x24 CLRF 0x27 CLRF TMR0 ;clear TMR0 MOVLW 0xA0 MOVWF INTCON ;interrupt Initialization Label_0003 BTFSC GPIO ,GP2 ;BTFSC = wait for high pulse on Hall switch (-_+). GOTO Label_0002 ;BTFSS = wait for low pulse on Hall switch (+_-) Alterable!! MOVLW 0x01 MOVWF 0x24 GOTO Label_0003 Label_0002 MOVF 0x24 , F BTFSC STATUS , Z GOTO Label_0003 CLRF INTCON MOVF TMR0 , W MOVWF 0x25 CLRF TMR0 MOVLW 0x01 SUBWF 0x27 , W BTFSC STATUS , Z GOTO Label_0011 ;458917 RPM Yes (~-26°degree) BTFSS STATUS , C GOTO Label_0005 ;917RPM< Table values MOVLW 0xFF ;0-458 RPM Yes MOVWF 0x25 Label_0011 NOP ;458-917 RPM Yes (~-26°degree) NOP ;delay time value=458-917RPM~-26°degree Initialization NOP NOP ;delay time NOP ;((12NOP)18uS × TMR0)+RETLW 255 at current value (00F7=-26degree)Alterable!! NOP ;EXCEL=I-515, value (blue) NOP NOP NOP NOP NOP NOP MOVF 0x25 , F BTFSC STATUS , Z GOTO Label_0010 DECF 0x25 , F GOTO Label_0011 Label_0010 MOVLW 0xFF MOVWF 0x25 Label_0005 MOVF 0x25 , W ADDLW 00F4 ;RPM limiter F4=20380 RPM Alterable!! BTFSS STATUS , C GOTO Label_0012 MOVF 0x25 , W ADDLW 0x10 MOVWF 0x21 MOVLW 0x00 BTFSC STATUS , C ADDLW 0x01 MOVWF 0x22 MOVF PCLATH , W MOVWF 0x20 CALL Label_0006 MOVWF 0x23 MOVF 0x20 , W MOVWF PCLATH MOVF 0x23 , F BTFSC STATUS , Z GOTO Label_0007 Label_0008 NOP NOP NOP NOP NOP NOP ;RETLW value(0x23 registers) x 19uS=16 NOP Alterable!! NOP ;EXCEL=K-1, value (orange). NOP NOP NOP NOP NOP NOP NOP NOP NOP DECFSZ 0x23 , F GOTO Label_0008 Label_0007 MOVLW 0x03 XORWF GPIO , F ;Output OFF: GP1, MOVLW 0xD8 ;Output ON: GP0, MOVWF 0x26 Label_0009 NOP ;Output time(dwell):(3NOP)6uS x 0x26 registers ((D8=216)x6=1296uS) NOP NOP DECFSZ 0x26 , F GOTO Label_0009 MOVLW 0x03 ;Output ON: GP1, XORWF GPIO , F ;Output OFF: GP0, Label_0012 CLRF 0x24 CLRF 0x27 ; TMR0 overflow registers(0x27) clear MOVLW 0xA0 MOVWF INTCON ;interrupt Initialization GOTO Label_0003 GOTO Label_0001 ORG 0x2007 DATA 33C4 ;Config Bytes END
#108
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Here's the HEX file for the 12F683 chip on the timer board.
John
John
Code:
:020000001829BD :08000800F000030E8301F1007A :10001000A70A0B11710E8300F00E700E090000008C :100020000034003400340034003400340034003430 :10003000003400340034003400340134013401341D :100040000134013401340234023402340234023403 :1000500003340334033403340334043404340434E5 :1000600004340434043405340534053405340534CB :1000700006340634063406340634073407340734AD :1000800007340734073409340A340C340C340F3481 :1000900010341234133415341634183419341A3415 :1000A0001B341E34203421342334243425342734A3 :1000B00028342A342B342D342F3430343234323433 :1000C000343436343734393439343C343D343F34C5 :1000D0004034423444344534473449344A344B3450 :1000E0004D344E344F3451345234543455345734E3 :1000F00058345A345B345D345E3460346134633474 :1001000064346634673469346A346D346E346E3402 :1001100071347134743475347734783478347A3493 :100120007B347C347D347E347F348034813482343B :1001300083348434853486348734883489348A34EB :100140008B348C348D348E348F348F34903491349E :100150009234933494349534963497349834993453 :100160009A349B349C349D349E349F34A034A13403 :10017000A234A334A434A534A634A734A834A934B3 :10018000AA34AB34AC34AD34AE34AF34B034B13463 :10019000B234B334B334B434B534B634B734B83419 :1001A000B934BA34BB34BC34BD34BE34BF34C034CB :1001B000C134C234C334C434C534C634C734C8347B :1001C000C934CA34CB34CC34CD34CE34CF34D0342B :1001D000D134D134D334D434D534D634D734D734DD :1001E000D734D834DA34DB34DC34DD34DE34DE3496 :1001F000DF34E134E234E334E434E534E534E63446 :10020000E834E934EA34EB34EC34EC34ED34EF34F4 :10021000F034F134F234F334F334F534F634F734A3 :1002200008000313831222088A00210882000800B4 :100230000313831661308F000F1D1C2903138312D3 :10024000850107309900031383169F010C30850048 :10025000073081000313831202308500A401A70137 :100260008101A0308B00051938290130A400332901 :10027000A408031933298B010108A500810101306D :10028000270203194729031C5A29FF30A500000043 :10029000000000000000000000000000000000005E :1002A000000000000000A50803195829A5034729EC :1002B000FF30A5002508F43E031C8B292508103EBD :1002C000A10000300318013EA2000A08A00011217D :1002D000A30020088A00A308031980290000000059 :1002E000000000000000000000000000000000000E :1002F000000000000000000000000000A30B6E29B9 :1003000003308506D830A600000000000000A60BD0 :10031000842903308506A401A701A0308B0033296E :0203200018299A :02400E00C433B9 :00000001FF
#109
Senior Member
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Hi ustura_kemal
I give the full file. link:http://www.moto.com.ua/postphoto/archive/1090217_1.zip
End of project.
I give the full file. link:http://www.moto.com.ua/postphoto/archive/1090217_1.zip
End of project.
#111
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Hello Ustura...
I do have the schematics for the boards, and I will post today if RCU doesn't give me any more trouble uploading files. I just have to convert them to a format it will accept here. I have a parts overlay picture that I will try uploading first, then the etch file for the combo board, and a parts list. Nyemi has made available the software files for the ignition. Thankyou Nyemi !!!
Without his help, this project would have not been possible. He has done an amazing job over the last 2 years with the software design and constant updates. If there are any questions on the software, direct them to Nyemi. He has been very helpful to everyone needing help with the advance curves.
John
I do have the schematics for the boards, and I will post today if RCU doesn't give me any more trouble uploading files. I just have to convert them to a format it will accept here. I have a parts overlay picture that I will try uploading first, then the etch file for the combo board, and a parts list. Nyemi has made available the software files for the ignition. Thankyou Nyemi !!!
Without his help, this project would have not been possible. He has done an amazing job over the last 2 years with the software design and constant updates. If there are any questions on the software, direct them to Nyemi. He has been very helpful to everyone needing help with the advance curves.
John
#114
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Ustura,
The coil for the hv was described somewhere before but hard to find I think so I will re-post details.
The ferrite toroid John used was ... Ferroxcube 768T188/3E2A
The size is .................................. 12.7mm(0.5â€OD) x 7.2mm(0.285â€ID) x 4.8mm(0.19â€H)
I used one from Farnell here in Aus. and the part number is TN13/7.5/5-3C90
Web site here......... http://au.element14.com/ferroxcube/t...N13/7.5/5-3c90
Windings are of course enamelled copper wire.
L1 = 15 turns 26 gauge (#26)
L2 = 6 turns 36 gauge (#36)
L3 = 400 turns 36 gauge (#36)
Keep the start of windings L1 and L2 marked because the orientation of these two windings are important to the operation of the oscillator.
John used a "stick" with the wire wrapped to do his winding of the toroid and although a bit painful at times, it does work well.
If I remember, the "stick" was fairly narrow with a notch cut each end to hold the wire, and it was about 150mm long. You will have to work out how much wire for the 400 turns as it depends on your toroid core dimensions.
Jeff
The coil for the hv was described somewhere before but hard to find I think so I will re-post details.
The ferrite toroid John used was ... Ferroxcube 768T188/3E2A
The size is .................................. 12.7mm(0.5â€OD) x 7.2mm(0.285â€ID) x 4.8mm(0.19â€H)
I used one from Farnell here in Aus. and the part number is TN13/7.5/5-3C90
Web site here......... http://au.element14.com/ferroxcube/t...N13/7.5/5-3c90
Windings are of course enamelled copper wire.
L1 = 15 turns 26 gauge (#26)
L2 = 6 turns 36 gauge (#36)
L3 = 400 turns 36 gauge (#36)
Keep the start of windings L1 and L2 marked because the orientation of these two windings are important to the operation of the oscillator.
John used a "stick" with the wire wrapped to do his winding of the toroid and although a bit painful at times, it does work well.
If I remember, the "stick" was fairly narrow with a notch cut each end to hold the wire, and it was about 150mm long. You will have to work out how much wire for the 400 turns as it depends on your toroid core dimensions.
Jeff
#116
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Keep the start of windings L1 and L2 marked because the orientation of these two windings are important to the operation of the oscillator.
This is assuming you have no shorts or damage to windings. If you look closely at the layout diagram that John supplied and you have wound the coils all in the same direction, you will see the start and finish of each of the primary winding positions are marked.
#117
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
This may show the layout a bit clearer.
If you click on the pic and download it, then open with windows picture and fax viewer, you can magnify the drawing.
If you click on the pic and download it, then open with windows picture and fax viewer, you can magnify the drawing.
#123
Junior Member
Join Date: Feb 2012
Location: balikesir, TURKEY
Posts: 12
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
thank you for reply.hv board now working but timer board not working.i 'm using pic12f675 and bipolar hall sensor .it is for work need to make changes to program?
#124
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
The system works with the parts listed.
The program was written for 12F683 chip.
If you want to experiment with other types, then you will have to work it out for yourself.
The hall sensor I used was Allegro uA3240 .....unipolar.... not made anymore but I think A1120 is a replacement.
The last thing you want is a hall effect that "latches". The program looks for (I believe) the trailing edge pulse as the magnet passes.
http://www.allegromicro.com/Products...120-1-2-5.aspx
The program was written for 12F683 chip.
If you want to experiment with other types, then you will have to work it out for yourself.
The hall sensor I used was Allegro uA3240 .....unipolar.... not made anymore but I think A1120 is a replacement.
The last thing you want is a hall effect that "latches". The program looks for (I believe) the trailing edge pulse as the magnet passes.
http://www.allegromicro.com/Products...120-1-2-5.aspx
#125
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I just did a quick search and found this......
http://www.rcgroups.com/forums/showthread.php?t=288678
I would say by the look of this the 12F675 is nowhere near compatible.
http://www.rcgroups.com/forums/showthread.php?t=288678
I would say by the look of this the 12F675 is nowhere near compatible.