制作纸板弹球传感器的3种方式

15,299

55

8.

Introduction: 3 Ways to Make Cardboard PinBall Sensors

About: Technology Should Be Chic. Tech-Crafter, Maker, Educator, Designer of TechnoChic DIY Tech-Craft Kits

Making your own PinBall game - or any game for that matter - can be more fun than the game itself!

对于我的DIY弹球机,我认为制造开关要感测金属弹球将很容易 - 我将简单地将球桥在两块连接到微控制器之间的磁带之间的间隙。简单,对吗?

出色地...

它比我想象的更强硬。刚触摸磁带是不够的,所以我必须创造一个情况,其中球只能在连接到足够长时间触发的情况或球迫使球与重力连接的情况。经过许多原型的原型,我在三种设计上定居,我将在下面告诉您。

我希望这激励你制作自己的纸板游戏!这些纸板传感器技术可以应用于弹球,迷你高尔夫,双球,大理石运行或尚未发明的游戏!

Supplies:

Optional:

  • Micro:bit Bit Board Shield
  • 7段显示器制作记分牌

Step 1: The Cardboard Train Track Switch

This switch senses the location of the ball as it travels down a track.
  • 用两块纸板胶合互相粘合,创建纸板“火车轨道”。它们可以是直的,或在榜样中看到的。
    • 如果您正在制作弯曲轨道,请从纸板上剥离纸张的一侧,以允许波纹轻松弯曲(使剪切横跨波纹,不平行于它!)。
    • 我用超级胶水来创造曲线,一次粘附一点点轨道,并将其固定在适当的地方(约10秒)。相同的技术可用于热胶,但热胶更可见在成品设计中。
    • 在奠定了第一轨道后,慢慢地将第二轨道平行于第一个轨道。测试两条轨道之间的距离,以确保球不会落入或轨道。
  • 要使开关,将一块制造商胶带铺设在其中一个轨道上,并继续粘贴制造磁带,直到它在纸板边缘运行。这将使剪辑鳄鱼夹易于剪辑它。
  • Repeat with another piece of Maker Tape on the other track, making sure it doesn't touch the first piece.
  • 当球向下滚动轨道时,它将在两件之间建立连接并关闭开关(调节磁带的放置以确保良好的连接)。

The fun thing about this switch is that you can place many switches along the track. You could connect them all to the same microcontroller pin to activate a score increase, or wire them to separate pins to activate different outputs as well! The possibilities are endless.

第2步:纸板吊桥开关

此开关使用球的重力连接制造者磁带并关闭开关。
  • Cut out a small rectangle of cardboard the width of your tape and about 1/2 inch tall.
  • 将矩形胶带到一块磁带的末端并粘贴要绘制吊桥的磁带。将另一个磁带添加到顶部,使件伸出并看起来像一个“绘制桥梁”。
  • Cut a 1.5-inch piece of Make Tape and fold the ends over so that they don't stick (about 1/4 inch on each side). Stick it underneath the bridge as shown.
  • On the base, run a piece of maker tape to the bridge and leave a gap under the bridge before continuing.
  • 添加将在桥上指示球的结构。我用了两块纸板折叠,以创建一个在绘制桥上结束的轨道。
  • 当一个球按下吊桥时,制造商磁带的襟翼将关闭间隙并连接开关。

Use this cardboard switch at the end of a track or as a target for balls that fall through other obstacles.

第3步:纸板孔开关

This switch acts like a small basket cradling the ball and making a connection as the ball falls through a hole.
  • 在一块纸板上创造一个孔*略大于球。如果您不确定,从球的直径开始,并慢慢增加孔的尺寸,直到球通过容易落下。
  • 切6,1英寸的制造胶带,并折叠前1/4英寸,使该部件不粘。
  • 奠定了作品的粘贴式的部分就完成了the hole, three on each side. The pieces should overlap slightly as well.
  • Run a piece of maker tape to the pieces on one side of the hole, and the second piece of Maker Tape from the other side.
  • 添加纸板背板,将球引导到孔中。当球落过时,它会刷制造商磁带并完成电路。

这款纸板开关非常适合感测任何类型的游戏,其中球穿过弹球,迷你高尔夫,斯凯群岛等孔!

Step 4: Connect to a MicroController & Make a Game!

Use alligator clips to connect one side of the switch to (-) ground and the other side to a pin of your choice. You'll need to set the pin to "Pull Up" if that isn't the default on the microcontroller and/or code that you use.

第5步:在行动!

我使用了Micro:Bit,Brown Godgets Bit:Board和7段显示器以创建记分牌。View the code and project here.

我还将这些开关纳入了Pinbox 3000纸板弹球机。您可以在此处查看该项目:

我希望你喜欢这个教程!如果你想看到我的更多工作,你可以在这里关注我Instructables和上InstagramandYouTube - 请订阅!您还可以购买由我设计的技术工艺套件Technochic..net.

I've also included links to all of the supplies. As an Amazon Associate, I earn a small commission on purchases made through the links below, and that helps me make more tutorials like this. :)

Cardboard Speed Challenge

Second Prize in the
Cardboard Speed Challenge

是第一个分享

    建议书

    • 玩具与游戏比赛

      玩具与游戏比赛
    • 大与小挑战

      大与小挑战
    • 修复它挑战

      修复它挑战

    8评论

    0.
    woutzweers.

    12 days ago on第5步

    Nice! I tried conductive rails in a marble run but that didn't work. I switched to breakbeams which works very well but they are large and more expensive. I'll try again after this instructableke. By the way, use a photodiode breakbeam, ldr is too slow to catch a quick marble. The advantage of a breakbeam is that glass marbles also are detected

    0.
    Technochic.

    11天前回复

    凉爽的!我最近做了一个项目,使用IR Breakbeams的大理石运行。我们正在使用较大的塑料大理石,这也卷起。我希望它常常使用普通的大理石,我肯定必须检查一个常规大理石是否触发它,或者如果它太快。:)

    0.
    NerdSnipe

    15 days ago

    At first I though - why on earth would anyone want to do this, then I read it, and now I want to build a whole pinball machine! Nice!

    0.
    Technochic.

    14天前回复

    谢谢!做它!你听说过吗?PinBox3000?这是一个很棒的地方!

    0.
    clvudii.

    16 days ago

    Woah, this is so cool!

    0.
    Technochic.

    回复15 days ago

    ☺️

    0.
    加比赛

    16 days ago

    Very cool! Thanks for sharing!

    0.
    Technochic.

    回复16 days ago

    谢谢!:)