Posts by al22xx

    Thanks a lot for your tips - all of you

    I have updated it & it seems work fine - you have no idea how happy I am - I started this project over a year ago & only just managed to get it working well

    I have to admit I also found my ethernet cable was faulty & probably causing some of the issues & since I replaced that & the updates its been running smoothly fingers crossed

    Thanks again! :)

    Hi again

    the reason I haven't closed this thread was because I'm still experiencing issues

    The system work for a period, sometimes up to at least 30mins but then it crashes

    it seems it looses the Capture as when I use lsusb after the crash I can't see the USBTV007 line below

    $ lsusb

    Bus 001 Device 004: ID 1b71:3002 Fushicai USBTV007 Video Grabber [EasyCAP]

    Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.

    Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub

    Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    I have attached my config & debug & really appreciate your help

    haha yes no worries I was a PC man before - thx guys I have done what you have said & didnt format & used Windows PC to delete the partition & it seems working much better & smoother - it has crashed once but so far so good & been running for couple of hours - thx again for the tip


    @jeroen warmerdam - I have got this far & have seen your youtube effect & it looks amazing but I dont get that level of accuraccy with my LEDs any chance you can share your config with me I need to know what settings best picks up the light - I used Blackbar detector 15% & have Smotthing=off - here is the link below of what I get maybe you can suggest some setting for it to be a bit more responsive..I just feel something is not quite right....


    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    ok sure I wont format but it was already formatted previously, as log as it doesnt matter its fine by me.
    I will find a way to remove the whole volume in Mac but Im not sure how yet
    also after I manage to do that & copied over the image can I do the commands mentioned above? like updating the RPi

    @jeroen warmerdam I think you might be right & it must have got corrupted but I'm using a Mac


    I usually format the SD using https://sd-formatter.en.uptodown.com/mac


    then as davieboy said I use https://www.balena.io/etcher/ to copy the image from https://github.com/Hyperion-Project/HyperBian/releases
    then I go to
    sudo raspi-config


    then expand the volume in the settings & update the RPi exit the GUI & then I run


    sudo apt update
    sudo apt full-upgrade
    sudo apt-get autoremove
    sudo apt-get clean


    how should I format it best with Mac? or what format should I choose?

    thanks both I will check what you say but when I mentioned lsusb doesn't return anything is that the RPi is already crashed & its normal - sorry to mislead you
    what happens is that everything works fine for a while & then RPi crashes & the reason it is the RPi & not the Hyperion is I can no longer ssh to RPi so I have to unplug & then plug it back in - sometimes it works immediately again & sometimes I have to restart it few times
    but eveytime after a while it crashes again
    previously you asked me to add the below lines to config.txt which I did but then I removed the Turbo but still didnt make a difference
    arm_freq=900
    force_turbo=1
    I have posted the debug in my previous post & wondered if you can see anything that makes the RPi crash

    hey davieboy thx for your response - when it crashes I'm usually logged in via ssh & then when I do lsusb then I get nothing so I have to power down & restart the RPi then it will work for a while & then the lights stop again
    I took out force_turbo=1 from the config.txt but didnt make a difference


    where do I drop the resolution down from?

    hey Jeroen sorry to bother you again but I lost my screen capture - on the Web UI its grey now & picks up nothing
    I even lost it in my USB list below
    I have attached the Debug in case you can suggest something as Im so heartbroken again
    I can change all colors manually using my Hyperion iPhone app but no TV Capture


    pi@HyperBian:~ $ lsusb
    Bus 001 Device 008: ID 0424:7800 Standard Microsystems Corp.
    Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    I'm using the same config.txt that I previously uploaded here
    I have used your instruction


    max_usb_current=1
    for more CPU power alter lines there to this:
    arm_freq=900
    force_turbo=1


    Thanks for you help in advance

    Files

    • Debug.txt

      (8.71 kB, downloaded 67 times, last: )

    Hey Jeroen thx again for all your advice its working fine it may need some fine-tuning which I need to find out how


    here is a tip from me to you about switching them on/off - Im using the unit below to power an extension lead & have connected the RPi & LEDs & the video capture to it
    I can use the app or Alexa to turn it on & it works great remotely its called SONOFF



    https://uk.banggood.com/SONOFF…=myorder&cur_warehouse=CN


    Thanks again for all your help

    Hey Jeroen I managed to get the capture going by pluging it & out seems ok - all working fine now - the Hyperion crashed on me couple of times & would let me access the. Web UI even though I could ssh into RPi - thank so much for your support much apprciated
    1 more thing when I reboot the RPi I get the following
    % ssh pi@192.168.1.68
    ssh: connect to host 192.168.1.68 port 22: Connection refused
    & thats it not sure why this is happening so I have to unplug power which is not good for RPi

    Hey Jeroen
    Good news is I got my new SK9822 (Similar APA102C) LEDs & as soon as I plugged them in they started to work I could even control them with my iPhone Hyperian app I had so much relief
    However my capture as mentioned before is showing green even after I edited the config file with your suggestion so I added the lines below in but no change - I have attached my config file - any suggestions would be much appreciated I know I'm close but just need to get this bit working, please - Thanks!


    max_usb_current=1
    for more CPU power alter lines there to this:
    arm_freq=900
    force_turbo=1

    Files

    • config.txt

      (1.81 kB, downloaded 74 times, last: )

    sorry where can I find "Ledstrip device is enabled in WebUI? Green dot.."


    I measured the voltage across an LED in the middle of the strip & get 5.2V


    not sure where to Solder the pads new and try again.??
    do you mean cut the LED strip & solder it back - if I do this I wont be able to return it if its faulty...

    Please see your answeres below


    Are you sure the data direction arrows is correct on the ledstrip? It has to go AWAY from the PI gpio
    If I understand correctly - I have the RPi gpio pin going to the start of the LED strip direction of the arrow i.e. pin -->. Not pin <--


    Does login into WebUI environment give any warnings?
    no it doesnt works well
    I sometime get the following error which I have to unplug the RPi power supply & plug it back in but not often
    ssh: connect to host 192.168.1.68 port 22: Connection refused


    Are you logged in there as a expert?
    Yes Im logged in as expert


    Can you provide a debug log from there, it's at tab Logs 》 debug.


    Debug attached

    Files

    • Debug.txt

      (9.5 kB, downloaded 80 times, last: )

    Thank you so much for your response @jeroen warmerdam
    I did what you said changed the settings - (updated file attached)


    -Changed the RPi pins, now Pin 19 goes to Data (Green) - Pin 23 goes to CLK=Yellow
    -GRD still connected to Pin 34 from the power supply to the start of the LED in direction of --> arrow
    -I added another GRD pin to the other end of the LED & into the power supply -ve & connected it to Pin 30
    -Removed the capacitor


    Nothing happened - I have to admit I'm still using the jumperconnectors for GRD connections but if you think it MUST be soldered then I will have a go but Im not great at soldering especially so tiny areas


    I'm surprised on your recommendation for Hardware LED count = 1 - I always thought the total no. LEDs should go there but I changed as per your instructions anyway
    I havent tried the Video Capture yet but will do as soon as I manage to get the LEDs going 1st
    Any other idea's I can try out please?

    Hi all


    I have been trying to get my TV ambient lighting working for nearly 2 years now, I previously only just managed to get the WS2812B working with Arduino but it suddenly stopped so I gave up on it – then I was told APA102 is a better LED & can be controlled directly with the RPi so I bought it & connected it up but still have no luck – I only get 1 LED lit up & that’s it, I feel like jumping off the cliff so any help would be most appreciated.


    This is my set up


    • DC 5V 20A 100W Universal Regulated Switching Power Supply
    • 1x LED Strip 5m APA102 60LED/M LED
    • Digital video audio HDMI to AV CVBS Converter Support 4Kx2K L/R stereo NTSC PAL
    • Easycap USB 2.0 VHS VCR to Win PC DVD Video Audio Converter Grabber Capture Card
    • Raspberry Pi 3 Model B+ B Plus
    • HDMI switch


    - I have the latest version (2020-11-19-HyperBian-lite) image installed (I think Beta9 image) on RPi
    - I have connected the RPi pin 19 to LED’s Green data & pin 21 to LED’s Yellow data pin (in fact I swapped them around & no change)
    - I have also attached the Pi pin 34 (GRD) to the power supply cable’s -ve
    - I also have a capacitor across the power input to the LEDs in one end only
    - I have connected both ends of the LEDs to my power supply (1 has the capacitor the other doesn’t)


    https://pinout.xyz/


    I have checked the SPI & its enabled & working



    pi@HyperBian:~/spi_test/spidev-test $ ./spidev_test -v
    spi mode: 0x4
    bits per word: 8
    max speed: 500000 Hz (500 KHz)
    TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....?..................?.
    RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....?..................?.


    Well I need to get the LEDs working first as there is no sign of life but One other thing – my video capture doesn’t show anything either but it used to work – I get a green screen or Grey flicker – I changed from Auto to PAL & still nothing but its recognised as below:



    pi@HyperBian:~ $ lsusb


    Bus 001 Device 004: ID 1b71:3002 Fushicai USBTV007 Video Grabber [EasyCAP]
    Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
    Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    My Config File attached


    I appreciate any help you can give me to get this working I just cant think of anything else to try


    Thank you!