Connect Relay with pic microcontroller and whenever I put Load on Relay`s Contacts PIC16f877a resets. I some time solve this problem by triggering another relay from basic relay attached to PIC. But this is not a solution. Can any one describes Why pic is affected with this relay spark. And what is really happening which causes pic to reset. Following things I have kept in mind while building circuit I never faces such
Click here to download the full size of the above Circuit.
problem in Atmel 89c51 microcontroller with same relay interfacing circuit. It is PIC who goes reset every time. But if do not connect any load to relay the circuit works fine. No reset occurs. Can any-one describes what is the issue with PIC 1. A schematic helps visualize what has been implemented, far better than a series of textual bullet points. 2. Replace the 1n4148 with a Schottky barrier diode like the 1n5819. 3. Try putting a capacitor (try 10 uF) across the diode. Anindo Ghosh Mar 12 `13 at 11:08 I have had this problem before. It was because of the collapsing on the power supply. Put a 10 uF capacitor on the Vdd power rail, and most probably your problem will be solved. Also, to avoid SR latch-up, as @Kaz noted, Microchip suggest an RCR network. Look for this information in the datasheet of your microcontroller. abdullah kahraman Mar 12 `13 at 11:23 @AbdulRehman Try increasing the capacitor to 100uF. For the replacement on 1N4148, search for "Flyback diode". About grounding. Every cable/trace has a resistance, but very small. However, with sufficient current, there can be a voltage drop. This means the ground will be at a higher potential than 0 volts. abdullah kahraman Mar 12 `13 at 12:41 @AbdulRehman While several excellent inputs have been provided already, hence my prior comment may be irrelevant, my suggestion for a Schottky comes from trying to alleviate flyback pulses from the relay coil at the source....
This project fits more for custom made battery casing that can have more space to hide things inside. This switch with few alterations can be used for any other project as well but is designed based on e-bike needs! This project use a clever functionality of....
The circuit described here uses ultrasonic oscillations and operates based on the propagation velocity of these oscillations in the air. Thus, we can easily determine the distance of two points if the time within which the wave travels this distance is....
Sometimes the precious metals are hidden too deep and are not detected except with complicated devices. In many cases, however, small pieces of precious metal buried near the surface can be detected by relatively simple means. Everyone is very attractive to....
Many times for various reasons we forget or can not water the plants that we have in our homes. And many humidity sensors units just notify us with a beeping sound or with a flashing light, that the pot needs watering. But what if we are away from home? This....
The principle behind a metal detector is really very simple. Proof of this is the circuit that follows, in which it proves that the construction of a metal detector can be done in the minute, with few components that we find very easily everywhere. With the....
The sub-harmonic bass generator is a sound producing unit for guitars. The sound it produces looks very much like that of the bass guitar. The octave generator is sometimes quite unusual since it does not produce any of the usual ways of coloring the sound,....
In the past the sounding (sea bottom measurement) was done with the "bullet", that is, with a heavy lead object that the seamen plucked into the sea hung from a calibrated rope. As soon as the "bullet" reached the bottom, the depth appeared directly from the....
This Amplifier was designed to have the following specifications: Distortion less than 0.1% at full power of 100W even at 20KHz. Power has to be attributed to an extended bandwidth. The output transistors must be protected against short circuits. The power....
A series of LEDs serve to alert the gardener when plants need water. Using two conventional digital integrated LEDs and a series of LEDs, we make a very useful device for gardening. The device detects the amount of water in the pot and alerts the grower.....
characters left: