Details
What's inside?
Discussion
Details
Overview
This breadboard compatible photoresistor is perfect for analog light detection in your projects. All pins are mirrored on each side for easier access connect as you wish
- 100kΩ-200kΩ
- Arduino Compatible
- Analog Output
- Genesis Matrix Compatible
Documentation
This part is fully open sourced with schematics and 3D files available bellow
AXM0005
Step by step user guide
All Axiometa products come with user guides and setting up instructions
Connection Guide
Here you’ll find connection guide images to help you integrate the sensor with various development platforms.
×
Arduino Example Code
If you haven’t already, check out this tutorial to guide you through setting up the Arduino IDE for uploading and debugging your sketches, as well as installing libraries.
For this part, you won’t need to use a library.
Code copied!
void setup() {
Serial.begin(9600); // Start serial communication at 9600 baud rate
}
void loop() {
int ldrValue = analogRead(A0);
Serial.println(ldrValue); // Print the reading to the serial monitor
delay(500); // Wait for half a second for easier reading
}
To see it working open serial monitor
MAC: CMD+Shift+M
Windows: CTRL+Shift+M
Related products
What's inside?
1x LDR (AXM0005)
Discussion
Add a review
Photoresistor (LDR)
Rating*
0/5
* Rating is required
Your review
* Review is required
Name
* Name is required
Email
* Email is required
0.0
Based on 0 reviews
5 star | 0% | |
4 star | 0% | |
3 star | 0% | |
2 star | 0% | |
1 star | 0% |
0 of 0 reviews
Sorry, no reviews match your current selections