A Charming Arduino King Cobra Game


Here’s a fun game from [A.J.]’s lab. It’s a simulated king cobra made from an Arduino, an ultrasonic sensor, and a servo. The aim of the game is to grab a ball in front of the device without being ‘bitten’ by the thumbtack attached to a drinking straw controlled by a servo. You know, just like a real king cobra.

There’s no schematic or build plans for this project, but it looks easy enough to cobble together. Despite its simplicity, this game looks hilariously fun, and could quite possibly provide more entertainment through using the machine rather than simply building it.

No text description of this game can do it justice, so check out the video below. It looks like a lot of fun, and if you already have the parts in a bin somewhere, it’ll make a great weekend build.


22 thoughts on “A Charming Arduino King Cobra Game

    1. Very good point. I did mention though, that the tip was dulled so as not to transmit such vile diseases. I would not recommend actually stabbing through skin unless you are all family… and respectable family at that! ;)

  1. Wuss.
    Make that straw a wooden ruler, and a pair of 1-inch nails for the fangs. Better yet, use a pantograph [https://en.wikipedia.org/wiki/Pantograph] to extend the reach…
    Early warning would be to shake a rattle – presto! Rattlesnake game.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.