![]() ![]() See web/weather.html for details and make sure you provide your Weather Underground API key and define a weather station in web/js/config.js. The weather module is an AngularJS app that uses to display weather information from Weather Underground. ![]() The init.d/node-app-irdistance script can be used to configure the irsensor.js app to be launched automatically on start. The Node.js/irsensor.js app from this project creates the connection between the two systems, forwards gesture and distance events to the web user interface via WebSocket communication and also controls the HDMI display to save power if nobody has interacted with the mirror for 5 minutes. SparkFun_APDS9960 library for APDS-9960 gesture sensor, taken from Ĭommunication between Raspberry Pi and Arduino happens via the serial port (USB).DistanceSensor library for GP2Y0A21YK, taken from.The libraries are also included in this git repository. In order to compile you'll need to copy the following libraries to Arduino's library folder. Input 2: GP2Y0A21YK on analog pin 0 (analog) + GND & VCC (5V).Input 1: APDS-9960 on digital pin 2 (interrupt) + I2C (SDA on pin A4, SCL on pin A5) + GND & VCC (3.3V).Connect Arduino via USB to Raspberry Pi, requires that Arduino is wired as described below and has the Arduino sketch from this project already installedĬollects gesture events from gesture sensor APDS-9960 and distance from distance sensor GP2Y0A21YK (10-80cm), which are then forwarded on the serial port as text.TBC (how to check out web project, configure it, install Chromium, configure Chromium to auto-start in kiosk mode, install Node.js and required packages via npm, configure irsensor.js app to auto-start, etc.). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |