Driving an IR LED correctly.

Driving an IR LED correctly.

https://preview.redd.it/axsjy8scmbkh1.png?width=1157&format=png&auto=webp&s=9d39d26e2665ed5c80421f665a1384b56b6debd1

okay so I'm trying to use an IR LED to send data, but wiring the IR LED directly to a PIN makes it soooo dim.

so I got a 2n2222 transistor to drive it.

my problem is, I'm not sure about the values of resistors I should use to protect the IR LED and the 2n2222, so if anyone can help me with that I'd appreciate it.

Note: I used a Red LED instead of an IR led because I couldn't find it in Tinkercad.

reddit.com
u/eluser234453 — 22 hours ago

EST vs FST which one is better?

Hello everyone, so I want to attend one of the two and as the name suggest, I want to know which one is better for someone that wants to study electrical engineering.

I want to know few things like..

What are the key differences?

Which one offers a better education?

Which one gives a better degree?

Which one gives a higher chance to attend an engineering school after?

And please if anyone here studied in any of the school can you please tell us about your experience.

Thanks to everyone!

reddit.com
u/eluser234453 — 24 days ago
▲ 26 r/arduino

ESP32 blue LED flashing while connected to Wi-Fi. (0:39)

Yeah so as you can see in the video, when I connect to the internet the blue LED starts flashing fast.

And I have some questions:

Does it have a meaning?

Is it bad?

How can I solve it if it's a problem?

What caused it?

Here is the code:

#include <Arduino.h>

#include "WiFi.h"

#define WIFI_NETWORK "MyCorrectSSID"

#define WIFI_PASSWORD "VerySecurePassword"

#define WIFI_TIMEOUT_MS 20000

void connectToWiFi(){

Serial.print("Connecting to WiFi");

WiFi.mode(WIFI_STA); //wifi station mode

WiFi.begin(WIFI_NETWORK, WIFI_PASSWORD);

unsigned long Start_Atmpt_Time = millis();

while(WiFi.status() != WL_CONNECTED && millis() - Start_Atmpt_Time < WIFI_TIMEOUT_MS){

Serial.print(".");

delay(100);

}

if(WiFi.status() != WL_CONNECTED){

Serial.println("Did not connect --- trying again ");

}

else{

Serial.println(" connected ");

Serial.println(WiFi.localIP());

}

}

void setup() {

Serial.begin(9600);

connectToWiFi();

}

void loop() {

// cool stuff

}

Thanks in advance :)

u/eluser234453 — 26 days ago

Monitor audio output not working.

https://preview.redd.it/sj8s57bkyzah1.png?width=400&format=png&auto=webp&s=ded6c6b348dcd26d1b0e5702f9daf3eb533988e9

I just installed an Nvidia GTX 1050ti and I wanted to try the monitor output but it's not working.
the PC speaker works fine, the headphones work fine, but the monitor is not.

I tried installing and updating drivers from Nvidia website but it didn't work and now I'm clueless.

I'm on Windows 10 IoT Enterprise LTSC version 21H2.

before that I was using VGA with intel integrated graphics, so I never tried the monitor audio.

so I'm asking if there's anything I can try on software side before blaming hardware..

yes I tried restarting the PC, I'm on HDMI now, ofc I did restart after the Updates and no I'm not putting it in rice or switching to linux, thank you :)

reddit.com
u/eluser234453 — 2 months ago

Board recommendation please :)

hello everyone, so I'm trying to make a project using the Keyboard function, but I only have an Arduino UNO, which does not support such function.

so since I'm willing to buy a new board, I want a recommendation for a model that has extra features compared to the UNO, to make my purchase money worth.

and thank you in advance.

reddit.com
u/eluser234453 — 2 months ago

Hi everyone, I'd like to ask people here about their experience with CPGE.
things like.. is it worth it? how hard was it? and is there anything you wish you did instead of it?
and thank you in advance:)

reddit.com
u/eluser234453 — 3 months ago