Announcement

Collapse
No announcement yet.

VDI-RODERICO

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

  • Could 2.2 be used with various metal detectors Gold Mask, Tejon etc. with X, Y channels? Also any comments about VDI accuracy and depth.

    Comment


    • hi roderico and waltr I follow your post with interest
      I bought an Oled ssd1309/ssd1305 but there are four interfaces depending on resistors position on the backplate : parallel 6800 or 8080 and serial or i2C. Do you know what interface i need to use with ssd1305 drivers ?
      Thanks.
      I have a PIC 18F26K22-I/SP so you did a .hex with this PIC but with another screen and another with this screen but with another PIC. I installed MPLAB X but i do not know how to modifie text files and how to compil them in .hex. I found the .hex for the PIC 18F26K22 but not the .h or .c too. Do you know where i can found a document or video who explain how to do this ?
      And last thing, Waltr I want try to add the op-amp stage to your universal display PCB. Do you have a sprint layout that i can modifie ?

      Comment


      • Originally posted by Albdelafar View Post
        hi roderico and waltr I follow your post with interest
        I bought an Oled ssd1309/ssd1305 but there are four interfaces depending on resistors position on the backplate : parallel 6800 or 8080 and serial or i2C. Do you know what interface i need to use with ssd1305 drivers ?
        Thanks.
        I have a PIC 18F26K22-I/SP so you did a .hex with this PIC but with another screen and another with this screen but with another PIC. I installed MPLAB X but i do not know how to modifie text files and how to compil them in .hex. I found the .hex for the PIC 18F26K22 but not the .h or .c too. Do you know where i can found a document or video who explain how to do this ?
        And last thing, Waltr I want try to add the op-amp stage to your universal display PCB. Do you have a sprint layout that i can modifie ?
        hi you need parallel 8080 interface, if you are using the same pin configuration as waltr's then maybe waltr can post the firmware it would be easier, if not I can build the firmware for you but with the same pin configuration as the ST7567...

        Comment


        • Originally posted by Wiltran View Post
          Could 2.2 be used with various metal detectors Gold Mask, Tejon etc. with X, Y channels? Also any comments about VDI accuracy and depth.
          in principle it should work, but e.g. waltr has problems with VDI numbers when using with TGSL as X,Y depends on disc, phase difference is extracted from X Y amplitude ratios as atan(y/x), it builds a histogram with each X,Y pair sampled from a short time window, the same target might give different histograms depending on sweep speed, orientation, position of the target, ... when you have a narrow histogram (low error) you have good id, e.g. non-ferrous metals, ferrous metals on the other hand usually give a wide histogram and thus variable vdi numbers. Depth can be tuned with trigger level and/or with the op-amp gain, in summary I would just say that it helps but it does not do miracles, maybe someone else has done some more tests and can post results here

          Comment


          • Originally posted by Albdelafar View Post
            hi roderico and waltr I follow your post with interest
            I bought an Oled ssd1309/ssd1305 but there are four interfaces depending on resistors position on the backplate : parallel 6800 or 8080 and serial or i2C. Do you know what interface i need to use with ssd1305 drivers ?
            Thanks.
            I have a PIC 18F26K22-I/SP so you did a .hex with this PIC but with another screen and another with this screen but with another PIC. I installed MPLAB X but i do not know how to modifie text files and how to compil them in .hex. I found the .hex for the PIC 18F26K22 but not the .h or .c too. Do you know where i can found a document or video who explain how to do this ?
            And last thing, Waltr I want try to add the op-amp stage to your universal display PCB. Do you have a sprint layout that i can modifie ?
            Sorry, no sprint layout. I do all schematic and PCB in an old version of PCAD.
            I put the op-amps on a separate board that is mounted inside the box with the TGSL board. Then a cable to the display board.
            This keeps the high gain amps and connections onto the TGSL's board shielded.

            Microchip has tutorials on the basics of using MPLABX. You need to start a New Project, Microchip Embedded, Standalone. Select the device (Advanced PIC18 family - PIC18F26K22), then compiler (XC8 ), Project name and folder for the project.
            Copy Redgerico's source code files into the project 'source' folder'. Then in "Projects" window,Select 'Header Files and Right click- select Add existing Item... In the dialog that open go to the folder with the source file and select the *.h (header) files.
            Do the same with the "Source Files" and select the *.C files.
            There are .h & .c files for different PIC. Only select the Pic you are using, ei _18f25k22.* but select all the other files.
            The display files are in the glcd sub-folder. Again for different displays. Select only the ssd1305.*and then all the other files.

            There will be a few minor code changes needed to use the 26k22. Easiest to do is Compile then click on the errors to see what code lines need to be changed.
            Along with Microchip's tutorials there are same simpler example projects. Download these to learn how to use MPLAB. The first few times is hard since there is a lot to learn but then it gets easy.

            Originally posted by roderico View Post
            hi you need parallel 8080 interface, if you are using the same pin configuration as waltr's then maybe waltr can post the firmware it would be easier, if not I can build the firmware for you but with the same pin configuration as the ST7567...
            Correct 8080 parallel mode.

            Originally posted by roderico View Post
            in principle it should work, but e.g. waltr has problems with VDI numbers when using with TGSL as X,Y depends on disc, phase difference is extracted from X Y amplitude ratios as atan(y/x), it builds a histogram with each X,Y pair sampled from a short time window, the same target might give different histograms depending on sweep speed, orientation, position of the target, ... when you have a narrow histogram (low error) you have good id, e.g. non-ferrous metals, ferrous metals on the other hand usually give a wide histogram and thus variable vdi numbers. Depth can be tuned with trigger level and/or with the op-amp gain, in summary I would just say that it helps but it does not do miracles, maybe someone else has done some more tests and can post results here
            Correct.
            The VDI display does not affect the detectors (TGSL in my case) depth detection.
            The VDI just helps to determine what type of target might be there.
            Even though the VDI numbers are different on my TGSL than the IDX it is really the X-Y Graph that I go on to help determine if I dig a target. It is simply getting experience with the VDI as you would need to do on any detector. The VDI is very helpful when there is a good target near iron and you sweep the coil around the iron/target. When the coil is just missing the iron the X-Y graph shows a positive sloping line.

            Comment


            • Thank you roderico and waltr for the very interesting information. I am here to learn and by reading posts like this I learn a lot.
              Even if it is a bit hard to record all the information sometimes .....
              Tommorow I will try your tutorial waltr. Do I have a way to know if the .hex is good before to send it in the PIC?
              For the PCB layout I will try to do it by myself it's could be a good exercise !!

              Comment


              • Originally posted by Albdelafar View Post
                Do I have a way to know if the .hex is good before to send it in the PIC?
                For the PCB layout I will try to do it by myself it's could be a good exercise !!
                If you mean will it run, then No you just load it into the PIC and see if it runs.

                I think I posted a pdf file of the PCB and or the Gerber files. If not and you want them let me know.
                Then use these as an example.
                It is always good to know how to do a schematic and PCB. It isn't really hard and then allows you to do any PCB project you went.

                Comment


                • I have rebuilt the missing firmwares for PIC18F26K22 in case it helps although they are untested they should work. PIC18F26K22 is basically PIC18F25K22 with double program memory (64K vs 32K) and more data memory (>2x) as waltr has pointed out, but v2.2 only uses 60% of 32K so both pics should be equivalent for the vdi. S6B0108 is the same as KS0108 but with inverse CS1 and CS2.
                  Attached Files

                  Comment


                  • Thank you very much roderico !!
                    I think I posted a pdf file of the PCB and or the Gerber files. If not and you want them let me know.
                    Then use these as an example.
                    It is always good to know how to do a schematic and PCB. It isn't really hard and then allows you to do any PCB project you went.
                    I got them !! I finished some minor modifications to the IDX PRO layout now I will try to adapt the VDI PCB to it.

                    Comment


                    • Can the PIC18F26K22 be programmed with a simple programmer? I have an Epicprogrammer I use for F16F88.

                      Comment


                      • Originally posted by Wiltran View Post
                        Can the PIC18F26K22 be programmed with a simple programmer? I have an Epicprogrammer I use for F16F88.
                        Check the document for that programmer to see if it supports the 18F26K22.
                        I use the PICKit3 for the 18F26K22 and a PICKit2 for the 16F88.

                        Comment


                        • I also use pickit3 without any problem

                          Comment


                          • Hello .Is there someone to gather so far all new updated materials and pcb and all the changes with the better working mods and post it in a compete pdf ?
                            thank you

                            Comment


                            • Hello, only missing to update the pcb, here is a sample single layer pcb 80x53mm for v2.2. I didn't add the external oscillator (only needed if you are using an old pic, e.g. PIC18F255). If you are using MCP602 then you can use pcb v2.1 (https://www.geotech1.com/forums/show...882#post258882), if you are not using MCP1525 (e.g. 3.3V) then C15 and U4 can be replaced with two 100K resistors (they will fit on the pcb without modification). Also I attached kicad5 sources in case you need a different layout, dimensions, track width, etc. or to improve it.
                              Attached Files

                              Comment


                              • I don't know what it does, can it be used for pulse detectors? How do I connect my machine and why there is no display picture?

                                Comment

                                Working...
                                X