Connect with us

Reset MicroController Pendant Activation Relays

Discussion in 'Microcontrollers, Programming and IoT' started by TuniMed, Jun 14, 2017.

  1. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    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
     

    Attached Files:

  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,411
    1,922
    Nov 17, 2011
    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
     
  3. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    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
     

    Attached Files:

  4. TuniMed

    TuniMed

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

    Attached Files:

  5. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    THIS IS REGULATION CIRCUIT
     

    Attached Files:

  6. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    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
     
  7. davenn

    davenn Moderator

    13,348
    1,774
    Sep 5, 2009
    please turn your caps off
     
    TuniMed likes this.
  8. Harald Kapp

    Harald Kapp Moderator Moderator

    9,411
    1,922
    Nov 17, 2011
    And add the capacitors, see post #2.
     
    TuniMed likes this.
  9. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    * 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
     

    Attached Files:

    Last edited: Jun 15, 2017
  10. Harald Kapp

    Harald Kapp Moderator Moderator

    9,411
    1,922
    Nov 17, 2011
    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.
     
    TuniMed likes this.
  11. TuniMed

    TuniMed

    7
    0
    Jun 14, 2017
    I Would like to say.. Thank You Veru Much Sir It Work Very Good... THANKS SIR
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-