Hello world, welcome back.
In this video I'll explain how to use survivalcraft's
electronics.
one of the most important things are wires,
you can place them on the floor, the walls
and the ceiling,
they will even connect through the edges of
two diagonally adjacent blocks
we can turn on a lightbulb by connecting it
to a switch using a wire
we can also turn on the lights of a christmas
tree
so now you can use electric lights in your
buildings
wires in survivalcraft don't lose power over
a distance like minecraft redstone does, so
this lightbulb can be turned on from over
here
another thing we can use electricity for is
to open and close doors,
instead of a button we can use pressure plates
now the doors will open and close automatically
If, for example, we have two wires next to
each other and we want to prevent them from
connecting, we can use wires in different
colors
and if you somehow do need to connect them
you can use the plain wire
to connect a wire trough a wall we can use
a wire trough block
which is basically a block with a wire in
it
so now we can control the lights from outside
the building
I can also use them to hide my wires here
and now, you can hardly see the wires anymore
we can also use electricity to activate or
deactivate spiked planks, activate dispensers,
or ignite detonators
next up are signals, the battery gives us
a good representation of all the possible
signals that a wire can have,
to edit components like the battery you'll
need to look towards it and then press the
G key, or when you're on mobile, press the
edit button
the signals we've just looked at, are DIGITAL,
which means that they are binary: they can
either be high or low, on or off, 0 or 1
another kind of signal is the analog signal,
wich is the actual voltage of a wire.
an analog signal in survivalcraft varies from
0 volts to 1.5 volts, with an increment of
0.1 volts, so, in total there are only sixteen
of them.
so, the analog signals in survivalcraft aren't
really analog:
there are 16 of them so, they are actually
hexadecimal
on a day to day basis we use decimal numbers
which go from 0 to 9,
hexadecimal numbers go from 0 to 15,
in survivalcraft all analog signals of 8 and
higher are interpreted as HIGH by digital
components,
so, for example: You'll need at least a signal
of 8 to be able to open a door using electricity
when displaying hexadecimal values on a 7-segment
display, which is basically an alarm clock
display, we can't use the values 10 to 15,
so instead we use A to F
the lightbulb can change it's brightness depending
on the activation signal,
and the 1-LED and the multicolored led can
change their color depending on the activation
signal
Now let's talk about the sensors in this game:
all sensors will output analog signals:
the Thermometer will output the Ambient temperature
you can use it to detect fires in your buildings,
or Lava
the Hygrometer will output the Ambient *humidity
the pressure plate will output the weight
of the item or creature standing on it,
this will always be a high signal
the motion detector will output the distance
to a moving animal or player in a high signal
the photodiode measures the amount of light
it receives,
in my printer world I used it to detect the
Length of a series of blocks,
this is a very useful application.
the Target will produce a high signal when
hit by an arrow
the signal strength depends on how close to
the center the arrow hit the target,
Just like the new target block, Minecraft
has
now, Lets see if a dispenser with 192 arrows
can get at least one bullseye
more arrows!
we didn't get any bullseyes...
the Real-Time-Clock will output the current
in-game time with the first 3 outputs,
and the date with the fourth output and the
fifth output
the fifth output is at the back of this component,
to access this connection we'll need to place
this component on a wire-trough block
and finally I'll explain the pistons
pistons can push and pull up to 8 blocks
you can edit a piston to change its maximum
extension and its movement speed
all pulling pistons have a variable pull count
There are 3 kinds of pistons
The ‘normal’ piston which can only push
up to 8 blocks
The pulling piston which can both push and
pull up to 8 blocks
And the strict pulling piston which will not
pull more or less than the pull count
by using different analog signals you can
make pistons extend to a custom length
when we use a normal pulling piston to move
another piston,
it'll return without the second piston
this happens because extended pistons cannot
be moved
in this case we'll need to use a strict pulling
piston
and by the way, this is how the piston door
works
so now that we have gained some knowledge
about the electronics, it's time to upgrade
the house
first, let's make a system room
now that we have a system room, let's just
make our own weather station
now let's wire everything up to make a nice
time and weather display
in part two we'll cover the advanced components
survivalcraft has
and I'll also show you the other systems I
added to this house
I hope you've learned something after watching
this video
like the video if you liked it
and if you like my videos, consider subscribing
and hit the bell to get notified for every
video I post
