Interesting Idea, As far as high power wires, this Circuit will be located under the dash, slightly to the left of the steering wheel - about 4" from the fuse box![]()
Interesting Idea, As far as high power wires, this Circuit will be located under the dash, slightly to the left of the steering wheel - about 4" from the fuse box![]()
Why T4 is PNP, but T3 is NPN?
Opto-Coupler will not work as-is. You should tie collector to VCC, emitter to your PIC I/O + Pull-down. Or variant of it, emitter to GND, collector to your I/O with a pull-up. Internal ones, if available on these pins, could work. Assuming the signal are 12V (or something over 5v), a simple current limiting resistor, or voltage divider could also work.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Okay, made sense about the Transistors. I changed the NPN to PNP because they were seemed better for the job.
I also added 10k pull-down resistors to the emitter-PIC I/O wire.
Thanks for input
Seems you have something workable now
You can safely remove R1.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
okay, I figured why am I using 2 more resistors than I need to. I took your advice changed programming a little and used the internal pullups, check it out.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks