Notifications
Clear all
Search result for: WA 0852 2611 9277 [[Glorion Plafon]] Pembuat Plafon Model Led Murah Cempaka Putih Jakarta Pusat
I'm experiencing ghosting or unexpected behavior when pressing keys on a matrix keypad, and I've also noticed similar issues in Led matrix displays. What typically causes ghosting or crosstalk in such matrix-based systems?
Is it related to missing diodes, poor scanning logic, or electrical interference? How can I fix or prevent it?
I have a potentiometer and WAnt to use it to control a component like an Led or motor eventually, but for now, I just WAnt to read its values in the Serial Monitor using Arduino. How should I wire it, and what code should I use?
hey everyone,
I’m working on a security project where the system activates (e.g., triggers an alarm or lights up an Led) when it detects a loud sound, such as a clap or a door slam. While researching, I came across both electret and condenser microphones, but I’m unsure which one would be better for this application.
Can anyone help me decide which microphone to use?
Here are 15 amazing project ideas you can create using the ATtiny85 microcontroller: Led Matrix AnimationProgram an Led matrix to display scrolling text or animations using the ATtiny85.
Miniature Digital ThermometerBuild a small thermometer using a temperature sensor like LM35 or DS18B20 and display the data on a tiny OLED screen.
IR Remote Control SystemDecode signals from an IR remote to control Leds, fans, or other appliances.
Sound Reactive LightsCreate an audio visualizer where Leds blink in response to sound or music using a microphone module.
Capacitive Touch SwitchMake a touch-sensitive button using a conductive surface and the ATtiny85, perfect for smart home switches.
Portable Motion DetectorUse a PIR sensor to build a portable motion detection alarm system for security purposes.
USB Volume ControllerTurn your ATtiny85 into a USB HID device to control your computer’s volume with a rotary encoder.
Tiny Weather StationMeasure temperature and humidity with sensors like DHT11/DHT22 and display the readings on an OLED.
Ultrasonic Distance MeterUse an ultrasonic sensor to measure distances and display them on a small display.
Blinking Bicycle LightCreate a small, energy-efficient blinking tail light for a bicycle, powered by a coin cell battery.
Minimalist USB Game ControllerBuild a simple game controller for retro-style games with buttons connected to the ATtiny85.
PWM Fan Speed ControllerControl the speed of a DC fan using pulse-width modulation and a temperature sensor for feedback.
ATtiny85 Robot BrainPower a small robot with an ATtiny85, controlling motors and sensors for basic navigation.
Night Light with Light SensorCreate an automatic night light that turns on in low-light conditions using an LDR and Leds.
Tiny Digital StopwatchDesign a simple stopwatch with start, stop, and reset functions using push buttons and an OLED display.
These projects highlight the versatility of the ATtiny85 and can help you learn more about electronics, programming, and sensors.
This site is hands down the best for projects related to ATtiny85. So, definitely check it out.
@amelia Yes, I tried a mobile phone charger, but the Led behaves exactly the same.
To put this PWM resolution concept into a practical context: If you’re dimming an Led with an Arduino UNO’s 8-bit PWM, you might see noticeable brightness steps when changing the duty cycle. This is because each step is about 0.4% of the total brightness.
With the ESP32’s 16-bit PWM, each step is only 0.0015%, so the Led brightness change is much smoother and almost imperceptible. This is crucial if you’re working on projects that require precise control, like mood lighting or audio signal modulation.
But keep in mind, that the lower frequency at higher resolutions might introduce visible flicker in Leds, so you’ll need to find a balance between resolution and frequency depending on your application.
Hello Tristan,
You see directly connecting 15 Leds to Arduino pins can lead to overcurrent issues, potentially damaging the Arduino. This is because each Led draws a certain amount of current, and the combined current draw can easily exceed the maximum current rating of the Arduino's pins.
Additionally, the resistors used to limit current will also dissipate power, which can overheat the Arduino or the resistors themselves. To avoid these problems, it's recommended to use Led driver such as ULN2003.
These drivers and controllers can handle higher currents without overloading the Arduino pins. By employing these methods, you can safely control 15 Leds with your Arduino without risking damage.
hope this will help
Servo jitter in Arduino projects is usually caused by power instability, electrical noise, long signal wires, or software timing conflicts.
To reduce it, use a separate and stable power supply for the servo (not the Arduino 5V pin), and connect all grounds together. Add a 100 µF–470 µF electrolytic capacitor near the servo’s power pins and a small 0.1 µF ceramic capacitor for noise filtering.
A 220–470 Ω resistor in series with the signal line can also help. On the software side, avoid writing the same servo position repeatedly, filter noisy input signals, and use small delays or smoothing functions to prevent rapid position changes. These steps usually eliminate most servo jitter problems.
ESR (Equivalent Series Resistance) plays a big role in how effective a decoupling capacitor is. Low ESR capacitors, like ceramics, are great at handling high-frequency noise and fast transients, which is why they’re used near IC power pins.
However, ultra-low ESR isn’t always ideal—some regulators actually require a certain ESR range for stability, and higher ESR capacitors (like electrolytics) can help by damping resonances and providing bulk decoupling at lower frequencies.
The best practice is to use a mix: low ESR ceramics for high-frequency suppression, and higher ESR electrolytics or tantalums for bulk energy storage and damping, while always checking the regulator’s ESR requirements in its datasheet.
I had a similar issue with my ESP32 when I first started using it. In my case, the problem WAs the CP2102 driver. After installing the correct driver, the COM port appeared instantly.
If you’re using Windows:
Go to the Device Manager.
Look for a device under "Other Devices" or "Unknown Devices" when you plug in the ESP32.
Install the driver manually by downloading it from Silicon Labs (for CP2102) or (for CH340).
If the Led still turns off after all this, it could also be a power issue. Do you have an external 5V power source to test it?
I think it really depends on the type of projects you're working on. If you're mainly doing simple Led displays, motor control, or basic IoT projects, Arduino boards are perfect. They’re simple and get the job done without much hassle.
But if you WAnt to dive into audio processing, real-time data acquisition, or anything that requires heavy computation, STM32 is a beast. I switched over when I started working on a DIY oscilloscope project because I needed faster ADC and more memory.
@nathan If you look closely- when the button is pressed, the capacitor is actually connected across the battery. This ensures that there are no voltage fluctuations across the load(LED + transistor). Diodes are there just for discharging the capacitor without damaging the transistor.
Thank you for the detailed analysis of the circuit and each component used. But can you explain this where you said, "The 1N4148 diode prevents current from flowing back into the capacitor, ensuring that the capacitor discharges only towards the Led." Based on this the polarity of the diode should be in reverse because in its current state when it discharges, the current can easily flow through the diode.
Also, why use a capacitor here? Even without it, the circuit will work just fine, right?