Overview
Imagine if you could talk to your house plants and they would tell you if they needed water, how hot it was and even look at you as you walk past...
George is an experimental prototype to explore how easy it is to mix Arduino, Socket.io and the HTML5 Web Speech API (Speech & Synthesis) to do just that.
An article about George can be found on the AnalogFolk MAKE website. This repo contains the code and steps to set up your very own George.
How it works
There are 3 main parts to George:
- Aurdino application: Written in C++ to output the data from the sensors
- Socket.io script: Reads and broadcasts the sensor data as JSON
- HTML5 script: Reads the data excutes speech recognition and speech synthesis using the HTML5 Web Speech API
A George MAKE kit can be purchased from ETSY.
Alternatively you can source your own hardware from the list below (but we can't guarantee the code will work with parts you source yourself):
- LM35 Temp Sensor
- Soil Hygrometer Humidity Detection
- PIR Motion Sensor
- MAX7219 8x8 LED Dot Matrix Display
- Light Sensor
- Arduino Uno
- Node
- Serialport
- Socket.io
- Express
- Crypto
Wiring diragram:
Wire up the hardware components as follows:
Step by step:
- Fork the repo
- NPM install to install node dependencies
- Wire up George as above (you can also work out wiring by reading the sensor_read.ino)
- Upload the sensor_read.ino to the Arduino Uno using the Arduino IDE
- Run node index.js and visit http://localhost:8000 to interact with George
- Folking fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
A MAKE project hacked together by Mate Marschalko (@MateMarschalko) at AnalogFolk (@analogfolk).