ComputerCraft Tutorial - Tank Liquids Monitoring System v3 (MC 1.7.10)

Channel:
Subscribers:
16,700
Published on ● Video Link: https://www.youtube.com/watch?v=4xm5z9sGPQ8



Minecraft
Game:
Minecraft (2011)
Category:
Tutorial
Duration: 9:52
17,491 views
138


This system will monitor a tank behind it, and constantly send the liquid type and amount to a main computer as well as show status next to the tank. Remember that OpenPeripherals is required for this to function (addon to ComputerCraft)!

Update: I made a slight upgrade to support hysteresis (two control levels). More details about that in this video:
http://youtu.be/lspzsQ-lslE

This is an updated version of my old Liquid Monitor system, it shows status more clearly and is much easier to implement than the first version! This is the third version of it, made for 1.7.10, but it is equivalent to the updated v2 made for 1.6.4.

Link to the version for 1.6.4 (FTB Monster v.1.1.2)
http://youtu.be/G24i4Lbtau0

Link to the version for 1.5.2 (FTB Unleashed v1.1.4)
http://youtu.be/X-owrYlGCXI

Here you can study the codes before downloading:
tank latest: http://pastebin.com/XeHKVry4
No update in function, only smarter readout.
tank original: http://pastebin.com/RACyx1FQ

main: http://pastebin.com/wYPwGgpm


Detailed Instructions:

Begin with the tank computer, place it so the valve is behind it. Monitors on top and lamp on the right side. Wireless modem on the bottom side. If you want to use other sides you need to change the code! It is of course possible to only run it locally (no modem), but you need to disable the sending parts then. If you only want the computer and modem it is also possible, just disable the monitor print functions in the code.

pastebin get XeHKVry4 tank

Edit startup and type:
sleep(2)
shell.run("tank")

Next step is to change channel to send on. This also corresponds to the row on the main computer monitor. If you want to, you can change the warning level as well.

The tank computer is finished now, so place your main computer within range, it can be altered in the same way as the tank computers. But standard issue is Wireless Modem on the back and advanced monitors on top.

pastebin get wYPwGgpm main

Edit startup and type:
shell.run("main")

No sleep in the main computer, it should be up and running before the slaves. Edit the main program and "unlock" all channels you want to use. Again, they correspond to the row number on the screen. If you want to use other channels (higher than 12), you can of course do that, but you need to modify the code further down where I set the cursor on specific rows based on the channel.

Now everything works! Note that slaves only send values if they have updated. And default sleep time is always 10 seconds except for when value is changing and is between 0 and warning level.

It is really that easy! :)

---

If you like what you see, please make me aware of it in form of a like or a comment. If not, then tell me what you think I should improve. And of course, subscribe if you want to see more.

I can be found on both Twitter and Facebook as well, for video announcements and updates. They are also the preferred ways to send a non-video related question or comment. Sometimes I do things on Twitch as well, place a sub and be prepared!
http://twitter.com/therealtkh
https://www.facebook.com/therealtkh
http://www.twitch.tv/therealtkh/
http://plus.google.com/+therealtkh

Game details:
http://minecraft.net
Using vanilla launcher with Forge (10.13.1.1232)
I have more mods loaded, but the important ones for this video are:
ComputerCraft 1.65
OpenPeripheral-1.7.10-AIO-1
Railcraft_1.7.10-9.4.0.0

Music:
"Wisps of Whorls"
by Kevin MacLeod (incompetech.com)




Other Videos By TKH


2015-02-14Tank Liquids Monitoring System v3.1 - With Hysteresis (MC 1.7.10)
2015-02-12TKH Plays Stonehearth (Alpha 8) 1/3 - Getting Started
2015-02-10The Dark Trilogy Speedplay S4E05 - The Machine Era Begins
2015-02-07Applied Energistics 2 Tutorial #12 - P2P Tunnels (MC 1.7.10)
2015-02-01The Dark Trilogy Speedplay S4E04 - Expanding Base, Nether & Small Things
2015-01-28The Dark Trilogy Speedplay S4E03 - Better Mining, Lumbering and Base Digging
2015-01-25The Dark Trilogy Speedplay S4E02 - Ore Doubling and Better Tools
2015-01-22The Dark Trilogy Speedplay S4E01 - New Season and New Format
2015-01-19Applied Energistics 2 Quick Tip: Charged Certus Quartz (MC 1.7.10)
2015-01-18Hardcore Diablo III Co-op - Going for Diablo! [Swe / Eng]
2015-01-15ComputerCraft Tutorial - Tank Liquids Monitoring System v3 (MC 1.7.10)
2015-01-11My Updated AE2 Processor Auto-Crafting System (AE2 Tutorial #11.5) (MC 1.7.10)
2015-01-09Applied Energistics 2 Tutorial #11 - Auto-Crafting Processors (MC 1.7.10)
2015-01-07Rogue Legacy Livestream Archive 2014-12-20 Part 3/3
2015-01-05Crash Landing Ep8 - Problems in Town, Better Sifting and Auto-Dirting
2015-01-03Rogue Legacy Livestream Archive 2014-12-20 Part 2/3
2015-01-01Rogue Legacy Livestream Archive 2014-12-20 Part 1/3
2014-12-30Monetized 250.000 Views Over a Year - Google Paid Me Nothing
2014-12-28TKH Builds Lego - Minecraft: The Farm
2014-12-26BuildCraft 6 Tutorial #2 - Building (Builders, Fillers and Related Items) (MC 1.7.10)
2014-12-23TKH's Holiday Greeting!



Tags:
the
beast
Tutorial
program
tkh
Computer
coding
Learn
how
minecraft
software
FTB
First
programs
feed
Craft
guide
Tip
how-to
to
Function
tips
tricks
help



Other Statistics

Minecraft Statistics For TKH

There are 9,657,296 views in 450 videos for Minecraft. His channel published over 4 days worth of content for the game, or 57.62% of the total watchable video for Minecraft on TKH's YouTube channel.