rwaldron / johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.
http://johnny-five.io
Other
13.26k stars 1.76k forks source link

Adafruit VCNL4010 Proximity/Light sensor & Johnny-five #1739

Open diegorivasn opened 3 years ago

diegorivasn commented 3 years ago

Hi guys, checking the proximity sensors currently supported by Johnny-Five, I can't see a controller that could work with the Adafruit VCNL4010 Proximity/Light sensor. Is there a way to control this component using Johnny-five + Firmata + Arduino without having to modify the libraries? Thanks in advance!

dtex commented 3 years ago

It doesn't support it yet, but contributions are always welcome. It's a little tricky since it comprises multiple sensors, but there is precedent. I think I'd look at the MPU6050 for a good example of how to organize it. This would be the first SiP with proximity and light components.

diegorivasn commented 3 years ago

Thanks for your quick comment, I'll take a look at it