Raspberry Pi Spider Bot Detects Edges to Prevent Falling

Source: Tom's Hardware added 01st Jan 2022

  • raspberry-pi-spider-bot-detects-edges-to-prevent-falling

(Image credit: Disastrous-Cry-6452)

There’s nothing like spending an afternoon putting together a fantastic Raspberry Pi robot kit. Still, there’s also nothing quite like losing all of your work by accidentally destroying your new bot. That’s where maker Disastrous-Cry-6452 comes in with this clever, edge-detecting upgrade for the SunFounder PiCrawler kit.

The kit includes everything you need to build your AI-powered spider bot, but there’s nothing to stop it from walking right over the edges to its demise. To remedy this issue, Disastrous-Cry-6452 has created a system that checks for edges and prevents the robot from proceeding forward if the leg cannot establish contact with level ground.

We reached out to Disastrous-Cry-6452 for extra details on how the detection system works. They explained that SunFounder’s default library handles the walking protocol, while a Robot HAT with a speaker provides audio output. When it detects that the foot has moved too far, it says “Danger!” using SunFounder’s text-to-speech library.

Disastrous-Cry-6452 has attached a couple of IR sensors to the front legs of the PiCrawler. The output level changes depending on how close obstacles are to the sensors. If the output is too high, the distance is considered unsafe, and the library module steps backward is initiated.

To see (and hear) this cool mod in action, check out the original thread shared to Reddit by Disastrous-Cry-6452.

Read the full article at Tom's Hardware

media: Tom's Hardware  

Related posts


Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 88

Related Products



Notice: Undefined variable: all_related in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/rondea.com/httpdocs/wp-content/themes/rondea-2-0/single-article.php on line 91