Jump to content

pomaranc

Member
  • Posts

    1,158
  • Joined

  • Last visited

Reputation Activity

  1. Informative
    pomaranc reacted to Huntsman in Need help with picking parts for arduino project   
    As for the power, USB should be enough. There's alot of LEDs but not enough to warrant external power I think.
     
    The rotary encoders and switches does not have any special electrical concern since everything is logic level. Just go with whichever more realistic. 
     
    On the controller side though, seems like you would need a lot of IO. At least a Mega if you're going the arduino path. One thing is that you would not want to power the LEDs directly off the MCU though, most Atmel chips can only take 200mA total. A few transistors as switch would be a safer path. Programming wise, shouldn't be too hard if you have figured out the way to interact with the PC.
     
    Also you probably need a driver or program of some sort on the PC side to handle the inputs.
  2. Informative
    pomaranc reacted to mariushm in Need help with picking parts for arduino project   
    LEDs today are fairly efficient, some high brightness red leds for examples can be quite bright even with 0.5 mA flowing through them. Most cheap leds are specified at 10mA default current in the datasheets, but the brightness doesn't increase linearly with the current, so the led will be bright even with just a few mA flowing through them.
    Most microcontrollers can output up to a certain amount of current on each pin (for example for PIC micros the current is usually around 15mA), but overall (in total through all pins) the current amount is smaller, around 200-250mA. So, for example, if you get a 40 pin microcontroller, there's no guarantee you'd be able to output 10-15mA on all its 30+ IO pins.
     
    You limit the current flowing through leds using resistors  (v = i x r  so for example for 5v and 5ma , 5v = 0.005 x r => r = 1000 ohm) . However, you're still wasting tiny amounts of power in each resistor (power = i x i x r) so there's smarter ways to do it. 
    To get around the current limitations, you can use shift registers (you connect one to the microcontroller using only two wires and send 8 bits to it and the 8 outputs of the shift register turn on or off. Super simple but you still need resistors for each led to limit the current through each led.
    There are LED drivers with several channels, and they have current limiting circuitry inside so you no longer need resistors because the chip limits the current internally. Some led drivers have up to 16 channels and you can put one or several leds in series on each channel and you can even send commands to led driver chip to increase or decrease the current on any channel independently and it's all done like a basic shift register chip, very easy to learn with an arduino ... example of such a chip would be TLC5940 : http://tronixstuff.com/2013/10/21/tutorial-arduino-tlc5940-led-driver-ic/
     
    You can use some led driver chips to replace those MAX7### something chips which are expensive .. that maxim chip is basically a led driver like this one with some added circuitry inside that decodes numbers you send to it in order to know which segments of led digits to turn on or off - you can implement this functionality in your microcontroller and instead of sending numbers you send directly to microcontroller the 16 bits to tell it which of the 16 channels to turn on or off (so you control two alphanumeric digits at any given time, as there's 7 segments and a dot for each digit).
    For four alphanumeric digits, you can just use two transistors to enable or disable power to each set of two digits so you can basically do something like this in your code.
    * turn off power to both sets of digits
    * send 16 bits of data to the led driver chip to tell it which of the 16 segments to sink to ground
    * turn on transistor associated with one of the two sets of digits  (power goes into all leds, but circuit is completed only for the channels which are sinked to ground by led driver, so only those segments turn on)
    * wait about 5-10 ms, turn off power
    * send 16 bits of data to led driver chip with the segments you want to light up on the other set of two digits
    * turn on the other transistor, wait 5-10 ms,  and go to the beginning of this loop.
    Because it's refreshed so often, every 5-10ms, your eyes don't even notice that for half the time, 2 of the 4 digits aren't turned on. They'll just see all four digits lit up but at slightly lower brightness.
    That's also what that MAX chip does inside, it just turns on one digit, waits a bit, turns off the digit and turns on the next, waits a bit, turns off the digit and goes to next one, and continues this in a loop but so fast you don't see it with your eyes.  
  3. Informative
    pomaranc reacted to manikyath in Need help with picking parts for arduino project   
    an arduino works on 5 volts, and its IO cant do more than 50mA per pin if i recall correctly, so you'll never have currents to the point you need to worry about the current ratings of switches.
     
    that should kinda answer that part of the question i guess
  4. Funny
    pomaranc reacted to Factory Factory in Need help with picking parts for arduino project   
    Yeah, there's not much to overthink if all you're doing is putting switches to pins. Set the pins to input-pullup (no connection = high voltage) or input-pulldown (n.c. = low voltage), then have the switch connect to the opposite voltage level.
     
    For wiring it up, I'd also get a nice load of 10K resistors in case you want to wire pullup resistors manually. Any LEDs will need current-limiting resistors - about 150-180 Ohm 1/8 W should work well, or you could get a big pile of 100s and put them in series if you want more (2 100s in series = 200 Ohms of resistance). A 50 Ohm resistor will work for two LEDs in series (two 100s in parallel is equivalent), and you probably cannot do more LEDs in series than that from a 5V source, so you might want to consider powering the LEDs from +12V and using some simple transistors to toggle them on from a 5V signal. You can use the tool at http://ledcalc.com/ to figure out how many LEDs you can get in series from a given supply voltage and what resistor value you need; and you can read http://www.rason.org/Projects/transwit/transwit.htm to learn how to use transistors as a switch so your 5V Arduino can switch 12V loads.
     
    If everything is wired to the Mega, it'll need at least a 7V 1A power supply. 12V 600mA or so would work pretty well, too and is easy to come by. Giving 20 mA to every one of the 54 pins would take about 1080 mA of 5V power, or 5.4W. As long as the voltage * amperage (in amps) of your power supply is at least that ~5.4W number and the voltage is 7V or more (but less than 30V, ideally 24V or less), it's a sufficient power supply.
  5. Informative
    pomaranc reacted to mariushm in Need help with picking parts for arduino project   
    My advice would be to go with reputable online distributors of electronic components, they have pretty much all you need in one place so while each part individually may be more expensive, you can get all in one place and pay once for shipping and you get them in a couple of days.
     
    If you're in US, you can go with Digikey.com or Newark.com or Mouser.com 
    In Europe and other parts, you have Farnell.com (Newark.com european version), Mouser.com also works in Europe, TME.eu is good as well
     
    My advice would be to avoid MAX7219 and get something that's cheaper and does the same thing, Maxim parts are expensive. There's loads of led drivers and max7129 is on the expensive side, either as common anode or common cathode (the two configurations led digits are configured)
     
    Not saying the country, from the Steam account you have in profile it sounds like you're Polish or Czech, so maybe tme.eu or farnell.com would be your best choices.
     
    Here's some suggestions from uk.farnell.com (they may have a version of the website for your own country) , i'm using this because it's easiest to use and switching to the one for my country after i save all the product codes in a list (you can then enter the product codes in the search box on the version of the site for your country and the results page gets you right to the product)
     
    LED drivers (including max7219 if you're really stuck on it) : http://uk.farnell.com/led-drivers
    buttons : look in next category at "tactile switches" for the ones you usually expect when you think of buttons, there's also with built in leds there..  and there's also the plastic covers for buttons usually in other categories on the site
    switches :  http://uk.farnell.com/switches (you have there toggle switches for flip switches, slide switches, pushbutton switches, joystick switches, just browse through those and you'll figure out how all of them work, you have datasheets for the majority of them, unlike aliexpress products)
    rotary encoders, optical encoders all kinds of encoders : http://uk.farnell.com/encoders (and you find knobs here http://uk.farnell.com/knobs and possibly in other places on the site , the plastic dial round thing that go on top,  for most of these encoders, you can select knobs based on diameter of thing ... i can't think of the word right now)
     
     
  6. Like
    pomaranc reacted to SteveGrabowski0 in New GPU MSRP vs actual prices and another stupid question.   
    It was $330 for many different models (eg EVGA ACX, MSI blower), with $350 the standard for factory overclocked cards (eg EVGA SC), and $400 for the really heavily overclocked cards (eg Zotac AMP, Gigabyte G1 Gaming).
  7. Like
    pomaranc reacted to SteveGrabowski0 in New GPU MSRP vs actual prices and another stupid question.   
    I don't know. I have no idea what kind of monitor you run. I have no idea the games you play. I have no idea if Nvidia is telling the truth when they say the 1070 is more powerful than a Titan X. I have no idea how hard the wave of Christmas games will be to run. I have no idea if non founders edition 1070s will be widely available near launch. I have no idea how Polaris 10 will perform. I have no idea if the rumor of Vega launching in October is true.
     
    If it was me? I think the 1070 will probably be about as powerful as a Titan X. Nvidia will catch a lot of hell if it's a lie, and it's hardly unprecedented on an architecture change, much less an architecture change plus a node shrink. So if I wanted Titan X performance in a month and could upgrade to it for 150 euro I think it's a good gamble and I'd do it.
     
  8. Informative
    pomaranc reacted to revoconner in In need of answers for my budget triplescreen setup.   
    As long as their polarity and resolution match they should in theory work in surround. As it also happens with different monitor altogether. DVI-I to VGA wont create problems for surround except for the quality degradation which you may not even notice.
  9. Like
    pomaranc got a reaction from c0d0ps in Installing GPU drivers   
    Don't install integrated GPU drivers, also don't use drivers on disk, get latest one from internet 
  10. Like
    pomaranc got a reaction from Bittenfleax in Squad - new upcoming FPS for realism freak mature gamers   
    I hope that it will actually be realistic, vanilla ArmA III is far from being a sim
  11. Like
    pomaranc got a reaction from Sithhy in Squad - new upcoming FPS for realism freak mature gamers   
    I hope that it will actually be realistic, vanilla ArmA III is far from being a sim
  12. Like
    pomaranc reacted to Muz in CPU temperatures and which CPU cooler should I get?   
    60 isn't high.
  13. Like
    pomaranc got a reaction from Levent in ? Are games able to be played on two monitors, or just one and three monitors?   
    Yes you can

     
    But is usable pretty much only for sims.
  14. Like
    pomaranc got a reaction from minibois in ? Are games able to be played on two monitors, or just one and three monitors?   
    Yes you can

     
    But is usable pretty much only for sims.
  15. Like
    pomaranc got a reaction from Toddskins in ? Are games able to be played on two monitors, or just one and three monitors?   
    Yes you can

     
    But is usable pretty much only for sims.
  16. Like
    pomaranc got a reaction from Leonard in ? Are games able to be played on two monitors, or just one and three monitors?   
    Yes you can

     
    But is usable pretty much only for sims.
  17. Like
    pomaranc got a reaction from mstr_maker in Streaming PC. (ONLY lol, dota, csgo , wow)   
    Also there probably won't be 4GB version of 950, and it is really bad idea to SLI low end cards.
  18. Like
    pomaranc got a reaction from mstr_maker in Streaming PC. (ONLY lol, dota, csgo , wow)   
    This is what I would get 
     
     
    PCPartPicker part list / Price breakdown by merchant   CPU: Intel Core i5-4590 3.3GHz Quad-Core Processor  ($159.99 @ Micro Center)  Motherboard: ASRock H81M-HDS Micro ATX LGA1150 Motherboard  ($56.98 @ SuperBiiz)  Memory: Kingston HyperX Fury Black 8GB (2 x 4GB) DDR3-1866 Memory  ($46.99 @ SuperBiiz)  Storage: Seagate Barracuda 1TB 3.5" 7200RPM Internal Hard Drive  ($47.78 @ OutletPC)  Video Card: Zotac GeForce GTX 970 4GB Video Card  ($309.99 @ B&H)  Power Supply: XFX 550W 80+ Bronze Certified ATX Power Supply  ($55.99 @ SuperBiiz)  Total: $677.72 Prices include shipping, taxes, and discounts when available Generated by PCPartPicker 2015-08-18 12:21 EDT-0400
  19. Like
    pomaranc got a reaction from mstr_maker in Streaming PC. (ONLY lol, dota, csgo , wow)   
    That PSU is ectreme overkill 500W will be enough.
    Get i5 and nvidia GPU.
    Stream using shadowplay
  20. Like
    pomaranc reacted to Aytex in Is it time to upgrade yet?   
  21. Like
    pomaranc reacted to jonnyyyl in Can a R9 270x push a LG 21:9 monitor at 2560 x 1080?   
    I somewhat agree to this. I dont have the budget for the new cards, but was given the G10 as a gift.
     
    Plus, as it is my first time attempting to use the G10, I just wanted to play it safe in case if I mess up...
  22. Like
    pomaranc reacted to Aytex in Asus Strix 980 Ti - height and my case.   
    edited  i had a brainfart
  23. Like
    pomaranc got a reaction from noremac258 in Would an FX-6300 Oc'd @4.3ghz bottleneck two 280x's   
    yep
  24. Like
    pomaranc got a reaction from RollinLower in SLI GTX 970 or GTX 980?   
    You can get 980ti for price of 2 970s
    970SLI>980
    970SLI<980ti
  25. Like
    pomaranc got a reaction from bpw87 in Is here any difference?   
    Get EVGA supernova G2 PSU, they should be cheaper and just as good if not better.
×