Giter Club home page Giter Club logo

Comments (9)

fabsenet avatar fabsenet commented on June 4, 2024

from adrilight.

McAroni avatar McAroni commented on June 4, 2024

No, this doesn't change anything.

from adrilight.

fabsenet avatar fabsenet commented on June 4, 2024

to be honest, this is an issue I have no idea how to go further. can you try to reproduce it with another pc or notebook?

you do not use the arduino software to actually change something?

from adrilight.

McAroni avatar McAroni commented on June 4, 2024
  • A small mistake in my previous description:
    I don't need to close Adrilight, it's enough if I hit "stop sending" until the serial monitor was opened.

  • Right now I am not able to reproduce the bug on another device but I should be able to do so in a few days with my notebook.

  • The Arduino Software is only used in this situation to open the serial monitor and close it again.

  • A more accurate description of the bug:
    After turning on my PCs power supply the Arduino instantly boots and shows the rainbow-wheel-animation.
    When windows is booted up, Adrilight will start via Autostart aswell.
    As soon Adrilight starts sending, the rainbow-wheel-animation will stop/freeze.
    When I disable sending (while Adrilight is sending), the idle-animation (slowly turning off LEDs) will start.
    I can pause this animation with "enable sending" but it will continue (not restart!) the idle-animation when disabling sending again.

  • A more accurate description of the possible workarounds I found so far:

    1. With sending disabled, opening the serial monitor will make the Arduino start the rainbow-wheel-animation again.
      At this point, after the serial monitor is closed again, Adrilight will be able to properly communicate with the Arduino.
    2. Unplugging the USB-Cable from the Arduino and putting it back in. After this, Adrilight will work fine.
    3. Rebooting windows (of course WITHOUT turning off the power plug). No idea why this actually helps but, as usual, it does.
  • Another minor bug I found while trying to fix this: Disabling "Autostart with Windows" doesn't work. It doesn't even show up in Taskmanager -> Autostart

from adrilight.

fabsenet avatar fabsenet commented on June 4, 2024

just to be crystal clear, so even after fiddling around with the serial monitor, you never actually see adrilight working?

all you ever see is the demo mode ("colors walking around") and the animation stopping and fading to black after stop sending?

if this is the case, then you have a mismatch of the number of LEDs. A classic error :-(

from adrilight.

McAroni avatar McAroni commented on June 4, 2024

Well, good that you asked this because obviously you misunderstood my words.

The three workarounds I described do work. Open up the serial monitor for a second is enough to allow adrilight to work. Or re-plugging Arduinos USB connection. Or rebooting windows (without turning off the power plug).

So, again, to be crystal clear aswell: I do see Adrilight working! And it works fine as soon as it is running. But to do so, I need to use one of these 3 described workarounds, which shouldn't be nessecary.

from adrilight.

fabsenet avatar fabsenet commented on June 4, 2024

#112 is also from you? You have weird connection problems and it seems you are working on your own customized version. so please rollback to the standard ino file and retest please.

another idea would be to start your pc. then you have the not working point and instead of the serial monitor dance, just press the reset button on the arduino. what happens then?

from adrilight.

McAroni avatar McAroni commented on June 4, 2024

#112 is from me, yes. But the communication issue doesn't have anything to do with my modification since it already appeared before this and my modifications shouldn't have any effect on the communication stuff. But anyways, the communication issue appears with the unmodified stock version, too.

I will test the reset button thing in a few hours and report the result.

from adrilight.

McAroni avatar McAroni commented on June 4, 2024

The result:
Pressing reset on the arduino will make the arduino show approximately 1 frame of the rainbow-wheel-animation and then freeze again. Pressing reset is not a workaround.

I think I didn't mention this before:
Just restarting Adrilight does not fix the problem either.

from adrilight.

Related Issues (20)

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.