Community
cancel
Showing results for 
Search instead for 
Did you mean: 
OSh
Novice
1,160 Views

how to use grove I2C ADC ?

Jump to solution

Hi, I would like to know how to program grove sensor i2c ADC with a grove alcohol sensor and a grove temperature sensor using javascript / nodejs.

I am now currently using intel edison board together with a base shield. Thanks !

1 Solution
idata
Community Manager
81 Views

Hi chaos39,

 

 

If you are using the Arduino expansion board with your Edison module, then there is no need to use an external ADC since the Arduino expansion board already has one. However, if you have a different setup, I recommend you to use the MRAA library to handle the I2C interface of your ADC module. In the following site you will find the MRAA API for Nodejs where there is additional information about how you can handle the I2C interface and which methods you can use. You will also find useful examples about how to use the MRAA library: https://github.com/intel-iot-devkit/mraa

 

 

I hope you find this information helpful.

 

 

Regards,

 

Diego

View solution in original post

1 Reply
idata
Community Manager
82 Views

Hi chaos39,

 

 

If you are using the Arduino expansion board with your Edison module, then there is no need to use an external ADC since the Arduino expansion board already has one. However, if you have a different setup, I recommend you to use the MRAA library to handle the I2C interface of your ADC module. In the following site you will find the MRAA API for Nodejs where there is additional information about how you can handle the I2C interface and which methods you can use. You will also find useful examples about how to use the MRAA library: https://github.com/intel-iot-devkit/mraa

 

 

I hope you find this information helpful.

 

 

Regards,

 

Diego

View solution in original post

Reply