1
vote
1answer
66 views

How to power a 12v outdoor project with microprocessor?

Forgive me if this is a really basic question, but I'm still at the "consideration" stage of a basic LED project, thinking about lighting up one of those flexible LED strips from a microcontroller ...
4
votes
2answers
133 views

Turn on and let LED stay on if value is over threshold in main while-loop

I'm totally stuck with this rather trivial (?) problem, i've got this pseudo code that i will convert to C (i'm programming a ATmega8 MCU): ...
4
votes
2answers
628 views

Fading RGB led with ATtiny2313 timer

I'm trying to make mood lamp with only hardware PWM and interrupts (i. e. main loop should be empty). I'm doing it as a challenge to learn how timers work, not for any practical reason. So far I've ...
1
vote
3answers
396 views

RGB LED - Fade Between Random Colors

I am trying to generate a random color RGB value -> light up RGB led -> wait for 5 minutes -> generate next random color -> fade from old color to new color. For showing the color on LED I am using ...
1
vote
1answer
153 views

Fast PWM and Atmega1280 problem

Hello I have some problems to understand how to bind a Timer to a Pin and because of that my code isn't running... ...
2
votes
2answers
563 views

RGB LED Strip - Variable Voltage Vs. PWM

I am going to install an Analog RGB (non adressable) LED strip in my room and need to make a driver for it. The LED strip specs are: 10 cm segment 12V @ 60mA max per segment I would be using ...
4
votes
2answers
2k views

Driving 10x10 LED matrix with AVR?

I'm in the process of designing a controller PCB for a 10x10 white LED matrix clock (inspired by the tutorial here). It's based off an ATmega328 AVR IC and Maxim DS3234 SPI RTC. However, I'm stuck: I ...
3
votes
1answer
369 views

LED Cube 4x4x4 Transistor Question

I have built the 4 layers of 4x4 LED's and connected them up. My question is what transistor should I use. I know that only one layer will be on at a time and the max current draw will be 16*20mA = ...
1
vote
2answers
598 views

Simple solution for driving a large-ish RGB LED array with PWM

I'm working on a small toy-like device that has a 10 x 8 "pixel" array of RGB LEDs at its core; thus there are 10 x 8 x 3 = 240 individual LEDs to be controlled. I'd like to control the intensity of ...
4
votes
3answers
3k views

Multiplexing LEDS and Multiple Output Pins

Ok.....i've been trying to understand something (and trust me, to most people it's a VERY newbish question) So I see people all the time "multiplexing" LEDS. using just a few Pins. Lets say for an ...
3
votes
2answers
699 views

Driving a LED Matrix with a N-channel MOSFET (2N3819) using an AVR

I am trying to wire up a LED matrix using a FET transistor as a switch. The AVR will be connected to the gate. To turn the LEDs on I have drive the pin connected to the transistor gate low, right?
1
vote
2answers
510 views

AVR Assembly with Servo/Motors/Etc

So I've been learning AVR assembly in my own time, I rather like it and I understand registers/counters and such. But the problem is...most of the websites I read online/tutorials don't really talk ...
8
votes
5answers
8k views

Best way to control 75 LEDs with Arduino

I need to control 25 groups of 3 LEDs or 25 RGB LEDs. Each group will be dismissed from the uC by up to 20 cm (about 8 inches). 20 cm is very safe assumption but I think it will be 10 cm or less. ...
5
votes
10answers
2k views

Using diodes to limit current to LEDs

I'm setting up an attiny2313 to drive an array of LEDs and blink them in different patterns. Rather than putting a series resistor in line with each LED (they'll be controlled separately, so I can't ...