Forum Replies Created

Viewing 25 posts - 2,776 through 2,800 (of 4,253 total)
  • Author
    Posts
  • in reply to: Issues uploading new OS firmware #37612

    Ray
    Keymaster

    Sorry to hear the trouble you had to go through. Two quick comments:
    1) There is actually no need to recompile osFWUpdater — it’s just a GUI for running avrdude command. You can directly run command ‘avrdude -c arduino -p m1284p -P /dev/ttyxxx -U flash:w:xxx.hex’ where /dev/ttyxxx is the serial port name, and xxx.hex is the firmware file name.
    2) I am also a bit surprised that VirtualBox in Mac doesn’t work — you should be able to pass the USB device through to the virtual system, and therefore it should be fine even if the host system doesn’t have the driver for that USB device. To do so you will need to go to the VirtualBox menu -> USB devices and select the ch340g device so that it can be passed through to the virtual system.

    in reply to: Two master valves from different sources? #37603

    Ray
    Keymaster

    OK, I see what you mean. So looks like for you the solution is to have program-level master station — in other words, each program can associate a specific master station. As I described earlier, you can always achieve this by using a parallel (i.e. non-sequential) station as a master station. Then in each program you can set that station to run for the entire duration of the program. This way you can associate different master stations in different programs.

    in reply to: Where do you buy 24vac transformers in Europe? #37602

    Ray
    Keymaster

    I guess another choice is to get 110V to 24V AC transformer (which is the type we sell), and then use a 220V to 110V step-down adapter which may be easier to source.

    in reply to: Which hex file for a blank atmega644 ? #37600

    Ray
    Keymaster

    Here is the script for burning OS 2.2 (with firmware 2.1.2, which is an older firmware)

    Attachments:
    in reply to: Announcing OpenSprinkler Unified Firmware 2.1.4 #37551

    Ray
    Keymaster

    @pls90: can you elaborate on ‘S1 and Sx cycle between 24V and 0V every second’? Do you mean all stations turn on and off at the same time every second, or the stations run one after another every second? Also, does this only happen if you define a master station? If you don’t define a master station does the issue occur?

    in reply to: Announcing OpenSprinkler Unified Firmware 2.1.4 #37550

    Ray
    Keymaster

    Which compiled application are you referring to? For OSPi or microcontroller-based OS? For OSPi, it’s better if you run the build.sh script to compile it locally, because you may have a different version of Raspbian, and the compiled version may not work on your particular Raspbian. Also, keep in mind that the firmware is cross-platform — it’s for all of OS, OSPi and OSBo (and including any Linux system). Providing compiled binaries for all platforms is time consuming and in my opinion not necessary.

    in reply to: Where do you buy 24vac transformers in Europe? #37549

    Ray
    Keymaster

    Where do you get your 24VAC sprinkler valves? Won’t the supplies of the valves provide matching transformer?

    in reply to: Two master valves from different sources? #37548

    Ray
    Keymaster

    Can you specify your need? It’s unclear to me exactly how you want the two master stations to work with the valves. Firmware 2.1.4 allows you to associate each valve with either, both, or neither of the master stations.

    in reply to: Can OS/OSPi have remote expansion boards? #37547

    Ray
    Keymaster

    Basically to handle valves that are very far apart there are two solutions. One is to use a long extension cable to connect the main controller with the expansion board. This is suitable if you have lots of stations wired to the expansion board, allowing you to place the expansion board as close as possible to those valves. The second solution is to keep the expansion board close to the main controller, and use long wires to connect to valves. This is suitable if you just have a small number of valves connected to the expansion board.

    Of course another potential solution is to get a second main controller, and use the upcoming remote station feature to have the first main controller talk to the second one. But this has more added cost.

    There were a couple of requests of developing a remote expansion board with radio frequency chips. I don’t think there is sufficient demand to invest time and money on developing such a remote expansion board. Even if we did, the cost would not be much lower than getting a second main controller.

    in reply to: Which hex file for a blank atmega644 ? #37507

    Ray
    Keymaster

    OK, glad to hear it worked.

    in reply to: Multilanguage support of firmware #37506

    Ray
    Keymaster

    Sorry but we don’t have plan to support this, partly because the app / UI already supports multiple languages and I assume most users won’t need to look at the LCD on a day to day basis.

    in reply to: Option to log to LAN rather than microSD #37479

    Ray
    Keymaster

    Probably the best low-cost way to get a microSD card is to order from Amazon.

    in reply to: Analog input support #37478

    Ray
    Keymaster

    OSPi has an on-board 4-channel ADC (PCF8591) that you can use to read analog sensor values. Although the firmware doesn’t have built-in support to read the ADC, there are plenty of C++, Python, or command line script code you can find to read the ADC. For details, check the OSPi user manual page 7:
    http://rayshobby.net/docs/ospi14_manual.pdf

    in reply to: Using ospi board with raspi #37455

    Ray
    Keymaster

    OSPi 1.4 Plus can work with RPi 2 and RPi 1 A+ or B+. It however, doesn’t work with RPi 1 A or B — although the pins are still compatible, they can’t fit into the enclosure and the PCB cutouts. So if you want to use OSPi 1.4 Plus with RPi 1 A or B, you will have to use a ribbon cable to make the connection.

    Partly the reason we discontinued the OSPi 1.4 Standard version is the fact that RPi 1 A or B is becoming increasingly obsolete, and the form factor is different from all the newer models including A+/B+/RPi 2.

    in reply to: differences between OSPi and OSBo #37454

    Ray
    Keymaster

    You are right that BBB has build-in analog pins so there is no need to add extra ADC chip. Other than that, the price difference also comes from the fact that OSPi is in much higher demand than OSBo.

    Both versions have pinouts for all available GPIO pins. You can take a look at the user manual for details:
    For ospi: http://rayshobby.net/docs/ospi14_manual.pdf
    For osbo: http://rayshobby.net/docs/osbo11_manual.pdf

    in reply to: couple of questions #37453

    Ray
    Keymaster

    The firmware internally still stores the number of expansion boards. However, since that assumes each expansion board is 8 stations and our current expansion board (2.0) has 16 stations, in the past it has always created confusions to users exactly how many expansion boards they should set. Therefore we decided that the UI should show the number of stations to avoid confusion.

    The controller can automatically detect the number of expansion boards (so when you plug in expansion boards the UI should show you the available number of stations). In practice, because some users may want to enable virtual (e.g. RF) stations, we still leave this option as a user-settable option.


    Ray
    Keymaster

    Cool. Thanks for sharing. I had to register an account to see the picture. So I am re-posting it here for those who are curious. Hope you don’t mind 🙂

    Attachments:
    in reply to: Linux Noob need help for an update #37449

    Ray
    Keymaster

    For controllers without rain sensor port, it’s typically to use a normally closed rain sensor connected in series on the COM (common) wire. That way, the rain sensor is normally closed, allowing valve actions; when it rains, the rain sensor becomes open circuit and disables watering. OpenSprinkler has a rain sensor port and allows software-defined rain sensor actions. The only thing you have to make sure is that the sensor should be a simple on/off switch, not an analog switch. The one that you posted: I am not sure what type of rain sensor it is.

    in reply to: Which hex file for a blank atmega644 ? #37446

    Ray
    Keymaster

    Version 2.1 does not use CH340G — it uses a USBasp bootlaoder, and the microcontorller itself handles USB tasks in software. I’ve attached the script and bootloader file for OS 2.1. You just need to run burn12mhz.sh (make sure you change the programmer to match whatever ISP programmer you are using). The hex file is the bootloader combined with firmware 2.0.7. Once it’s uploaded, you can upload a new firmware through OpenSprinkler’s USB port without using ISP programmer.

    Attachments:
    in reply to: Post complete sd card img files for download #37445

    Ray
    Keymaster

    Yes, BBB has its own version of Debian. So for BBB, you just download its Debian image, burn it to SD card. The procedure for installing the unified OpenSprinkler firmware is the same for both (and for Linux in general).

    in reply to: Station end time #37407

    Ray
    Keymaster

    Right, I agree with you that end time should probably only be applicable to parallel stations. So if we enforce this constraint, it should solve the issue of ‘clearly define what happens when multiple stations use end time’.

    If a station is set to use ‘end time’ I think it’s natural to ignore weather adjustment since it has a defined end time and not defined duration.

    in reply to: Post complete sd card img files for download #37404

    Ray
    Keymaster

    The instructions:
    https://opensprinkler.com/forums/topic/announcing-opensprinkler-unified-firmware-2-1-4/
    specifically mention that after running the build.sh script, it will set the program to run automatically on start-up.

    in reply to: Post complete sd card img files for download #37401

    Ray
    Keymaster

    As Samer said, the software changes pretty rapidly and it’s time consuming for us to make a new SD card image everything the software changes. With the unified firmware, the installation is pretty simple: you just grab the Raspbian image, burn it to SD card, and follow the firmware installation instructions:
    https://opensprinkler.com/forums/topic/announcing-opensprinkler-unified-firmware-2-1-4/
    the installation should take no more than a couple of minutes.

    in reply to: Connection of sprinklers using ethernet cables #37400

    Ray
    Keymaster

    Some people have used Ethernet cable for wiring sprinkler valves. It’s not really recommended because Ethernet cable wires are pretty thin and are not suitable for running high current. However, typical sprinkler valves only draw about 250mA when activated, which is not a high amount of current. So I suppose in practice it should be fine to use Ethernet cable.

    in reply to: Linux Noob need help for an update #37399

    Ray
    Keymaster

    Can you be more specific about the rain sensor not working part? Note that some rain sensors are normally open and some are normally closed. Make sure you have selected the correct type.

Viewing 25 posts - 2,776 through 2,800 (of 4,253 total)