RCU Forums

RCU Forums (https://www.rcuniverse.com/forum/)
-   Engine Conversions (https://www.rcuniverse.com/forum/engine-conversions-92/)
-   -   New CDI - opensource project JMJ and Bigboat (https://www.rcuniverse.com/forum/engine-conversions-92/4344316-new-cdi-opensource-project-jmj-bigboat.html)

kermet 01-26-2010 07:39 PM

RE: New CDI - opensource project JMJ and Bigboat
 
the other side of the jumper in the picture shows the lead going to ground

http://www.modelbouw.gompy.net/newcdi/cdi-a.jpg

COM 01-26-2010 08:01 PM

RE: New CDI - opensource project JMJ and Bigboat
 
I must be going blind. I don't see anything going to ground. All I see are the two pins that say test and nothing else. I can't be that dense.

kermet 01-26-2010 08:14 PM

RE: New CDI - opensource project JMJ and Bigboat
 
To much banking bro......haha


Hay i cant convert C-code to hex so your all good

here is a picture for you


http://yfrog.com/jwjumpersj

COM 01-26-2010 08:16 PM

RE: New CDI - opensource project JMJ and Bigboat
 
OK that makes sense. The schmatic on line does not show that.What troubles are you having? generating the hex is quite easy.What are you doing?

COM 01-26-2010 08:17 PM

RE: New CDI - opensource project JMJ and Bigboat
 
This is what I am looking at.

http://www.modelbouw.gompy.net/newcdi/cdi-a.jpg

COM 01-26-2010 08:18 PM

RE: New CDI - opensource project JMJ and Bigboat
 
Where did you get that schematic from?

kermet 01-26-2010 08:24 PM

RE: New CDI - opensource project JMJ and Bigboat
 
yep i understand the jumpers are not super clear and the wording needs changing for simple people like myself

Charlie i use the Exel file to make my c-code then copy that to "MicroC 2009 "and change the options to suit
the pic we use

Now when i go to the Build button it does not even make a hex file in the directory/but before it did BUT to small to use

Ive tried of two differnt computers with no luck

I got the circuit from the link above that Bigboat posted

Brett

COM 01-26-2010 08:25 PM

RE: New CDI - opensource project JMJ and Bigboat
 
Do you get any errors?

COM 01-26-2010 08:27 PM

RE: New CDI - opensource project JMJ and Bigboat
 
Thanks for setting me straight.now I can get to building.

kermet 01-26-2010 08:31 PM

RE: New CDI - opensource project JMJ and Bigboat
 
yes i get errors....before when i hex file was there there were no errors but hex file was to small

im stuffed if i know what im doing wrong.....i need a kid to show me haha

COM 01-26-2010 08:34 PM

RE: New CDI - opensource project JMJ and Bigboat
 
What are the errors? copy and paste them here. There were some errors on the code I have sense fixed mine and Rob has sent me a updated version. I can email it to you if you want.PM me your email.

COM 01-26-2010 10:06 PM

RE: New CDI - opensource project JMJ and Bigboat
 
Hi Rob,

Brett got me straight. I have another question. in the latest version of excel sheet the POP is 36 degrees. What if my engine has the hall set at 28 degrees? how do I compensate for that? can I change the POP ?

gr8flyer55 01-26-2010 10:38 PM

RE: New CDI - opensource project JMJ and Bigboat
 
1 Attachment(s)
Brett, If these pictures made it here, take a look at the pencil pointing to where you'd drill your hole for the magnet.
Just an example of what part of the flywheel to drill for the magnet..not at that exact spot..you'd have to determine that by TDC and measure of course..just an example. I've done it and it worked..you have to figure out if you have the room and how to place the hall facing that spot..hope this helps.

John

kermet 01-26-2010 11:44 PM

RE: New CDI - opensource project JMJ and Bigboat
 
John i like that idea..... so i just tested where i need the magnet and its right where the other magnet is (south pole) plus
with the hall pick up on the inside of the flywheel it still picks up the first north pole magnet and fires the spark

if i could get Rob to adjust the xcel file my life would be simpler

my pickup is 122mm BTDC that is 90 degrees on a 85mm diameter flywheel

3.14 x 85mm (Diameter)
266.9 / 360 = .741mm
.741 mm per degree

brett








gr8flyer55 01-27-2010 12:53 AM

RE: New CDI - opensource project JMJ and Bigboat
 
Life would be no challenge if it weren't for built in problems... I know how you feel right now.. it is upsetting for sure. The other way could end up the best for your problem..edit the excel sheet..

I am fortunate that my hall effect mounts are with a rotating clamp or a moveable magnet ring on the crank..I had the forsight to make it very adjustable for this very reason..not to worry..Rob will come thru for you..He's dedicated as a problem solver for all of us..

I downloaded MPLAB from Microchip and hope to learn enough to be able to use it for C-code and directly program the pic chips. Right now I use the RCD serial programmer version 2.3 and it works great for me. I built it from the schematic and then I use PicProg4u software..simple enough to do the job..something strange though..put a 20mhz chip in it and it still used the 4mhz setup...it worked.. who knows..might make the chip last longer running slower.
I think there may be a way to add code to the program for another function..reading the PDF file for 16f628 is giving me ideas...

John

Bigboat 01-27-2010 05:16 AM

RE: New CDI - opensource project JMJ and Bigboat
 
You have to place the magnet exact TDC of the engine.
The program calculate backwards from TDC to BTDC.

@Charlie, I was making a joke.....I can't be dissapointed to anyone who build the CDI !
My problem, I can't write like I think becourse English isn't my first language.

I can see Brett help me to translate babelfish to real english, thx

@Brett, I hope this is the problem I understand you have ?
The diameter of the flywheel doesn't matter.
The distance between every degrees is of every flywheel the same, also the time !
If you pick a point near the centre or 20cm from the centre, it takes the same time to spin around.

kermet 01-27-2010 05:24 AM

RE: New CDI - opensource project JMJ and Bigboat
 
Oh yes i see it your way,

i just find it hard to mount the pickup anyway else than where it is,

which is 122mm from TDC

or 90 degrees

Rob is there any way to make the exel program change the pickup point if chosen to be say......90 degree http://www.rcuniverse.com/forum/js/f...ular_smile.gif

or insert a minus number into the exel sheet like -65 degree

Bigboat 01-27-2010 05:39 AM

RE: New CDI - opensource project JMJ and Bigboat
 
I hope to explain it better where to place magnet and hallsensor.

Set the engine in TDC and mark the boddy and the shaft.
Any place on the body or the shaft is TDC !
Pick a point anywhere where you want to place the magnet.
AND NOW HERE IT COMES.......tatatataaaaaaa.
Calculate 40 degrees backwards from the point you where you have place the magnet and you have found the place for your hallsensor.

kermet 01-27-2010 05:54 AM

RE: New CDI - opensource project JMJ and Bigboat
 
Yes i understand that the hall sensor should be 40 degrees behind the magnet,

i made another mistake, it is a heat wave in NZ at the momment 20C and 83% <span>Humidity at 12 midnight
</span>
<span>
my hall sensor is at 50 degrees btdc and i want to leave it there

is there a way to change the exel file to work for me with my 50 degrees instead of 40 etc

brett
</span>

Bigboat 01-27-2010 06:21 AM

RE: New CDI - opensource project JMJ and Bigboat
 
In the Netherlands we have snow, huminity 12%, -1.5C and it's 12 AM

The sheet calculate the timetable for the pic, and the pic calculate with the table the sheet makes.
Into the pic there are also timers and prescalers who calculate with the sheettable.
If I change only the sheet, the pic will be lost his calculation.

This is one of those things I want to have to change in a new code.
BUT, I'm not a real programmer and I can't write a real program todo this.

kermet 01-27-2010 06:35 AM

RE: New CDI - opensource project JMJ and Bigboat
 
1 Attachment(s)
Nice and cold there.........

Ok what about putting a minus number into the exel sheet ????

[img]file:///C:/DOCUME~1/Desky-2/LOCALS~1/Temp/moz-screenshot.png[/img]

Bigboat 01-27-2010 06:54 AM

RE: New CDI - opensource project JMJ and Bigboat
 
You are still using the old Exelsheet........and this sheet produce wrong tables !
If your using this old sheet, yopu have to calculate backwards.
36 degrees delay is calculate from 40 degrees wqtih this old sheet.
Please use the new sheet.

COM 01-27-2010 07:06 AM

RE: New CDI - opensource project JMJ and Bigboat
 
Rob,

in the new sheet can the "Easy start" value be changed? My static timing is set at 28.

kermet 01-27-2010 07:11 AM

RE: New CDI - opensource project JMJ and Bigboat
 
which ever one i am using do you think i can input ( - ) minus numbers to make it work ???

the new exel sheet will not let me put - minus numbers into it but the old one will

COM 01-27-2010 07:22 AM

RE: New CDI - opensource project JMJ and Bigboat
 
I think that is one of the differences.


All times are GMT -8. The time now is 03: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.