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. General Discussion
  3. Doubt of components to my project

Doubt of components to my project

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 1.6k Views 3 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.
  • E Offline
    E Offline
    erangel
    wrote on last edited by erangel
    #1

    Hi guys!

    Today I have 1 arduino Uno connected to my RaspberryPi 2 by serial cable. This arduino controls 2 relays for on and off lights of my house. I am using Pidome to manage the system's house.

    Now I want to buy another arduino, to put outside a make some new controls:

    • Turn on/off lights in garden - 1 relay;
    • Turn on/off light in garage - 1 relay;
    • Turn on/off light in wall - 1 relay;
    • Open/Close garage gate - 1 relay;
    • 1 temperature sensor;
    • 1 sensor for measuring power consumption;

    I think about 1 arduino nano to control this things.

    Now my doubt: I think the best option to connect both arduinos X Raspberry is a radio control. I beleive can put a serial gateway with radio in my Uno, connect via USB in my Raspberry, and I put another radio nano - sensor. I believe that the nano and uno can comunicate. Am I correct ? Is it the best choice ? Anybody have another idea ?

    I wait few comments.

    Thank you

    Eduardo

    T 1 Reply Last reply
    0
    • E erangel

      Hi guys!

      Today I have 1 arduino Uno connected to my RaspberryPi 2 by serial cable. This arduino controls 2 relays for on and off lights of my house. I am using Pidome to manage the system's house.

      Now I want to buy another arduino, to put outside a make some new controls:

      • Turn on/off lights in garden - 1 relay;
      • Turn on/off light in garage - 1 relay;
      • Turn on/off light in wall - 1 relay;
      • Open/Close garage gate - 1 relay;
      • 1 temperature sensor;
      • 1 sensor for measuring power consumption;

      I think about 1 arduino nano to control this things.

      Now my doubt: I think the best option to connect both arduinos X Raspberry is a radio control. I beleive can put a serial gateway with radio in my Uno, connect via USB in my Raspberry, and I put another radio nano - sensor. I believe that the nano and uno can comunicate. Am I correct ? Is it the best choice ? Anybody have another idea ?

      I wait few comments.

      Thank you

      Eduardo

      T Offline
      T Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #2

      @erangel I think the thing you want to achieve is exactly what MySensors does for you. Also have a look at Domoticz or any of the other Home Automation software that's on this forum. Home Automation is a necessity when you want to control light or other devices.

      Concerning the hardware it depends on personal choices. I'd prefer the ProMini's above a Nano. Much cheaper than a Nano.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        erangel
        wrote on last edited by
        #3

        Hi Theol

        , I am testing Domoticz... My problem now it is the status of lamp, it is inverse - when the lamp is on, in Domoticz show off, and vise-versa.

        This week, I will buy the components of arduino, and I will check about the ProMini. I understand my thought now it is correct. ok ?

        Regards,
        Eduardo

        mfalkviddM 1 Reply Last reply
        0
        • E erangel

          Hi Theol

          , I am testing Domoticz... My problem now it is the status of lamp, it is inverse - when the lamp is on, in Domoticz show off, and vise-versa.

          This week, I will buy the components of arduino, and I will check about the ProMini. I understand my thought now it is correct. ok ?

          Regards,
          Eduardo

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @erangel are you using the standard relay sketch?

          If so, switch
          #define RELAY_ON 1
          #define RELAY_OFF 0
          to
          #define RELAY_ON 0
          #define RELAY_OFF 1

          1 Reply Last reply
          1
          • E Offline
            E Offline
            erangel
            wrote on last edited by
            #5

            Thnak you @mfalkvidd !

            It works!

            1 Reply Last reply
            1
            • mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              Great! Thanks for reporting back.

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              12

              Online

              12.0k

              Users

              11.2k

              Topics

              113.4k

              Posts


              Copyright 2025 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