Questions tagged [led]

An LED is a type of light source which is typically fairly small and has low power requirements.

0
votes
0answers
14 views

“exit status 1 Error compiling for board Arduino/Genuino Uno.” Error when verifying code [on hold]

So I have been trying to learn use the Arduino LED Matrix, however I have faced a few roadblocks. I get a error everytime i verify/upload the code.The solutions on other forums seem to be on the lines ...
1
vote
2answers
48 views

Arduino Nano LED not working

I am just starting with Arduino and was trying to make the LED example work. I changed the script as follows to keep the LED on: #define LED_PIN 12 #define LED_RX_SIG LED_BUILTIN void setup() { // ...
0
votes
3answers
346 views

74HC595 shift register not working

I got my Arduino kit a few days ago and I've been going through some of the tutorials. I got to the 8 LEDs with a shift register tutorial, where I got stuck. Nothing would light up after I plugged ...
1
vote
1answer
568 views

FastLED fill_rainbow - Unexpected red pixel

I'm using FastLEDs builtin fill_rainbow function for generating a rainbow spectrum on an LED strip. The issue is, I get a random red pixel midway through the yellow region. I've tried it on 3 ...
0
votes
1answer
23 views

Problems with controlling LED with soil moisture sensor

I'm a beginner at Arduino. I have a soil moisture sensor and I mapped the lowest and highest moisture value to a value in between 0 and 100. What I was trying to do was if the value was less than ...
-1
votes
1answer
36 views

One Led and 2 buttons [closed]

I need to switch on led with pushing button number 1 , and during 3 seconds it should stay on, and if I push button number 2 during this 3 seconds led should turn off. In other case after 3 seconds ...
0
votes
0answers
9 views

Communication using two HC05 modules

I'm working on a project that consists of sending data from flex sensors from a master Arduino to a slave arduino that uses that data to control servo-motors. I am trying to start slow and just ...
0
votes
1answer
23 views

I am not able to set the correct configuration of sound module

I have been trying to make sound reactive LED lights but my sound module is detecting only very close voice the LED react only when I press it to the speaker with my hands I have tried to set the ...
-1
votes
1answer
41 views

LED array flashes once before being lit

I've built this simple Arduino controlled led-array. The Arduino sets a 5v pin on a relay to connect the high current power supply to a led array. However, just before the led array is being fully ...
2
votes
1answer
124 views

LED not blinking when using a transistor

I want to control an led using a transistor. The led gets it‘s power from an external 5v dc power supply. For the transistor I use an 1kΩ base resistor. The transistor is a BC547C (npn). The ...
-1
votes
1answer
47 views

Locate devices that can move among multiple connections [on hold]

I don’t know if this is even doable, but the idea is to have a large board with many (500+) locations where I objects can connect, each object having a single LED, and be able to illuminate the LED on ...
2
votes
2answers
54 views

RGB LED Mode toggle - Trying to avoid using main loop()

I'd like to start by saying that I have only been dabbling in electronics (not just Arduino) for about 3 days now. I am trying to write a sketch which changes an RGB LED when a push switch is pressed....
0
votes
0answers
32 views

LED doesn't turn on as specified on code State Machine

This is the question from the homework I'm doing "Design and implement a state machine with a single button to turn on and off two LEDs The first LED should be turned on and off with a quick press of ...
0
votes
1answer
40 views

WS2812 Matrix colour problem. Power?

I have 8 8x8 WS2812 Matrix LED boards connected together to make 2 16x16 matrices. I have them connected with Dupont wires. I also power the 2 16x16 with Dupont wires that are connected to a 5v 60Amp ...
2
votes
1answer
36 views

LED dimmer not fading out

I'm trying to make an LED go from no brightness to max and back down on a loop and I've encountered a problem I can't seem to crack. The LED will go to maximum brightness steadily as it should but ...
1
vote
3answers
4k views

Implement Visible Light communication using Arduino

I want to implement a simple VLC based communication system using two Arduinos and send messages/data/files between two PCs. For that I have a simple transmitter circuit with an LED on Tx side and a ...
0
votes
4answers
12k views

The L LED Keeps Itself On

I am using a Arduino Uno 3 for line follower robot. However when I power the Arduino Uno, the L led is turned on and is never turned off. After a bit of searching I found out that the L LED is ...
0
votes
1answer
45 views

Troubleshooting WS2812B LED strip

I am doing a project for my master thesis and I have 6 stripes of WS2812B LEDs each one containing 77 LEDs. I finished the design and now want to turn them on. I used an old power supply to power it, ...
0
votes
1answer
46 views

Controlling a 5m LED strip with a Nano or Uno

I'm wanting to control a 12V LED strip (5m, 60 LEDs per meter) with a Nano or Uno. I know from Adafruit that I'll need some power transistors but I'm not sure that I have the right type. I have 6 ...
3
votes
1answer
55 views

Red LED not turning off on Adafruit Circuit Playground Classic

When using the traditional Blink example program, the light blinks as expected. Even when writing from scratch digitalWriteing pin 13 to high and low repeatedly works fine. The problem is when I try ...
0
votes
1answer
75 views

20 m LED WS2811 Pixel Stripe 12 V

i need some help for my masterthesis. I plan an Light and Sound installation and for this I decided to use the shape of an Dodecahedron and I want to put LED RGB Pixel Stripes on the surfaces to light ...
0
votes
1answer
98 views

Why is Arduino Pro Mini not powering this LED?

First off, I'm very new to Arduinos and electronics in general, so feel free to explain like I'm 5. As a bit of background to this question, the project is simply using a Pro Mini to run a servo, ...
-1
votes
2answers
57 views

How to hook up led matrix 1088AS to a PCA 9685 servo controller? there is a way? [closed]

I'm confused about the pinout, I can't figure out which physical pin of 1088as red led matrix must to hook up to the PCA9685, if there is a way to do this I found this image the final target is to ...
3
votes
3answers
28k views

Powering up LED strip - How many amps?

I want my Arduino to drive a LED strip. The LED strip in particular is the 3528 non-waterproof type. To power this up, I need a 12V power supply. My LED strip is going to be 5 meters. Now my ...
1
vote
0answers
39 views

Sketch for 5 randomly fading leds not working as expected; what could be wrong?

I'm working on a project with a starry sky, based on fiberoptics and 5 leds. The code should work this way: Start on average brightness, then go up or down according to a set of randomly chosen ...
-1
votes
1answer
44 views

Measure duration of LED pulse and conditional serial print [closed]

Casual Arduino user with some programming experience here. I am trying to build a system to integrate with another board which switches relays based on serial data received. I have a status LED that ...
1
vote
1answer
21 views

Press one button then another?

Let's say we have two buttons - button 1 and button 2. What I need to do is to do something (like turn LED on) when button 1 is press, then button 2 is pressed. I can do it realy simple by just using ...
4
votes
2answers
5k views

Arduino Remote controlled RGB LED strip, having issues with brightness/dimming

I have this sketch: #include <TimerOne.h> #include <IRremote.h> #include <RGBMood.h> int RECV_PIN = 2; // IR-Receiver PIN int led = 13; // Satus-LED PIN int modus; /...
1
vote
2answers
672 views

Can't connect to serial port

I'm trying to make my Arduino's LED blink for the first time, but when I try to upload the code I get the following error in the Serial Monitor: Error opening serial port '/dev/ttyACM0'. Try ...
0
votes
0answers
30 views

On the LEDs WS2812C

I've got a few questions about these LEDs (WS2812C). According to what I understand in the data sheet, they are adressable RGB LEDs with 4 pins: VCC, GND, DIN,DOUT. I'm working on a project that is an ...
0
votes
0answers
55 views

Programming POV Display for Arduino

I can maybe work through a php/sql and css/html method of making a website to convert an image to code, but that is currently a time consuming method (which i will be taking the challenge if doing ...
1
vote
1answer
36 views

Serial input help

Hey guys I have a LED strip with 6 LEDS (I control these through Kinect & processing. It sends 1,2,3,4,5,6 to Arduino. This seems to work fine.) In Arduino LED0,LED1,LED2,LED3,LED4 work ...
0
votes
2answers
34 views

Receive Signal from different circuit

I am an mid experienced Programmer but I have no clue about electronic circuits. I want my Arduino to do sth if he gets a signal from an external source. The external source has 5V and is 0V or 5V and ...
0
votes
1answer
56 views

MAX7219 and Arduino

I am getting started in running this 8x8 led on an Arduino. Regardless of which tutorial sketch I attempted, I never got a scrolling text that I expect. What happens seems to be only a single (out of ...
0
votes
1answer
381 views

Using digital pin 11 for DMDCon and IR remote

I have a project where I would like to control a countdown clock using a remote with: Arduino Uno R3 Development Board Funduino Uno Protoshield Board Freetronics Dot Matrix Display Connector ...
0
votes
1answer
22 views

Output pin low used to complete 12V LED circuit?

I have a project that (in part) will drive 3 LEDs where the LED anodes are at 12V. The thought is to drive each LED by connecting each cathode to a 650 ohm resistor, and connect that to an Arduino ...
0
votes
2answers
37 views

How many Amps can a Nano Arduino hold for LED project

I'm really new at this, and here is my doubt. What if I need to light 120x WS2812B (5v)LEDs (link: LEDs) using an Arduino Nano? if it takes 60 mAh each pixel, the total amount needed should be around ...
0
votes
1answer
21 views

Using an Android bluetooth terminal to change preset states on 8x8 LED matrixes

I'm trying to create eyes for a project, and while I have been able to properly program the different expressions, and have them triggered by commands from the COM3 terminal, I have not been able to ...
0
votes
3answers
510 views

Why do the LEDs visibly flicker?

The aim of the project was to be able to show two "kinds" of LEDs in a 8x8 single color LED matrix. I used a MAX7219 chip to drive the LEDs using my Arduino UNO R3 as the driver (with the usual ...
-1
votes
1answer
663 views

Looking to blink entire led strip

I am fairly new to FASTLED programming and am looking to make my entire LED strip blink at the same time. Similar to the Example Sketch "Blink" however all 30 of my LEDS. I might just be having a ...
1
vote
1answer
41 views

Using 18650 batteries with a 3.7v to 5v boost converter [closed]

I'm looking to set up a 1-meter strip of WS2812B LEDs (60 LEDs) with an off-the-shelf RF LED controller with a remote. The LEDs want a 5V supply - I've tried running them off 3.7v but the colour ...
0
votes
1answer
64 views

Is there a way to have the LED switch on after 10 readings or say a minute?

I am using Arduino for a RFID project where the LED must switch on after either 12 readings of the tag or 2 minute, the tag reading happen every 10 seconds. I can't seem to figure out a way to have ...
0
votes
1answer
86 views

Switch controlled power saving esp8266

I'm trying to build a door sensor with the esp8266. I want it to be battery powered and use deepSleep for power saving. I'm going to use a normally closed reed switch between D0 (GPIO16) and RST. I ...
0
votes
1answer
552 views

Arduino Wire communication with MCP23008 GPIO pin expander to turn on an LED with a button press

I am using an Arduino Uno and an MCP23008 GPIO pin expander, I have a momentary button connected to GPIO 2 on the MCP23008 and an LED light connected to GPIO 1 on the MCP23008. What I want is for the ...
0
votes
1answer
43 views

Is SPI a good way to connect two rfid modules on separate arduino boards?

RFID access control I have two separate rfid projects on separate arduino, the first project requires 2 minutes of contact between the tag and the reader after which it turns the LED on. the second ...
0
votes
1answer
37 views

Why can't I switch off the LED immediately using this sketch?

I hope the LED can fade out a period of time. Also, I hope I can switch off the LED immediately when it is fading, but I only can fade out. const int buttonPin = 2; const int ledPin = 9; const int ...
0
votes
1answer
265 views

Breaking out of a while loop using IR remote for neopixel

I've been piecing together various lighting effects. I am wanting to have each lighting effect loop until another button is pressed to trigger another lighting effect. I've come to a bit of ...
0
votes
2answers
286 views

Random LEDs light up on 10 MAX7219 modules

I'm trying to create an IoT clock using 10 MAX7219 (Serially Interfaced, 8-Digit, LED Display Drivers) modules. I've created the following code: //clock.ino #define MODULES_X 5 #define MODULES_Y 2 #...
23
votes
3answers
5k views

What happens to the Arduino if you don't use a resistor with an LED?

Making a blinking light seems to be one of the most common beginner projects with Arduino. A typical approach is to connect an LED + resistor (in series) to an IO pin, and connect the other end to ...
0
votes
1answer
182 views

How does Peggy2 drive rows with 74HC154 Decoder?

Trying to program Evil Mad Scientist's Peggy 2 board without their Library. The board drives a LED Matrix with Source 74HC154 Decoder Sink STP16CPSO5 LED Sink Driver Schematic What has me ...