Forum Replies Created

Viewing 25 posts - 3,426 through 3,450 (of 4,193 total)
  • Author
    Posts
  • in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.7 Released #27452

    Ray
    Keymaster

    Do I have to disconnect expansion module and common during update process?

    No you don’t need to disconnect expansion board.

    in reply to: Call for suggestions: redesign rayshobby.net #26682

    Ray
    Keymaster

    The Wiki was added not so long ago. It’s not empty (in particular there are important information there about OSPi and OSBo), but I agree it’s under-used. It’s meant primarily for user-contributed content.

    in reply to: Store availability? #27426

    Ray
    Keymaster

    The main change is to switch to use the OpenSprinkler injection-molded enclosure, in the same way as OSPi v1.4.

    in reply to: Maximum Interval Days? #27496

    Ray
    Keymaster

    The maximum is 127 days (i.e. 7 bits for the technically minded πŸ™‚

    in reply to: Program Start time must be less than end time? #27485

    Ray
    Keymaster

    The work-around is to set the start time to whatever start time you’d like, and end time to be 11:59pm. Once the program starts, it will finish, even if it spans over the end time (in this case, it will span over midnight). The end time (in conjunction with the interval time) is only used to check how many times the program should be repeated during the day. Hope this makes sense.

    in reply to: Expansion board connector bridge #27478

    Ray
    Keymaster

    There is an 8 pin set of holes on the main board lower right – just to
    the right of the screw hole to mount the board onto the enclosure (and
    to the right of a print that says “ext out”… Is that what I use? Do I
    just solder that in?

    Yes, that’s the pin header that you should solder.

    I would think the colored wires would go symmetrically leftmost pins (white) on main board to leftmost pins on the expansion board. That means flipping the connector on the expansion board and to do that I need to cut off the little bump…Is that correct? Can I do damage by trying or it just won’t work if the wiring is wrong?

    No, you shouldn’t flip the connector: the bump should always face up, on both the controller side and the expansion board side. If you put the two connectors back to back, the wires should all be parallel. This type of cable is the easiest to source, so the expansion board pin header is designed to match the cable wiring. In short the expansion board pin header is ‘mirrored’ from the controller side pin header. Hope this makes sense.

    in reply to: Would like to program in seconds, not minutes #27469

    Ray
    Keymaster

    Hi Samer, you may want to consider splitting the slider into two: one for minutes, one for seconds. That may be easier and more user friendly πŸ™‚

    in reply to: There is option to connect rain sensor ? #27233

    Ray
    Keymaster

    You should check the latest user manual:
    http://rayshobby.net/docs/ospi14_manual.pdf
    page 6, ‘Rain Sensor’ section. Rain sensor port has been added since OSPi 1.3. The video is outdated and I should re-make it at some point.

    in reply to: 24 V impulse #27441

    Ray
    Keymaster

    Ah, yes, you are right, the app doesn’t support setting water time down to seconds yet. Will talk to Samer and see if this is easy to add in the app.

    in reply to: Lightning strike casaulty #27433

    Ray
    Keymaster

    Hi Scott,

    Really sorry to hear that.The key thing to check is the voltage on the +5V pin; use a multimeter to check the voltage between +5V and Ground (if you have OSPi 1.4, there is a +5V pin at the upper left corner of the PCB). If it’s between 4.9V and 5.1V, it should be fine.

    You may also want to check the SD card — if the SD card is corrupted the RPi won’t boot. Re-burn the SD card image and see if that helps.

    in reply to: Strange NTP sync problem #27437

    Ray
    Keymaster

    @rhldr: sounds like a problem with the RTC. To check whether it’s a problem with the NTC sync result or RTC, you can go to the Options page, turn off ‘NTP sync’, and set a time manually. Then see if the time drifts significantly (it will probably drift a few minutes over a few days, that is normal). If the time is significantly off, then it’s an RTC problem; if not, it’s a problem with incorrect NTP sync result.


    @old_
    : check the time zone settings. Because OpenSprinkler doesn’t automatically detect day light saving time, you will need to manually change the time zone settings to account for DST.

    in reply to: Low voltage on solenoid connections #27442

    Ray
    Keymaster

    What’s the power supply you are using? Can you check the label and see the output voltage and current rating? Also, I assume you are running Dan’s interval program, is that right? If you are running Rich’s sprinklers_pi program, you may need to change a few parameters / settings first.

    in reply to: 24 V impulse #27438

    Ray
    Keymaster

    is possible to set the max opening time for a channe in few time?

    I don’t quite understand this sentence. Do you mean ‘in fewer time’, like sub-second?

    Do you need it to trigger the relay automatically or you can do this manually? If it can be done manually, you can use the Run-Once program and just select a station and set it to be as few seconds as you need. If you need it to be done automatically, or you need sub-second timing, you will need to modify the program.

    in reply to: Web VS Mobile App #27258

    Ray
    Keymaster

    Yes, deleting a log file is done via:
    http://x.x.x.x/dl?pw=xxxx&day=xxxx
    where x.x.x.x is your opensprinkler’s ip address, pw is the password, day is the epoch time in days. To find the epoch time, google ‘epoch time’ and divide the long number by 86400 (number of seconds in a day). For exampe, for July 5, 2014 it is 16256.

    I know this is a rather awkward way to delete a log file manually, and a better way to delete the log file will be added soon which allows you to select a day in the UI and delete it that way.

    in reply to: spark + relay = open sprinkler? #27432

    Ray
    Keymaster

    I think you’ve covered the key components — microprocessor, WiFi, solenoid drivers (i.e. relays). There are other comopnents that OpenSprinkler has, but you may or may not need them, such as the 24V AC to 5V DC switching regulator (you dont’ need it if you are ok with using two separate power supplies, one for the microprocessor and one for sprinkler valves), real-time clock, buttons, LCD, microSD slot.

    in reply to: Store availability? #27424

    Ray
    Keymaster

    OpenSprinkler Beagle (OSBo) is being re-designed. It probably won’t be ready until a month later. Thanks.

    in reply to: No 24 volt output ? #27385

    Ray
    Keymaster

    It just occured to me that the problem may be due to defective terminal block: I had one user reporting to me recently that the green 2P terminal block is defective causing no voltage output. I suggest that you switch it with the Rain Sensor terminal block, which is the same type of terminal block. You can also measure the voltage at the solder joint of the COM terminal. In any case, if it’s a defective terminal block, please email [email protected] so we can send you replacements. Thanks.

    in reply to: OpenSprinkler (not OSPi!) Firmware 2.0.6 Released #27177

    Ray
    Keymaster

    A new firmware 2.0.7 is released. Plesae check the details here: viewtopic.php?f=2&t=758. Thanks.

    in reply to: Event Logging #26868

    Ray
    Keymaster

    Nice blog, and thanks for sharing your mod. I will check it out later.

    A quick update: I should take back what I said earlier about the Arduino SD library: I discovered just yesterday that the Arduino SD library works perfectly fine for OpenSprinkler, no RAM overuse etc. What happened previously was that I copied the tinyFAT library files to the OpenSprinkler folder, and when I was experimenting with Arduino SD, I didn’t remove those tinyFAT files. Well, I thought a file shouldn’t get compiled if I am not using it (or specifically, any class defined in the file). But this is not how Arduino IDE works — it compiles everything in the folder. As a result, the code consumes almost twice as much RAM as necessary. So I mistakenly concluded that the Arduino SD library is too loated.

    Anyways, once I discovered this, I immediately switched to use Arduino SD, because it provides much better support, including large SD cards, sub-directories, and support for both FAT16/FAT32. Lately I’ve started using the SdFat library, which is what Arduino SD is based on but offers more flexiblity and leads to smaller code size. So that’s what gets wrapped into firmware 2.0.7, which I just announced in this thread:
    viewtopic.php?f=2&t=758

    With this, the SD card limitations are gone: you can now use SD card of any capacity, formatted to either FAT16 or FAT32.

    Regarding ATmega1284p: yup, it’s a drop-in replacement for ATmega644p, and that’s one of the main reasons I picked 644: it still has through-hole packaging (DIY friendly), and when needed you can easily upgrade to 1284 that doubles the flash memory space, and quadruples the RAM size! For now, I think 644 is still fine for a lot of the upcoming planned features. Beyond that, I will probably have to upgrade to 1284 πŸ™‚

    in reply to: Can I Use Zones to Trigger Garage Door Openers? #26987

    Ray
    Keymaster

    Cool. Thanks for the update.

    in reply to: No 24 volt output ? #27383

    Ray
    Keymaster

    I checked the OSPi 1.2 board, and here is the deal: the 24V pin you see is connected directly to one of the transformer pins, and it’s not even through the switch, so as soon as you plug in the transformer you should get 24V AC between the 24V pin and the GND pin. If not, you should definitely check if your multimeter is turned to AC voltage — if you measure DC voltage, you will get almost 0.

    in reply to: Rain Delay hardware 1.3u #27376

    Ray
    Keymaster

    The hardware part of rain sensor is quite simple: one pin is tied to ground, the other pin is connected to the microcontroller’s digital pin 0 (assuming you have 1.3u). So other than checking the solder joints of the rain sensor terminal, and the microcontroller pins, I can’t think of anything else that would cause the issue.

    in reply to: Whats new in OSPi 1.4 #27417

    Ray
    Keymaster

    The only major difference between 1.3 and 1.4 is the enclosure change. Some other minor differences include changing the type of the on-board relay, adding a few additional filter caps etc.

    in reply to: Is there any easy way to monitor OS temperature ? #27411

    Ray
    Keymaster

    There are many different types of temperature sensors, simple ones like MCP9700, more accurate ones like TMP36, DS18B20, and also temperature + humidity sensors like DHT11 and DHT22. Adafruit.com is a good place to look for tutorials on how to use these sensors and sample code. If you are not familiar with programming, this is probably a good starting point πŸ™‚

    in reply to: Daily program not to be repeated #27415

    Ray
    Keymaster

    Sorry about the confusion (and you are not the only one who got confused about this…). As stated in the online manual:
    http://rayshobby.net/?page_id=730#program

    If you only need to run the program once during a day, you can set a very large interval to ensure the program doesn’t run more than once.

    That means the ‘Every’ field (i.e. the interval) should be a large number — in your case, putting 1 hour is large enough.

    Technically the ‘Every’ field cannot be 0 because it will cause a divide by 0 error. The way the program works is it will start at the ‘start time’, repeat every interval time, and stop at the end time. As long as the interval time is large enough, the program will not run more than once, because the next time it’s supposed to run will be after the end time. Hope this makes sense.

Viewing 25 posts - 3,426 through 3,450 (of 4,193 total)