::: {#e146 .section .section .section—body .section—first} ::: section-divider
:::
::: section-content ::: {.section-inner .sectionLayout—insetColumn}
使用可编程模块能做的二十件事情(Twenty Things to Do with a Programmable Brick) {#e2c0 .graf .graf—h3 .graf—leading .graf—title name=“e2c0”}
1.制作一个”鬼屋”。当门打开时就发出吱吱声。当有人穿过这个门时,就掉下蜘蛛在人们身上。给南瓜做一个平台,然后托着南瓜在屋里来回移动。
2.将传感器连接到身体的各个部位。在你步行和跑步时监控你的心跳和呼吸。或者当你移动身体的不同部位时,播放不同的声音。
3.测量当地河流中的水的pH值或当地施工现场的噪音水平。
4.制作一个乐器。这个乐器可能有像长笛一样的按钮,或像长号一样的滑动部件,或者是你发明的全新的接口。在你移动乐器的不同部件时,就会播放不同的音符(或旋律)。
5.使用光敏元件,来记录进入房间的人数。在人们进入房间时来欢迎他们(使用音乐或数字化语音)。
6.在建筑物的屋顶上设置一个气象站。
7.关闭冰箱门时,检查灯是否真的熄灭。
8.在有人使用烟灰缸时,让烟灰缸发出咳嗽声。
9.制作一个遥控小车。使用标准的电视机遥控器与小车进行通信(通过红外传输)。
10.制作一个”智能房间”,当有人走进房间时自动打开灯光。
11.使用可编程模块控制摄像机(通过红外传输)。拍摄植物生长的延时视频。
12.使用可编程块来安排你的录像机节目。
13.发送秘密消息给另一个也有可编程模块的人。
14.使用可编程模块来收集你的狗的行为数据。你的狗花了多少时间跑来跑去?
15.使用可编程模块记录你的狗叫声。然后将可编程模块放在小车中,当小车接近一只猫时放出吠叫声。猫如何反应?
16.创建一个能与你互动的机器。当你鼓掌一次,或者鼓掌两次,或者用光线照射其”眼睛”时,这个机器会以不同的方式行动。
17.创建一个机器探索其环境。找出房间中光线最强或温度最高的地方。接下来,在机器上放置一个植物,这样植物就会一直移动到最亮(或温度最高)的房间。使用其他传感器来监测植物的生长。
18.创建一台可以给你的植物浇水的机器,然后让机器每隔几天给植物浇水。
19.创建一个游戏,每个玩家携带一个模块,向玩家发出指令,并将消息从一名玩家发送到另一名玩家。
20.再想想其他能够做的事情。 ::: ::: :::
::: {#f958 .section .section .section—body .section—last} ::: section-divider
:::
::: section-content ::: {.section-inner .sectionLayout—insetColumn} 1. Create a “haunted house”. Attach a Programmable Brick to the door to make creaking sounds whenever the door is opened. Program another Brick to drop spiders on people when they walk through the door. Build a Lego platform for a pumpkin, and program a Brick to drive the pumpkin around the room.
2. Connect sensors to various parts of your body. Then program a Programmable Brick to monitor your heartbeat and breathing as you walk and run. or program the Brick to play different sounds when you move different parts of your body.
3. Take a Programmable Brick with you to measure the pH level of the water in local streams, or the noise levels at a local construction site.
4. Create a Lego musical instrument. The instrument might have buttons like a flute, or a sliding part like a trombone, or a completely new inter-face that you invent. Start by writing a simple program so that the Programmable Brick plays different notes (or melodies) when you move different parts of the instrument. Then enhance the program so that the Brick improvises on your notes. Or program the Brick to play “rounds” (by playing a second copy of your notes with a delay).
5. Put a Programmable Brick and light sensor on the door to keep track of the number of people that enter the room. Then program the Brick to greet people as they enter the room (with music or digitized speech).
6. Set up a weather station on the roof of the building.
7. Use a Programmable Brick to find out if the light really does go off when you shut the refrigerator door.
8. Attach a Programmable Brick to an ashtray, and program it to play a coughing sound whenever anyone uses the ashtray.
9. Build a remote-controlled Lego car. Use a standard television remote control to communicate (via infrared transmission) with a Programmable Brick in the car.
10. Create an “intelligent room” that automatically turns on the lights when someone walks in the room. (Here’s one approach. Build a Lego machine that turns on the light switch, and connect it to a Programmable Brick. Use another Programmable Brick to detect when anyone enters the room. Use infrared transmission to communicate between the two Bricks.)
11.Use a Programmable Brick to control a video-camera (via infrared transmission). Program the Brick to make a time-lapse video of a plant growing (taking a few frames every hour or day).
12. Use a Programmable Brick to program your VCR.
13. Send secret messages across the room to some-one else who also has a Programmable Brick.
14. Put a Brick on your dog’s collar and collect data about your dog’s behavior. How much time does your dog spend running around? Discuss whether experimenting on your dog is ethical.
15. Use a Brick to record your dog barking. Then put the Brick in a remote-controlled Lego car. Play the barking sound when the Lego car gets near a cat. How does the cat react?
16. Build a Lego creature that you can interact with. Program the creature to act in different ways when you clap once, or clap twice, or shine a light in its “eyes”.
17. Build a Lego creature that explores its environment. Program the creature to find the part of the room with the most light or the highest temperature. Next, put a plant on your Lego creature, so that the plant will always move to the part of the room with the most light (or the highest temperature). Use other sensors to monitor the growth of the plant.
18. Build a Lego machine that can water your plants, then program a Brick to make the machine water the plants every few days.
19. Create a game where each player carries a Programmable Brick. Program the Bricks so that they give instructions to the players, and send messages from one player to another.
20. Think up 20 more things to do with a Programmable Brick.
参考: Papert S, Solomon C. Twenty Things to Do with a Computer.[J]. Educational Technology, 1972:N/A. ::: ::: :::