Search results

  1. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    feb 6 lest you be left with the impression that the 84A config' bits have to be set with the toolbar method ... i ask that you see the *.asm for an 84A at Sport Devices site. ..... there you will find the line : __CONFIG _WDT_OFF & _XT_OSC and this S/D asm file does build with this...
  2. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    feb 6 update the 84A bit configuration matter is a problem no longer. the path to the answer had been in front of me the whole time. right there along the MPLAB 8.70 tool bar is a 'Configure' choice. like many aspects of this s/w program i havent had any reason to use it yet. thus it remained...
  3. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    feb 3 lastly is a print off the scope screen of the input pulse at the A5 pin. on CH 1 and the subsequent signal out of the A2 pin to light a led on CH 3 the measured delay and A2 pulse width are not quite as coded. due to the OSCCAL value being gone, it was erased accidentally. and this...
  4. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    feb 3 now the assembly code the pulse entering at the A5 pin (GPIO,5) is detected by code lines 22 & 23. they poll that pin in an endless loop until the level change 0 to 1 is sensed. what it does is called 'polling' a pin. once the pin is detetcted to be 'set' the 'skip' ( 1'st s in btfss...
  5. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    feb 3 this is part of the 1'st program in the planned series of 11 wrote about yesterday first lets see the circuit there's no series resistor. this led has one built in. buy them at DigiKey the uC is a baseline 12F508. featured in the gooligum series of lessons. get them for free...
  6. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    feb 2 hello guys , gals and welcome back to my ignition coding project. there is a break with the other ignition project on this forum while a new problem with configuring the 84A uC is worked out. reviewing the pic 16F84a code that Sport Devices people and the PIC'n books author wrote...
  7. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    feb 2 update problems. a big one ..... my ' Easy PIC'n ' book (1997) that serves as a guide for working with the 84A indicates that the configuration bits are set (for its code examples) at the time the uC is programmed. until now configuration has been handled with the baseline uC's...
  8. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    jan 28 this scope image has a value for Freq . = 150Hz. only , now with the H=1.00ms the scale is too coarse ( vs the H=200us above ) for careful alignment of the cursor over the pulse edges for accurate BX-AX measurement . the image is an example of where wider pulses could be coded...
  9. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    jan 28 here are 3 screen shots of the scope for some of the data table posted yest, jan 27. they are for 50 , 100 and 150 Hz. they show the cursor BX-AX time measurements for those 3 B0 input pulses in that table. as well as showing the width of the CH 1 B0 pulses changing in width with...
  10. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    jan 27 .. update with the SD 84.asm & ckt work. by their circuit diagram and some code review it is possible to determine the RB2 pin with the 'curve selector' label is not as shown. nowhere did i find that pin being read. thus i conclude its a leftover from some earlier version of their code...
  11. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    update ... Jan 25 for this post we will review the S/D 'F84 ckt diag. in particular the PICKUP signal from the flywheel sensor. by the diagram you see that this negative sine wave lobe is applied to the emitter of the BC547 npn transistor. the question is what is the signal off the...
  12. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    https://www.ecsxtal.com/store/pdf/ecs-100x.pdf this link will take you to the clock oscillator being used with my 16F84A uC for this project. what's special about it is having a TTL output. the 84A takes this on a single input pin 16. and outputs 1/4 that rate on pin 15. thus you have a 2'd...
  13. bob weir

    review of Sport Devices CDI digital ignition 16F84A code for a 2 cycle gas engine

    hey , loyal readers & followers of my CDI ignition work ... this is a new project. with a uC not seen before. prepare for things being on the increase in your life. and riding the leading edge of a wave of knowledge and discovery the other CDI project with its baseline uC is still...
  14. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    if you followed the above link to SportDevices site and looked at the CDI circuit diagram you saw the uC labelled 16F84 not 16C84 as posted above in the first paragraph of my earlier post today, jan 18. then on reading the *.asm you downloaded , saw that the list and #include lines cite...
  15. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    jan 18 .... update . long ago , here on an earlier page , was posted ignition code work done by a group SportDevices using a 16C84 uC. their site is up & still includes the overview for this effort. including a circuit diagram and an assembly code file that can be downloaded. plus a...
  16. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    dec 26 some other uC work has been getting in the way of this ignition coding effort. many problems have come up. and a few are worth the mention. as they could have some relevance for you too the first was powering 2 bread-board circuits simultaneously. and seeing the uC-ctrl'd led on...
  17. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    Dec 13. the oct 20 post had in it a problem with the scope showing non-existant signal repeats. the cause of those repeats is still an unknown. a new idea has arisen since then. via looking at the timeline of the signals and noting some large mS delays between pulses with uS spacing . and then...
  18. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    Dec 7 ... the following is for those of you who want to skip buying Microchips 'Low Parts Count Demo board' and their Pickit-2 programmer. when one can throw the equivalent together from less costly ebay purchases. ...... with a plus being a traditional multi-hole solderless bread-board is...
  19. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    Oct 20 the post today is to alert you to some questionable test results . the scope is the Rigol 4-channel DS1054 . and the 506 uC circuit is wired on a 400 point breadboard. power is via 4 nimh batteries , about 5.2V and slowly dropping summary : the code is suppose to spit out 3 pulses at...
  20. bob weir

    Digital programmable CDI ignition for 2-stroke engines

    Oct 18 the post today has the purpose of showing a common error source. made often by beginners to the baseline family of uC's. while using the PICKIT-2 or PICKIT-3 uC programmer it is all too easy to accidentally erase the chip contents. and along with the erased code the factory...
Top