Cabius Posted January 2, 2013 Posted January 2, 2013 Would it be possible to make lamps turn on at night and off during the day? I have tried a light sensor but it is to sensitive, it detects moonlight and the lights stay on all the time. I have tried timers but since the night is shorter than the day that wont work either.
Shizlanski Posted January 2, 2013 Posted January 2, 2013 You can adjust the sensitivity of the light sensor with Ctrl+Right click using the screwdriver. If you can't get it to work (you've done something wrong) you could just use a computercraft computer.
collybolly Posted January 2, 2013 Posted January 2, 2013 Would it be possible to make lamps turn on at night and off during the day? I have tried a light sensor but it is to sensitive, it detects moonlight and the lights stay on all the time. I have tried timers but since the night is shorter than the day that wont work either. You could use an RS-NOR latch or a toggle latch to switch timers with every other iteration.
EricFate Posted January 2, 2013 Posted January 2, 2013 I used to get around this by using a solar panel as my detector. Ran the panel to a bat box, ran the bat box to something which would keep a constant drain on it (the luminator used to work well). Then set the batbox to emit a redstone signal when empty. That signal was then used to switch on all the lights.
Xylord Posted January 2, 2013 Posted January 2, 2013 I used to get around this by using a solar panel as my detector. Ran the panel to a bat box, ran the bat box to something which would keep a constant drain on it (the luminator used to work well). Then set the batbox to emit a redstone signal when empty. That signal was then used to switch on all the lights. There is also a kind of cable that gives a redstone signal when there is current passing through it. So, you could use this to know whether the panel is outputting or not with more precision.
swilso421 Posted January 3, 2013 Posted January 3, 2013 If you set a redpower sequencer to 300.00, it will sync to the world clock. One of each of the four outputs will be on at each different stage of the day. 1. Dawn-Noon, 2. Noon-Dusk, 3. Dusk-Midnight, 4. Midnight-Dawn They should go in a clockwise order so all you have to do is hook up the dusk-midnight and midnight-dawn outputs to your lamps and it will turn them on. P.S. Dawn is the point where monsters burn and dusk is when they spawn.
Teraku Posted January 3, 2013 Posted January 3, 2013 Sequencers and timers are actually always synchronized to the world clock, it's just that setting it to 300 seconds makes it emulate time of day. But yeah, that would probably be your best bet.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now