Google Expeditions kits

ABOUT US

LINKS

Stay Connected

©2017 by Aquila Education official Google Expeditions kits partner

Using a Light Sensor with the Q-Scout

March 27, 2019

One of the best features about the Q-Scout (and Qooper!) is that you can connect additional sensors in order to interact with the world around you.  In the video below, we connected a light sensor to our robot, so when the light intensity dropped below a certain number, the double lights on top of the robot turn on. 

 

 

 

Imagine all of the things you can do with the robot using this sensor! Night time disco?  Stop driving when the lights turn on?

 

You think it, you can do it!

 

 

 

 

Code Explained

 

This code will run forever as long as the robot is on.  If the light intensity is greater than 200, then the double lights will be off (black).  However (else), if the light intensity is below 200, then the double lights will change from green to blue to pink.

 

 

 

 

 

 

 

If you are interested in Q-Scouts or Qoopers for your classroom, check out our page for more information.

 

Stay up to date with the latest Aquila blog by following us @aquilaeducation

 

https://twitter.com/aquilaeducation

https://www.facebook.com/aquilaeducation​

 

 

 

 

 

Share on Facebook
Share on Twitter
Please reload

Featured Posts