interfacing an LED and a temperature sensor to mini2440

pavan
hello friends,

can someone please tel me the detailed procedure and code for interfacing
an LED and a temperature sensor (prefarably LM35) to the mini 2440 board. i
am in urgent need of this guys. so please please help me...please !

Juergen Beisert
Read the schematics coming with the Mini2440 and you will know how to
connect a LED and an I2C device to it.

davef
LM35 10mv/degree C, even at 150C you will only get 1.5Volts out of it,
which will be safe to apply directly to one of the spare ADC inputs, AIN1,
AIN2 or AIN3.  If you have enabled ADC in the kernel, all you need to do is
cd your way to /sys/devices/platform/s3c24xx-adc/s3c-hwmon and do a 
cat in0_input (if you chose AIN1)

Or just use the mini2440 BSP at Pengutronix and get that assignment in on
time.

Juergen Beisert
Thanks davef, now I see a LM35 is not like a LM75 (all these numbers...).
@pavan: forget my hint about I2C.

whitebank
Hi Pavan, I got the way to interface four leds on mini2440 board, you can
come here to have a look:
http://mini2440vietnam.blogspot.com/2012/06/control-leds-on-mini2440-by-...

Sumeet Thakre
Hello Pavan,

Which OS are you using?