Announcement

Collapse
No announcement yet.

Moodz' Awesome Gold Pulse Induction Version 3 - MAGPI V3 Project

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

  • #46
    Originally posted by wtrk View Post
    Dear moodz now is it possible to make it ? I want to make it but if it is not ready I want to wait more for pcb order, what do you think about pcb changes future ?
    Hi wrtk ... I do not plan to change my PCB layout. its always a good idea to wait a little while till people on the Geotech forum have found any errors and made suggestions ( hopefully not rude ones ) before you build one.
    I will post some build details of units I have built shortly. Also keep an eye on the SMD version from KingJL ... it looks really good.

    moodz

    Comment


    • #47
      Originally posted by moodz View Post

      "... wait a little while till people on the Geotech forum have found any errors and made suggestions ( hopefully not rude ones ) before you build one..."
      May I suggest you remove 1uF from PIC32 pin 5 (MCLR#)... it MAY interfere with in circuit programming/debugging (reference PICkit 3 manual).

      Comment


      • #48
        Originally posted by KingJL View Post
        May I suggest you remove 1uF from PIC32 pin 5 (MCLR#)... it MAY interfere with in circuit programming/debugging (reference PICkit 3 manual).
        Thanks Jim ... I had better start an Erratum list ....I have been using this configuration for years with prob hundreds of different boards and mostly programmed with the PICkit 3. Maybe we should include in the trouble shooting list though?

        I have just built up unit no 4 ... 3 previous no failures yet. This one is fitted with the 5.6 mh inductors on the audio filter.

        just noticed for the Erratum list ... I am using 10K for R13 and R14 instead of 1 K. and the big filter caps are 470 uF..... the filter caps are not super critical with linear regs. They need to be there of course.

        ... and the 9.1 volt zener across the bsp230 bias cap. :-)

        moodz

        Click image for larger version  Name:	v3unit4.jpg Views:	0 Size:	551.5 KB ID:	410002

        Comment


        • #49
          Originally posted by moodz View Post

          Thanks Jim ... I had better start an Erratum list ....I have been using this configuration for years with prob hundreds of different boards and mostly programmed with the PICkit 3. Maybe we should include in the trouble shooting list though?

          I have just built up unit no 4 ... 3 previous no failures yet. This one is fitted with the 5.6 mh inductors on the audio filter.

          just noticed for the Erratum list ... I am using 10K for R13 and R14 instead of 1 K. and the big filter caps are 470 uF..... the filter caps are not super critical with linear regs. They need to be there of course.

          ... and the 9.1 volt zener across the bsp230 bias cap. :-)

          moodz

          Click image for larger version Name:	v3unit4.jpg Views:	0 Size:	551.5 KB ID:	410002
          Hi Moodz,
          In addition to the errata list just got a couple of questions.
          Q1 - Label DRV pin 5 of U11 (OUT_B) doesnt appear to have a connection within the schematic..?
          I think this may have somthing to do with your comments "U11 is not needed if you link pin 7 U11 to pin 7 of U6"..just not sure what it all means..?
          Cheers
          Dean​

          Comment


          • #50
            Originally posted by moodz View Post
            Maybe we should include in the trouble shooting list though?
            That would be a good idea!

            I have just built up unit no 4 ... 3 previous no failures yet. This one is fitted with the 5.6 mh inductors on the audio filter.
            I would be interested in the outcome!

            ...just noticed for the Erratum list ... I am using 10K for R13 and R14 instead of 1 K. and the big filter caps are 470 uF.....
            Thanks... will change my schematic accordingly.


            Comment


            • #51
              Originally posted by Dean Sarelius View Post

              Hi Moodz,
              In addition to the errata list just got a couple of questions.
              Q1 - Label DRV pin 5 of U11 (OUT_B) doesnt appear to have a connection within the schematic..?
              I think this may have somthing to do with your comments "U11 is not needed if you link pin 7 U11 to pin 7 of U6"..just not sure what it all means..?
              Cheers
              Dean​
              yeh the mosfet driver chips are complementary outputs ... only need one for the TX mosfet ... however since the voltage multiplier uses the same chip and is driven by the TX line from the CPU then you could "steal" the mosfet drive from here. Some purists might want to keep a separate mosfet driver chip though ... I have tried it both ways cant really notice a difference and you can save a driver chip. OUT_B is not used.
              moodz

              Comment


              • #52
                Originally posted by KingJL View Post
                That would be a good idea!


                I would be interested in the outcome!


                Thanks... will change my schematic accordingly.

                Smoke test -- passed. ( no smoke escaped )

                Click image for larger version  Name:	IMG20230223151332.jpg Views:	0 Size:	498.0 KB ID:	410008


                detail of the LCD connection

                Click image for larger version  Name:	IMG20230223151448[530].jpg Views:	0 Size:	527.4 KB ID:	410009


                detail of the rotary encoder connection ...

                Click image for larger version  Name:	IMG20230223153359.jpg Views:	0 Size:	421.1 KB ID:	410010


                Detail of the menu ...

                Click image for larger version  Name:	IMG20230223151810.jpg Views:	0 Size:	407.3 KB ID:	410011
                The ">" is the current menu selection. Pushing the rotary encoder button will move menu selection // rotating will change value. Volume is home position ( ie boot up )
                Note the detector will work without the LCD and Rotary .... I use it that way.

                Have fun ... moodz.

                Comment


                • #53
                  Originally posted by moodz View Post
                  ... and the 9.1 volt zener across the bsp230 bias cap.
                  Just observed something... added a 9.1 zener to the sim (I generated a sim using models of the actual parts to the TX and FE circuit (except for the analog switches) and noticed a 4 usec increase in the minimum sample delay. I don't know if all the 9.1 zeners exhibit the same effects... need to check this more. Right now I need some sleep!

                  Comment


                  • #54
                    Hi Moodz,
                    I gather you have enabled internal pull ups in the PIC for the encoder...?
                    Typically you would use a 10K resistor in series with the A and B signals with a capacitor to buffer the output.
                    Refer to a schematic which I have used below on an AVR.
                    Click image for larger version

Name:	image.png
Views:	746
Size:	68.1 KB
ID:	410014
                    For the display interface a lot of these require that the VCC = 5V primarily to drive the backlight and there are pull ups to VCC connected to the SDA and SCL pins.
                    I gather you are driving the display with 3V3 for the VCC so this should have no issue but I guess the display will be dimmer as a result..?​

                    Comment


                    • #55
                      Hi Moodz,
                      Just looking at the encoder connections and it appears you have A connected with Orange and C (Common) connected with Red with B going to ground via the Green.
                      I gather that you are only detecting a low to high transition on the A connection and using this as your count so are likely unable to determine the direction..?

                      Comment


                      • #56
                        Originally posted by KingJL View Post
                        Just observed something... added a 9.1 zener to the sim (I generated a sim using models of the actual parts to the TX and FE circuit (except for the analog switches) and noticed a 4 usec increase in the minimum sample delay. I don't know if all the 9.1 zeners exhibit the same effects... need to check this more. Right now I need some sleep!
                        That board that was just built up on the CRO with a minelab 10inch mono ...

                        Zener installed ( stored trace green ) and Zener uninstalled ( live trace blue ) overlayed ...
                        Click image for larger version

Name:	IMG20230223170444.jpg
Views:	870
Size:	447.3 KB
ID:	410017

                        ... I dont think I can resolve a meaningful difference ???

                        The pink pulse is the X sample pulse from the CPU ... ( bit of ringing there .. but no biggie ... the hyst on DG411 is not bothered. )

                        moodz

                        Comment


                        • #57
                          Originally posted by Dean Sarelius View Post
                          Hi Moodz,
                          I gather you have enabled internal pull ups in the PIC for the encoder...?
                          Typically you would use a 10K resistor in series with the A and B signals with a capacitor to buffer the output.
                          Refer to a schematic which I have used below on an AVR.
                          Click image for larger version

Name:	image.png
Views:	746
Size:	68.1 KB
ID:	410014
                          For the display interface a lot of these require that the VCC = 5V primarily to drive the backlight and there are pull ups to VCC connected to the SDA and SCL pins.
                          I gather you are driving the display with 3V3 for the VCC so this should have no issue but I guess the display will be dimmer as a result..?​
                          Yeh I was a bit concerned at first that I would have to rejig the board to add pull up resistors or solder them in midair or something .... but the PIC takes care of the pullups.
                          These 2004A displays ( cheapies of ebay ) seem to run fine on 3.3 volts. The display does look a little washed out on the photo but that is because the LCD update process is strobing the phone camera.

                          moodz.

                          Comment


                          • #58
                            Originally posted by Dean Sarelius View Post
                            Hi Moodz,
                            Just looking at the encoder connections and it appears you have A connected with Orange and C (Common) connected with Red with B going to ground via the Green.
                            I gather that you are only detecting a low to high transition on the A connection and using this as your count so are likely unable to determine the direction..?
                            On the contrary ... that rotary picks up direction no problem ... otherwise I would have a problem ... have a look at the source code ( Its in one of the interrupt blocks - TX I think ... but the rotary does not generate interrupts ) so the TX runs at about 15 Khz ... so that is the sample rate of the rotary.

                            moodz.

                            Comment


                            • #59
                              Originally posted by moodz View Post

                              Yeh I was a bit concerned at first that I would have to rejig the board to add pull up resistors or solder them in midair or something .... but the PIC takes care of the pullups.
                              These 2004A displays ( cheapies of ebay ) seem to run fine on 3.3 volts. The display does look a little washed out on the photo but that is because the LCD update process is strobing the phone camera.

                              moodz.
                              Regarding the display ... the notes indicate the backlight runs fine of 3.3 volts .. The serial to parallel converter module will run down to 2.5 volts so my guess is that 3.3 volts to the LCD logic just sneaks in.

                              The Alibaba add confirms it ( not that Alibaba is an oracle )

                              3 or 5 volts supply.

                              6 Dollars ...

                              3.3V 5V 2004 204 20x4 Character LCD Display Module 2004 LCD Monitor Module Yellow Blue Blacklight for Arduino Printer 3 D


                              Description:

                              1. The module is a low-power consumption character LCD Module with a built-in controller.
                              2. The module can be easily interfaced with a MCU.
                              3. Display Format: 20 Characters x 4 lines.
                              4. It is fantastic for Arduino based project.
                              5. Supply voltage: 3.3V / 5V.
                              6. Fully assembled and tested Serial LCD 20x4 Module.
                              7. Yellow / Blue backlight.
                              8. Analog Interface.
                              9. Size: 98 x 60 x 12mm.

                              ​moodz

                              Comment


                              • #60
                                Originally posted by moodz View Post

                                On the contrary ... that rotary picks up direction no problem ... otherwise I would have a problem ... have a look at the source code ( Its in one of the interrupt blocks - TX I think ... but the rotary does not generate interrupts ) so the TX runs at about 15 Khz ... so that is the sample rate of the rotary.

                                moodz.
                                Ok will take a closer look at the source code although normally a rotary transition should be used to generate an interupt either from A or B and the routine will read the state of the other pin to determine the direction.
                                Still trying to think how direction would work with only A as the input signal and have a hunch it may have somthing to do with what is happenning on the common pin.
                                Click image for larger version

Name:	image.png
Views:	816
Size:	11.9 KB
ID:	410022

                                Comment

                                Working...
                                X