An LED is a type of light source which is typically fairly small and has low power requirements.
0
votes
2answers
27 views
How to analyse audio and to affect source?
I want to use the audio from my PC and have it going to the speakers and Arduino for some lighting effects. This project is a bit of a struggle because I don't know what the best way of analysing ...
2
votes
1answer
21 views
FastLed (WS2812B) and IRRemote problem
I am trying to control my WS2812B with a remote control. To archive this, I am using IRRemote library. The problem is that this two libraries doesn't work together.
I did some research and found out ...
1
vote
1answer
32 views
Inputting list of data
Sorry if this question has been asked but I can't seem to find an answer because I don't really know if I'm phrasing the question correctly.
I'm trying to control a grid of LED to light up in a ...
0
votes
1answer
60 views
SOLVED - Strange power comsuption into sleep mode
The solution is below
I've finished my project and now I'm measuring the current but there is something wrong. I'm using an Arduino Pro Mini board and the LowPower library but the consumption is ...
0
votes
1answer
29 views
WS2812B strip stopped responding to control
I have a WS2812B LED strip (A clone of the Adafruit one I assume, it's from China via eBay) of 60 LEDs. When I got it, it was all fine - I could load the FastLED examples and they would work perfectly....
0
votes
2answers
29 views
Different Functions using 2 buttons
I'm currently learning Arduino stuff. So right now I'm trying to create a arduino app that will use buttons, leds and rgb
So I have 2 buttons, 8 leds and a RGB. The first button is the function ...
0
votes
0answers
42 views
sunrise alarm clock using android to set alarm time
I'm trying to create a sunrise alarm clock, controllable via Bluetooth by my phone (running android marshmallow) with an Arduino nano, real time clock module, and Bluetooth module. these will then ...
0
votes
1answer
28 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 ...
0
votes
1answer
31 views
Fading LED Lights
How do you make a fading led with 8 different colors I already made a blinking led every 1 second. Can you give me an idea how am I going to fade it every time it switch?
const int red = 5;
const ...
0
votes
1answer
24 views
Wiring a potentiometer to control a 9V battery powering 2 LEDs in series
I am trying to build an array of LEDs where their brightness is controlled by a potentiometer. The LCD will display the percentage of brightness based on the potentiometer. I am able to successfully ...
0
votes
2answers
53 views
Why adding a LED between Pin 3 and Ground causes LCD display not to show text?
For a project of mine I am programming an Arduino UNO to show information I get from some sensors on an LCD display.
As a first step I setup Arduino to show "Hello, world!" on the LCD, which worked.
...
0
votes
2answers
50 views
ISR and multiplexing- time required to execute the code in Arduino
Below is an Arduino sketch for a basic animation, taken from the book Beginning Arduino by Michael McRoberts. Also, the connections have been shown. From what I have read elsewhere, this is the ...
0
votes
2answers
80 views
Arduino time between interrupts in POV led display
I'm making a POV display (4 spokes) on a bike wheel using a Hall effect sensor to measure how long the last revolution took and based on that I calculate delays in the display. By pedalling at a ...
1
vote
2answers
61 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
votes
1answer
26 views
Multi-LED Toggle Switch
I am using a Python3 GUI on my RPi3 to control my DFRobot Bluno Mega 2560 via USB. The Mega is hooked up to a breadboard with 4 LED's and I am trying to control each LED with their own toggle switch. ...
0
votes
1answer
19 views
Set pins to LOW over time
I've written a simple sketch that adds threshold to an PIR sensor. If the PIR sensor sends 3 HIGH ex. HIGH...LOW...HIGH...LOW...HIGH (The LOW == no movement) it will trigger and alarm.
I want to ...
0
votes
0answers
21 views
Help with LED 'ON' duration during PIR motion event in this sketch? (beginner)
I cobbled together a sketch, based on some others I found vie google search, to send motion events from a PIR sensor to a MQTT broker. It works really well, however, there is an issue with turning on ...
0
votes
1answer
25 views
Issues w/Analog Microphone Readings
Having issues with sampling audio with a microphone and NodeMCU v3. I realize this is the Arduino section so if NodeMCU running the Arduino IDE is not meant for this forum, let me know.
The problem: ...
4
votes
1answer
229 views
No power from Breadboard Power Supply Module
Components
Breadboard Power Supply Module IM120525004
1 kOhm resistor
Green LED
Arduino Nano
LiPo 7.4V battery
LED Lights Up Fine with USB power from the Arduino
LED Does Not Light Up with power ...
1
vote
2answers
41 views
How can I setup a LED state change with push buttons?
I'm doing a project using Arduino Uno R3 and I'm trying to use two buttons to change LED state between HIGH and LOW. I have already a code but someting its not right because the LED should be starting ...
0
votes
1answer
34 views
Arduino Starter Kit - firmly wiring longer parts
I am getting started with project 01 on the Arduino starter kit. I'm facing an issue when wiring parts with long ends e.g. led & resistor. To make the simple circuit with led, resistor & ...
0
votes
1answer
30 views
Detecting I2C transfer with LED
I am going to do a project with a lot of Arduinos connected via I2C, where like of them can became master for a moment to announce an event. So I would like to see how much is the bus used. As there ...
0
votes
2answers
49 views
WS2812 - First are white and then they turn red/yellow/orange near the end
I'm trying to power about 150 WS2812 LEDs from my ESP8266 NodeMCU board (running NeoPixel Arduino code). The first few LEDs are white, but about half way down, the LEDs turn yellow, then they turn ...
0
votes
2answers
54 views
Turn on a LED when an other LED turn off
I'm a beginner on arduino.
I have an arduino mega with two LED (like the image with only 2 less and without the buzzer). A red LED and a green LED. When the arduino receive the code 200 I want the ...
0
votes
0answers
57 views
Safe way to setup I/O to read switch AND manipulate LEDs at the same time
I would like make educational shield for playing with Arduino, where (at least couple of) pins would be connected to grounded switches (so could be configured as INPUT, or INPUT_PULLUP a digitalRead() ...
0
votes
0answers
20 views
NeoPixelClock pulsating effect
I want to make an anduino based neopixelclock pulsate while displaying time.
Code: https://codeshare.io/5M8rJ2
Inspiration: http://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
1
vote
2answers
49 views
Why does the serial monitor needs to be repeated a command?
I am experimenting with the serial monitor in an Arduino Uno. My project consists in a simple LED turning on and off at will with the commands "ON" and "OFF" respectively.
To achieve this, I use an ...
0
votes
1answer
36 views
How do I add dimming control to my following LED toggling program on Arduino? Also how do I improve my existing code?
I am attaching my code below :
int cwled=9;
int wwled=10;
int button=8;
int buttonpress;
long startTime=0;
long endTime;
long holdTime;
boolean previous = LOW;
boolean current;
int state=0;
int pot = ...
1
vote
1answer
38 views
PCA9685 seemingly no PWM output Arduino Uno when attempting to do LED dimming
Just for a quick test I've wired up the Arduino to a PCA9685 board (similar to http://www.ebay.com.au/itm/PCA9685-16-Channel-12-bit-PWM-Servo-motor-Driver-I2C-Module-For-Arduino-Robot-AU-/162059198475?...
0
votes
1answer
226 views
How to fix 12V RGB LED Strip connection to NodeMCU?
I am trying to hook 12V RGB Led Strip (LTROP SMD 5050 RGB LED Light Strip) to a NodeMCU unit. I know there are many different tutorials on this and I am very new to wiring and electric circuits.
I ...
0
votes
1answer
34 views
2D Tracking of an object - which sensor?
I'm currently working on a project for which I require a sensor. I've made a quick and simplified drawing of what the result is supposed to do:
Basically, I want one LED of a LED-Strip to light up ...
1
vote
1answer
71 views
How to run 50 IR LEDs off an Arduino UNO?
Hi I have 50 camera devices I want to program. Luckily the camera devices have a param.xml file I can import. I have already loaded the param.xml file on each of the camera devices however, now I need ...
0
votes
1answer
81 views
How to use this Arduino code to control multiple different LEDs?
I am making an Android-controlled LED system over Bluetooth but I need to use 4 LEDs. I have done Android app but I am not able to figure out this Arduino code. Can some please help me get this done?
...
0
votes
1answer
59 views
How do I control multiple LEDs strips with Arduino
I want to decorate my house with LEDs strips on each step of my stairs.
I will buy LEDs strips with a 12V power supply.
I want that if I put my foot on the first step, the first LEDs strip turn on, ...
1
vote
2answers
70 views
Very strange power supply problem
So, I've put together my Christmas tree lights - a string of WS2811s driven by my Uno board. They are 12 volt WS2811s, so I have rigged a 12 volt supply to them and just using the Uno for the data ...
1
vote
1answer
58 views
Using an Arduino for a Diorama Controller
Kind of new to the whole DIY electronics scene.
I'm building a diorama for my son. It will include a length of track, a station, some other buildings, and scenery. It will be HO scale. The ...
0
votes
2answers
39 views
IDE avoiding math operation
I have no idea why this has been happening:
byte potenciometro = 0;int redpin=9;
void setup() {
Serial.begin(9600);
}
void loop() {
int valor=analogRead(potenciometro); delay(50);
Serial.println(...
0
votes
2answers
42 views
I would like to add a RGB led strip to my arduino alarm system
I am new to programming and would be grateful for any helpful answer...Thank you
I used a ping sensor, a piezo buzzer and an RGB strip. I used the Schematic from Adafruit Learning System..
Here is my ...
1
vote
1answer
48 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 ...
1
vote
1answer
26 views
Combining arduino leonardo code with water alarm code
I need to create something for a school assignment, but I'm stuck at the moment.
I have one code, which makes the Arduino Leonardo press space button on my laptop, which works.
I have another code, ...
1
vote
2answers
31 views
Using bitRead to toggle between LEDs [closed]
How can I use bitRead() to toggle between 3 LEDs?
I have 3 LEDs - red, green, blue - and I have these 4 stages:
Red ON and green, blue OFF
Green ON and red, blue OFF
Blue ON and red, green OFF
All ...
3
votes
3answers
95 views
Unexpected Delay Between For Loops
I made some arduino code for leds that blink down a row and then back again, but when the program is run, there is an approximately 2 second delay in between the first for loop and the second. This is ...
0
votes
2answers
65 views
How to turn a LED if ultranonic HC-SR04 reading is on defined range for some interval
My objective is if ultrasonic readings ranging between 1 to 10 cm and no distance change for 10 seconds or more, a LED will turn on. Here is my current code.
#define trigPin 7
#define echoPin 8
#...
1
vote
0answers
62 views
troubleshooting - Turn on a single led in a ws2811 ledstrip with an arduino Uno with FastLed
I want to to turn on a single led in a ledstrip running on ws2811 with an Arduino Uno.
The problem is that when I try to turn just one of them on, they all three light up. The strip is a 3-wire ...
0
votes
5answers
129 views
How to run multiple functions one after another?
I want to fade a red LED up and down, then a green LED up and down, and repeat the whole cycle indefinitely.
I've been trying to run multiple functions one after another. However my current code ...
0
votes
1answer
29 views
clkI/O 256 & 1024 (From prescaler) not working with driving PWM on Nano board
I've been working with PWM in TIMER0 of my nano board.
So, it's working now and I know how to set OCR0A or OCR0B.
Then, I went to play with Clock Select Bits CS02 CS01 CS00 in TCCR0B.
0, 8 and 64 ...
2
votes
2answers
56 views
How to animate a LED Strip via wifi? [closed]
I'm remotely connecting my phone to an arduino MKR1000 via wifi, and sending data via HTTP GET (so to switch on the debug LED, I just need to navigate to http://192.168.1.1/debug/H, for example). Now, ...
1
vote
3answers
37 views
How to keep amperage in serial and parallel?
I have a 2000mA AC adapter and also I have the lights that I show here:
Each of these lights consume up to 300mA.
If I make a circuit with 3 lights in serial, ¿will the amperage of each light ...
0
votes
2answers
48 views
Arduino - Turn on LED when Potentionmeter is used
I'm very new to the Arduino/Microcontroller-world, so please be patient :)
I have 4 potentiometers and I want my LED to blink up, when one of these is beeing used.
So far., so good.. the ...
3
votes
1answer
85 views
Long run data wire
I need to connect the data of a LED strip (WS2812) to a pin but the strip is 10 meters away using AWG 22.
I use a 12V DC power supply.
Should I expect some misbehaviour, like the LED not getting the ...