Difference between revisions of "Complete Electronics Tutorial"

From The Powder Toy
Jump to: navigation, search
Line 59: Line 59:
 
INST is another way to transfer electricity instantly over long distances, but in the form of a wire. Unlike other conductive elements, INST can only take electricity from PSCN and can only conduct to NSCN. It can not conduct to itself over 1-pixel gaps, and it can cross over itself freely, making it possibly one of the most useful electronic elements.
 
INST is another way to transfer electricity instantly over long distances, but in the form of a wire. Unlike other conductive elements, INST can only take electricity from PSCN and can only conduct to NSCN. It can not conduct to itself over 1-pixel gaps, and it can cross over itself freely, making it possibly one of the most useful electronic elements.
  
[[File:1-7-INST.gif]
+
[[File:1-7-INST.gif]]
  
 
==Basic ARAY Usage==
 
==Basic ARAY Usage==

Revision as of 21:58, 14 September 2015

This page is currently a work in progress.

The goal of this page is to be a complete electronics tutorial for new players and seasoned ones who want to learn more about electronics, and to replace the existing electronics tutorial that has not been updated since 2011.

Intro to Electronics

This section is primarily for new players, so if you already know about the basics of electricity, SWCH, WIFI, and INST, you can skip ahead to the next section.

Basics of Electricity in TPT

How SPRK Works

SPRK, found in the electronics menu, is the basis of all electronics in TPT. SPRK is an indestructible solid that cannot be placed, but it can be "drawn" on to metals and conductive elements. When a conductive element is sparked, it is replaced with SPRK and the ctype of the SPRK is set to that element. The life of the SPRK is set to 4 and when it reaches 0, the SPRK will replace itself with its ctype. SPRK will also transfer itself to any conductive elements within 2 pixels.

This allows SPRK to move along conductive elements, which include all metals, WATR and SLTW, MERC, and QRTZ (when under pressure). As seen below, different conductors (METL, GOLD, WATR, and SLTW) conduct at different speeds.

1-6-Conductivity.gif

Basic Conductors

The most basic conductors are METL, PSCN, and NSCN, which are found in the electronics menu. These are what you will use most of the time to transfer electricity. METL conducts to both PSCN and NSCN, and both PSCN and NSCN conduct to metal, as demonstrated below.

1-1-Conductors.gif

However, things get a bit complicated. While PSCN conducts to both METL and NSCN, NSCN cannot conduct to PSCN.

1-2-Silicon.gif

This behavior can be used to make a diode, which allows electricity to flow only one way.

1-3-Diode.gif

Using BTRY

BTRY is an element that can be used to constantly spark any conductor. Simply place one pixel of it and it will work.

1-4-Battery.gif

Using INSL

One of the more useful electronic elements is INSL, which completely blocks heat and electricity. This can be used to prevent SPRK from jumping over a 1-pixel gap.

1-5-INSL.gif

Using SWCH to Control Electronics

SWCH is an element that is used to control the flow of electricity by turning it on and off. SWCH is turned on and off by PSCN and NSCN, like many other powered elements you will learn about later, and conducts to and from METL.

1-8-SWCH.gif

Using WIFI to Transfer Electricity

WIFI makes it easy to transfer electricity instantly over long distances instead of using long wires. WIFI takes electricity from METL and only conducts to NSCN. After placing a pixel of WIFI (it must be used in single pixels), you have to set the channel. WIFI has 100 temperature-dependent channels located every 100 degrees, which can be set manually using the PROP tool, but the recommended way is to use jacob1's Set WIFI script found in the Script Manager. This useful tool simply asks you to input the channel number and sets it for you.

1-9-WIFI.gif

Using INST

INST is another way to transfer electricity instantly over long distances, but in the form of a wire. Unlike other conductive elements, INST can only take electricity from PSCN and can only conduct to NSCN. It can not conduct to itself over 1-pixel gaps, and it can cross over itself freely, making it possibly one of the most useful electronic elements.

1-7-INST.gif

Basic ARAY Usage

ARAY Basics

Useful ARAY Tricks

Using PTCT and NTCT To Make Logic Gates

PTCT/NTCT Basics

Logic Gates

Useful Electronic Devices

Making a Shift Register

Making a Ring Counter

Making a Binary Counter

Making Read-Only Memory

Using Powered Elements

Using CRAY and PSTN

Advanced ARAY Usage

INWR Readers

Advanced Read-Only Memory

Using DRAY