Changes

Jump to navigation Jump to search
Line 798: Line 798:     
[[File:Image clipping cctv.png |250px]]
 
[[File:Image clipping cctv.png |250px]]
 +
 +
 +
===Remote door bell ===
 +
Based on the previous door bell example, this sounds an alarm in one laptop when an electrical connection is made on another. Open a Turtle Art session for sharing on one laptop
 +
[[File:Image clipping neighbohood.png |100px]]
 +
and join that session on another laptop
 +
[[File:Mesh.png |75px]]
 +
 +
The turtle's position is used to transmit the measured resistance to the second laptop.
 +
 +
[[File:Image clipping bellsend.png|200px]]
 +
 +
<i>sending laptop</i>
 +
 +
In this case, the sending laptop is called 'tony'. To select its turtle, by its name, 'tony', plug a text block into the 'turtle' block rather than the normal number block. Load the Python block with the sine wave sample code [[File:Pythoncodeblock.jpg|50px]] and it sounds a 1 kHz tone when the received value is less than 3000.
 +
 +
[[File:Image clipping bellreceive.png|200px]]
 +
 +
<i>receiving laptop</i>
 +
 +
It could be used to sound a remote alarm on a tank level etc.
    
==Enlaces==
 
==Enlaces==
2,486

edits

Navigation menu