Engine Conversions Discuss all aspects of engine conversions in this forum

New CDI - opensource project JMJ and Bigboat

Reply
Old 06-08-2011, 07:52 PM
  #1376
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Nyemi..
I have done as you mentioned. It generated a hex file for me but I don't know which timer board it will run on? Old timer board without resonator or new with resonator.. tried it on old without resonator and nothing happens. Any help appreciated. Maybe you could post a hex file in zip file format for us to download.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-08-2011, 08:41 PM
  #1377
nyemi
 
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

I will show. Program should be changed.


Write to the DATA side. 3F70 or 3F50. Depends on the use MCLR pin.
Attached Thumbnails
Click image for larger version

Name:	Hf97616.jpg
Views:	27
Size:	25.2 KB
ID:	1620971  
nyemi is offline  
Reply With Quote
Old 06-09-2011, 02:19 AM
  #1378
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Nyemi,

Thanks for the code and all the help. I loaded your code into a pic and was testing it on a development board and I don't get any output until after I toggle the input several times.Also how do I change the curve in the spreadsheet? Thanks again.


Charlie
COM is offline  
Reply With Quote
Old 06-10-2011, 12:27 AM
  #1379
nyemi
 
Join Date: Feb 2010
Location: szarvas, HUNGARY
Posts: 133
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Many people ask, what difference the old code.The low speed (RPM) treatment.

452 rpm lower rpm, no spark. But the program change.

Between 452-917 rpm. Defined spark advance.(15&deg But the program change. Help Excel table.

917-468750 rpm of the table defines vary spark advance. But the program change. Help Excel table.

I present pictures.
Attached Thumbnails
Click image for larger version

Name:	Gd93633.jpg
Views:	22
Size:	41.2 KB
ID:	1621349   Click image for larger version

Name:	Tr49612.jpg
Views:	25
Size:	32.2 KB
ID:	1621350   Click image for larger version

Name:	Qn38445.jpg
Views:	30
Size:	40.8 KB
ID:	1621351   Click image for larger version

Name:	Ay74280.jpg
Views:	33
Size:	75.0 KB
ID:	1621352  
nyemi is offline  
Reply With Quote
Old 06-10-2011, 05:58 PM
  #1380
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Nyemi...
Well, I just programmed the first successful chip with the edited lines in the ASM source code you provided. I believe we have a winner!!!! I tested the timer board with my test bed setup and the timing advance is excellent! I still have to run the test motor with it but it works perfect so far!

Thank you for all your hard work!

Finally we have good code for the old timer board with the internal oscillator in the PIC chip !!!!! You are a genius!

John
gr8flyer55 is offline  
Reply With Quote
Old 06-10-2011, 06:25 PM
  #1381
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Charlie...
I just programmed a 16f628A with the new hex file from Nyemi, and we finally have success!!!
I'll post the hex file shortly. I made the low rpm <458 change and also the mclr change in the last few lines of the program and assembled it with MPLAB-ASM. Works perfectly!

I would say you should try it for yourself and try it on the old timer board I sent you. Works like a charm here.
I used the 16F628A pic. Program source will have to be changed for the 16f628 to be used though.

John


gr8flyer55 is offline  
Reply With Quote
Old 06-10-2011, 11:39 PM
  #1382
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Well this is good to hear. John, did you go with the default curve? I am having problems getting the code to assemble. Thanks for the info.

COM is offline  
Reply With Quote
Old 06-11-2011, 04:09 AM
  #1383
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Charlie,
Yes it is good news!
I used the default curve because it's so hard to change the excel sheet.
When I test run my plane today I want to do a video of it and then try to post it for all to see.
If we can change the curve, I have my curve to replace it with that worked so well before with the old code.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 04:17 AM
  #1384
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

I want to post the hex file but the forum doesn't accept the format.
How do I post it?

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 05:59 AM
  #1385
CH Ignitions
 
Join Date: Aug 2009
Location: West Palm Beach, FL
Posts: 372
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

John,
Ihave a suggestion, Open the HEX with notepad, save it as .txt. Then when downloaded, open back again in text, copy the content...EXACTLY, open a old hex file with notepad, clear all inside, paste the content from the downloaded file and close.

Another option will be to add at the end of the file. TXT, after download on your computer delete the .TXT extension. It my ask you some " are you sure you wnat to change format file or extension" say Yes.

Ithink it should work.
John you will be able to try this option, do this on local computer, change the extension to .txt, email it to your self, then revert the .TXT and try to reload the PIC. If it works ...then post it here and will now it works.

Thank You
Adrian Ciulei
CH Ignitions is online now  
Reply With Quote
Old 06-11-2011, 10:22 AM
  #1386
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

John,

Can you compile the asm code ? I get errors.
COM is offline  
Reply With Quote
Old 06-11-2011, 01:27 PM
  #1387
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Yes, I have it assembled and working great here.
My problem is posting the hex file on here. I'll have to just send it to you in email as an attachment.


John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 01:40 PM
  #1388
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

HI John,

Just copy and paste it between code tags.

Do you have a copy of the old nyemi spread sheet?
COM is offline  
Reply With Quote
Old 06-11-2011, 02:53 PM
  #1389
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

I have the old spreadsheet file for you Charlie.. I'll send you another email with it attached. Just sent you the hex file of the new code but it only works on a 16f628A chip. While assembling it with the MPlab program, it asked for a target chip number. I only had 16f628a chips sitting here and wanted to try it out so that's what it was assembled for. I'll do another one for us with the 16f628 chip as a target and send that to you also. When I can, I'll try posting both hex files on here for everyone to download that's interested.
I use Picprog4u to write to the chips and it gave me a warning when I tried the 628 instead of the 628a..needless to say it didn't work when programmed cause it had the chip internal info for the 628a in the hex file. Oh well live and learn I guess.. Have to erase that one and try again with the right code.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 03:00 PM
  #1390
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Charlie.. We had this happen before.. What do you mean code tags? Is it a symbol I type or what? never did it.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 03:38 PM
  #1391
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi John,


IT won't show the code tags so I will email you with what they are.
COM is offline  
Reply With Quote
Old 06-11-2011, 05:12 PM
  #1392
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Ok Charlie...not a problem. I'll check my mail.

Oh, by the way, I just ran my airplane with the ignition & timer..Works like a charm! So I hooked up the strobelight to see what the timing was doing, and it advances perfectly! I just have to tinker with my static timing a tad...not at exactly the right position for starting yet but it started right up and ran great! I was starting a video when the thunderstorm came and ruined my video! Oh well..tomorrow's another day.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 05:16 PM
  #1393
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Charlie, did you recieve the hex file I sent to you?

John
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 05:23 PM
  #1394
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

trying the code tags...if it works, here's the hex file for a 16f628A I'm running in my timer on my plane.

John

Code:
:020000001929BC
 :08000800F000030E8301F1007A
 :10001000A70A0B119501710E8300F00E700E0900F6
 :100020000000003400340034003400340034003464
 :10003000013401340234023402340334033404340E
 :1000400004340534053406340634063407340734E2
 :1000500007340734073407340734073407340734C8
 :1000600007340734073407340734063406340634BB
 :1000700006340734073407340734073407340734A9
 :100080000734073409340934093409340A340A348A
 :100090000A340A340B340B340B340B340B340B346A
 :1000A0000B340B340D340D340D340D340E340E344A
 :1000B0000F340F341034103411341134123412341C
 :1000C00012341234143414341534153416341634EE
 :1000D000173417341834183419341A341A341A34BB
 :1000E0001A341C341D341D341E341E341F34203485
 :1000F000203421342234223423342334243425344C
 :100100002534263427342834283428342A342A3411
 :100110002B342C342D342D342E342F3430343034D1
 :100120003134323433343334343435343634373490
 :100130003734383438343A343B343C343C343D344E
 :100140003E343F3440344134423443344334443405
 :10015000453446344734483449344A344B344C34BB
 :100160004D344E344F34503451345234533454346B
 :10017000543456345734583459345A345B345C341C
 :100180005D345E345F3460346134623463346434CB
 :1001900065346634673469346A346B346C346D3476
 :1001A0006E346F347034723473347434743476341F
 :1001B000773479347A347B347C347D347F348034C2
 :1001C00081348234833485348634873488348A3465
 :1001D0008B348C348E348F34903491349334943403
 :1001E00095349734983499349B349C349D349F349F
 :1001F000A034A134A334A434A534A634A634A7343F
 :10020000A834A834A934AA34AB34AB34AC34AC34FD
 :10021000AC34AE34AF34B034B034B134B234B234C0
 :10022000B33408000313831222088A0021088200D5
 :1002300008000313831225309F0003138316263012
 :100240008500C8309F0002308600073081002430CE
 :10025000920003138312850120308600910104303F
 :100260009200123095000C309700A401A701810183
 :10027000A0308B009F1B9501861841290130A400F6
 :100280003A29A40803193A298B0195010108A50010
 :100290008101013027020319502903187E295C29A6
 :1002A00000000000000000000000A50803195A2902
 :1002B000A5035029FF30A5002508ED3E031C8C291D
 :1002C0002508113EA10000300318013EA2000A08D3
 :1002D000A0001221A30020088A00A30803197E2988
 :1002E000000000000000000000000000000000000E
 :1002F0000000000000000000A30B702931308606CA
 :100300003230A600000000000000A60B8229313028
 :100310008606910112309500A401A701A0308B0040
 :040320003A29192934
 :02400E00503F21
 :00000001FF
gr8flyer55 is offline  
Reply With Quote
Old 06-11-2011, 05:30 PM
  #1395
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Charlie, it worked..thanks alot for showing me what I should have known a long time ago.
Ok everyone interested.. there's the hex file that Nyemi's new code produced for a 16F628A pic chip in the older timer with the 2 chips on it, pic and optocoupler, so there's no confusion. Working great in my timer and with my CDI board. Project completed.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-12-2011, 02:39 AM
  #1396
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

HI John,

I did get the hex. Thanks. I was able to assemble the code. Would it be possible to post a schmatic for the timer board that this code works for? Do you have a design that you are using?
COM is offline  
Reply With Quote
Old 06-12-2011, 07:43 AM
  #1397
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

I'll post it later today Charlie. It's the one with the optocoupler on the board.

John
gr8flyer55 is offline  
Reply With Quote
Old 06-12-2011, 09:48 AM
  #1398
Atam
 
Join Date: Jun 2011
Location: Far away, ROMANIA
Posts: 22
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Charlie M.
Attached Thumbnails
Click image for larger version

Name:	Ig11428.jpg
Views:	93
Size:	50.7 KB
ID:	1622251  
Atam is offline  
Reply With Quote
Old 06-12-2011, 09:52 AM
  #1399
COM
 
Join Date: Jun 2009
Location: Ga, GA
Posts: 396
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Thanks.
COM is offline  
Reply With Quote
Old 06-13-2011, 04:07 AM
  #1400
gr8flyer55
 
Join Date: Nov 2005
Location: Hamburg, PA
Posts: 806
Gallery
My Gallery
Models
My Models
Ratings
My Feedback
Default RE: New CDI - opensource project JMJ and Bigboat

Hi Nyemi...
How do we change the curve in the excel sheet and then get it into the assembly source code?

John
gr8flyer55 is offline  
Reply With Quote
Reply


Thread Tools
Search this Thread
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -8. The time now is 01:02 PM.