OpenSprinkler Forums Hardware Questions Virtual Pi To control opensprinkler?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60905

    liam1989
    Participant

    This may seem a long winded way of doing something however I want to test theory’s before purchasing.

    I was wondering if it is going to be possible to run the Opensprinkler pi on a virtual machine, which then has the arduino connected to it via usb to then control a bank of relays?

    I would like to do this because I have pc’s laying around that I can use doing nothing, along with an arduino mega 2560. I would like to play around before deciding to purchase all the hardware to ensure that this works the way I want it, and that it is accessible etc.

    Hopefully there is someone out there that understands where I am coming from and is willing to help!

    Many Thanks

    #60938

    Ray
    Keymaster

    The OpenSprinkler firmware can compile and run on any Linux machine (this can be done by running ‘./build.sh demo’) and we have a demo site:
    demo.opensprinkler.com
    which runs the firmware this way. However, if you are not using RPi, all GPIO functions are disabled (for the simple reason that a general Linux machine does not have GPIO support). You mentioned having Arduino connected to it through USB, which can certainly add GPIO interface but that’s going to require changing the firmware code, basically adding code to gpio.cpp to enable appropriate gpio support.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions Virtual Pi To control opensprinkler?