Questions tagged [led]

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
14 views

Arduino Nano ESP-32 with 64x64 LED Display Using ESP32-HUB75-MatrixPanel-I2S-DMA Library

I am trying to connect an Arduino Nano ESP32 to a 64x6 LED display. I was able to connect the same display to a different type of Arduino (following these instructions and using the noted board), but ...
Sparkyreich's user avatar
0 votes
2 answers
46 views

WDT, TIMER0 16F676 delay calculation problem. Pre-scaling issue in MPASM

One more question on Delays. Since I'm a starter my head aching around the calculations of delay. I understand delay when somebody explaining it in their code. But when it comes to my code Im totally ...
Albpy's user avatar
  • 11
0 votes
1 answer
60 views

Why the Led stay at on position, instead of blink?

This is the MPASM code for blinking led using the TIMER0 interrupt in pic16f676. The pin 0 (RA0) of portA is not toggling to off position. please help... I'm newbie to pic assembly, I would like to ...
Albpy's user avatar
  • 11
-1 votes
0 answers
33 views

micropython: scrolling text on ws2812 matrix with esp32 [closed]

I'm trying to write strings to a ws2812 led matrix display (32x8), and have them scroll. I can write individual pixels using the raw driver libraries, but how would I use the framebuffer to do this? ...
PatrickF's user avatar
0 votes
0 answers
23 views

How can I execute a custom app for NuttX with minicom?

I wrote my first application for NuttX. I want it to read the state of a button and if its pressed the LED should light up for 1 second. I am using a self created board from a company with a STM32F103 ...
Sosinus's user avatar
0 votes
0 answers
21 views

Ledmatrix in outputs only white when colors are not in total dominance of red, green or blue

Im using esp32 cam and fastled library to grab pixelvalues from the integritet camera for trigging a ledmatrix connected with serpentine layout. The image is downsampled to 12x12 pixels corresponding ...
acroscene's user avatar
  • 845
0 votes
1 answer
47 views

LED fails to blink

When I run my code to blink a LED, Thonny runs it well. But on the Raspberry Pi Pico itself the LED is not blinking: from machine import Pin from time import sleep led = Pin(25, Pin.OUT) while True: ...
An0nymous's user avatar
0 votes
1 answer
33 views

Animating 3600 neopixels with RPi is slow

I have SPI RGB led strip with three wires connection: – TX1818 driver (manufacturer says “it’s compatible with TM1812, UCS1903, SM16703, WS2811–2815”) – 12V, 9.3 W/m, 5060, 60/metre – 3600 pixels, 60 ...
asvetly's user avatar
  • 1,739
0 votes
0 answers
41 views

esp32 rgb led matrix dma

I simply want to display C85 on 64x32 rgb led matrix with hub75 interface. enter image description here but there is two blank line horizontal coming up. I tried to customized the default pin also but ...
Yuvraj's user avatar
  • 1
0 votes
0 answers
7 views

I'm trying to get a blue-only colorWipe/rainbowCycle on an LED strip with an arduino uno and I'm having trouble

I'm building a cosplay prop and want to use animated LEDs. I can get strandtest_wheel working and every pixel can display every colour, so I know it's not a physical problem with the LED strip. When I ...
BaronVonAdam's user avatar
0 votes
0 answers
22 views

Android to Arduino - Can't upload a sketch

I tried uploading a sketch onto my Arduino Nano board from my Samsung S10 device and I always stumble upon this error. Here is the error: name.antonsmirnov.arduinostudio: Targeting S+ (version 31 and ...
Jérémy Lachance's user avatar
0 votes
0 answers
9 views

Increasing size of red LED block in Neopixel rainbow wave code?

I have been using this code to run a rainbow wave on my Neopixel strip, but would like the section of red LEDs to be more prominent, as currently the blue and greens are in large sections, while the ...
Naga's user avatar
  • 1
0 votes
1 answer
67 views

Python: Controlling the Dualshock4's LED light bar in Windows

I want to control the Dualshock4 light bar in Python on Windows. My controller is connected via Bluetooth and i use the pygame library to communicate with it. I can detect the controller input and I'd ...
Kealaw's user avatar
  • 1
0 votes
1 answer
32 views

problem making a led bink in oled1xplainnedpro using a atmega324pbxplainnedpro

without calling the delay() function the led turns on but it doesnt when i do other leds on the oled1 can blink with this function the led on the main board works too but the one on the ...
mymycroverse's user avatar
1 vote
0 answers
43 views

Mute key LED not working on Ubuntu HP 15-d5000

I am using Ubuntu Linux 22.04 on HP Laptop 15-d5000. When I press the mute key, the sound doesn't play but the integrated LED doesn't bright. Before installing Ubuntu, in Windows 11 it worked. I am ...
Juanjo's user avatar
  • 13
2 votes
0 answers
29 views

How to increase SPI buffer on Google Coral?

Using Google Coral Dev on Mendel linux: I am attempting to control an RGB LED strip using SPI. However, I am encountering an issue where the SPI buffer size is too small, and I am unable to control ...
Jeremy Z.'s user avatar
0 votes
1 answer
37 views

Turn on Blinking of LED when the android device is in shutdown state

On my Android device, running on Qualcomm SOC, I can control LEDs ( /sys/class/leds/*/ ) when the device is charging ( led to blue color ) or the battery getting low ( led to red color ), from a user ...
SajidKhan's user avatar
0 votes
0 answers
23 views

Errors while controlling PWM with sysfs

I build a custom image with buildroot. Now I try to control a LED with PWM through sysfs. This worked with DietPi OS. Here I describe exactly how I've done it. Unfortunately, this don't work in my ...
mister_kanister's user avatar
0 votes
0 answers
180 views

LED blinking from U-Boot

Is it possible to implement a U-Boot subroutine for blinking LEDs via GPIO pins? So when U-Boot shell is ready, first command of bootcmd will be run start_blink;<other commands to boot to kernel>...
mister_kanister's user avatar
1 vote
1 answer
55 views

How do I improve the speed of getting the average pixel color on sections of my screen

I'm working on a project where I get the average rgb value of all the pixels in a section of the screen ex: top_left and bottom_middle. These values are then mapped to pixels on an led strip which ...
Seaver Olson's user avatar
0 votes
0 answers
22 views

Is there a better way to loop this?

Ok so I am trying to get some code to run an rfid reader, display some information on an led matrix and then loop back to do it all again. I can't get it to loop though once it gets a rfid code it ...
CaptainHook's user avatar
0 votes
0 answers
23 views

sequentially light the LEDs clockwise with an interval of 0.5 seconds assembler

I can't figure out how to write the code in Assembler to get the desired result: sequentially light the LEDs clockwise with an interval of 0.5 seconds Assembler is not my strong point, I have a rough ...
JinHo's user avatar
  • 1
0 votes
0 answers
93 views

Can't get Adafruit Neopixel to work with Wemos D1

I am trying to get a very simple ESP8266 project to work but I keep failing and have no clue why. These are my components: Wemos D1 (ESP8266MOD) WS2812B 5050 LED Stripe (2m with 60 LEDs/m) 5V 10A DC ...
coolaturon's user avatar
0 votes
1 answer
127 views

Smoothly fade color image to grayscale based on input value between 0-1 for RGB Numpy Array

I am writing some code to display a camera input to a 32*32 LED array. My code to get the image and display it looks like this: def start_cam(x,y): # Start the webcam webcam = cv2....
Androo's user avatar
  • 1
0 votes
1 answer
94 views

Why doesn't arduino nano together with DS3231 make LED strip work as a clock? (I use FastLED library)

For some reason, my program doesn't make the LED clock work properly. I know that the problem is either in the breadboard or the program itself, since with the other program and different circuit ...
Pauline Sidiropoulou's user avatar
-1 votes
1 answer
134 views

control the movement of LED with rotary encoder

I have 6 LED's in a row connected to an arduino uno and want to use the rotary encoder to control the movement. So far, I've have created a program that outputs the signals from the rotary encoder to ...
JohnDoe12's user avatar
0 votes
0 answers
102 views

Using C# to light up an LED button on a Novation Launchpad Mini MK3

I wanted to make a simple program that will play an animation I can make to make my setup look nicer :) The thing I'm really struggling with is finding a solution for lighting up an LED on my ...
rudynakodach's user avatar
0 votes
0 answers
689 views

How to set and change duty cycles for PWM code

I am trying to blink the yellow and green LEDs on my CC32xx board. To do that I need to edit some code that was presented to me. I need to set duty for PWM1 to 90%, set duty for PWM2 to 10%, set the ...
FireMonkey's user avatar
-1 votes
1 answer
60 views

bash script led keyboard in crontab

I use this simple bash script in order to power on my keyboard led in my linux VM . If i don't use the script i can't power on led. #!/bin/bash sleep 1 xset led 3 xmodmap -e 'add mod3 = Scroll_Lock' ...
marioficozzi's user avatar
0 votes
2 answers
103 views

Multiple LED control with few GPIO pins in Renesas microcontroller [closed]

I need to control 12 leds through 4 GPIO pins. I did some reading online and saw we can use Charlieplexing method to control leds with fewer gpio pins. But is it possible to make two or more leds to ...
aspiring_programmer's user avatar
0 votes
0 answers
24 views

Bluetooth extender to control outdoor Bluetooth LED light Strips

I have outdoor LED strips that are bluetooth controlled, Govee ones. I presently have to go to different regions in the house to turn them on and off from my phone via bluetooth connecttion to the ...
Reno Silva's user avatar
6 votes
2 answers
3k views

OSError: [Errno 12] ENOMEM

I use code from here. After running multiple times from Thonny without issue I got: OSError: [Errno 12] ENOMEM I used nuke.uf2 to clear storage on Raspberry Pi Pico W. The error re-occurred after ...
JohanW28's user avatar
0 votes
0 answers
30 views

Trying to connect to ELight led strand bought on amazon using BLEConnect

I am currently trying to connect to a strand of led lights via BLEConnect. The brand of lights is ELight. Trying to connect using BLEConnect so I can program my own color scheme. So I have gotten this ...
NotTheEasyAnswer's user avatar
1 vote
0 answers
53 views

Toggling LEDs in a respond to a counter at different scenarios

I am trying to toggle leds on and off based on two scenarios. a counter.(input from two buttons - one for counting up and the other for counting down) a specific time for led to be ON if counter is ...
lon_ly's user avatar
  • 11
0 votes
0 answers
94 views

Trying to connect to "ELlight" branded light strip via python to change colors

So I have been tasked with connecting to a strand of lights bought off amazon. These lights can be discovered by bluetooth and are controlled by an app available on the play store and app store. Upon ...
NotTheEasyAnswer's user avatar
0 votes
2 answers
612 views

How to increment or decrement a 7-segment display 00-99 using button

i'm using code composer studio and data signals(D0-7) are obtained from tms320f28335 i have incremented and decremented specific led on 7-segment using switch statement. but that is kind if manual ...
무함마드's user avatar
-1 votes
2 answers
73 views

How to eliminate a colour from RGB LED code?

I recently adjusted an already existing code for the RGB led (in arduino) to fade from yellow to red. However it still produces green in the beginning, and I can't seem to figure out how to eliminate ...
Igne's user avatar
  • 1
0 votes
0 answers
68 views

Using time.sleep inside of a function causing syntax error

I'm trying to get started with my Raspberry Pi pico H, and I thought of a cool little project to translate text into morse code using the onboard LED to flash as dots and dashes, but to do that I need ...
SleepyTheSloth's user avatar
0 votes
0 answers
341 views

ESP32 and I2C LED Driver IS31FL3236A

I have a custom board basic on esp32s3 with LEDs. My first task is just run simple program which can connect to LED driver IS31FL3236A with MCU via I2C bus. I found in Internet some example wrote on ...
Mbded's user avatar
  • 1,754
0 votes
1 answer
64 views

How do I use a for loop to flash a single LED on and off? (c++) (Mbed Studio) (Nucleo Board)

I am a complete coding noob but I am trying to get all LED's to flash on and off 5 times while specifically using a for loop (it has to be a for loop). The LED in question is attached to a bus (also ...
DakarusJoe's user avatar
0 votes
1 answer
74 views

Fading RGB light from yellow to red using reed switch

I am still quite new to arduino coding, so I would very much appreciate your help! I have recently made a circuit using reed switch and a simple LED light, which makes a light slowly fade out once it ...
Igne's user avatar
  • 1
1 vote
1 answer
131 views

Is Chisel Counter more than 32 bits possible?

I declared a counter like this : val MAXCOUNT = ((BigInt(1) << COUNT_WIDTH)-1) val counterSize = log2Ceil(MAXCOUNT) println("Maxcount -> " + MAXCOUNT + ", " + ...
FabienM's user avatar
  • 3,431
0 votes
1 answer
290 views

Empty sys/class/leds

On my 8.1 oreo android tablet, I have a front RGB led. I'm trying to change the color of it by using ADB commands, however I can't find the led in the system. I searched for everywhere (under sys/...
Giorgio's user avatar
  • 121
-1 votes
1 answer
85 views

FPGA Pin Polarity meaning

I have been assigning pins on a Lattice Seminconductor FPGA using Radiant Software. The FPGA is embedded on an evaluation board containing LEDs and buttons. When opening the window to assign pins, ...
acefrrag's user avatar
0 votes
0 answers
17 views

Color Point Calculation in OpenGL etc

If I have time series brightness outputs in Lumens from three LEDS (R,G,B), then will OpenGl helpful to compute the colorpoint calculation of every point in that time series? If not, is there any ...
Sumit Adhikari's user avatar
0 votes
1 answer
165 views

Improve an exponential curve fit of nearly exponential data

I have recorded some data about the color of an LED that varies with the 8bit signal sent to the LED driver, the signal can vary between 0 and 255. Exponential curve fitting seems to work very well to ...
adrienlucca.net's user avatar
0 votes
0 answers
29 views

i want to know how to add a second function to the second button connected to my gpio circuit

so i have written this code in my nano editor. the first button which is gpio(21) is functioning properly. the first button (21) is turning the LED's on and off. as for the second button i would like ...
user543779's user avatar
-1 votes
1 answer
29 views

Flashing cloud effect on LED strip/RaspberryPI

I have a LED strip with 20 LEDs and RPI3 B+ now I need to tweak the code below to flash LEDs randomly in various intensity and colours from (80,0,150) to (200,0,255),, I have all hardware setup well, ...
attmo's user avatar
  • 1
-1 votes
2 answers
99 views

RGB pixel values from Pi to Arduino with LED Matrix

I am using a 32x32 RGB LED Matrix Panel which is connected to an Arduino to output an image of an album cover. This image has 1:1 aspect ratio and has 1024 pixels. I've computed the RGB values for ...
tyanne's user avatar
  • 1
0 votes
0 answers
251 views

Nodemcu With P10 panel Led writing from Firebase-Help Please

I want to write P10 Led Panel some text from Firebase Realtime database...But i am new arduino... I made Firebase database, and MIT app...When i push button my incoming value coming to my nodemcu ...
Serhat Kaya's user avatar

1
2 3 4 5
17