Skip to content

Linking a PIR sensor to an Arduino, sensing movement, communicating movement up to a Mac and playing a noise... LOUD

License

Notifications You must be signed in to change notification settings

robotard/surPIRseAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

surPIRseAttack

Linking a PIR sensor to an Arduino, sensing movement, communicating up movement on a Mac and playing a noise

An example of getting an Arduino to talk to a Mac. The PIR motion sensor senses some movement in the room, then waits 3 seconds (for dramatic effect), then 'shouts' to the Mac that there has been motion...

The Mac (through processing) is looking for a specific shout (can add more through this mechanism) over the USB comms, and in turn, chooses to play a sound of your choosing (chainsaw in my case)...

For dramatic effect, plug into speakers at full volume

N.B. The PIR take ~50 seconds to calibrate... I've put a delay in for you to leave the room and close the door etc.

Creative Commons, so knock yourselves out!

Rob Hendricks

[email protected] www.robustas.co.uk

01/05/2014 (UK)

About

Linking a PIR sensor to an Arduino, sensing movement, communicating movement up to a Mac and playing a noise... LOUD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages