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

learn more… | top users | synonyms

0
votes
0answers
3 views

How do I solve error 516 : Broken Pipe with HC-05 and arduino?

I am doing an LED project from howtomechatronics.com . It is to control and LED by pressing the on and off buttons on an arduino bluetooth terminal app. I am using the app made by the ...
0
votes
1answer
21 views

How to connect an LED to Arduino LilyPad Mp3

can anyone help me with connecting LED to Arduino LilyPad Mp3 in a way, that each switch (1 of 5) light up a different LED? I tried connecting an LED between the switch and the board, then the LED ...
1
vote
2answers
678 views

How to turn two LED's on and off with one button?

I was wondering how to write a code that would do this, WITHOUT using IF and ELSE: when the button is pressed, one LED is on and the other one is off, but when the button is not pressed, the LED that ...
0
votes
1answer
31 views

What would the total current requirements be for these items?

I'm using 5 of those 8mm NeoPixels + a 5V Trinket. I'm trying to get a rough estimate of the current requirements that would have, assuming all 5 NeoPixels were running at full brightness "white" ...
0
votes
1answer
34 views

Test level shifter with Arduino and some data

Below is a reference to a logical level bi-directional converter (aka level shifter) I purchased on Ebay. I've soldered the 12 pins (6 for each piece) to the level shifter so that it fits on my bread ...
0
votes
2answers
38 views

Is a 9v battery appropriate for a piezo and 1 LED?

I'm making a basic "door open" detector that, when a door is opened, it turns on an LED and then sounds an alarm via a piezo. This is controlled via a 5v Adafruit Trinket. Is a 9v battery the ...
0
votes
2answers
69 views

Arduino struggling to power a large LED strip

I'm building a word clock and its a grid of 20x20 letters, each with its own LED (I know, its absurd for just a clock). I've recently got the LED's on a strip. Its the WS2812B type, just like the ...
0
votes
0answers
16 views

Help with Arduino Due and APA102 LED strip Vs Matrix

I am in a fix since last one week regarding this: As mentioned in a previous question (asked here only), I have been working to develop a APA102 LED based display. Now for this I have an Arduino Due. ...
0
votes
1answer
21 views

Use Distance Sensor to Trigger LED strip and Stay on While the Person Is in Range

I'm trying to use the distance sensor to trigger the IED light, as you can see below. However, I also want the LED to stay on/white when a person is within the 38 inches range. How should I do that? ...
0
votes
2answers
33 views

Creating an Arduino Tic Tac Toe game

I'm trying to create a Tic Tac Toe game using the Arduino Uno. Since the Uno has a limited amount of pins to use, I am trying to see if there is a configuration that would make the project possible. ...
0
votes
0answers
19 views

Bit-banging Pulse Width Modulation LED fade

Whilst programming an arduino pro mini I realised I had ran out of PWM pins. Upon reading the tutorial about "bit-banging on the official arduino website I wanted to use this in conjunction with the ...
1
vote
0answers
20 views

Parallel Chaining of APA102 led matrices

I have four APA102 led matrices (those flexible ones) and I want to connect them together to make a display for showing images. Now my problem is this: Consider the coordinate system with four ...
3
votes
2answers
46 views

Am I multiplexing my LEDs correctly?

I am new to electronics. I have a good amount of programming under my belt however. I want to know if I am multiplexing correctly or not. My intended output is how I want it, but I am not sure if I ...
0
votes
2answers
58 views

Arduino continually resets when connected to external power supply, but not USB

I'm working on a seemingly simple Arduino project which plays a sound and flashes an LED when provoked by some trigger. The problem: When powered by an external power supply, the Arduino continually ...
0
votes
1answer
28 views

How to get neopixel to fade colorwipe?

I'm trying to get a fade to happen when an LED turns on/off during the color wipe rather than just abruptly turning on/off. I'm not quite sure how to do this though. #include ...
0
votes
2answers
59 views

Make LED blink using AVR assembly

I have an ATmega328P Arduino and am trying to make the LED blink using assembly without any additional includes. The goal is to have it blink for 1 second on, then 1 second off, however, it blinks ...
0
votes
1answer
31 views

How to use a digital RGB LED Strip?

I know this is probably a little bit basic but I need SERIOUS help with using my new led strip. You can see here the type of strip I have, and the packet. It's difficult because it looks slightly ...
0
votes
2answers
64 views

Project 2: Arduino controlled spaceship interface

The circuit diagram attached shows that the switch is open. Yet, the LED connected to pin 3 of the arduino board lights up. I don't understand this - the circuit is open, so why should pin 3 light ...
0
votes
4answers
108 views

Not enough pins on Uno?

I'm making touch-sensitive, light up tic-tac-toe board. That means 9 LEDs + 9 capacitive sensors. Each LED needs 1 pin and each sensor needs 2...meaning I'd need 27 pins to properly control each ...
1
vote
2answers
43 views

What are the consequences of different clock speeds on different boards?

I am a programming amateur, arduino noob, trying to decide which board will be better for my project. I need a small board. I am trying to decide between the Teensy 3.2 and the RFduino. I want to have ...
0
votes
1answer
34 views

How do I connect an 8x8 LED RGB matrix to an Uno?

I have this 8x8 LED RGB matrix. How do I get it connected to an Arduino Uno? It came with no other wires/modules/connectors and has a veritable crap-ton of pins to connect.
1
vote
2answers
19 views

How to interrupt a Timer to Change position along a Colour Cycle

I want to have a loop of 4 colours which runs constantly (i.e. red -> green -> blue -> white) each of the colours having their own LED and pin on the Arduino board. There is a 7 second delay between ...
0
votes
1answer
30 views

Integrating 2 push buttons to toggle the LED ON and OFF

Hey guys need your help in verifying out this program about toggling the LED ON and OFF using 2 push buttons.What i actually want is to let my LED stay ON when i press and even leave the push button-1 ...
1
vote
1answer
48 views

LED and LCD game

I am making a game where four different colored LEDs are flashing randomly, and when the green LED lights up, the user presses a button. If the user pushes the button when the LED is green, I want my ...
0
votes
1answer
41 views

Power 4 leds with max7219 and LedControl.h

So this is my first arduino (or embedded for that matter) project. I am trying to power 4 leds with max7219. Max7219 seems easy to use, but for some reason after I upload the code, nothing happens. ...
5
votes
2answers
138 views

Arduino onboard LED pin number as a constant

To use the onboard LED on an Arduino one usually has to know the pin number (13 in most cases), but is there a constant in the Arduino IDE one can use as well? So is it possible to use something ...
1
vote
2answers
33 views

Digit LED has single input, multiple outputs for each segment. Concerns about “sinking” 5v supply into digital pins

The model name is 5161BS Pins 3/8 are input and the rest are output for each individual segment. I have connected pin 3 to the 5v pin on the Arduino, and the rest to individual digital pins. With ...
3
votes
2answers
250 views

How to use a common anode 7-segment, 4-digit display?

Please take this question as an example to (my own) answer below. I've got an 7 segment, 4 digit LED display, but I don't have any idea on how to wire it. I don't understand the difference between ...
1
vote
1answer
36 views

Arduino Timer Button

I am wandering how I would make it so the arduino uno will start a timer when button a is pressed and send "Start" or "Begin" or something like that to the console window. after the timer has started ...
0
votes
1answer
31 views

How do I adjust the scale/calibration of a photoresistor?

This photoresistor has a min/max of 0-1023. I'm trying to scale the brightness of a cathode RGB LED based on the sensor's value, but based on my current lighting, the min/max readings I generally am ...
1
vote
1answer
85 views

Neopixel Ring - How to breathe in a circle motion?

I'm trying to get an effect like (https://vine.co/v/Mwwbi5a1BFK) using a neopixel ring. I can get the neopixels to turn on and off in a circle motion and I can get the neopixels to fade all at once. ...
1
vote
1answer
37 views

How to wire and use a B10K linear LED potentiometer?

I've bought some nice looking LED potentiometers from Ebay. They look like this. I'm very new to low level electronics/hardware and I don't know how to wire it. It has 4+2 pins. Also, how to use it in ...
4
votes
2answers
184 views

How to use a Bi-color matrix led 8x8 with 24 pins?

I've just buy this 8x8 LED matrix WLG M20088A/BEG and I'm trying to light all the LEDs in one single color (green) but I don't understand how the 24 pins work for this specific model. I know that ...
0
votes
2answers
98 views

Neopixel led strip stops responding after change in brightness

I have an arduino UNO hooked up to a neopixel LED strip with 148 lights. Most of the time it works fine, but when I upload a program that changes the brightness frequently, particularly when I ...
0
votes
1answer
28 views

Can I use the TLC5940 LED Driver if I'm already using other SPI devices on my Arduino mega?

The way I understand SPI is that 3 wires are shared (MOSI, MISO, & SCHK). The slave select is pulled high when you want to write to a specific device. The 3 shared wires can be daisy chained. The ...
1
vote
0answers
27 views

ICT Bill Accepter

I have a ICT a6-15scp-usd4-ii. I have all of the wires for it. I dont have the gambling machine it came out of and it was laying around. Is it possible to make a Light come on when a bill is put in? ...
0
votes
2answers
109 views

Arduino Nano no output on any controllable pins except for RX and TX pins

I have 2 Arduino Nanos which don't output anything on any controllable pins except for RX and TX pins. I used an LED which I have tested works on the 3.3v/GND and 5.0v/GND. When I try to control the ...
1
vote
1answer
55 views

Need help debugging my Binary Clock

I have tried everything but I can't get my binary clock to display correctly. The diagram and code are here: Binary Clock | Electronics Lab. The hardware is based off this (it also explains the ...
1
vote
1answer
93 views

Is it possible to control a 12v led matrix with an arduino?

This is a bit home automation but if I want to control my 12v LEDs and I have 8 free pins would it be possible to drive 16 lights as a matrix. I was looking into running 8 LEDs with an 8 channel relay ...
4
votes
3answers
73 views

Are there sensors that can detect the color of an LED?

Are there sensors that can detect the color of an LED? I am working on an Arduino project that needs to detect the color of an LED on an external device. I am trying to identify a light sensor that ...
1
vote
1answer
38 views

RGB LED Resistance

In tutorials I've seen, people connect every LED of a RGB LED to a resistance. I understand the purpose, but could we simply put the same resitance once, if we connect it to the common cathode or ...
1
vote
2answers
58 views

Addressing EACH of the 3x3x3 LEDs separately

I read a few 3x3x3 LED tutorials, e.g. let us take this one: http://www.instructables.com/id/Making-an-Arduino-3X3-LED-Cube-in-Less-Than-30-Min/?ALLSTEPS As far as I understand, you can address any ...
0
votes
1answer
68 views

Using Arduino Uno to make digital LEDs go to music

I've just started playing around with Arduinos... I found relatively simple project on youtube: https://www.youtube.com/watch?v=5U354Qp6j24. I followed the instructions, loaded up the code, and ...
0
votes
3answers
46 views

Led issue with arduino controled by raspberry pi/python

I'm having an issue with my project. My project is 8 leds and a potentiometer on an arduino being read and controlled by a raspberry pi running python. when I'm using a potentiometer the signal is ...
6
votes
3answers
390 views

Why does an RGB LED between VCC and PWM work?

I'm an Arduino beginner and I recently bought a cheap starter kit on eBay. One of the lessons in the starter kit is an RGB LED controlled by 3 PWM output pins. However, the arrangement of the ...
1
vote
2answers
172 views

How can I dim a 10w LED?

I'm trying to dim a 10w LED via Arduino PWM. This is the LED that I have: http://www.banggood.com/10W-Warm-Pure-White-High-Brightest-Save-Power-LED-Light-Lamp-p-88169.html Without knowing much about ...
-1
votes
1answer
39 views

Morse code translator Loop the same sentence

I'm a newbie so forgive my ignorance. I'am using the Morse code translator to light up the LED which is fine but after it has processed the sentence it turns off. How can I get it to loop the ...
0
votes
1answer
34 views

Changing how a longpress is executed

I have an RGB LED common Anode attached to my Uno and this code detects a long press to turn the LED on and off. Short presses cycle through colors, then off. The problem is that a longpress is ...
1
vote
1answer
100 views

Arduino non-blocking software PWM LED fader not working

I am trying to write a simple software PWM to fade some LEDs because I don't have enough PWM I/O Ports. The code evaluates how long you want the LED to fade, and breaks it down into a number of ...
1
vote
3answers
101 views

Running light, without delay, and a potentiometer

I am just getting hands on to my Arduino Uno. I am have finished the blinking light tutorial, managed to read a potentiometer, build a running light with delays and as well a binary counter. Now I ...