Hi fellas
I'm trying to change this circuit to detect IR and get a 3v3 at output(instead of the LED) to connect it to my MCU:
My circuit is like this but it doesn't has 1k resistor(What's the usage of this resistor?) and supply is 7.5v DC and transistor is bc547. for LED I use a red LED and 320ohm resis' instead of 100ohm resis'. I used a pot to change the voltage that the IR sensor(diode) draw. this was just for a test (I know it's not wisely). when I turn on the circuit and decrease the pot, it makes smoke! why?
And also any seggestion for improve the circuit?
I'm trying to change this circuit to detect IR and get a 3v3 at output(instead of the LED) to connect it to my MCU:
My circuit is like this but it doesn't has 1k resistor(What's the usage of this resistor?) and supply is 7.5v DC and transistor is bc547. for LED I use a red LED and 320ohm resis' instead of 100ohm resis'. I used a pot to change the voltage that the IR sensor(diode) draw. this was just for a test (I know it's not wisely). when I turn on the circuit and decrease the pot, it makes smoke! why?
And also any seggestion for improve the circuit?