1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HyperCon NEWBIE HERE, please help

Discussion in 'Software Support' started by Wim, 12 July 2017.

  1. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
  2. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    With a diode 5W (should lower 0,65V)? I'm sorry I'm not that technical, just found these googling. Good enough or are there better options?

    Wim
     
  3. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    The best level shifter is a 74HCT chip - I didn't get great success with this mosfet levelmshifters.

    The 74HCT125 is popular.

    Don't buy a diode - if only use that as a test if you had some at hand
     
  4. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    There seem to be a lot different kinds to choose:
    http://nl.farnell.com/search?st=74hct125

    Or are they all okay? Just different connections?

    Wim
     
  5. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    From https://hyperion-project.org/threads/use-spi-chip-select.279/page-2#post-2668 :
    I couldn't find SMD nor T variants of the 74HCT125.

    Overlooked the 'N' in your post. Thought I found it, searched for 74HCT125N, not available anymore.
    Looked again, you wrote SN74AHCT125N, not 74HCT125N. So this one must be it:
    http://nl.farnell.com/texas-instrum...ddkey=http:nl-NL/Element14_Netherlands/search

    Ordering one now. Hope it's the wright one.
     
  6. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    I can get the
    SN74HCT125N

    instead of the
    SN74AHCT125N

    Would that be okay too?
     
  7. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
  8. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    403
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    yes. it is ok
     
  9. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    Thanks, but now the wiring.
     
  10. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    5V led: 14

    GND led: 1/4/7/10/13. All or just one? Which?

    DIN led: 3/6/8/11. All or just one? Which?

    Which to pi?


    Or is 1-7 the pi side, 8-14 the led side?
     
  11. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    OE: GND
    A: in
    Y: out
    So I guess it's a 4- channel type.

    Perhaps:
    7 GND led
    14 5V led

    1 GND pi
    2 MOSI pi
    3 DIN led

    But I think the chip needs voltage of the pi (3,3) somewhere too.

    ???
     
  12. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    OE=output enabled, would that be the 3,3V of the pi?

    1=3,3V pi
    2=MOSI pi
    3=DIN led
    14=5V led
    7=GND led

    But then, where's the GND of the pi?
     
  13. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    I guess GND of pi on 7 too?
     
  14. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    No, I believe I have to connect:

    1OE and 2OE and 3OE and 4OE to GND led(+pi?)
    GND to GND led(+pi?)
    1A (or 2A or 3A or 4A) to MOSI pi
    1Y (or 2Y or 3Y or 4Y) to DIN led

    I guess unlike level-shifter used here:
    https://hyperion-project.org/wiki/using-level-shifter

    The 3,3V of the pi doesn't need connected?

    Questions: is the above correct?
    Do I need to connect ALL of the OE's to GND?
    Do I need to connect GND of the pi to GND? Probably not?
     
  15. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Ground must be connected between rpi, level shifter and led strip.

    All unused inputs on the chip should be grounded

    Chip needs 5v - use the 5v pin on the Pi or from the led strip but not both
     
  16. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    Thanks. Will report back asap.
     
  17. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    20170813_142529.jpg
    My first circuit :geek:. This should be it.
     
  18. Biggles

    Biggles Member

    Messages:
    53
    Hardware:
    RPi1/Zero
  19. Wim

    Wim Member

    Messages:
    129
    Hardware:
    RPi1/Zero, RPi2
    And......... IT WORKS. YEAAAAAAAHHHHHHHHHH. Thanks everybody for the help and support.

    I don't have the capacitor yet, going to buy one soon. 1000uF between 5V and GND feeding the chip.
    I'm also considering now to drop the separate power supplies. I can connect the 5V of the leds directly to pins 2 or 4 of the pi.

    Now I am going to calibrate colors following this guide:
    https://hyperion-project.org/wiki/Color-Calibration

    And then I'm going to make a decent frame to mount at the back of the tv.
    Is there a description on the wiki or forum what is advised regarding the distance of the leds from the edge of the tv (parallel to the tv)?
    I'm mounting them 180 degrees (on the back of) the tv, facing them to the wall.

    Wim
     
    • Like Like x 2
  20. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Yay !

    Personally I don't like powering my Pi via gpio pins or the same PSU as the leds.

    You may get voltage fluctuations depending on how well regulated the PSU is when the leds go from very dark to very bright.

    If you are messing with the leds and screw something up, your Pi crashes and might corrupt the card

    If you accidentally put power into the wrong gpio, bye bye Pi.