Announcement

Collapse
No announcement yet.

PI 84 detector code blocks and muchbetter pcb

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PI 84 detector code blocks and muchbetter pcb

    i have placed a file full of bits for the pi84 dtector by mark stuart {code block original by mark pauls.... all credits preserved other than timing adjustments...}

    i made a clear fixed pcb added the reset and pullup resistors to the pcb... with drill points
    renamed to pi84+ pcb name {makes a nice pcb with press and peel blue stuff... or by old a4 photocopier cooking oil and a roller {and hot lamp}


    i have adjusted the code to allow 4,8 mhz on pic84F versions {10 mhz is a hastle}

    also a set of files for the pic 16F84A versions 4,8,20 mhz blocks
    {with simulations to prove timing {done in proteus lite}
    you do need however to set the fuses {code protect watchdog {dont use} etc {basicaly leave it open so you can change if you like later...}and dont forget to set to XP crystal and 20 clock xtal for 20 mhz code block...etc...

    or add a config string to the source and recompile it
    {if you recompile ignore banks select bits warnings {only warnings regarding flop of cpu at run {like an old fold out book} so ....}so is a runtime anomaly...only in code{typical!!!!}{ to make a new version use mplab make a new project in the same source folder then add the asm as a node to the hex {it will rename the hex tot he same as the file so
    then adjust and build {as i say some bank bits warnings {just flop of cpu} ignore this and burn into chip } but setting the fuses is easier..... consult your programmer scripts too see if you need too what too do




    so .... if you look through the code you will see the parts i adjusted and comented
    also in the file is some proteus lite simulations .... runs in lite right up too 20 mhz fine and solid....


    pi84 code blocks here



    code blocks and

  • #2
    Re: PI 84 detector code blocks and muchbetter pcb

    can some people let me know
    if they had joy from these codes please
    esp the 20 mhz version {i ordered a chip i am waiting none local

    i havent tested 8 or 20 mhz with hardware

    only too use with simulator to set the timing the same...

    let me know please....

    for 16f84-10p this is a 10 mhz chip
    and will happily run at 8 mhz using an 8 mhz crystal or a resonator {use a metal xtal gnd the case is best or a metal cased resonator }

    the 8 mhz code looks the best one ... for these f84 chips

    for f84A you prob have a 10 mhz one 20 is fairly new in pic terms for the advanced version 84A {more ram more eeprom and a faster core with a hardware fix and increased risc perfomances so less glitchs



    i can modify the code to add a button to shut off the pulse stream from the unit
    to leave rx only or nothing at all
    people can add a tilt switch and a 100uf 1m res to a pin on the micro {most B port is spare... and it isnt a problem.. so when the detector is moved {or tilted} it dosnt run

    so when you put it down to dig it stops also.. just cutting the power
    saves you having to saving the settigs too often...

    as for lcd perhaps nicko wil remake the stuart i hope he does

    atleast the code will run and a dial up freq can be used etc with lcd

    roll on the update....

    Comment


    • #3
      Re: PI 84 detector code blocks and muchbetter pcb

      correction to addendum texts

      change TL072... for 5534 not ne5534
      a 5534 is a dual ne5534 without a compensation pin etc...

      Comment


      • #4
        Re: PI 84 detector a good laugh read on please if you have any interest

        in doing something with this code
        i realised that the tx rx pulses stay flickering in the code
        and remember seeing something about "HIS" and the original 16c54 and 71
        code causeing fets to blow up and etc


        and this was the reason the reset was added

        bolderbash ....!!!!

        it is becouse the tx rx is changing phase and freq and hopping like knitting needles

        in the 20 mhz code now at the link in previous topic i have fixed this
        stupid fool of an error .... in my opinion

        i will migrate now a full set for the lower speed chip guys too too flash in to there f84 versions

        so now when you press any button and hold it too change and scan it

        dosnt rx or tx so this is great ...
        when you let go it resumes locked at your new freq choice + or - etc or remembered

        i also added a further set of defaults
        and a set of english comments to the code

        as i remade the code i notice what too do about rx tx

        also gives the ability to add a tilt off switch if people want it maybee a relay on the handle.... instead of rigmarol

        too load defaults use ra4 and ra3 buttons on power up
        defaults i left the same as you will need to simply recompile the asm to include your new fixed set or add more sets easy... with just a few added copy paste...

        i will make 4 8 and 20 mhz for pic 16f84 version
        of reworked code
        and also a 4 8 mhz set for pic16f84a 20mhz chip

        Comment


        • #5
          Re: PI 84 detector code blocks and muchbetter pcb

          hi all

          i have added port b7 disable enable pwm rx tx this allows a detector to be put down and picked up without turning off and on etc....

          also for a trigger for handheld use

          now gives a pwm signal same as tx from port b1

          this could be used to drive a second fet and coil to increase directionality
          and power and little cost and haslte {i recon 1 extra fet and a couple of diodes and resistors and reduce the power to both coils
          22T 22T center tap concentric wound




          if anyone is interested give me an email if i get 5 people i will do it



          if anyone requires winrar use google type winrar
          to open the archive

          or i can supply an self extracter via email



          Click Here

          Comment


          • #6
            Re: PI 84 detector code blocks and muchbetter pcb

            added port b1 outputs second pmw signal same as tx {little time shifted !}
            added 3 defaults avalibile in runtime

            so you can choose at will
            from three {for now}
            if you need more its easy...

            rb4 rb5 rb6 pull high loads the default
            even when off mode
            also added portb7 enable diable tx rx
            so you can put it down {add a micro} and it turns off the tx rx side


            or add a tilt for beach working or close in with a stumpy close tight wound coil or coils

            see link in other page

            Comment

            Working...
            X