Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Adding A Motion Sensor to A First Project
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adding A Motion Sensor to A First Project

by Lily2890 on Tue Apr 20, 2021 11:48 am

Hello!

I hope I am adding this to the right forum.

My daughter is just getting into electronics and programming (very basic) and I want to do everything I can to encourage her. I came across the Crickit Powered Minerva Owl Robot project on the Adadruit website and thought that it would be a good beginner level project that we could build together. I have very basic understanding of programming and electronics (mostly from reading online) but we're both excited to learn.

So, on to the question.

My daughter wants her bird to squawk and move when people walk by. I'm thinking a small PIR sensor would do the job- but again, we're both just starting out and I'm not sure how to go about adding one. We plan on following the tutorial but I can solder if necessary.

So, any tips on how to add a motion sensor? What changes would need to be made to the coding? The idea is to have the PIR sensor activate the movement of the wings and the speaker when it detects movement. Does anyone have any suggestions on further reading or resources we could look into?

Here is a link to the tutorial:
https://learn.adafruit.com/crickit-powe ... cuitpython

It uses a Cricket for Circut Playground Express and Cricut Playground Express.

Thank you for your help! Even if we can't figure out the motion sensor, I'm still going to encourage her to build the "birdy" as she calls it!

Lily2890
 
Posts: 1
Joined: Sat Feb 27, 2021 12:29 pm

Re: Adding A Motion Sensor to A First Project

by blnkjns on Tue Apr 20, 2021 12:28 pm

A guesture sensor is cool as well, it detects 4 directions of movement.
https://www.adafruit.com/product/3595
You can also make it react to coloured balls or stuff like that.

blnkjns
 
Posts: 448
Joined: Fri Oct 02, 2020 3:33 am

Re: Adding A Motion Sensor to A First Project

by adafruit_support_mike on Tue Apr 20, 2021 11:20 pm

A PIR sensor would be a good choice if you're just getting started. They're easy to use, and we have several tutorials over in the Learning System:

https://learn.adafruit.com/search?q=pir

It's always a good idea to build projects in small steps, and to iterate from one success to the next. It's easy to feel overwhelmed and frustrated, so keeping your enthusiasm fresh is an important skill.

adafruit_support_mike
 
Posts: 62315
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.