![]() One cool thing about Node.js is that you can execute commands by spawning child processes. Photos are taken using raspistill command line. When the sensor detect my cat (or any moving objects) nearby Raspberry Pi, it triggers the camera. The hardware-software communication is done with Johnny-Five, open-source JavaScript robotics programming framework. Stream on web (subscribe the data from PubNub).Publish the data (URL) to PubNub for realtime streaming.Store the photos in cloud storage (Cloudinary).Take photos (Raspistill, command line tool).Detect motion (Use Johnny-Five IR.Motion obj).The software is written in Node.js, simply because JavaScript is the language I am most comfortable with, also it is fun! Watch the demo on YouTube :-) How Kitt圜am Works As I promised on the README file of the GitHub repo, I am finally writing the detailed instruction of how I built hardware and wrote the app. Last August, I created this Raspberry Pi app using a camera and PIR motion sensor, written in Node.js with helps with Johnny-Five and KittyDar. Ho, ho, ho! This is an overdue blog post for the project I’ve worked on during summer! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |