LilyPad Light Sensor module COM31

LilyPad Light Sensor module COM31

The LilyPad Light Sensor module is a small, sewable sensor board that measures the ambient light in its environment. It is designed to be used with LilyPad microcontrollers and can be easily integrated into wearable and e-textile projects.

The module uses a photocell to detect light levels and outputs an analog voltage that can be read by the microcontroller. This allows you to create interactive clothing and accessories that respond to changes in light

To test the LilyPad Light Sensor module, you can follow these steps:

  1. Connect the LilyPad Light Sensor module to a LilyPad microcontroller using conductive thread or soldering the connections.
LilyPad Light Sensor LilyPad Microcontroller
Module (LPSM) (LM)

VCC -------------- VCC
GND -------------- GND
SIG -------------- A0
  1. Write a simple program for the microcontroller to read the analog voltage output from the light sensor module.
// Define the analog input pin to which the light sensor is connected
const int lightSensorPin = A0;

void setup() {
// Start serial communication for debugging
Serial.begin(9600);
}

void loop() {
// Read the analog voltage from the light sensor
int sensorValue = analogRead(lightSensorPin);

// Print the sensor value to the serial monitor
Serial.print("Light sensor value: ");
Serial.println(sensorValue);

// Wait for 1 second before taking the next reading
delay(1000);
}
  1. Upload the program to the microcontroller and power it up using a suitable power source, such as a LilyPad power supply
  2. Expose the light sensor to different light conditions. You can do this by shining a flashlight on it, moving it to a darker area, or covering it with your hand to block the light.
  3. Monitor the readings from the light sensor module using the microcontroller. You should see the analog voltage output change in response to the varying light levels.
  4. You can also use a multimeter to directly measure the voltage output from the light sensor module to verify its functionality.


Frw 3,500

Related Products

ESP8266 serial port wifi module NodeMCU Lua V3 Internet of Things development board TYPE-C interface CH340

ESP8266 serial port ...

Frw 11,000

Arduino Uno SMD Electronic Development Board, 32 Kb

Arduino Uno SMD Elec...

Frw 10,000

ESP32 NodeMCU Module WLAN WiFi Development Board | Dev Kit C V2 with CP2102 compatible with Arduino

ESP32 NodeMCU Module...

Frw 15,000

HC-SR04 Ultrasonic sensor

HC-SR04 Ultrasonic s...

Frw 4,500

L298N 2A Based Motor Driver Module

L298N 2A Based Motor...

Frw 4,500

L293D driver motor shield for Arduino

L293D driver motor s...

Frw 4,300

Mini Water / Fluid Pump MOD45 ,R12

Mini Water / Fluid P...

Frw 2,450

0.08MPa 370 Motor 12V DC Air pump/Oxygen filling pump COM45, R37

0.08MPa 370 Motor 12...

Frw 8,000

MQ135 Air Quality Detector Sensor Module

MQ135 Air Quality De...

Frw 6,900

Electrolytic Capacitors0.1uF – 4700uF/25v

Electrolytic Capacit...

Frw 300

MAX30100 - Heart Rate Oxygen Pulse Sensor

MAX30100 - Heart Rat...

Frw 3,950

Single Channel 5V Relay Module

Single Channel 5V Re...

Frw 2,400

Channel 5V Relay Module

Channel 5V Relay Mod...

Frw 4,300

4 Channel 5V Relay Module

4 Channel 5V Relay M...

Frw 5,950

PCB Board 9*15cm PRO24, R22

PCB Board 9*15cm PRO...

Frw 1,000

LED 5MM 2MA GN

LED 5MM 2MA GN

Frw 50

Multi Coin Acceptor

Multi Coin Acceptor

Frw 35,000

4 * 4 Matrix Array Matrix Keypad

4 * 4 Matrix Array M...

Frw 5,000

AS608 Fingerprint Reader Sensor Module Optical

AS608 Fingerprint Re...

Frw 27,000

5A ACS712 ACS712ELC Current Sensor Module

5A ACS712 ACS712ELC ...

Frw 5,500

Infrared Obstacle Avoidance Tracking Sensor Module

Infrared Obstacle Av...

Frw 2,500

Soil Moisture Sensor

Soil Moisture Sensor

Frw 500

TTP223 Touch sensor

TTP223 Touch sensor

Frw 3,000

Smallest SIM800L GPRS GSM BRD56 , R11

Smallest SIM800L GPR...

Frw 11,500

Raspberry Pi Camera 175 Degree OV5647 Sensor 5MP Cameras Module Wide Angle Fisheye Lens for Pi 5 / 4B / 3B+ / 3B / Zero 2 W 1.3

Raspberry Pi Camera ...

Frw 35,000

MQ-7 Gas Sensor Module for Carbon Monoxide

MQ-7 Gas Sensor Modu...

Frw 8,900

GY-521 MPU6050

GY-521 MPU6050

Frw 5,500

DSM501A Dust Sensor Module PM2.5 Detection Dector COM45, R28

DSM501A Dust Sensor ...

Frw 18,500

DHT22/AM2302 Digital Temperature And Humidity Sensor Module SENS54 ,R13

DHT22/AM2302 Digital...

Frw 7,800

Arduino Active Buzzer Module COM52 ,R25

Arduino Active Buzze...

Frw 2,700

Arduino Pro Mini 328 – 5V/16MHz Board COM55

Arduino Pro Mini 328...

Frw 9,500

NodeMCU ESP8266 Development Board with 0.96 Inch OLED Display, CH340 Driver Module for Arduino IDE/M

NodeMCU ESP8266 Deve...

Frw 14,000

CNC Shield V3 – Engraving Machine 3D Printer A4988 DRV8825 Driver Expansion Board BRD46 , R34

CNC Shield V3 – En...

Frw 4,500

PIR Motion sensor SEN51 ,R12

PIR Motion sensor SE...

Frw 3,800

SYB-170 Mini Breadboard

SYB-170 Mini Breadbo...

Frw 700

GY-9960-3.3 APDS-9960 RGB Infrared Gesture Sensor COM44

GY-9960-3.3 APDS-996...

Frw 10,000

LilyPad Light Sensor module COM31

LilyPad Light Sensor...

Frw 3,500

Active Single Phase AC Output Voltage Sensor SEN31 ,R11

Active Single Phase ...

Frw 12,000

P6KE16CA 600 Watt Transient Voltage Suppressor Diode COM26

P6KE16CA 600 Watt Tr...

Frw 300

Capacitive Soil Humidity Hygrometer Moisture Sensor SENS54, R14

Capacitive Soil Humi...

Frw 6,000

Normally Open Proximity Magnetic Sensor Reed Switch SEN43

Normally Open Proxim...

Frw 2,500

Non-invasive AC Current Sensor – 30A SEN31

Non-invasive AC Curr...

Frw 11,500

Alcohol Gas Sensor ( MQ-3 ) SEN42 ,R16

Alcohol Gas Sensor (...

Frw 6,000