Photoresistor
Light-dependent resistor. See https://en.wikipedia.org/wiki/Photoresistor
Published "photoresistor" part
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = {
type: "photoresistor",
minLux: 0.1,
maxLux: 10000,
position: 0.34,
map_input_to_terminal_uid: "your-terminal-element-uid",
map_output_to_terminal_uid: "your-terminal-element-uid"
}
Fields
Name | Type | Default | Description |
---|---|---|---|
type | "photoresistor" | The type of this object, always the string literal "photoresistor" | |
minLux | number | 0.1 | Min lumen per square metre |
maxLux | number | 10000 | Max lumen per square metre |
position | number | 0.34 | Position between min and max |
map_input_to_terminal_uid | string | The terminal ID corresponding to the input. | |
map_output_to_terminal_uid | string | The terminal ID corresponding to the output. |
Was this page helpful?