Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

how to use grove I2C ADC ?

OSh
Novice
1,232 Views

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
153 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
154 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
Reply