Measuring Time/Polarity Reverse
Does anyone have any code for measuring real·time on a BS2? For example, we want to turn on the sprinklers at 4:00 in the morning, and have it turn off at 4:30 in the morning, but we dont' know how to code it.
Now for something else:
We're using an actuator to open and close the roof of our greenhouse. However, we need the greenhouse to be self sustaining, so we need something to automatically reverse the polarity so the actuator can open and close the roof without our assistance. I was wondering if anybody knew where we could get a device that reverses the polarity of the current.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Eugene
Greenhouse Project
Now for something else:
We're using an actuator to open and close the roof of our greenhouse. However, we need the greenhouse to be self sustaining, so we need something to automatically reverse the polarity so the actuator can open and close the roof without our assistance. I was wondering if anybody knew where we could get a device that reverses the polarity of the current.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Eugene
Greenhouse Project
Comments
2) A DPDT (double pole double throw) relay can be used to reverse the power to a motor. Nuts and Volts Column #6 discusses using a switching transistor to control a relay using a Stamp.