2013-06-03 11:11 AM
i want to drive a motor for a control of the door following the LDR sensor signal
( open when it feel light and close it when it's darkness)
I have an STM32F100RB. please i need your help urgently
thanks a lot2013-06-04 02:08 AM
You need help with what?
2013-06-04 12:20 PM
2013-06-04 12:38 PM
You really need to work on your own Master's project.
You'd presumably want to be using an ADC, and place the LDR (VT9ON1) in a resistor divider, perhaps with an 8.2K to VDDA. You'd then use the ADC to measure a voltage at the junction. The firmware library has ADC examples, you'll need to correlate the voltage to light intensity.