Circuit to Generate DC Power Circuit

  • Thread starter Thread starter DoomDuck
  • Start date Start date
  • Tags Tags
    Circuit Dc Power
Click For Summary

Discussion Overview

The discussion revolves around designing a circuit to generate DC power for controlling 80 RGB LED lights in a synchronized slow on/off oscillation pattern. Participants explore the use of microcontrollers and integrated circuits (ICs) to achieve this effect, focusing on the generation of specific waveforms and color control mechanisms.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses a lack of experience with microcontrollers and seeks guidance on building a circuit for RGB LEDs that oscillates in color intensity.
  • Another participant suggests that ready-made chips may not exist for the specific task and advocates for using microcontrollers, particularly the Picaxe, due to their versatility and ease of use.
  • There is a request for recommendations on tutorials and materials necessary for learning about microcontrollers and completing the project.
  • A participant questions whether the LEDs should display the same color simultaneously or be controlled individually, noting that individual control would require more complexity and components.
  • One participant raises a concern about potential strobing effects from PWM sources and suggests filtering to mitigate this issue, although they have not tested it with RGB LEDs.
  • A later reply indicates enthusiasm for the project and a willingness to share results, including a parts list and code, if successful.

Areas of Agreement / Disagreement

Participants generally agree on the potential of microcontrollers for this project, but there is no consensus on the specific implementation details, such as whether to control the LEDs individually or collectively, and how to manage potential strobing effects.

Contextual Notes

Participants express varying levels of familiarity with microcontrollers and the complexity of the project, indicating that additional learning and experimentation may be necessary before achieving the desired results.

Who May Find This Useful

Individuals interested in electronics design, particularly those looking to control LED lighting effects using microcontrollers, may find this discussion beneficial.

DoomDuck
Messages
9
Reaction score
0
Hello,

I'm very new to designing and building electronics involving anything outside of simple Transistors, resistors, capacitors, and diodes. I have a fair amount of experience with the parts previously listed and they may be the only parts I need for the task I am currently requested aid in building because I am incompetent when it comes to apply the simple knowledge I know in electronics. I am attempting to build a circuit which will drive about 80 5mm RGB LED lights in syncronized slow on/off oscillation. To specifiy the term slow on/off oscillation, I am hoping to use a circuit which will provide DC power to these lights which gradually increases magnitude and then decreases in magnitude so that the intensity of the lights will oscillate as they change color. These RGB LED's possesses a common anode so I was also hoping to implement some IC which randomly distributes the electricity to each color cathode so that a syncronized yet new color is generated by the 80 LED's with every slow oscillation of color.

Esentially I am asking what circuit would generate a Sine wave or sawtooth DC signal, and is there an IC which can randomly distribute this signal across different anodes? I know that this can probably be accomplished with a PIC or a microcontroller but i have no experience with either of these parts.

Thanks,
Duck

P.S. I have googled this but I am overwhelmed with reasources describing AC power
 
Engineering news on Phys.org
I doubt if any ready made chip is going to suit what you want. There has to be some demand before producers will make something like that.

That is why micros exist. They have a powerful set of tools in them and can do the job you want easily and cheaply.

Eveyone should have a favourite micro. I can't understand the extreme reluctance people have to getting involved with them.

Mine is the Picaxe.
https://www.physicsforums.com/showpost.php?p=2521600&postcount=6

I use pieces of PC board and mount the components directly on one side without sockets.
ICs are mounted with pins pointing up and earthed pins bent down and soldered to the the PC board. You will see why this is called "dead bug" construction.

I get strips of computer header pins and break off short lengths of the pins, then cut the pins to make small tag strips. I solder the Earth pins to the PC board and this supports the tag strip. Wires entering or leaving the board can be soldered to these tag strips or fitted to header sockets. These are cheap and pins and sockets come in strips for less than a dollar.

The chips require 5 volts so I mount a 5 V regulator on the board, also on tag strips. This stops any risk of applying a higher voltage and wrecking the chip.

Picaxe chips are programmed on the board they are going to be used in by arranging two resistors and a 3 wire cable to the computer.

This looks like a great project for you to get some micro experience.
 
Would you recommend any particular tutorials to learn this? Additionally what materials would you presume I would need to both learn and accomplish this project?
 
DoomDuck said:
Would you recommend any particular tutorials to learn this? Additionally what materials would you presume I would need to both learn and accomplish this project?

Get the free software from :
http://www.rev-ed.co.uk/picaxe/

Look for the software called BAS805.EXE from the above site.
There are adequate examples and plenty of documentation in this file.
All commands are explained with examples.
Avoid the expensive development packs and programming boards.

Do you want all LEDs to be the same colour at the same time, or do you want each to be controlled individually with random colours? The latter is more complex and will require more components, of course.

I would devote some time to becoming familiar with the Micro controller you choose. This is fun stuff and will make a lot of your projects easier in the future.
 
"Do you want all LEDs to be the same colour at the same time, or do you want each to be controlled individually with random colours?"

Well I was hoping that all of the LEDs would project the same color at the same time, but I plan to have three or four separate panels of LEDs displaced throughout the room so I hope that will not create any problems. Effectively I am attempting to make some cool mood lights.
 
RGB Leds.PNG


attachment.php?attachmentid=22963&d=1263134628.png


You would probably need something like the above. It shows two RGB LEDs with the same colours being switched by a transistor and the brightness of each being controlled by a PWM output of a Micro.

I have a small doubt here. It is possible that the PWM sources could beat with each other in the LED and produce a strobing effect which would not be very relaxing.
If that happened, some filtering at the base of the transistors might be able to get rid of the effect.
I don't have any RGB LEDs, so I can't try it. Maybe you could try it and find out before you commit to getting a lot of LEDs working.
 
Wow thank you for the diagram and everything. I still have a lot of reading and experimentation to do with the microcontroller before I get it working, but if I manage to get it up and running I will post a parts list, code, and a clip of it so anyone interested in the concept can have an easier time than me.

Thanks a lot V for the help
 

Similar threads

Replies
13
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
21
Views
3K
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 41 ·
2
Replies
41
Views
8K
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K