I am mikek's Blog

The personal blog of Mike Karthauser, who you may know from Brightstorm Limited or the internet.

Fun with ultrasonics on Raspberry Pi

SRF05 ultra sonic range configured following Matt Hawkins example circuit and python script I hooked up the following:

20130311-230339.jpg

This circuit allows for the setting of events specific to certain distances. I configured a message to change depending on how far the dog was away:

20130311-231230.jpg

The future scope is to trigger another GPIO pin depending on location which could activate a warning sound

Advertisements

Filed under: raspberry pi

One Response

  1. Jon Masters says:

    Nice work! For some reason I assumed that working with ultrasonics would be a bit more complicated than that. I’m kinda inspired to have a play myself now 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

mikek on twitter

%d bloggers like this: