Code Monkey home page Code Monkey logo

Comments (16)

123swk123 avatar 123swk123 commented on June 21, 2024 1

Append --verbose to your command line options

neoLEDViewer.py --led WS2811 --layout SnakeL2R --width 10 --height 10 --port com6 --verbose

Just make sure led panel width and height mention the command line and you led controller's configured width and height matches.

As per your video I think hardware is working at least, try to view the terminal output in hex mode.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024 1

As per your youtube log I see that python application is unable to find the EOS (0D 0A) sequence, this can happen only when clock recovery is having some trouble.

Without the verbose log and dump file it's very difficult for me to help you with troubleshooting.

Possible solution for now,

Set the led size to 2 or 4 through command line option, for rendering 2000 leds Qt QML takes huge CPU resource if LED size > 8, so this may lead to buffer loss.

--ledsize 2

Also you could tune the POT slowly until you see some activity on the python viewer.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

Use --verbose command line option which will show you how the internal buffer is filled and managed, that will give you rough idea where to focus troubleshooting.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

By the way can you post your command line options?

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

cd path neoLEDViewer.py --led WS2811 --layout SnakeL2R --width 10 --height 10 --port com6

https://www.youtube.com/watch?v=QBZyEKiyt6U

just check this video

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

neoLEDViewer.py --led WS2811 --layout SnakeL2R --width 10 --height 10 --port com6 --verbose

--verbose showing some data, but no success

check it here https://youtu.be/Y6RfQIV-6Gs

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

Could you copy paste the log? It's difficult to read the log over the video. Also upload the dump.bin which you can find it in the folder from where you executed the neoLEDViewer.py

Also did you tune the pot to match your led timing?

For ws2811 approximately you have to keep the pot @ middle position (10k)

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

In your led controller how many leds have you configured to drive? And what's your led panel size in number of rows and columns.

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

@123swk123 yes, i placed 50k variable pot & set to 10k with 33pf cap.

Dump file remains 0kb (while running or closed GUI of python)

I'll verify & update with same.

I'm driving 2000 led @ 40 width & 50 height With T1000 controller (ws2811)

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

Here is log file
dump.zip

& For verbose check video
https://youtu.be/w-OPn9B3ZMA

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

image

suspect (i think ) >>my controller's dataline
blue dataline = 600 led
yellow dataline = 2000 led

led works well on both dataline
yellow line is without any reset pulse in between each 3 byte (RGB) & blue dataline have small delay pulse

after one complete frame (600 led & 2000 led )each dataline have little bit longer reset pulse

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

Let me go through the dump zip, by the way did you try to tune the pot while led controller running?

from neoled-frame-grabber.

Kamal-Sonani avatar Kamal-Sonani commented on June 21, 2024

Yes,

I tried with tune.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

in the dump.bin does not have '0D 0A' sequence this means your hardware was not able to sense the reset led signal which is generated by LED controller. so the root cause of this problem is clock recovery mechanism.

using your DSO check the pin 9 and 8 of pic16f18325 for clock recovery, it should have approximately 50% to 60% duty cycle.

FYI: this hardware expects 5v LED signal and not 3.3v voltage level.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

image

suspect (i think ) >>my controller's dataline
blue dataline = 600 led
yellow dataline = 2000 led

led works well on both dataline
yellow line is without any reset pulse in between each 3 byte (RGB) & blue dataline have small delay pulse

after one complete frame (600 led & 2000 led )each dataline have little bit longer reset pulse

I just remembered due to python implementation it has limitation on FPS, currently at the max it supports 5 ~ 8fps for 2000LEDs and 20 ~ 25fps for about 600LEDs

for more higher speed we may have to do native implementation using C/C++.

from neoled-frame-grabber.

123swk123 avatar 123swk123 commented on June 21, 2024

capturing 2000 LEDs @ ledsize 5

&$env:pythonpath .\neoLEDViewer.py --led WS2811 --layout ZigZagL2R --width 100 --height 20 --port COM10 --ledsize 5

neoLED_Viewer_20x100_ZigZagL2R

from neoled-frame-grabber.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.