Forum Replies Created

Viewing 25 posts - 4,101 through 4,125 (of 4,191 total)
  • Author
    Posts
  • in reply to: Controller crashes after 5 minutes activating sprinkler #23524

    Ray
    Keymaster

    Can you unplug the valves (either by unplugging the common terminal or the station terminals) and test again? It’s possible that the crashing may be caused by defective solenoid (also see the previous thread on this board). The other possibility is that if the ambient temperature is high, the resistance on the PTC fuse may increase significantly that blocks the power supply. If that’s the reason, I suggest replacing the PTC fuse or simply solder a wire across the two pins of the PTC to bypass it.

    in reply to: Color Code the 2-Pin Connectors #23523

    Ray
    Keymaster

    I agree with the concern, and I did think about this issue as I’ve heard one or two cases where users plugged the 24VAC into the COM terminal. I was considering using different connectors for different terminals, but in the end it’s difficult to source different parts. Your color coding suggestion is good, and I will post it in the instructions.

    in reply to: Help with OpenSprinkler PI #23507

    Ray
    Keymaster

    I think there are only Model A ($25) / B ($35), and rev. 1 / 2, there is no rev. B. Most RPis available on the market now are Model B rev. 2. I don’t know where you can get Model A in the US. I believe the difference between rev. 1 and 2 is that rev. 2 has two screw holes on board which rev. 1 doesn’t have.

    in reply to: Add MOV to 26VAC input Pins? #23512

    Ray
    Keymaster

    @COsgood: if you have two valves open at the same time when sequential is checked, I assume it’s either because one is a master valve, or is defective and cannot close once opened. in the latter case, the defective valve (most likely shorting) will start drawing too much current that causes the voltage from the 24VAC transformer to significantly drop, hence the controller crashes.

    As mrburns42 said, adding MOV would not help in this case because the problem is not caused by power surge.

    in reply to: Help with OpenSprinkler PI #23504

    Ray
    Keymaster

    Ok, I can’t see anything obviously wrong from the pictures. Probably the best solution is for you to send it back to me, so I can take a look at the board and send a replacement if it’s defective. Please email me at [email protected] to arrange for this. Thanks.

    in reply to: Help with OpenSprinkler PI #23502

    Ray
    Keymaster

    By the way, I didn’t find your attached pictures. Could you post them again?

    in reply to: Add MOV to 26VAC input Pins? #23509

    Ray
    Keymaster

    Yes you can solder an MOV across the AC input pins and that should provide protection to transient voltages. Just make sure the exposed leads of the MOV don’t touch other parts (use an electric tape to cover the area underneath the MOV).

    in reply to: Help with OpenSprinkler PI #23501

    Ray
    Keymaster

    Do you have an oscilloscope? If so, you can connect it to any of the signal lines with ground (for example, CLK and GND) to monitor the signal.

    If not, here is a hack that allows you to observe the signals: unplug the 8-pin cable from the OpenSprinkler Pi, and insert an LED (ideally with a current limiting resistor but I assume ok without) between a signal line with GND (for example, CLK and GND). Then you need to modify the code to insert delays (at least 1 second) between each toggling of the CLK line. This will allow you to watch the signals sent from RPi.

    in reply to: 24VAC Transformers #23453

    Ray
    Keymaster

    In the past OpenSprinkler has always come with a 750mA PTC resettable fuse. I’ve received a couple of report that in the summer when the temperature is extremely high, the resistance on the PTC fuse would increase to a point that it blocks the current supplied to the controller. So as you said, it poses a potential problem. Another issue is that these PTC fuses have a slow response time (typically a few seconds). So if there is a shorting on the solenoid, typically the transformer voltage would drop instantly before the fuse even catches on. So in practice I don’t know how useful it is. In the most recent kit I’ve removed the PTC fuse. Probably a better solution is to use a fast-action fuse. Unfortunately there is not enough space on the board to fit such a big fuse.

    in reply to: Help with OpenSprinkler PI #23499

    Ray
    Keymaster

    Every board has been tested with a Pi before shipping, so the only thing I could think of is perhaps the shift register is not getting signal from the RPi correctly. Not sure what caused this, but that’s the most likely cause. The RPi sends signal to shift register through 4 pins: NOE (output enable, active low, usually pulled high, but is set to low when a program is running), LAT (latch), CLK (clock), and DAT (data). In particular the NOE pin should be set low when a program is running, otherwise the output will be disabled and hence no voltage.

    Could you post a high-resolution picture of your setup?

    in reply to: Help with OpenSprinkler PI #23497

    Ray
    Keymaster

    With Pi Rev B, you need to change one pin number in the Python scripts. This is explain in the README.txt of the demo folder. For example:
    https://github.com/rayshobby/opensprinkler/blob/master/OpenSprinkler%20Pi/software/demos/manual_buttons/README.txt

    But even without changing this, the self-test program should still work. Were you not able to get any output voltage even running the ospi_selftest?

    in reply to: Can’t connect using ‘opensprinkler/’ #23493

    Ray
    Keymaster

    Sorry, I mis-read your question: you mean you can’t get a connection even by using the IP address? What is your OpenSprinkler’s IP address? Click the first pushbutton (B1) should show the IP address, and second pushbutton (B2) shows the router’s IP address. Also, on the LCD do you see a question mark at the end of the second line?

    in reply to: Can’t connect using ‘opensprinkler/’ #23492

    Ray
    Keymaster

    This means the controller did not successfully register a host name. This is not uncommon and there is nothing to worry about. I’ve tested several different routers and WiFi adapters, for some it works, for the others I have to use the IP address. Since the software uses JeeLab’s EtherCard library, you can probably post the question on JeeLab’s forum and see if there is a solution.

    in reply to: Programming and Parts List #23495

    Ray
    Keymaster

    OSPi does not have a microcontroller, so there is nothing to re-program. Maybe you mean to re-program the Raspberry Pi?

    For part list, please see the comment here: http://rayshobby.net/?p=5339#comment-1089

    in reply to: Hardware 2.0? #23490

    Ray
    Keymaster

    @Donald: 2.0 development is under way. I have the circuit design ready, and as you may have noticed from this blog post:
    http://rayshobby.net/?p=4914
    the plan is to release it with the new custom molded enclosure designed by SeeedStudios. The mold design is close to be finalized, but there are still tweaks they need to make. Apparently designing an enclosure that meets industry standard is not an easy thing: there are many engineering and mechanical considerations. I don’t have a reliable estimate of when this will be ready. I would say in a month time?

    But during the time to transition to the new enclosure, I will start offering the development version of 2.0 that goes with the current enclosure. It will be similar to the picture you see on the blog post.

    in reply to: Lost in the Pi! #23474

    Ray
    Keymaster

    I am considering preparing an SD card image, which has all the necessary packages installed and the programs ready to go. Once this is ready, hopefully a user just need to get an SD card, copy/flash the image onto the SD card, insert it to Pi and starting using the programs.

    in reply to: Lost in the Pi! #23472

    Ray
    Keymaster

    Mark, just noticed your last question: you need to download it to your Raspi. You can use
    wget xxxx
    where xxxx is the download link.

    in reply to: Lost in the Pi! #23471

    Ray
    Keymaster

    Mark: to install the gdata-python client package, unzip it and install with:
    sudo python setup.py install

    Not sure how familiar you are with Linux, but usually you need to read the README.txt or INSTALL.txt included in the software package.

    in reply to: Glad that OpenSprinkler was Out of Stock #23469

    Ray
    Keymaster

    That’s a good suggestion, will put the MOVs closer to the OpenSprinkler item.

    in reply to: Rain delay as minutes instead of hours #23466

    Ray
    Keymaster

    This should be pretty easy to do. At the moment I am completely occupied by other tasks. Since the project is open-source, you can feel free to make modifications yourself.

    in reply to: Interval Programs – Starting in XX days field #23468

    Ray
    Keymaster

    That is correct. That number is relative to today’s date. For example, if a program started on Apr 9, repeating every 3 days, then when you check the program on Apr 10 it will say starting in 2 days, and on April 11 it will say starting 1 day and so on.

    in reply to: Number of cycles per program #23465

    Ray
    Keymaster

    Yup, that makes sense. I agree it’s more intuitive to set the number of cycles directly rather than setting an end time (and it saves a byte too, since storing an end time requires a couple of byte more than number of cycles). So it’s on my todo list for the next software update. Thanks.

    in reply to: Number of cycles per program #23463

    Ray
    Keymaster

    Note that each program also has an ‘end time’. For example, if the program starts at 8am, repeats every 4 hours, and ends at 4pm, then it will execute exactly 3 times: 8am, noon, and 4pm. So by changing the start/end time you can control the number of cycles.

    Of course one limitation of this is it doesn’t do irregular intervals. For example, if you want the program to start at 8am, 10am, and then 4pm, you have to use at least 2 programs.

    in reply to: Built and does not work #23432

    Ray
    Keymaster

    I just came back from vacation today and received your kit in the mail. Look, when I say ‘check the solder joints’, that’s exactly what I mean: check the solder joints! I flipped the PCB and immediately noticed that one pin of the LCD female header is not soldered at all (the 5th pin from the right). If you don’t believe me, here is a snapshot of your PCB before I did anything to it. After soldering that pin, and replacing the Ethernet jack (yours had a broken pin), everything is working fine now. I will send it back to you on Monday. The good thing is that your soldering quality is overall pretty good, unfortunately that one unsoldered pin took much of your and also my time.

    in reply to: DS1307 W RPI Wheezy Softfloat #23446

    Ray
    Keymaster

    Another useful resource is the RTC for RPi tutorial by adafruit:
    http://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/overview

Viewing 25 posts - 4,101 through 4,125 (of 4,191 total)