Maker Pro
Maker Pro

Reset MicroController Pendant Activation Relays

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
Bonne Soiree.
* Projet: Couveuse d'oeuf complètement automatique
* Circuits: 16F876A, ULN2803, DHT11 (CAPTEUR DE TEMPERATURE ET D'HUMIDITE), Relais 12V (commande du système de chauffage, de ventilation, de rotation du plateau chaque heure et d'un moteur d'arrosage dans le cas de la diminution d ' Humidité).
Deux alimentation indépendante 12V 2A: Un pour la commande du PIC et LCD 2X16 a travers un 7805, L'autre pour commander les relais et le moteur d'arrosage.
* Problème: Reset de mon pic pendant l'activation des relais ou le fonctionnement du moteur d'arrosage malgré que les aliments son séparé ????
Si je peux vous envoyer les schémas isis, ares, programme, et image de ma circuit reel et Merci Bien.
Réellement Je Suis Besoin De Vos Aides Et Merci Bien A Tous
 

Attachments

  • DSC_0045.JPG
    DSC_0045.JPG
    138.1 KB · Views: 109
  • DSC_0044.JPG
    DSC_0044.JPG
    95.2 KB · Views: 58

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Salut TuniMed.

Please post in English, that's the language of this forum.
Also please post a schematic diagram of your circuit.

Even with separate power supplies there is a chance that noise couples via the common ground. We need to see the circuit and any measures you have taken to suppress noise from the activation of the relays or motor.
One thing is clear even from the photo of the pcb. there are no decoupling capacitors next to the ics. 100nF with very short leads (as short as possible) is a typical value.One for each IC.
There also seem to be lacking buffer capacitors next to the voltage regulator ics. The typical application circuit in the datasheet figure 7 shows 0.33µF at the input and 0.1µF at the output of the 7805. I see no such capacitor in your circuit.
Also a big electrolytic capacitor (>= 100µF) in the power supply for the motor and the relays is something I recommend. This will supply surge current at turn-on of these power hungry components.

Merci,
Harald
 

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
THANKS A LOT SIR TO BE INTERESTED TO MY PROBLEM
THANKS SIR
THIS IS ALL DOCUMENT AND THE PROGRAM AND THANKS TO HELO ME SIR
 

Attachments

  • 14-06-2017 21-55-14.png
    14-06-2017 21-55-14.png
    110.9 KB · Views: 68
  • 14-06-2017 22-08-31.png
    14-06-2017 22-08-31.png
    31.8 KB · Views: 57
  • 14-06-2017 22-13-16.png
    14-06-2017 22-13-16.png
    23.8 KB · Views: 63
  • 14-06-2017 22-14-40.png
    14-06-2017 22-14-40.png
    35.2 KB · Views: 129
  • 14-06-2017 22-15-38.png
    14-06-2017 22-15-38.png
    67.9 KB · Views: 63

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
AND THIS IS HOW THE TWO RELAIS RL3 AND RL5 WORK TO CHANGE MOTOR SENS ROTATION
 

Attachments

  • rel3 (1).gif
    rel3 (1).gif
    14.3 KB · Views: 172

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
THIS IS REGULATION CIRCUIT
 

Attachments

  • 14-06-2017 22-08-12.png
    14-06-2017 22-08-12.png
    18.7 KB · Views: 56

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
I WOULD LIKE TO SAY THAT THE GROUND ARE NOT CUMMUN ALSO
ONE FOR PIC AND LCD ALIMENTATION
THE OTHER IS FOR THE RELAY AND THE GROUND IS CONNECTED TO THE PIN 9 OF THE ULN
 

davenn

Moderator
Sep 5, 2009
14,254
Joined
Sep 5, 2009
Messages
14,254
I WOULD LIKE TO SAY THAT THE GROUND ARE NOT CUMMUN ALSO
ONE FOR PIC AND LCD ALIMENTATION
THE OTHER IS FOR THE RELAY AND THE GROUND IS CONNECTED TO THE PIN 9 OF THE ULN

please turn your caps off
 

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
Also i am not underestanding sir
* This is how my regulator is installed what can i add i use 330uF in the input and 33uF in the output with an 100nF

* About the decoplage capacitor where i put it btween Vcc And Gnd near the MicroControleur???( ceramique or electrolytique)

*About the 100uF it putted to evry relay or just in the power suply... I have a 2200uF can i put it

* The configuration of my MicroControlor about Boden or Pwrte there is some modification or i use the default configuration.

Thanks Sir
 

Attachments

  • 14-06-2017 22-08-12.png
    14-06-2017 22-08-12.png
    18.7 KB · Views: 52
  • image016.jpg
    image016.jpg
    15.5 KB · Views: 44
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
This is how my regulator is installed what can i add i use 330uF in the input and 33uF in the output with an 100nF
Looks good.
About the decoplage capacitor where i put it btween Vcc And Gnd near the MicroControleur???( ceramique or electrolytique)
Where: as near as possible. Use ceramic. You'd be hard pressed to find a 100nF electrolytic capacitor ;).
About the 100uF it putted to evry relay or just in the power suply... I have a 2200uF can i put it
Just in the power supply of the relays should be sufficient. 2200µF is very large but should work.
The configuration of my MicroControlor about Boden or Pwrte there is some modification or i use the default configuration.
I'm sorry, PICs are not my domain. I'm afraid I can't answer this.
 

TuniMed

Jun 14, 2017
7
Joined
Jun 14, 2017
Messages
7
Looks good.

Where: as near as possible. Use ceramic. You'd be hard pressed to find a 100nF electrolytic capacitor ;).

Just in the power supply of the relays should be sufficient. 2200µF is very large but should work.

I'm sorry, PICs are not my domain. I'm afraid I can't answer this.
I Would like to say.. Thank You Veru Much Sir It Work Very Good... THANKS SIR
 
Top