Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KPerr1
Novice
866 Views

IR remote controlled intel edison node js

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

8 Replies
idata
Community Manager
38 Views

Hi,

 

 

Could you explain in more detail your project? Are you looking for a sample code, a specific command, or the node.js documentation?

 

 

-Sergio

 

KPerr1
Novice
38 Views

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

idata
Community Manager
38 Views

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.

 

 

-Sergio

 

idata
Community Manager
38 Views

Do you still need help with this case, were you able to create the code using the node.js documentation?

 

 

-Sergio

 

KPerr1
Novice
38 Views

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?

 

 

-Sergio
idata
Community Manager
38 Views

What do you mean the links are not working? I just tried to access those websites and the links opened fine. Can you try again to check if they're working?

 

 

-Sergio
KPerr1
Novice
38 Views

I mean the links are fine but none of these code are working and I need IR emitter node js code and links that you gave me were just the basic use only. Pls help Sergio

idata
Community Manager
38 Views

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.

 

 

-Sergio