MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Relay flickering while connecting arduino

    Arduino
    2
    7
    663
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Raman last edited by Raman

      While connecting Arduino with Relay module (Not self made) some times it flickering. May be due to back EMF. How can I avoid this problem.

      1 Reply Last reply Reply Quote 1
      • kowshik1729
        kowshik1729 last edited by kowshik1729

        One thing you can try is having a diode. It basically allows current in only one direction. And we need more info about how you have connected the circuit and stuff. Please share more info.

        R 2 Replies Last reply Reply Quote 0
        • R
          Raman @kowshik1729 last edited by

          @kowshik1729 ok i will sent you bro

          1 Reply Last reply Reply Quote 1
          • R
            Raman @kowshik1729 last edited by

            @kowshik1729 it working properly after using a 1N4007 diode

            1 Reply Last reply Reply Quote 3
            • kowshik1729
              kowshik1729 last edited by

              @Raman Glad to know. All the best for your project.

              R 1 Reply Last reply Reply Quote 2
              • R
                Raman @kowshik1729 last edited by

                @kowshik1729 thank sir its not for our project its for our product bro

                1 Reply Last reply Reply Quote 1
                • kowshik1729
                  kowshik1729 last edited by kowshik1729

                  @Raman woow. Can you share what's the product about with us if it's okay with you??

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Recent Posts

                  • @codelery Awesome. That's great news. Kudos to @rafitc99 . 🙌

                    @codelery Please keep us updated about your project, looking forward to seeing it in action 🤩

                    • read more
                  • C

                    @rafitc99 I changed the buffer and that solved the problem. Thanks a lot for coming to my rescue.

                    • read more
                  • C

                    @salmanfaris I did change the buffer size and everything is working perfectly. Thanks coming to my rescue.

                    • read more
                  • @codelery said in Help needed: Arduino Wireless Notice Board project:

                    I am using the hardware serial (pin 0 and 1 on Arduino Uno)

                    As @rafitc99 mentioned, you need to expand the Serila buffer, in the hardware serial also the Arduino board package implements a 64-byte ring buffer for send and receive on the hardware serial messages. So you need to change that to 256 as per your message length.

                    • read more
                  • C

                    @rafitc99 The thing is that I am not using the SoftwareSerial library in receiving the message from the first microcontroller. I am using the hardware serial (pin 0 and 1 on Arduino Uno)

                    • read more
                  By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
                  Copyright © 2023 MakerGram, All rights reserved.
                  Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct