Hi, whats the code for IR remote controlled Fan on off and speed using node.js intel edison gpio mini board? pls help me . Thankz
im supposed to create a smart air cooler with intel edison and nodejs code and i need an ir transmitter and receiver and temperature sensor nodejs code to control the mode like on/off , speed , swing while the temperature sensor will help to sense and run the fan speed from low to high accordingly to your body temperature and im at a loss. Pls help me
There's no sample code for the code you need. I'd suggest you to take a look at https://github.com/intel-iot-devkit/mraa https://github.com/intel-iot-devkit/mraa . Here you'll find the documentation for several programming languages using mraa. The options are C/C++, Java, Python and Node.js. The node.js API specific documentation can be found here http://iotdk.intel.com/docs/master/mraa/node/ http://iotdk.intel.com/docs/master/mraa/node/ .
In this documentation you can find the functions that you can use to create your code as well as a description and the parameters needed for each command.
I'd also suggest you to take a look at https://software.intel.com/en-us/node-js-templates-for-intel-xdk-iot-edition https://software.intel.com/en-us/node-js-templates-for-intel-xdk-iot-edition for some Node.js templates you can use as examples.
None of these links are working. Please help me out Sergio.
Intel Corporation wrote:
Do you still need help with this case, were you able to create the code using the node.js documentation?
As stated before, there's no sample code with the functionality you request. The code you need is very specific, so you'd need to create your own node.js code based on the functions provided in the API documentation http://iotdk.intel.com/docs/master/mraa/node/ http://iotdk.intel.com/docs/master/mraa/node/ . The links we provided in the previous reply has useful information that'll guide you through the process of creating the code.