FAQ hub / Electronics
Electronics frequently asked questions
Choosing parts, reading resistor codes and the basics of a safe, working circuit.
- 9real questions
- 3source guides
- 5related pages
Frequently asked questions
9 answers, each linked to the guide it comes from.
What is the most common first mistake?
Assuming every part tolerates the same voltage. Check logic levels and supply ratings before connecting anything.
Do I need 1% resistors?
Only for timing or measurement work. For LEDs and pull-ups, standard 5% parts are fine.
Why add a capacitor across an IC?
It supplies short current spikes and keeps the local supply steady, which prevents erratic behaviour.
What is this circuit for?
A four leg RGB LED contains three separate colour channels that you drive independently. Each channel connects to a digital pin through its own series resistor, and the common leg goes to ground. Changing the brightness ratio of the three channels produces primary colours as well as intermediate tones. The circuit shows how light colours add together and how digital outputs can be controlled gradually. On the breadboard the three resistors and the LED sit side by side and each wire is a different jumper colour so the channels stay distinguishable. With one channel on you see a pure colour, with two on an intermediate colour, and with all three on a near white tone.
Source: Choosing parts for Arduino projects: the RGB LED example
How does it work?
An RGB LED contains three separate diodes that produce red, green and blue light in one package. The three channels are independent and each is driven through its own series resistor. The resistor keeps the channel current in a safe range and prevents damage. When the common cathode leg is tied to ground, a signal on the matching pin makes that channel conduct. With two channels on at once the eye combines the two colours into an intermediate tone, and with all three on the result is close to white. By setting different brightness ratios you can produce many intermediate tones. This is the basis of colour indicator panels and ambient lighting.
Source: Choosing parts for Arduino projects: the RGB LED example
What should I see at the end?
A single channel gives a pure colour; more than one channel gives an intermediate tone.
Source: Choosing parts for Arduino projects: the RGB LED example
What does gold mean on a resistor?
It is a ±5% tolerance band, not a digit. Its position also shows which end to start reading from.
Can I replace 1 kΩ with 1.1 kΩ?
Usually yes for an indicator or pull-up role. Check the circuit tolerance and recalculate any timing or current that depends on the value.
How do I check without reading the bands?
Use a multimeter on the resistance range with the circuit powered off.
How to use these answers
Three short steps.
- Find your symptom
Open the question that matches what you see on your board or in your sketch. - Read the short answer
Each answer gives the most likely cause first, then the check that confirms it. - Open the full guide
Follow the source link under the answer for the complete circuit and code.
Related guides
Five real pages to continue from here.
-
Guide
Choosing electronic components for first builds
Choose electronic components: match voltage and current, calculate resistor power, read datasheet limits and keep spare parts ready for first builds.
-
Guide
Choosing parts for Arduino projects: the RGB LED example
Learn component selection with an RGB LED: choose one 220 ohm resistor per channel, find the common pin and plan jumper colours before wiring. With ti
-
Guide
Resistor color code: read the bands in four steps
Read a resistor color code: digit and multiplier tables, gold and silver tolerance, a worked 1 kΩ example, and how four and five bands differ. Guide.
-
Guide
Resistors and LEDs: control brightness with a potentiometer
Use a potentiometer as a voltage divider and map its analog reading to a PWM output to change an LED brightness safely with a 220 ohm resistor. With t
-
Guide
LED Brightness with a Potentiometer
Use a potentiometer and PWM on Arduino to adjust LED brightness. Follow the voltage divider wiring, analog reading and code steps. With tips.
Keep your progress in one place
Create a free account to save what you are working on and see your results.