ESP8266 & Seeed Light Sensor Quick Start in Under 2 Mins

by MongooseOS in Circuits > Microcontrollers

115 Views, 0 Favorites, 0 Comments

ESP8266 & Seeed Light Sensor Quick Start in Under 2 Mins

screen_shot_2017-03-21_at_15_14_53_5yDRWXaLaT.jpeg
Seeed Grove #3 - Light Sensor: ESP8266 & Mongoose OS

1) Get your ESP8266 and Seeedstudio Light Sensor ready. You can use it from any of the Seeed Grove Kits.

2) Download and install mOS tool for Mongoose OS. Follow installation instructions on https://mongoose-os.com/software.html

3) Follow step by step instructions from the video above.

4) init.js code:

<br>load('api_grove.js');
Grove.Button.attach(5, function() {
  print('Light: ', Grove.LightSensor.get(0));
}); 

5) Enjoy!

If you like this and find useful, please hit the 'Favourite' button and don't forget to 'Share'. That way we will hear your feedback and bring even more exciting projects to you door.

Want to play with other Seedstudio sensors from Grove Kits? Check other tutorials we have for Button, Motion Sensor, Moisture Sensor, UV Sensor, Relay, Buzzer.

Check also other projects by Mongoose OS team.

Let us know if any questions or feedback -> forum.cesanta.com