With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
File sent to your email. Let us know how it goes.
It should have one with .sh as well. For some reason i can't upload .sh files on here. Can you send me your email address and i will send you a copy of my file.
Hello,Starting by the arduino code, this will not really make the system any faster as it is designed to update the LCD only when it is not receiving active data from the Pi. The LED data received has priority over updating the LCD.If you want to get rid of it your can remove the lines as per the attached photo.Have you tried getting a screenshot of your system to see what the grabbed image looks like? I had a problem where sometimes my grabber would get images that are complete garbage with completely wrong colors. This could explain the problem. Slow reaction might be due to too many "frame too small" received by the grabber. As per JwJolly88 's picture below.Let us know.
This looks promising!!Communication between hyperion and arduino and LED is working for sure as per your tests with the color wheel.Now our only issue is the grabber. If you look at the log, it is looking for the hyperion-v4l2.sh but cannot find it in the path stated above. ( /storage/hyperion/bin/ ) Can you log into your Pi with WinSCP and go to the path above to see if the file is in there or not please.If you can't find the file, try an locate it in any other folders and move it to the correct location. If you can't find it, I will send you mine. Once the file is in the correct folder, run the test again and let us know the result.
Get the whole log when you connect to your Pi and the screenshot process
That is strange, have you connected to your Pi before trying to take a screenshot with HyperCon? Maybe you can post up the log file that appears when you connect with HyperCon to see what is happening
Yes it is normal it returns different values as this is a screenshot that doesnt use the actual hyperion config.Maybe you can try to connect to your Pi using the 5th tab on hyperCon and see how it performs.Powering the arduino via the usb is a definate no go. Power it via the +5V and GND header pins instead.Let me know how this works.
Thanks for the nice and positive comment.I like the setup!! Niiice! It looks good.It was my idea in the arduino code to have the LEDs power off after 5 sec of no image but I have seen that it doesn't work 100% all the time. Hyperion must still be sending stuffs even tho the LED "color" is black.
Hi and thank you for the nice comment.I can see in your json file that you didn't set the output to "/dev/ttyUSB0" but instead it is set to "/dev/ttyS0".Change this in your hyperCon program and then try and upload the new json config file and test again. MAke sure you power off the system and back on for hyperion to use the new json config file settings.
It did happen to me as well. In your hyperCon config, under the grabber tab, try and lower the resolution a bit from -1;-1 to something like 340;280 and try again.
OK, make sure you plug the wifi dongle on the side where you plugged in your arduino and not the grabber.On your json config, make sure if PAL is what you are after and not NTSC, not sure where you live.You can try as well in the json file to lower the resolution in the grabber section from -1 -1 to something like 128 and 64. Plenty enough when you come to think how many LEDs you have behind your tv. I have experimented with mine and it make a difference.I can't seem to be allowed to upload the autostart.sh file... Can you give me your email address and I will send it to you this way.Arduino program looks all good.Let me know how it turns out.
It all looks pretty good as far as i can tell. Didnt have any time yesterday so i will look into it today and get back to you asap on the config files.
Will post my autostart file tonight.I have never tried osmc so i cant help with that.So to make a point, what is your setup now? Arduino r3, Pi2 pr 3? What version of Openelec?Post up your actual json config file as well if possible to check it up now that you changed some hardware.
Thats unfortunate indeed!! Only thing that comes to my mind is maybe a problem with the wiring on the Pi, i personally power my Pi via the +5V and 0v pins of the GPIO headers. You can easily find on internet a pinout of the header which will show you where these pins are connected.I have long ago stopped counting how many things I have blown up hahaha
The Pi is powered basically by 2wires. (+5v and 0v). The 0v has to be the same 0v as for the arduino and the leds etc.On my setup i have 1 power supply to power everything. I use the +5v and 0v from it to power everything. I did cut the wall adapters of all converters and stripped the wires to get the +5v and 0v
When i mean ground i mean that all the 0v have to be linked together. I.e arduino is powered from 2wires (+5v and 0v), same goes for the Pi and the LEDs and all the converters. All the 0v have to be linked together.We will make a point to recap it all after.Pi2 with openelec 6.95.3 etc etc to see where we are at.
That is not an error, that is the startup of hyperion command line.Here is my config. In the one you copied above, the dev/ttyS0 is wrong.
Or maybe it is because you have not loaded your hyperion config file yet.
Yeah no problem, here it is.
So, in the meantime I have loaded a new sd card with openelec 6.95.3 and tried it on my RPi3.I have connected via HyperCon and installed Hyperion with the 5th tab. I have then uploaded my hyperion.json via the HyperCon program and pressed the start button.LEDs started straight up and it is all working.Let me know how it goes for you.
Just saw as well, watch out for your baudrate, in the arduino code it is set at 500'000 if you have not modified it, it appears in your config here that it is set at 115'200.Using arduino mega too is it correct? "/dev/ttyACM0" arduino uno is the "/dev/ttyUSB0" in case.
Have you changed the device under the grabber tab? Looks like it says /dev/ttyUSS0 instead of saying dev/video0
See my comment above.What RPi are you running already? I just realized/remembered that your Openelec version is different from mine as well.
I have checked your config file and it looks good. I can see the output settings etc so on this side it is all ok.On putty, when you write killall hyperiond and hit enter does it say "no process were killed"? Or does it just bring you back to the next command line?
Looks fine for the .config placement. Yes it is normal it adds leds if you tick the ones on the construction tab. If you tick all 4 then you have to substract 2 leds on the count for left and 2 for the count of right and you will end up with the same number of LEDs on your config.I can't see on the hardware tab what output settings you have. Also maybe you could post some pictures of your actual setup of your system. You can send them by private message if you prefer as well
First thing you can check is to look on your Arduino board if the Rx or Tx led (depend if genuine or chinese) is blinking quickly.To take a screenshot using putty, once you are logged in, write:killall hyperiond"press enter"then writeLD_LIBRARY_PATH=/storage/hyperion/bin /storage/hyperion/bin/hyperion-v4l2 --screenshot"press enter"when you log in using WinSCP you can check your screenshot in the hyperion folder.
the .config menu does not apper on WinSCP or even on your program. When uploading the json file I have to manually write the destination address as /storage/.config/
Can you check that you have some activity on the Rx or Tx led of your arduino. That will tell us at least if the Pi is outputting data to the arduino and we will know if the problem is arduino related or Pi related.Yes this is correct, your settings need to reflect your system and not mine.
Ok I can see 2 things.First is that the type of LEDs has to be set to Adalight and not WS281x.Second is where you have put the json file.It has to be inside /storage/.config/ not inside the hyperion menu.
OK, i had a bit of time and experimented with the new hyperion. If configured wrong then it will not work.Check at the pictures below, and tick the same menus. Then create a config file and upload it in your pi under /storage/.config/ No need to add anything to the config file.Let me know how it goes. P.S. the 5th tab, I havent looked into it yet but it works regardless.
OK I just had a look at the new hyperCon.jar, yes you need to enable the grabber V4L2. What it basically does is replace the lines I ask you to add in the config. If you look closely at the tabs under the grabber, they are exactly the same as the ones I ask you to paste in the json file.So to resume, you need to activate it in the HyperCon.jar and fill up the fields with the same values you would normally paste in the json file. It will then create the json file for you with all the infos in it already, no need to reopen the json file and paste anything in it.Be also carefull under the hardware tab to select the correct type, output and baudrate. The baudrate has to be identical as in the arduino code. If not it will not work.How many leds are in your system? I want firstly to double ch...see more »OK I just had a look at the new hyperCon.jar, yes you need to enable the grabber V4L2. What it basically does is replace the lines I ask you to add in the config. If you look closely at the tabs under the grabber, they are exactly the same as the ones I ask you to paste in the json file.So to resume, you need to activate it in the HyperCon.jar and fill up the fields with the same values you would normally paste in the json file. It will then create the json file for you with all the infos in it already, no need to reopen the json file and paste anything in it.Be also carefull under the hardware tab to select the correct type, output and baudrate. The baudrate has to be identical as in the arduino code. If not it will not work.How many leds are in your system? I want firstly to double check the checksum etc to have a starting point at troubleshooting.The rainbow pattern will always show as it is part of the arduino code when it starts up.
For your problem, can you please make sure there is not something else written above the exit status 1. It might be library related.Like on the attached image.The "" instead of <> doesn't matter.
Yes, if you read the comments in the code it says to remove 1 to your total LEDs. So if you have 120 LEDs behind your TV, you will have to use 119 to calculate the hex value and the checksum.
Hi,Couple of things to check, first is how many LED's have you got hooked up? Have you updated correctly the checksum number in the beginning of the arduino code?As long as your surround sound outputs the image and that it then get split between tv and raspberry it should be fine.
As long as your switcher and your splitter are good for 4k, i don't see why not.I hav not had time to test out too much with the RPi3 myself as yet.
Hi,Not sure about RPi3 supports. But yes this version does not run on the RPi3 as you saw.
Hi,No nothing should bug if you don't use the lcd. If anything happens let me know and i will lookup the code and upload a new one for no lcd.I saw another comment about the new hyperion but I can't download the version. Do you mind putting a link for it please?
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.