Paul_NJ
Member
I’m a retired volunteer who travels to Africa each year to set up solar installations to provide lighting in remote village orphan centers. I have need to add some automation to our systems, and I’m hoping to find some help in programming.
I recently purchased one of those Siemens/Crouzet “micro PLC” Chinese clones, this one from MicroDepot. It is programmable via block diagrams, and I was able to figure out enough to successfully use it to automate some digital stuff, such as a testing apparatus involving several stages of timers actuating external relay switches. So far so good.
What I’m hoping to do now is to employ it as a voltage controller . . . monitor a voltage, and if it is above a set level, actuate a relay. For example, in a normal condition, solar charged batteries provide night time lighting at nominally 12 vDC. However during the day, the batteries are being charged at 13.5 to 14.5 vDC, and I wish to disconnect the lighting system from local control. While we tell people not to turn on the LED lighting during the day because the higher voltages will cause premature failure of the LED bulbs, that isn’t always followed. And the LED bulbs aren't cheap, particularly when you have ship them 8000 miles.
I’ve not before employed analog control, and I’m not finding any (simple enough for a novice to understand) examples online to help with this. I purchased a 0-50 vDC voltage sensor to supply an analog signal, but that’s as far as I’ve gotten. Basically I wish to compare system voltage to a programmed setpoint, say 13 volts, and if it is reached to trigger a digital signal to activate an external relay coil.
The micro PLC has a number of analog function blocks available, eg Analog Threshhold trigger, comparator, etc, but I don't know which to use or how to set this up. If anyone can provide some guidance, or refer me to a site or document to help with this, I would greatly appreciate it.
I recently purchased one of those Siemens/Crouzet “micro PLC” Chinese clones, this one from MicroDepot. It is programmable via block diagrams, and I was able to figure out enough to successfully use it to automate some digital stuff, such as a testing apparatus involving several stages of timers actuating external relay switches. So far so good.
What I’m hoping to do now is to employ it as a voltage controller . . . monitor a voltage, and if it is above a set level, actuate a relay. For example, in a normal condition, solar charged batteries provide night time lighting at nominally 12 vDC. However during the day, the batteries are being charged at 13.5 to 14.5 vDC, and I wish to disconnect the lighting system from local control. While we tell people not to turn on the LED lighting during the day because the higher voltages will cause premature failure of the LED bulbs, that isn’t always followed. And the LED bulbs aren't cheap, particularly when you have ship them 8000 miles.
I’ve not before employed analog control, and I’m not finding any (simple enough for a novice to understand) examples online to help with this. I purchased a 0-50 vDC voltage sensor to supply an analog signal, but that’s as far as I’ve gotten. Basically I wish to compare system voltage to a programmed setpoint, say 13 volts, and if it is reached to trigger a digital signal to activate an external relay coil.
The micro PLC has a number of analog function blocks available, eg Analog Threshhold trigger, comparator, etc, but I don't know which to use or how to set this up. If anyone can provide some guidance, or refer me to a site or document to help with this, I would greatly appreciate it.