Announcement
Collapse
No announcement yet.
PI-GB Design
Collapse
X
-
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
Last edited by pechkata; 04-07-2025, 05:35 AM.
Comment
-
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
-
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
-
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
-
Originally posted by Detectorist#1 View PostHi 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? ).
Maybe you mean like in this diagram.
Comment
-
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
-
Comment