Search the Community
Showing results for tags 'Power'.
Found 9 results
Hi! Been working on a Control Station for my Robot. It has most of the essential features done; movements, scanning, interactions, etc. But I have reached a stage when it's mostly optimizations which are left to do, one of them is power usage. The Robot has a battery tier 3 upgrade installed, but as it is now it can still only run for about 20 minutes before it runs out of power and shuts down. This is not ideal due to not be able to remotely turning on a computer directly and needs either a Player or other Robot interaction to turn it back on again. Components are a good culprit in this, and can easily be turned off until needed. Signals can be compressed, interactions can be guessed. But as far as software and such I am at a loss. Any suggestion I could use to extend the battery life of my Robot would be great. Things I have learned about power usage is that os.sleep() reduce power usage during the specified time. Each new character on a screen increases power usage, so it should be turned off when not in use. Signals to the Robot doesn't seem to use power (Linking Card), but signals from the Robot does use power as expected. Coroutines also increase power as expected but reduce the number of available resources inside the computer until the function has finished.
Description: I need a program that can monitor a Big Reactors Reactor, and have the power generated, output, and load graphed. Function: I need this program to have at least 3 different graphs. The power output, load, and and power generated. (So basically what I just said previously.) I want to be able to look and see the current reactor stats. Nothing crazy, just simple stats that I can take a quick glance at. (Bonus points for color, and a control panel, but not necessary.) Deadline: I don't have a deadline, but I would appreciate it if this was done in a reasonable amount of time. Additional Information: The game version is 1.7.10. Pretty old, I know. I will look back at these forums regularly, to answer any questions, or if I didn't clarify enough. Thanks in advance.
Description: I need a program that can monitor a Big Reactors Reactor, and have the power generated, output, and load graphed. Function: I need this program to have at least 3 different graphs. The power output, load, and and power generated. (So basically what I just said previously.) I want to be able to look and see the current reactor stats. Nothing crazy, just simple stats that I can take a quick glance at. (Bonus points for color, and a control panel, but not necessary.) Deadline: I don't have a deadline, but I would appreciate it if this was done in a reasonable amount of time. Additional Information: I will look back at these forums regularly, to answer any questions, or if I didn't clarify enough. Thanks in advance.
local rs = component.proxy(component.list("redstone")()) local ceiling = 14 --/15 local floor = 1 local intervalSeconds = 10 local capSide = 4 -- http://ocdoc.cil.li/api:sides local rsLevel = 0 local capLevel = 0 function sleep(timeout) local deadline = computer.uptime() + (timeout or 0) repeat computer.pullSignal(0) until computer.uptime() >= deadline end while true do capLevel = rs.getComparatorInput(capSide) if capLevel >= ceiling then rsLevel = 1 elseif capLevel <= floor then rsLevel = 0 end rs.setOutput(capSide, rsLevel) -- debug stuff rs.setOutput(3, rsLevel) rs.setOutput(5, capLevel) rs.setOutput(2, 1) sleep(1) rs.setOutput(2, 0) -- end debug sleep(intervalSeconds) end Very simple microcontroller program (though as it is my first, it took me a while to figure out how to make it work considering the documentation on microcontrollers is not very good for newbies). Measures the comparator level of an adjacent block (I created it to measure the energy stored in an enderIO capacitor), emits a signal back if the comparator signal is full strength, stops emitting if it is at 0 (or any other configured values). This was made to manage an energy storage system, so that our reactor would not be running all the time at low levels, would not be stopping and starting in tiny bursts, but rather would have larger cycles more infrequently. https://pastebin.com/NucrVHkm The lines between the comments about debugging can be safely removed, but I've left them in case they are in any way educational for someone else. I had a lot of trouble finding example code for microcontrollers, so i figured I'd post this one in case it's helpful to someone else. One thing that tripped me up for a little while was figuring out how to make the program sleep for a while since there is no sleep method available in a microcontroller. I had found this page: http://lua-users.org/wiki/SleepFunction, and tried several of the functions there but each gave me some kind of error after a little while. I ended up copying the sleep function from openOS's library files, and modifying it a little bit... I'm using computer.pullSignal() to take up time, though i don't entirely know yet what this function does i do recognize that it stalls for a little bit so it works well enough for my sleep function's needs. But yeah, for any newbies who may see this in the future, this page http://ocdoc.cil.li/tutorial:custom_oses and scouring openOS's libraries https://github.com/MightyPirates/OpenComputers/tree/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/openos/boot was what ended up helping, as well as a german video sangar made (though i don't speak german)
Hello! I discovered this mod not long ago and I'd love to try it out. I don't really (like to) use any mods that generate power and I saw you could turn off the need for energy/power in the config file. Can someone help me with which things I need to config and to what values they need to be set? I was expecting there was a simple true/false I could change but this is kind of confusing to me. Am I missing something? This would also be kind of a suggestion to add a simple true/false config in there. Thanks! (Sorry if this is the wrong place to ask for this)
Hello! First of all; I'm not asking for full Botania integration, I have checked the GitHub. OpenComputers automatically disables the need for power if it doesn't detect other mods for power generation. Botania has a block (the Mana Fluxfield) that can convert Mana into RF and I would like OpenComputers to recognize that. I have tested this by adding one of the recommended mods (so that it doesn't disable the need for power) and the Mana Fluxfield works perfectly with the Power Converter. The problem is that I don't want to have one of those mods added just to make this work. My friend (who's really into OpenComputers) and I (who's really into Botania) really wanted to challenge ourselves by having our computers powered by Mana on our server. Is this possible? Is there something I could do myself? Or am I going to 'need' to add one of the recommended mods? Thanks in advance -Max