Overview
Different from traditional analog light sensor, as Grove - Light Sensor, this digital module features a selectable light spectrum range due to its dual light sensitive diodes: infrared and full spectrum.
You can choose among three detection modes when taking your readings. There is infrared mode, full spectrum and human visible mode. When running under the human visible mode, this sensor will give you readings within the range of light spectrum that the eye can pick up.
Features
-
Selectable detection modes
-
High resolution 16-Bit digital output at 400 kHz I2C Fast-Mode
-
Wide dynamic range: 0.1 - 40,000 LUX
-
Wide operating temperature range: -40°C to 85°C
-
Programmable interrupt function with User-Defined Upper and lower threshold settings
Tech specs
Specifications
Items |
Min |
Typical |
Max |
Unit |
Supply voltage, VDD |
3.3 |
5 |
5.1 |
V |
Operating temperature |
-30 |
\ |
70 |
℃ |
SCL,SDA input low voltage |
-0.5 |
\ |
0.8 |
V |
SCL,SDA input high voltage |
2.3 |
\ |
5.1 |
V |
Get Inspired
This code sets up an Arduino device to connect to WiFi and communicate with the OpenAI API. It uses the Adafruit_SSD1306 library to control a small OLED display, displaying messages and responses from the API. The device sends a prompt to the API asking "What is Arduino?" and waits for a response, which it then displays on the OLED screen. This is done using a secure SSL connection, and the API key is stored as a variable in the code. Overall, this code demonstrates how an Arduino device can be used to interact with web services and display data on a small screen.
While it’s yet to make its premiere, Matt Denton has already built the D-O droid from Star Wars: The Rise of Skywalker using a MKR WiFi 1010 for control, along with a MKR IMU Shield and a MKR Motor Carrier. The droid scoots around on what appears to be one large wheel, which conceals the Arduino boards as well as other electronics, batteries, and mechanical components. Denton’s wheel design is a bit more complicated mechanically than it first appears, as its split into a center section, with thin drive wheels on the side that enable differential steering. On top, a cone-shaped head provides sounds and movement, giving the little RC D-O a ton of personality. The droid isn’t quite finished as of the video below, but given how well it works there, the end product should be amazing!