The Castle Doctrine Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
The Castle Doctrine Wiki
67
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Wiring
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Wiring
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Gates and logic === [[Voltage Triggered Switch|Voltage Triggered Switches]] and [[Voltage Triggered Inverted Switch|Voltage Triggered Inverted Switches]] are important components for most wiring beyond the very basics. [[File:VoltageSwitch.png]] A Voltage Triggered Switch in its default, unpowered, state. It '''does not conduct''' in this state. [[File:VoltageISwitch.png]] A Voltage '''Inverted''' Triggered Switch in its default, unpowered, state. It '''conducts horizontally''' in this state. These tiles look and act similar, but are inverted from each other. When either is powered from '''above''' the conductive "bar" on the visual sprite will move downwards. [[File:VoltageSwitchOn.png]] On the Voltage Triggered Switch this means that the bar moves into a position where it appears to connect the two sides, and hence now '''conducts horizontally'''. [[File:VoltageISwitchOn.png]] On the Voltage Triggered Inverted Switch this means that the bar moves down and no longer connects the two sides, and hence now '''does not conduct'''. With these behaviours "Logic gates" can be made: [[File:Logic_Example_1.png]] This is an "And" gate. For the light to be on, both switches have to be pressed down. The upper switch lets power flow through to the top of the Voltage Triggered Switch, and thus pushes the bar down. The second switch lets power flow through this switch horizontally. If only the the upper switch was pressed then the bar would be down, but there would be no power to get through to the light. If only the lower switch was pressed, then the power could not get through the Voltage Triggered Switch as it would be in its non-conductive state. This next example looks almost identical, but has a Voltage Triggered Inverted Switch instead of a normal Voltage Triggered switch: [[File:Logic_Example_2.png]] If the bottom switch is pressed, then power can get through to the light. However if the upper switch is pressed, it powers the Voltage Triggered Inverted Switch which will then '''cut off''' power to the light. For the light to be powered the bottom switch has to be pressed and the upper one has to be unpressed. Below are descriptions of all electrical components, and then a table of logic gates.
Summary:
Please note that all contributions to the The Castle Doctrine Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab