Design a Car Door Unlocker with PIC IO Pin

  • Thread starter Thread starter david90
  • Start date Start date
  • Tags Tags
    Design
AI Thread Summary
The discussion focuses on designing a circuit to unlock car doors using a PIC microcontroller. The proposed design involves using an NPN transistor that pulls the door unlock signal to ground when the PIC's output pin is high. Concerns were raised about the size of resistor R21, which was found to be too large, preventing the circuit from functioning properly until it was shorted. The necessity of D1 for circuit protection against reverse polarity was also clarified. The conversation concludes with inquiries about the safety of operating without a current limiting resistor for the transistor.
david90
Messages
311
Reaction score
2
I'm designing an automotive device and one of it's function is unlocking the car doors. My car has a door unlock switch and it unlocks the doors by pulling the door unlock signal to ground when pressed. My device uses a PIC as the brain and it unlocks the car door by asserting a high to an IO pin.

I need to design a circuit that can interface my PIC's IO pin with the car's door unlock signal.

I do have a design but I don't know if it is good or not. Please download the pdf to see the circuit.

http://www.tennis4real.com/capacitivekey.pdf When PIC's output pin goes high, the NPN conducts and pulls the car's door unlock signal to gnd thus unlocking the car doors.
 
Last edited by a moderator:
Engineering news on Phys.org
to know if something is appropriate, you really need to know what the circuitry it connects to is.
 
david90 said:
I'm designing an automotive device and one of it's function is unlocking the car doors. My car has a door unlock switch and it unlocks the doors by pulling the door unlock signal to ground when pressed. My device uses a PIC as the brain and it unlocks the car door by asserting a high to an IO pin.

I need to design a circuit that can interface my PIC's IO pin with the car's door unlock signal.

I do have a design but I don't know if it is good or not. Please download the pdf to see the circuit.

http://www.tennis4real.com/capacitivekey.pdf


When PIC's output pin goes high, the NPN conducts and pulls the car's door unlock signal to gnd thus unlocking the car doors.

What's D1 for? Why is R21 so big?
 
Last edited by a moderator:
berkeman said:
What's D1 for? Why is R21 so big?

D1 is for circuit protection just in case I connect the power wires (gnd and 12V) backward.

Yes R21 is too big. I just installed the circuit in my car and it did not work until I short out R21. R21 is too big thus Q1 collector voltage never goes below Vil to successfully trigger the door unlock signal.

Is shorting out R21 and leaving Q1 without a current limiting resistor a good design? What are other alternatives?
 
if your transistor is not getting hot, it'll probably be fine.
 
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...

Similar threads

Replies
3
Views
3K
Replies
6
Views
2K
Replies
6
Views
5K
Replies
18
Views
2K
Replies
6
Views
3K
Replies
13
Views
6K
Replies
1
Views
10K
Back
Top