![]() |
RE: New CDI - opensource project JMJ and Bigboat
Ok I have a time board made where the code should work. I use a NPN transistor to fire the HV board.I get a spike from the HV board and some how it frys the pic. John,
Are you using your design or robs? If it yours do you have a schematic? |
RE: New CDI - opensource project JMJ and Bigboat
Nyemi, You have no idea how happy I am!!! This was a wonderful thing you have done for all of us with the present timer boards. Congratulations on code well written![sm=thumbs_up.gif]
John |
RE: New CDI - opensource project JMJ and Bigboat
Charlie, I am using the timer board with the diode (1n4007) in the input power section to prevent the problem you just experienced. On Rob's latest board, I think he eliminated it and put it on the CDI board. It must be used or you get the kickback spike. Power is run thru the timer board first, and then to the CDI board.
Actually I used both designs..my CDI and then Rob's..using the standard timer board with the diode on it. My CDI design is power board #4 on Rob's site. Hope this helps..sorry about the pic chip.. John |
RE: New CDI - opensource project JMJ and Bigboat
I congratulate the success. I thank Rob for the project.
|
RE: New CDI - opensource project JMJ and Bigboat
John,
I am looking at yours #4,but I don't see any with a diode. Do you know which one it is? |
RE: New CDI - opensource project JMJ and Bigboat
It's the one named CDI with Hall Sensor Charlie.. the diode is on the 4.8 volt output from the hall to the CDI board..
John |
RE: New CDI - opensource project JMJ and Bigboat
Ok Thanks John,
So which configuration are you using? Do I need R3a and R3 if using the pic to trigger the HV board? Charlie |
RE: New CDI - opensource project JMJ and Bigboat
You'll need R3A...if you take a look at the schematic on his site, the leftmost schematic for cdi with hall sensor, there is a note there at the top for it I think..
John |
RE: New CDI - opensource project JMJ and Bigboat
I think R3A is the 10k and R3 is the 150 ohm...on my configuration, I am using 150 ohm at R3 location. This is with the timerboard with a diode.. when Rob redesigned my CDI board layout, he incorporated the diode on the CDI board and removed it from the timer board. I had already added it to the timer boards I built so I eliminated it with a jumper on the CDI board.. don't use it on both or a low voltage situation will devolp and a 4.8 volt pack won't be enough to power it because of the 1/2 volt drop from each diode. I run one diode and from a fully charged 4 cell pack (5.5 volts) I get 2 hours run time.
John |
RE: New CDI - opensource project JMJ and Bigboat
@nyemi, thanks for modifying the code
I don't have try the code jet, to busy with my oldtimer moped. Wat is the max rpm of this version ? Now we have to choose which timerboard and which powerboard are the best to use. Maybe a / the testfunction must be back into the software or some hardware to doit. Also a TCI-version must be writen for the moped-guys. I hope Ton will finish his version and don't stop after this sucses by changing the old software. Maybe it's intresting to write the code for the new board, the one without the flyback HV-board. |
RE: New CDI - opensource project JMJ and Bigboat
Success is yours.<span class="short_text" id="result_box"><span title="Nem csak én." style="background-color: rgb(255, 255, 255);">http://www.rcuniverse.com/forum/js/f.../thumbs_up.gif Not just me.</span></span> I also hope that Tom finished his version.
"Wat is the max rpm of this version ?" Yes |
RE: New CDI - opensource project JMJ and Bigboat
ORIGINAL: nyemi ''Wat is the max rpm of this version ?'' Yes |
RE: New CDI - opensource project JMJ and Bigboat
Rob, I think there is an output signal pin written in his code for TCI..
Pin 6=RB0= CDI SCR Output signal. Pin 10=RB4=TCI, or strobe light (CDI), the output signal. Pin 7=RB1=Hall input signal (wait for high pulse on Hall switch). Also RPM ranges are given I believe in these lines.. CMCON = 0x07; // delete comparator module TRISA = 0x00; // delete PORTA input PORTA = 0x00; // PORTA low signal TRISB = 0x02; // set RB1 for input, all others for output PORTB = 0x10; OPTION_REG = 0x07; // You can change the speed range to be good Excel table. 0x07=917RPM>468750RPM, 0x06=1830RPM>937500RPM TMR2 = 0; PR2 = 255; T2CON = 0x07; // start TMR2 counter 1:16 INTCON = 0; // clear INTCON John |
RE: New CDI - opensource project JMJ and Bigboat
Rob, can my circuit I posted on page 30 (post#742) be maybe modified to be used as the tester plugged into the hall input? As built with components I used, it only goes to 3600 rpm simulation test.. It's a simple tester anyone can build with the 555 timer chip.
I just plugged it into my timer board with Nyemi's code in the pic chip and it also works..seems I have the best of both worlds at the moment.. John |
RE: New CDI - opensource project JMJ and Bigboat
John,
You have to create short spikes with a dutycycle from 10/90%. Your circuit make waves of 50/50%, this will be to long to fireup the scr at high rpm. I try to explain. Within 1 sec you want to have 1 spike of 1msec, but also within 1 sec 100 spikes of 1msec Your schematic create in 1 sec a wave of 1/2 sec high and 1/2 sec low or 100 wave with 50% of the time high and 50% of the time low. For a TCI it isn't a problem, but for a cdi you can't use it bezourse the scr is to long open. |
RE: New CDI - opensource project JMJ and Bigboat
Rob, I see what you mean now...so there has to be changes made in the duty cycle for use on the TCI setup. I am sure that can be added to the code. Nyemi is probably aware of it and working to get that accomplished. Meanwhile, the output he has set for rpm ranges seems to work for my setup with the CDI. I have had great results with it. Charlie is still working on changing his setup to get it triggering the SCR. Hopefully he has it corrected and working today for his circuit. I would certainly feel bad if I was the only one who got it working..
John |
RE: New CDI - opensource project JMJ and Bigboat
ÓÓÓÓ!!!! PIC Pin maximum current 25mA!!!! 5volt/ 150ohm=33mA!!!<span class="short_text" id="result_box"><span title="Cserélni:330ohm" style="background-color: rgb(255, 255, 255);"> Changed R2: 330ohmhttp://www.rcuniverse.com/forum/js/f.../thumbs_up.gif!!!
</span></span><span class="short_text" id="result_box"><span title="Vagy használ opto coupler?" style="background-color: rgb(255, 255, 255);">Or use the opto coupler?</span></span> |
RE: New CDI - opensource project JMJ and Bigboat
delay_us(500); // 500 us delay ( CDI= 500uS) (TCI=3300uS)
Normaly the scr will fireup for 50 - 100 usec, now 500 usec. Strobe didn't work, this puls must be the same like the scr-puls. If you change the timer(s), the Exel-sheet isn't work anymore for this software. |
RE: New CDI - opensource project JMJ and Bigboat
After all these changes i'm wondering if i can still build the cdi unit according to<a href="http://www.modelbouw.gompy.net/newcdi/index.htm">http://www.modelbouw.gompy.net/newcdi/index.htm
I</a>hope so since i have just received 2 building boards based on the layout on this site. Today i also created the coil and hopefully i can also still use this one. It took me a couple of hours..... |
RE: New CDI - opensource project JMJ and Bigboat
Hi Guys,
I am working on my setup. I went through 3 pics yesterday so I had to redo the timer board. I am working on it right now and will post my results. Once I have it working I am going to build my board using SMT parts. |
RE: New CDI - opensource project JMJ and Bigboat
ORIGINAL: Evert1969 After all these changes i'm wondering if i can still build the cdi unit according to <a href=''http://www.modelbouw.gompy.net/newcdi/index.htm''>http://www.modelbouw.gompy.net/newcdi/index.htm I</a> hope so since i have just received 2 building boards based on the layout on this site. Today i also created the coil and hopefully i can also still use this one. It took me a couple of hours..... You may change the output it to this http://www.electronics.gompy.net/cditci/CDITCITM.jpg |
RE: New CDI - opensource project JMJ and Bigboat
This scheme looks different from http://www.modelbouw.gompy.net/newcdi/index.htm and shows different components.
Or do i just have to change the part with IC2 and the two resistors? And also let C3 and R4 from the old scheme away? What the difference between out 1 and out 2 on the new scheme? Are they both connected with T1 on the HV board? |
RE: New CDI - opensource project JMJ and Bigboat
1 Attachment(s)
<span class="short_text" id="result_box"><span title="Ezért nem számít az kimeneti idÅ‘." style="background-color: rgb(255, 255, 255);">Therefore, no matter the output time.http://www.rcuniverse.com/forum/js/f.../msn/72_72.gif</span></span>
|
RE: New CDI - opensource project JMJ and Bigboat
Nyemi.. I just got finished running my 21cc engine with the changed software...ran it for about 3 hours and everything was perfect. I am programming the rest of my timer boards with the software tomorrow so I have spares.
Thanks again for adding to the project and making it more successful. Rob, JMJ and everyone else that started this in the beginning, also thanks to you. I believe we have most of what we needed to finalize this system. I followed your lead Rob and built what you designed and everything seems to work great. John |
RE: New CDI - opensource project JMJ and Bigboat
John,
What are you setting your inital timing at? somewhere around 28 degrees BTDC? I did get something working. I think I will to remove the carb and clean it. ITs my test engine and its been setting up all winter. Charlie |
| All times are GMT -8. The time now is 10:14 AM. |
Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.