¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

all works except the bypass.


 

Hello, i have put togethe 4 kits now, all work but one the bypass wont work properly, sometimes it will and then just wont, re booted several times, the wires are done right on the thru pads using trimed leads. confirmed contact to pins 22 on the pic. no shorts, and board very clean. push switch is working fine. but it just refused to respond. i have order sveral of the pic16f1938 chips, and pic16f1936,? plan is to replace it and re flash it. see what happenes. the only thing i can come up with it a bad chip. all the other are working and built the same way. wondered if anyone else is having same issue???


 

so, i have built several of these, only one is not working correct, so, i have ordered some of the pic16F1938 and going to replace it. nothing else has a issue. has to be a pic issue. also, on the via holes for B1 and B2 just use a trimmed lead in them then hook the wires. easy and no issues that way . read a lot about issues from being so small. leads takes care of it.?
nice little 2 hour project :)?


 

Hi,
Before you change the PIC it may just be worth checking the voltage on each of the connections. There should be an internal weak pull-up resistor on the RB1 and RB2 lines and therefore with the external buttons in the open position you should measure 5V. If the signal is 0V, it may not be connected, or it could be shorted to GND. Looking at the image you posted, there may be a small solder bridge between B2 and ground.
73, Dave


 
Edited

i will check fo b+ . so, you are saying there is B+ on pin 22 and 23? of the pic. the one in the picture is clean. and it works fine. i clean them all and use a 6x loop to go over any of the boards i build up. the flux is usually the worst mess ever under the loop. i will check and post back. i do know it is not shorted out to the button terminal. the auto press does work, but the bypass is not.


 

All understood. Yes, there should be a weak pull-up to VDD (5V) inferred in the firmware for RB0, RB1, and RB2 (Pins, 21, 22 and 23). If you measure the voltage between GND and the pin it should be 5V. The Bypass control is on RB2 (pin 23). I agree if all looks good you may end up having to change the PIC.

73, Dave


 
Edited

ok, here is what i have. ON the pin of 22 i have +5 on the pin 23 zero v. from the via pad to 23 to pin 23 have contact. no zero home. the pad has contact to pin 23 and nothing else, no short. no 5v to pin 23 when powered up. pin 22 has 5v it works for the auto on off. i am not sure the programming would cause this or not?? it is flashed with the 3.2, same as the others that do work fine. so??? seems to be the pic chip ?? Amie


 

the via is clean, and fine. the pic is being stubborn.?


 
Edited

Hi Amie, It does look like the PIC may be the problem. Provided you have loaded the same firmware it should be fine. You could try adding an external 10k? pull-up from RB2 (pin 23) to +5V to see if it starts working.

This is an extract from the github source code.

? WPUB.B0 = 1;? // PORTB0 Pull-up resistor
? WPUB.B1 = 1;? // PORTB1 Pull-up resistor
? WPUB.B2 = 1;? // PORTB2 Pull-up resistor

73, Dave
?


 

ok, yes. i did just that. no go. i just got the last one finished. other then a single color oled supplied, it worked on the first go. no issues at all. i did have another dual color oled so i changed it. now i have the yellow on the top for the power. just easier to see at a glance for me. the pic chips are supposed to be here by next week and i will change it out , read it, clear it verify then flash and verify and cross my fingers. i feel it will work fine. i will post an update here. thanks for the help. Amie N9OXO
good on qrz!?


 

Hi. Check the voltage on the button when it is pressed and not pressed.?


 

i did. no voltage to the bypass one , and it goes to zero on the auto one when pressed. there is just no B+ coming from the pic , none at all for the bypass.?


 

Bad soldering of the pic nodes, shorts on the path, wrong soldered button position.?
Disconnect the button and check shorts with multimeter, power is off.?
If no shorts, power on and check the voltage directly on the appropriated PIC node.?