Announcement

Collapse
No announcement yet.

PI-GB Design

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

  • #31
    Click image for larger version  Name:	snimka.jpg Views:	0 Size:	71.9 KB ID:	436076Hi Carl, can you tell me where in the code I need to correct the Pulse-4 Firmware (PI-GB) code, so I can try to test the TDI GB as well? For example
    at a frequency of 3200 hertz. Thank you.​​

    Comment


    • #32
      Timing parameters are in Pulse.c:

      Click image for larger version

Name:	image.png
Views:	247
Size:	97.7 KB
ID:	436096
      ​​​
      I would also disable the frequency control pot so you don't get into thermal trouble; comment out lines 72 & 73 in PulseADC.c:

      Click image for larger version

Name:	image.png
Views:	240
Size:	119.4 KB
ID:	436097

      Comment


      • #33
        Hello Carl-NC
        Everything works fine after I started the feed pump according to this scheme...
        But now when I turn on the 74HCT4316 switch it changes the sound and changes the power supply...
        Is there a way to fix this...?

        https://www.youtube.com/shorts/gn4ItNZ9rDY


        Click image for larger version  Name:	viber_изображение_2025-04-06_11-19-13-235.jpg Views:	0 Size:	305.4 KB ID:	436356
        Click image for larger version  Name:	viber_изображение_2025-04-06_15-27-27-919.jpg Views:	0 Size:	339.0 KB ID:	436357
        Click image for larger version  Name:	viber_изображение_2025-04-06_15-27-27-288.jpg Views:	0 Size:	306.3 KB ID:	436358
        Last edited by pechkata; 04-07-2025, 05:35 AM.

        Comment


        • #34
          Здравей Carl-NC
          Има ли начин да поправя това...?

          Click image for larger version

Name:	viber_изображение_2025-04-12_16-44-30-196.jpg
Views:	135
Size:	324.8 KB
ID:	436544
          Click image for larger version

Name:	viber_изображение_2025-04-12_17-17-21-915.jpg
Views:	136
Size:	331.4 KB
ID:	436545
          Click image for larger version

Name:	viber_изображение_2025-04-12_16-44-30-278.jpg
Views:	134
Size:	277.1 KB
ID:	436546
          Click image for larger version

Name:	viber_изображение_2025-04-12_16-44-30-554.jpg
Views:	130
Size:	439.7 KB
ID:	436547

          Comment


          • #35
            Hi Carl, this board also doesn't work for me and the sound starts to drop and break and the threshold potentiometer can't work correctly when I turn on the 74HC4316 integrated circuit. What do I need to change in the code to make it work? Thanks

            Comment


            • #36
              Hi algan and pechkata,
              The version 2.01 of GBPI schematic haven't chance to work properly. The power of PIC is between 0V and minis 5V but 74HCT4316 needs control pulses between 0V and +5V. Only way to fix this problem is to add voltage converters in all 4pcs. control signals for 74HCT4316. It is not possible to supply PIC between +5V and GND because for producing of +5V you need pulses from PIC. (the question is: Which came first - the chicken or the egg? ).

              Comment


              • #37
                Have one more variant to fix this problem - to use 74HC4316 from NXP and connect GND pin to minus 5V. This will avoid the need of voltage level translators. But this is not easy - this IC is produced from NXP only in SOIC-16 case. You will need SOIC-16 to DIP-16 adapter (this type of adapters haves bigger size than DIP-16 case and this is a problem - possible conflict with near parts of the board). The 74HC4316 from TI allows max voltage Vcc-GND of 7volts only and is not suitable for this variant.

                Comment


                • #38
                  First, move the GND pin on 74HC(T)4316 from GND to minus 5V rail. It is possible that this will fix the problem (if no overloading of +5 rail occurs)

                  Comment


                  • #39
                    Originally posted by Detectorist#1 View Post
                    Hi algan and pechkata,
                    The version 2.01 of GBPI schematic haven't chance to work properly. The power of PIC is between 0V and minis 5V but 74HCT4316 needs control pulses between 0V and +5V. Only way to fix this problem is to add voltage converters in all 4pcs. control signals for 74HCT4316. It is not possible to supply PIC between +5V and GND because for producing of +5V you need pulses from PIC. (the question is: Which came first - the chicken or the egg? ).
                    Hello Detectorist#1
                    Maybe you mean like in this diagram.

                    Click image for larger version  Name:	Voodoo.jpg Views:	0 Size:	754.2 KB ID:	436563

                    Comment


                    • #40
                      Sorry for the delayed response. My original PCB was a hacked-up mess so I built a new circuit from scratch. There is an error in that both pins 7 & 8 of IC3 should be connected to VEE, not ground. This was done correctly on my original board and then I copied it incorrectly to the Rev2 PCB. Furthermore, IC3 needs to be an HCT type, not HC.

                      But there's a slightly easier fix. Since the PIC runs on 0/-5V this circuit really does not need the 4316 chip, a 4066 will work just fine. And the 4066 can directly replace the 4316 by leaving the bottom two pins (8 & 9) empty. Pin 7 will still need to be moved to VEE, for this bend the pin so it is not soldered in the hole and jumper it to IC2-pin4. Also, use the 74HCT4066. In doing this my board is working. I will make corrections to the schematic & Gerbers and post new versions. Apologies to all.

                      Comment


                      • #41
                        Hello Detectorist#1
                        Something else worries me - on this graph, the blue and red rays are DELAY.
                        They should be after the pumping pulse.
                        Click image for larger version

Name:	viber_изображение_2025-04-12_17-17-21-915.jpg
Views:	100
Size:	331.4 KB
ID:	436566

                        Comment


                        • #42
                          Originally posted by pechkata View Post
                          Hello Detectorist#1
                          Something else worries me - on this graph, the blue and red rays are DELAY.
                          They should be after the pumping pulse.
                          The are the EFE cancellation samples so they appear just before the TX pulse. They are correct.

                          Comment


                          • #43
                            Hello Karl-NC
                            Yes - I swapped the probes on the oscilloscope.
                            Everything is fine with the PIC16F18426
                            Last edited by pechkata; 04-13-2025, 07:58 AM.

                            Comment


                            • #44
                              Click image for larger version

Name:	IMG_20250413_101233.jpg
Views:	102
Size:	212.0 KB
ID:	436571 Thanks, Carl, I will wait for the corrections and new gerberas and transfer all the elements from this board to the new board with 74HCT4066.

                              Comment


                              • #45
                                Hello
                                Everything is OK.
                                I released it with 74HC4316

                                Thanks Carl-NC

                                Click image for larger version  Name:	viber_изображение_2025-04-13_10-39-06-955.jpg Views:	0 Size:	296.8 KB ID:	436573

                                Comment

                                Working...
                                X