Notifications
Clear all

3v to 5v logic converter and power requirements

37 Posts
3 Users
2 Likes
2,259 Views
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
Topic starter  

@will 

I will be using wires to get from the control box to the strip. I would have to cut one off the end that I am not using(the leftovers) and strip that and go out of that one to the cable. My only worry with this is that I actually don't know how the diode works to reduce the voltage. If it was a resister, it would make sense.

 

Looking online, 1-wire communication is 16.3 kbits/s and I2C is 100 kbits/s in standard mode. I think the converter should do just fine.

 

Now that I know there are faster modes for I2C, I will need to try that out sometime!


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2531
 

@madmisha 

The voltage drops across a diode because it lets current pass fairly easily in one direction and resists current flow the other direction. When a voltage is applied to the side and can pass through the diode, a certain amount of voltage is "consumed" by the effort inside the diode.

This voltage drop depends on the (electrochemical) nature of the element used in the diode; it's about .6v for silicon, .2V for schottky, .3 for germanium and usually from 2-3V for LEDs.

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
Topic starter  

@will

 

So is that the forward current? I guess an LED is a diode after all, I just never/never needed to think about that with regular diodes. Or I've been really lucky.


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2531
 

@madmisha 

You can calculate  notional "resistance" value for a diode based on voltage and current, but it's not linear like a resistor. it will depend on voltage, current, temperature for instance. You're pretty safe just thinking of it as just the source of a voltage drop in a circuit.

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6970
 

@will Now I will have to have a look at the new strip I got to see how it is supposed to be hooked up. I find it difficult to believe an avg person buying these for Xmas decorations will know to add a diode. However, maybe I am wrong.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2531
 

@zander 

I don't think many people will be doing this. It's just a hack for allowing a 3.3V device to drive the LED strip without needing a transistor or level converter to boost the pin up to 5V.

For the experts, adding a diode and wiring past the first LED is a simple means to do so. For the rest of us, using a transistor or level converter is the easy road.

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
MadMisha
(@madmisha)
Member
Joined: 4 years ago
Posts: 340
Topic starter  
Posted by: @zander

I find it difficult to believe an avg person buying these for Xmas decorations will know to add a diode. However, maybe I am wrong.

To be fair, there are prebuilt controllers that plug right in and do all this stuff for you. Power included. But where's the fun in that!


   
Duce robot and Ron reacted
ReplyQuote
Page 3 / 3