Difference between revisions of "STM32F107VC/Using ADC"

From Teknologisk videncenter
Jump to: navigation, search
m (Literature)
m (Software example)
Line 3: Line 3:
 
=Software example=
 
=Software example=
 
*[http://mars.tekkom.dk/data/ad2.zip ad2.zip]
 
*[http://mars.tekkom.dk/data/ad2.zip ad2.zip]
 +
==LDR - Light Dependent Resistor==
 +
*[http://www.cypax.com/pdf/PGM5526x.pdf LDR Datasheet] (Loads PDF)
 +
The LDR is connected between [[STM32F107VC/GPIO|GPIO]] port C bit 0 and GND. A 10K pull-up resistor to 3.3V also connected to  [[STM32F107VC/GPIO|GPIO]] port C bit 0
 
[[Category:STM32F107VC]][[Category:ARM]]
 
[[Category:STM32F107VC]][[Category:ARM]]

Revision as of 09:58, 6 October 2011

Literature

Software example

LDR - Light Dependent Resistor

The LDR is connected between GPIO port C bit 0 and GND. A 10K pull-up resistor to 3.3V also connected to GPIO port C bit 0