Comments (3)
Hey, basically any transistor is fine to use for these low power applications. It's basically just to not drive the LEDs directly from the Arduino (even though you could porbably power them directly).
You can find sample schemas on other sites - eg. here is a NPN config with a popular and cheap transistor: https://www.petervis.com/Raspberry_PI/Driving_LEDs_with_CMOS_and_TTL_Outputs/Driving_an_LED_Using_Transistors.html
Here are some other recommendations: https://www.baldengineer.com/the-best-4-transistors-to-keep-in-your-parts-kit.html
I guess it depends a bit on where you're going to buy them...
from foos.
Thanks for the response. Your BOM list mentioned a PNP resistor. So it can be PNP or NPN? I googled the difference and found this: "The main difference between the NPN and PNP transistor is, an NPN transistor turns on when the current flows through the base of the transistor. A PNP transistor turns ON, when there is no current at the base of the transistor." So I just want to make sure I get the right type and dont break something. :) EDIT: Looking into this more, I think i understand it better. It looks like if I follow your wiring diagram, I'll need a PNP transistor, since it looks like the LED load is on the collector side between the transistor and ground.
from foos.
So, as the NPN for a LED driver is the more common setup, I've updated the schematics to use an NPN transistor and I've updated the parts list.
I think the most common one you'll find is the BC548, although there are several other cheap alternatives!
You can see some here: https://en.wikipedia.org/wiki/BC548
I'm gonna resolve the Issue, but feel free to reopen in case you have any more questions!
Thanks!
from foos.
Related Issues (20)
- 38khz pwm only to+ IR led or to + ir receiver too? HOT 5
- How i can change the gamemode on Start? HOT 1
- Button Pins dont work.... HOT 5
- Need help, how i can change goalsound?
- Are there any problems running with buster? HOT 2
- Goals keep registering as long as LED is pointing at receiver, and stops when it is blocked HOT 12
- Portrait mode HOT 3
- Problem to install libav-tools HOT 9
- Problem to install libav-tools HOT 1
- Menue zeigt foos-tournament nicht an HOT 1
- RASPI B - GPIO PROBLEME
- Problem tu run GUI HOT 4
- Problem with camera & UI HOT 2
- IR Lichtschranke HOT 10
- Der fernseher geht bei replay kurz aus und wieder an HOT 2
- Die Auflösung der Kamera ist schlecht HOT 1
- Problem mit der GUI (RPi only Setup) HOT 3
- Hardware HOT 1
- Foos läuft plötzlich nicht mehr HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foos.