I think your getting some excellent advice here. As I have said before there are world class programmers here (and also those knowledgeable in electronics design) and all are willing to...
As a novice I don't get exposure to best practices so this advice is very welcome. I will copy the info down and study it carefully. It will certainly be implemented in future designs that...
I over thought the issue and had a "brain-fault" when I got to thinking of the output parameters instead of the pin configured as imput. I appreciate your pointing that out and following...
At present I'm not so concerned about reed switch bounce (although that may become a later issue) since the jumping to the next set of operations in the PIC program behavior occurs without...
I'm not sure about the current required for the "run/stop, direction and turnout relays" but I notice you are sourcing the current instead of sinking it thru the PIC. That's bad design to me as most...Dave Yesterday, 22:20
Thanks for the great circuit sketch! I don't have any inductors on hand but if this works well, I would consider making a module of it for future uses of the reed switch as a sensor.
The 25mA source/sink current doesn't apply here. That's what the pin can source or sink when it's configured as an output - that's not what you're doing. When the pin is configured as an input you...HenrikOlsson Yesterday, 20:58
I've found that: Basic Electrical Parameters of Reed Switch (PDF).
You'll see on page 3 they bounce a lot for a few miliseconds. I suggest you lower the pullup to 1k to improve noise immunity. If...
| PICBASIC PRO™ Compiler 3.0 PBP is a BASIC programming language for Microchip's PIC microcontrollers.
Version 3 is a major evolution of this popular product, making it even more capable, stable, and reliable. All the years of development culminate here, with many new capabilities and improvements. Come see why thousands of engineers, educators and hobbyists have depended on PBP for more than a decade.
Software activation keys are delivered electronically after purchase.
15 Day Trial Before Activation Key is Required
If installed without an activation code, the software will be fully functional for 15 days.
Read about Product Activation