Skip to Content
Python Robotics Projects
book

Python Robotics Projects

by Prof. Diwakar Vaish
May 2018
Intermediate to advanced
340 pages
7h 20m
English
Packt Publishing
Content preview from Python Robotics Projects

Making the robot detect pets

The preceding code is good, and I'm sure it would be dispensing the food at set times. However, there can be a problem, as the robot would not be effective if the pet does not know whether the food had been fetched. Hence, we need to have an alarm that should inform the pets that the food is ready to be eaten. 

Even in the previous program, we have used a buzzer that will inform the pet when the food is being dispensed, but, that was only for a very short period of time. However, what we are talking about here is an alarm system that will keep on ringing till the time the pet does not come and eat the food. To do this, connect the system as follows and mount the ultrasonic sensor in such a way that it notes the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Hands-On ROS for Robotics Programming

Hands-On ROS for Robotics Programming

Bernardo Ronquillo Japón

Publisher Resources

ISBN: 9781788832922Supplemental Content