Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Another simple (No SMT) relay actuator

Another simple (No SMT) relay actuator

Scheduled Pinned Locked Moved My Project
42 Posts 8 Posters 11.9k Views 6 Watching
  • 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.
  • dpressleD dpressle

    @MLs try to first upload the burning sketch to the nano (even if its already uploaded) and then burn the bootloader.
    What set up do you have, how the nano is connected to the atmega?
    What error do you get when bootloader burn fails?

    M Offline
    M Offline
    MLs
    wrote on last edited by MLs
    #31

    @dpressle

    The problem is not to burn bootloader. The problem I think is that the Mysbootloader does not use internal clock.

    Therefore, I asked you how to know how a bootloader uses an external clock or internal clock.
    And because you had a bootloader for OTA and internal clock, 8MHz I wanted you to send it to me.

    dpressleD 1 Reply Last reply
    0
    • M MLs

      @dpressle

      The problem is not to burn bootloader. The problem I think is that the Mysbootloader does not use internal clock.

      Therefore, I asked you how to know how a bootloader uses an external clock or internal clock.
      And because you had a bootloader for OTA and internal clock, 8MHz I wanted you to send it to me.

      dpressleD Offline
      dpressleD Offline
      dpressle
      wrote on last edited by
      #32

      @MLs I am completely lost here, you said "I do not get Atmel to run with Mysbootloader 8MHz." and now you are asking "how to know how a bootloader uses an external clock or internal clock" how can you say its not working and then ask me how to know that its working?

      To conclude this, if you successfully burn the 8Mhz Mysbootloader and the board is working then it is working with 8Mhz it cannot be working on 16Mhz because there is no external osc, its not 1Mhz because of the fuses etc.

      M 1 Reply Last reply
      0
      • dpressleD dpressle

        @MLs I am completely lost here, you said "I do not get Atmel to run with Mysbootloader 8MHz." and now you are asking "how to know how a bootloader uses an external clock or internal clock" how can you say its not working and then ask me how to know that its working?

        To conclude this, if you successfully burn the 8Mhz Mysbootloader and the board is working then it is working with 8Mhz it cannot be working on 16Mhz because there is no external osc, its not 1Mhz because of the fuses etc.

        M Offline
        M Offline
        MLs
        wrote on last edited by MLs
        #33

        @dpressle

        @MLs said in Another simple (No SMT) relay actuator:

        @dpressle

        Feeling a bit confused how do you know that a bootloader uses the internal clock?
        Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

        Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

        But what makes the internal clock in used?
        I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

        If you use a bootloader that uses an external clock, you will not get the Atmega circuit to run. If I understand everything right.

        No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start.

        But instead, I use this bootloader (ATmega328 on a 8 MHz internal clock) and I get the Atmega circuit to run, but without OTA.

        Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

        M dpressleD 2 Replies Last reply
        0
        • M MLs

          @dpressle

          @MLs said in Another simple (No SMT) relay actuator:

          @dpressle

          Feeling a bit confused how do you know that a bootloader uses the internal clock?
          Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

          Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

          But what makes the internal clock in used?
          I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

          If you use a bootloader that uses an external clock, you will not get the Atmega circuit to run. If I understand everything right.

          No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start.

          But instead, I use this bootloader (ATmega328 on a 8 MHz internal clock) and I get the Atmega circuit to run, but without OTA.

          Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

          M Offline
          M Offline
          MLs
          wrote on last edited by
          #34

          @MLs said in Another simple (No SMT) relay actuator:

          @dpressle

          @MLs said in Another simple (No SMT) relay actuator:

          @dpressle

          Feeling a bit confused how do you know that a bootloader uses the internal clock?
          Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

          Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

          But what makes the internal clock in used?
          I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

          If you use a bootloader that uses an external clock, you will not get the Atmega circuit to run. If I understand everything right.

          No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start.

          But instead, I use this bootloader (ATmega328 on a 8 MHz internal clock) and I get the Atmega circuit to run, but without OTA.

          Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

          Therefore, I asked you how to know how a bootloader uses an external clock or internal clock.

          1 Reply Last reply
          0
          • M MLs

            @dpressle

            @MLs said in Another simple (No SMT) relay actuator:

            @dpressle

            Feeling a bit confused how do you know that a bootloader uses the internal clock?
            Because I used another bootloader after installing your card, I did not get the Atmega circuit to run. But if I used this bootloader, I started the Atmega circuit and everything worked.

            Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

            But what makes the internal clock in used?
            I use a UNO when I'm burning bootloader and do not know if you can change fuses and clock option.

            If you use a bootloader that uses an external clock, you will not get the Atmega circuit to run. If I understand everything right.

            No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start.

            But instead, I use this bootloader (ATmega328 on a 8 MHz internal clock) and I get the Atmega circuit to run, but without OTA.

            Https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

            dpressleD Offline
            dpressleD Offline
            dpressle
            wrote on last edited by
            #35

            @MLs You said before "The problem is not to burn bootloader."
            and now you are saying "No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start."

            I am asking again, are you able to successfully burn and run Mysbootloader 8Mhz or not?

            M 1 Reply Last reply
            0
            • dpressleD dpressle

              @MLs You said before "The problem is not to burn bootloader."
              and now you are saying "No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start."

              I am asking again, are you able to successfully burn and run Mysbootloader 8Mhz or not?

              M Offline
              M Offline
              MLs
              wrote on last edited by
              #36

              @dpressle

              I can burn Mysbootloader yes.
              But the Atmega circuit does not start.
              The problem I think is that Mysbootloader does not use the internal clock

              And because you said you had a bootloader for OTA and internal clock, 8MHz I wanted you to send it to me.

              Then there would have been no problem, I think.

              dpressleD 1 Reply Last reply
              0
              • M MLs

                @dpressle

                I can burn Mysbootloader yes.
                But the Atmega circuit does not start.
                The problem I think is that Mysbootloader does not use the internal clock

                And because you said you had a bootloader for OTA and internal clock, 8MHz I wanted you to send it to me.

                Then there would have been no problem, I think.

                dpressleD Offline
                dpressleD Offline
                dpressle
                wrote on last edited by
                #37

                @MLs i use what you use, Mysbotloader 1.3pre, as i said in one of the first messages, you dont need me to send it to you you can (and did) download it from here.

                This is why i think you are doing something wrong or have wrong settings.

                M 1 Reply Last reply
                0
                • dpressleD dpressle

                  @MLs i use what you use, Mysbotloader 1.3pre, as i said in one of the first messages, you dont need me to send it to you you can (and did) download it from here.

                  This is why i think you are doing something wrong or have wrong settings.

                  M Offline
                  M Offline
                  MLs
                  wrote on last edited by
                  #38

                  @dpressle

                  And my settings are seen in previous posts.
                  But this does not lead to anything so I finish this now.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Shaun Storbakken
                    wrote on last edited by
                    #39

                    Is this setup to take a maximum 2 amp load? Plenty for a lighting circuit, just curious in case someone tries to use it on a switched outlet circuit etc.

                    J1 is power feed and J2 are the three switched outputs right with the wall switch connected using D5 - D6 - D7 right?

                    dpressleD 1 Reply Last reply
                    0
                    • S Shaun Storbakken

                      Is this setup to take a maximum 2 amp load? Plenty for a lighting circuit, just curious in case someone tries to use it on a switched outlet circuit etc.

                      J1 is power feed and J2 are the three switched outputs right with the wall switch connected using D5 - D6 - D7 right?

                      dpressleD Offline
                      dpressleD Offline
                      dpressle
                      wrote on last edited by
                      #40

                      @Shaun-Storbakken It was designed with the idea of controlling 3 different loads of up to 2 Amp each, lightning, switches etc.
                      The D-5,6,7 are for manual switching and they will (if you use my code) control the 3 relays respectively, J1 is power input 110-220V, please note that you should pay attention to the polarity and connect line wire to the right of J1 (otherwise you will end up switching natural to the load), J2 is AC output where each one is different relay, so you have 3 X 110-220V outputs of max 2 A each.

                      I hope it was helpful, please let me know if you need further help.

                      1 Reply Last reply
                      0
                      • dpressleD Offline
                        dpressleD Offline
                        dpressle
                        wrote on last edited by
                        #41

                        Small update, i connected touch switches to the board instead of mechanical switches.
                        where i live we are using gwiss switches and when the board is in the box there is not much room for mechanical switches as they are too deep, so i took some blanks that are used to cover unused switch hols and added touch switch to it, see the pictures below:
                        0_1494227496097_1.jpg
                        0_1494227511920_2.jpg
                        0_1494227524554_3.jpg
                        0_1494227531306_4.jpg

                        breimannB 1 Reply Last reply
                        1
                        • dpressleD dpressle

                          Small update, i connected touch switches to the board instead of mechanical switches.
                          where i live we are using gwiss switches and when the board is in the box there is not much room for mechanical switches as they are too deep, so i took some blanks that are used to cover unused switch hols and added touch switch to it, see the pictures below:
                          0_1494227496097_1.jpg
                          0_1494227511920_2.jpg
                          0_1494227524554_3.jpg
                          0_1494227531306_4.jpg

                          breimannB Offline
                          breimannB Offline
                          breimann
                          wrote on last edited by
                          #42

                          @dpressle Nice job!

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          12

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular