====== SWITCHES: ==== === Students learn: === ^Curriculum ^Learning Activities ^ |SCIENCE |Real world monitoring | |TECHNOLOGY |HTML coding and remote control | |ART |Blended multimedia elements | |ENGINEERING |Interactive control of real-world devices| |MATHEMATICS |Develop and apply time-lines| FIXME === Raspberry Pi Remote Control Software & Socket Set (switches) === * Raspberry PI, Browser based software (python script) and [[http://mattrichardson.com/Raspberry-Pi-Flask/|documentation]] * Remote Control Socket Set (RC101, RC102) {{:brainbox:young-makers:switches:remote-control-socket-manual.pdf|user manual}} The switches are set to initial GPIO.HIGH 3.3V (GPIO.HIGH=Off), and pulled LOW (0V) to activate. === Raspberry Pi, The Internet Of Things & Node-Red? === It's a lot like scratch.... but a lot more useful... [[https://learn.adafruit.com/raspberry-pi-hosting-node-red?view=all|Node-Red]] in its simplest form is an open source visual editor for wiring the internet of things produced by IBM. What does this mean? Well for someone lazy like me it means I can spend more time making stuff "talk" to each other than worrying about all of the interfacing code I will need to write. The system contains "Nodes" which look simply to be icons that you drag and drop on to the canvas and wire together. Each Node offers different functionality which can range from a simple debug node to be able to see what's going on in your flow, through to a Raspberry Pi node which allows you to read and write to the GPIO pins of your Pi. To give an example of what can be done here is my home twitter account telling me where I'm currently located and whether it is going to rain any time soon. I even have a Google maps link thrown in for good measure. Source [[https://learn.adafruit.com/raspberry-pi-hosting-node-red?view=all|C. MOBBERLEY]] Here is an example node-red motor control sequence: http://www.slideshare.net/s0013254/02-rpiio ==== Appendix ==== FIXME - Work in progress... * How IBM uses Node-red http://www.techrepublic.com/article/node-red/ * http://www.rs-online.com/designspark/electronics/eng/blog/home-automation-with-raspberry-pi-2-and-node-red * Weather alert and lamp switch: http://dombramley.com/weather-prediction-with-node-red-forecast-io-and-a-raspberry-pi/ * http://npm.taobao.org/package/node-red-contrib-rcswitch2