Difference between revisions of "CcSensors"

From ComputerCraft Wiki
Jump to: navigation, search
(Peripheral: ccSensors)
(Page was out of date, added link to forum and improved summary a little. Also a lot more wiki-esque.)
Line 1: Line 1:
 +
{{DISPLAYTITLE:ccSensors}}
 +
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.
 +
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.
  
 +
==Getting Started==
  
== Peripheral: ccSensors ==
+
# place a Sensor Controller next to a computer
 +
# open the sensor Controller GUI and hit the "New" button to register a new freq
 +
# place blank transmitter card in the slot and click "Encode Transmitter" to get an encoded transmitter to be used with the remote sensor.
 +
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name "Sensor")
 +
# Place a SensorModule card into the top slot.
 +
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)
  
 +
==External links==
 +
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread
  
ccSensors is an addon which adds sensors to ComputerCraft.
+
[[category:User Created Peripherals]]
 
+
it provides readings from the MC surrounding to lua programs.
+
a reading can be a value as simple as Light level,isRaining,isDay or as complex as the content of a chest or the temperature of IC2 reactor.
+
 
+
 
+
Blocks:
+
- ''Remote Sensor''
+
- ''Sensor Controller''
+
 
+
 
+
Items:
+
- ''SensorCard Module (currently available modules: World,Inventory,BuildCraft,IndustrialCraft2)''
+
- ''Transmitter card''
+
- ''Computer Chip''
+
 
+
 
+
lua API:
+
- ''sensors''
+
- ''sensorsUI''
+
 
+
lua programs:
+
 
+
- ''console''
+
 
+
 
+
Getting Started:
+
 
+
1. place a Sensor Controller next to a computer<br>
+
2. open the sensor Controller GUI and hit the "New" button to register a new freq<br>
+
3. place blank transmitter card in the slot and click "Encode Transmitter"<br>
+
to get an encoded transmitter to be used with the remote sensor.<br>
+
4. Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot.<br>
+
(you can rename the Remote Sensor from the default name "Sensor")<br>
+
5. Place a SensorModule card into the top slot.<br>
+
6. open the computer terminal and run: /ccSensors/console  to run the sample console program.<br>
+
That's it - you now have a working sensor connected to a computer :)<br>
+

Revision as of 21:57, 13 August 2012

ccSensors is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs. A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.

Getting Started

  1. place a Sensor Controller next to a computer
  2. open the sensor Controller GUI and hit the "New" button to register a new freq
  3. place blank transmitter card in the slot and click "Encode Transmitter" to get an encoded transmitter to be used with the remote sensor.
  4. Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name "Sensor")
  5. Place a SensorModule card into the top slot.
  6. open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)

External links