Sorry missed that.
done now
[MEDIA=pastebin]FV3TbPHd[/MEDIA]
exactly the same outcome no control no colors
[MEDIA=pastebin]G9MQqCb7[/MEDIA]
Sorry missed that.
done now
[MEDIA=pastebin]FV3TbPHd[/MEDIA]
exactly the same outcome no control no colors
[MEDIA=pastebin]G9MQqCb7[/MEDIA]
Alles anzeigenRaspbian Stretch Lite , You can get a copy HERE .Don't use Libreelec version of Hypercon to install Hyperion, use the generic version from the download in the forum tab bar.
I'm working off of this. That said, I see some errors:
in arduino sketch should be:Code// For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN #define DATA_PIN 10 // #define CLOCK_PIN 13
It possible a resistor may be needed on the data line. Sometimes it fine without. We'll see.
The Hyperion config has 251 leds defined? You have 174, correct? no matter we will fix that later.
Edit the sketch and re-upload to the arduino.
If wiring is done as above, and the arduino receives power from it's usb port and the leds have there own power The leds do a small power on test upon powering of the arduino,
Try to get it working to that point.
edited sketch
[MEDIA=pastebin]ETqS5Ykh[/MEDIA]
ssh log after install
[MEDIA=pastebin]Jnn0nJE5[/MEDIA]
STOP hypercon, take grabber screenhot Hyperion locks up
[MEDIA=pastebin]MdfrkAgw[/MEDIA]
app not connecting , color wheel not responding
i changed to pin 6 just to see if it would work.
am downloading that now & will report back
current arduino sketch
[MEDIA=pastebin]Ytfk1mAW[/MEDIA]
hypercon ssh log
[MEDIA=pastebin]HccuegEG[/MEDIA]
ssh log when i try to change color
[MEDIA=pastebin]tTYLKdYv[/MEDIA]
config file in dir ( \\LIBREELEC\Userdata\addon_data\service.hyperion )
[MEDIA=pastebin]K8QimDC0[/MEDIA]
I can still connect with the app but have no control over the color
Which lite image do you recommend ?
Hi again ..
i Got the new arduino ( which seems to program fine ) & a powered hub but it still dont seem to work
Im not really understanding this from step 2
https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/
Are you on FB or whatsapp, would make it easier to talk.
if you are still willing to help me ?
I think its a arduino clone. It seems to have all the bits. It has some positive reviews =)
Will it work? I can't say for sure.
Ordered
Thanks again for all your help
Alles anzeigenUnfortunately it looks like you have run in to a incompatible arduino clone. I'm guessing.
Fortunately arduino clone are not that expensive.
I recommend a arduino nano clone. Something like:
Or the real deal. It costs more but it's not a clone.
Although trying different pins might work to.
Was just starting to think the same myself actually. Just my luck to buy a POS board
What do you think of this one
Ive ordered a usb powered hub which should arrive monday so i will try that & see what happens.
Hmm.
I'm grasping straws now (using my google-fu) Does this help?
https://forum.arduino.cc/index.php?topic=540421.0
OK , i tried this option
(3) During my hit or miss attempts, I was successful, when I selected (Tools>Board>Arduino Dumilanove or Diecemila).
It seems to have loaded up fine , the leds have changed to all white now.
I have just edited the script just just to see if it changes to what i tell it too, i changed the
#define MAX_LEDS 176
to 50 & then 1, does that mean that either 50 or 1 should just light up as they dont all are still lit
I have the drivers installed fine for wavgat
i tried test pattens with that selection of board (Tools>Board>Arduino Dumilanove or Diecemila). & thats not working.
when i revert back to wavgat all works fine ( test pattens )
Hmm.
I noticed that I have version 3.1.6 of Fastled. I guess I have not updated in a wile. Try reverting to that version from within the library manager.
Sometime progress breaks thing =)
Tried to compile with a different board & it compiles fine, as soon as i switch to my wavgat board & compile it throws up the error ?
Alles anzeigenI expected a error at this point. There is more to do now =)
First what type of arduino board do you have?
You well need to change the board type in the IDE in the tool tab under "boards" pick from the list the board you have.
Next we need to edit the adalight.ino file to match your setup. Look thru the file. It has very good comments on whats going on in the file. Tip: Lines that start with // are comments.
Which leads me to the questions of:
How many leds are you using ?
What type?
What pins are you going to attach the led's to on the arduino ?
And fill the answers in the appropriate spots in the "adalight.ino" file.
sorry about this & thanks for your patience .
The arduino board is called a wavgat uno r3, its working fine as i have programmed an example file.
as far as i know i have edited the file correctly . i have included what i have done.
atm i have 174 leds
2812b
pin 10 on arduino
[MEDIA=pastebin]QTYkACX3[/MEDIA]
getting this error
[MEDIA=pastebin]0gD9SdzL[/MEDIA]
Alles anzeigenLets start with: https://hyperion-project.org/t…-ws2801-ws2812b-apa102.8/ .
A bit past "step 4" start at:
Follow that as best you can. Post questions as needed. Use the sketch I linked before.
Tip: FastLed can now be added within the arduino ide its self.
Do this within the IDE: goto sketch in the tool bar, then include library / manage library, type "Fastled" in the search bar and install the latest version.
Then try a test compile. Press the check symbol button.
This is a good start I think/hope.
How do i add the sketch that u posted before ?
no promises that what I say is correct, as again I'm self taught. I'll try however.
What page are you looking at for the tutorial?
I'm sure it wold be easier for me to help you if we where working from the same tutorial, wile I'll try to fill in any blanks or questions from that.
ç
too many pages to list . Lol
U tell me what page to look at & then we are on the same page
Alles anzeigenThe first step in understanding is messing around. =)
The file or Sketch as it more commonly refer to, is a set of programing instructions for the arduino. That sketch can be uploaded via the arduino IDE. A programing tool for the arduino. (https://www.arduino.cc/en/main/software) theirs some good beginner info on the download page that should be read for clarity.
The arduino community is large and helpful. I'll try my best to help. However, I'm a self taught on the arduino IDE and still consider myself a novice (I would think)
All the guides on how to to a ambient light setup did work flawlessly for a wile. Then the march of progress breaks thing and the people that wrote the guides have most likely moved on to more exciting projects.
Good thing it's a fun project and has a good forum to lean on. =)
What files to i need to add to the ardruino & could you tell me how to add them please ?
Ive looked at & read load of pages/forums etc but all seem to be different & i dont know which 1s to use
i got the app to connect now but it wont let me change color or nothing , i presume this is related to a problem with the arduino sketch ?
The setup i will be using is taking a feed from my av amp 2nd output so it will be hdmi.
the leds do blink upon power up by nothing else after .
The android app does not connect.
I took all the setup directions from a outdated guide from youtube which there was a pi image which did not work with my pi, so i have been messing around with it not really knowing what im doing .
I dont know how to load what u sent me to the arduino
I'm not sure of the sketch you are using on the arduino. However I have found that this sketch works best: https://github.com/hyperion-pr…firmware/arduino/adalight .
I never worked with rpi before was just hoping it would be a nice easy setup, But obviously not.
Wile using Hypercon to get a screen shot, you need to stop the Hyperion service first with the "stop" button on the SSH tab.
Log in to your libreelec with Hypercon, go to the ssh tab. Hit the connect button, Then the stop button, Then try a screen shot.
If you still get the same error try using a powered usb hub with the grabber. It may not be receiving enough power from the Rpi.
Have tried that , exactly the same error.
On first attempt all looks fine but then when i try to take grabber screenshot it locks up on first attempt & when i restart im back to the previous error .
this is the log before i try a screen grab
[MEDIA=pastebin]WwDKCfSD[/MEDIA]
have not got a hub but ive unplugged everything else & ive got a 20a power supply
hyperion-v4l2:
ssh in: version : 1d125d8df863ad176002f591d72dbba79ce9be63
ssh in: build time: Dec 22 2018 03:39:23
ssh in: V4L2GRABBER INFO: width=720 height=576
ssh in: V4L2GRABBER INFO: pixel format=YUYV
ssh out: VIDIOC_REQBUFS ERROR 16, Device or resource busy
sftp getFile(./screenshot.png, java.awt.Image)
get this error everytime
Alles anzeigenCan you log in to Libreelec from a ssh shell and enter "lsusb" on the command line? Whats the output?
You should see something like:
CodeBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 002: ID 0658:0200 Sigma Designs, Inc. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Along with the info for the grabber type you have.
example: ID 1b71:3002 Fushicai USBTV007 Video Grabber [EasyCAP]
This is on a system I have.