Now it’s time for the timer. When the switch is turned on, I want the pump to run for a couple of seconds and then turn off automatically. I want this behavior to prevent my balcony from getting flooded. In technical terms what I need is an edge triggered, non retriggerable monostable mutivibrator… aka – a timer. I was looking a bit at modern equivalents of the 74LS121, but they are a bit hard to find and they cannot drive very much current. So in the end I fell for the good old NE555. I guess a digital boy would have gone for a PIC-processor, but I am old school. I also know the NE555 is totally outdated, but it is easy to work with, easy to find and the output stage packs enough punch to drive a relay directly. I will be paying a price in form of high power consumption, but I had one lying around, so I took that. The NE555 can easily be connected as a monoflop, but it is not edge triggered so I have to fix that externally. The circuit I ended up with is shown below:
C1, R6 and R2 form the timing RC-circuit. It gives a max time around 7 seconds. D2 is a bit special, I read that it is needed to avoid the spike from the relay retriggering the circuit. I did not actually mount it on my board (I forgot it), but I put it in now when I made the schematic.
R3, C2, R4 makes the input edge triggered, as only flanks pass the capacitor.
I tried connecting the output from the receiver (the slaughtered spotlight) directly to the input, but the flank was not high enough, so I had to add R5, Q1 to amplify the signal. Below is the circuit tested on an experiment board.
Showing posts with label datorstyrd. Show all posts
Showing posts with label datorstyrd. Show all posts
2012-06-13
2012-06-10
Watering Plants
Last year the plants on my balcony did not really do that well, I guess they could have used some water during the vacation.
This year I have decided to go nerd on the problem: I am building a remote controlled plant watering pump which is controlled by Nethome Server. I also want it to be able to measure the moisture level in the plant soil and preferably also the water level in the tank.
I don’t want wires across the apartment and out on the balcony so the unit has to be battery powered and remote controlled. I don’t want to worry about flooding the balcony while I am away, so it must have a local tank with limited amounts of water (in case of a leak or malfunction)
Since I will be using the open 433MHz band for controlling it, I don’t really want to control the pump totally via radio (what if the “off” signal is drowned in interference?) so I also want the local hardware to control how long the pump is running each time with some sort of timer. Next step: find suitable parts…
Subscribe to:
Posts (Atom)


