[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.804825 [View]
File: 80 KB, 586x361, Sensors.png [View same] [iqdb] [saucenao] [google]
804825

Might as well post this here instead of making a new thread.

I'm new to electronics and I've got a project I'm currently working on that involves sensors. I'm using a diode/transistor setup for this but I'm having trouble calculating appropriate resistor values to use.

According to the datasheet (which I'll post as a reply to this) the maximum ratings for the diode are 2V and 40mA. If I was to use Ohms law to figure out the resistance required to get these values across the diode would I be able to just use R = 2 / 0.04? I'm not sure which value to use for V when I have the input voltage as 5V and the desired voltage as 2V.

The current resistor values in pic related are just placeholders.

Navigation
View posts[+24][+48][+96]