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.3k 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

    TheoLT 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

      TheoLT Offline
      TheoLT 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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              22

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              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