background image

14

While holding your fingers on the center and right light sensors, press and 

release the reset button.

When you hear the beep, uncover the light sensors.

The S2 will drive around the room, turning to avoid objects.

Step

1

           Demo 4: 

            avoiDing oBjectS Behavior

+

Step

2

4

button

presses

Содержание 28136

Страница 1: ...Propeller powered and fully programmable Open source and user hackable...

Страница 2: ...rgeable batteries Remove dead or exhausted batteries from S2 Insert batteries correctly match positive and negative signs Do not place anything across the battery terminals Use only the size and type...

Страница 3: ...de batteries AA AA AA AA AA AA White poster board S2 Robot S2 Manual Markers up to inch 12 mm diameter such as a Sharpie fine point Serial Cable 800 00003 for programming If your computer lacks a seri...

Страница 4: ...4 Top View light sensors pen port speaker infrared emitters infrared detector reset button power switch power light programming port for serial cable bi color indicator LED lights...

Страница 5: ...5 Bottom View pen port battery cover tail wheel line sensors wheel tire...

Страница 6: ...the power switch in the off position I On O Off battery cover latches Place the S2 on a towel or other non scratching surface bottom side up Remove the battery cover by pulling the cover latches down...

Страница 7: ...on the cover until it latches into place Depending on its programming when the S2 detects low battery voltages it will slowly start blinking the blue power light Step 5 DEMO PROGRAMS There are 8 Demo...

Страница 8: ...see it because you have blocked out the light shining on the sensor Place your S2 on the floor in a brightly lit room Put the power switch in the ON position You will hear a song and all 3 LEDs will...

Страница 9: ...D the center light sensor controls the center LED and the right light sensor controls the right LED Other Demos will use the indicator LEDs in a different way Demo 1 is selected each time you turn on...

Страница 10: ...e S2 One sensor looks straight ahead the other two look 30 to the right and left While you cover the right light sensor press and release the reset button Listen for the beep then uncover the light se...

Страница 11: ...a short song then drives around the room seeking the brightest light within its view Try this In a dark room hold a flashlight at floor level facing the S2 As you move the flashlight around the floor...

Страница 12: ...infrared emitters infrared detector Step 1 When you hear the beep uncover the light sensor Step 2 Infrared light shines from the emitters even though your eyes cannot see it The S2 can detect the lig...

Страница 13: ...ns red If the S2 sees an object on its left the left green LED turns on and the speaker plays a different tone If no object is detected on the left side the left LED turns red If the S2 can see the ob...

Страница 14: ...center and right light sensors press and release the reset button When you hear the beep uncover the light sensors The S2 will drive around the room turning to avoid objects Step 1 Demo 4 Avoiding Obj...

Страница 15: ...15 The S2 has a stall sensor inside If it gets stalled on an object it cannot see it will back up turn and try driving forward again...

Страница 16: ...printed tracks look like see page 18 of this booklet Do not use photograph printing ink which reflects infrared light Draw your own tracks by making a black line inch 2 cm wide on white paper To do t...

Страница 17: ...r and move it back and forth across the black line If the right sensor sees the line the right green LED will light up If the left sensor sees the line the left green LED will light up If both sensors...

Страница 18: ...ht Draw your own lines inch 2 cm wide To do this you will need white paper a black marker Always protect surfaces with paper or poster board when using a marker or any other writing instrument in your...

Страница 19: ...ing it If the S2 loses the line on a tight corner it will turn back and forth to look for it again The S2 does best following black lines about inch 2 cm wide on a white back ground Line following wor...

Страница 20: ...e pen port The tip of marker must touch the paper Always protect surfaces with paper or poster board when using a marker or any other writing instrument in your S2 Be aware that some markers can bleed...

Страница 21: ...rs press and release the reset button Listen for the beep then uncover the light sensors The S2 will draw an approximate figure 8 and then beep Pick up the S2 and put it down on another part of the pa...

Страница 22: ...ress and release the reset button Listen for the beep then uncover the light sensors The S2 drives around blaring its siren and flashing its lights while avoiding walls and obstacles Step 1 Demo 8 Amb...

Страница 23: ...23...

Страница 24: ...hacker port The hacker port can be used for RF devices ultrasonic sensors passive infrared sensors and anything else you wish to attach or power from your S2 robot Page 27 includes a variety of helpf...

Страница 25: ...cks that turn wheels blink lights play sounds and more Arrange them in the sequence you want download the program and your S2 robot will perform your routine When you are done you can press the Restor...

Страница 26: ...ort Spin or assembly language under a Windows platform but other suppliers offer C or PropBASIC on Mac PC or Linux operating systems The Propeller Tool Code Editor is used extensively by hobbyists eng...

Страница 27: ...ller and Robotics forums where 20 000 customers exchange ideas and help Parallax Books Many books are available for the Propeller through our online shop at www parallax com Some books which are autho...

Страница 28: ...ovide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance...

Отзывы: