Arduino/Teensy Communication Issue for routing Artnet to USB
  • chuckinmap
    junior Member
    Posts: 3
    Joined: Sun Nov 24, 2019 9:50 am

    Arduino/Teensy Communication Issue for routing Artnet to USB

    by chuckinmap » Sun Nov 24, 2019 10:05 am

    Hi there !

    I followed the different steps suggested in the led tutorial with teensy/arduino to drive leds from Madmapper through "Artnet Usb" and got stuck with an issue i cannot overcome.

    I 've tested the Arduino FastLED - Simple test sketch and everything is fine. The LEDs perfectly fade in and out but whenever I use the simple line sketch with the same settings (led number, led protocol, data pin), it does not drive anything. At start, i thought it could come from my Leonardo and bought a Teensy V4.0 but the same issue comes up.
    Madmapper is able to see the usb device and i can select it and set it as mentioned in the tutorial.
    However, whenever i create a fixture nothing happens. I currently word under the demo version (so it s supposed to have random cuts) but still not get any result when dmx data should be sent.

    Anyone got stuck with the setting that could help me out ? This is actually my first time using madmapper with this kind of led feature.

    Thanks a lot in advance,


    Gear :
    Macbook Pro 15" 2018 (usb A through usb c hub)
    macOS Mojave
    Madmapper Demo Version 3.7.4
    Teensy v4.0
    Led Strip WS2812B
  • mad-matt
    garageCube team
    Posts: 986
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by mad-matt » Mon Nov 25, 2019 10:28 am

    Can you send a screenshot of you ArtNet => LED routing table ?
    If you use the arduino patch we provide with the line "#define JUST_TEST_LEDS" uncommented
  • chuckinmap
    junior Member
    Posts: 3
    Joined: Sun Nov 24, 2019 9:50 am

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by chuckinmap » Sun Jan 12, 2020 3:08 pm

    hi Matt,

    Sorry for the delay, i could not put hands on my stuff.
    I made a few new tries on this led issues and i've noticed different things.

    - when I open Madmapper Led device panel, the baudrate is different from the one in the Arduino code (230400 instead of 921600). I tried to change on the Madmapper side and on the Arduino Side but still get no answer from the led strip. Could it cause any issue ?
    - I tested the Simple Line code with JUST_TEST_LEDS uncommented and it did not work until i introduced a slight delay at the end (delay(5)) to notice it actually fades in and out. I guess it might be because the Teensy 4 calculates too fast the loop so i cannot see it but i wanted to know wether it's a normal behaviour ?

    I join the screenshot you asked and hope we'll find the solution for this issue.
    Attachments
    Screenshot 2020-01-12 at 13.54.02.png
    Screenshot 2020-01-12 at 13.54.02.png (536.57 KiB) Viewed 501 times
  • chuckinmap
    junior Member
    Posts: 3
    Joined: Sun Nov 24, 2019 9:50 am

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by chuckinmap » Sun Jan 12, 2020 3:12 pm

    ps : i also noticed Madmapper kind of freezes when I modify some parameter in the Led device panel. I cannot quit the panel anymore.
  • nicholasperillo
    junior Member
    Posts: 1
    Joined: Wed Mar 11, 2020 1:57 pm

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by nicholasperillo » Wed Mar 11, 2020 2:12 pm

    Did you ever resolve this?

    I'm having the exact same issue now with a Teensy 4.0. I can get simple test to work, and I can get "JUST_TEST_LEDS" to flash both strips just fine. However when I go into madmapper it freezes once it tries to send any data to the teensy.

    I did get it to work periodically with one strip just fine but I have no idea how. I haven't been able to replicate it since.
  • Simonluca
    junior Member
    Posts: 8
    Joined: Thu Apr 09, 2020 6:02 pm

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by Simonluca » Thu Apr 09, 2020 6:14 pm

    I also have a similar but slightly different problem when connecting Teensy 4.0 and WS2812b to MadMapper.

    I get the 60 pixel strip to run the "JUST_TEST_LEDS" almost fine as all LED blink as expected apart from the first one which stays on.

    When I then go into MadMapper something really weird happens. There is a communication and the LED react to the inputs but they turn on when the fixture is on black and dim to the minimum (without actually going off) when is on white. Also they flicker heavily when they get inputs from MadMapper.

    Furthermore when there is no input to the fixture from MM the LED stay on instead of going off.

    Anyone with some wisdom to share?
  • mad-matt
    garageCube team
    Posts: 986
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by mad-matt » Tue Apr 14, 2020 9:18 pm

    Which FastLED library did you install ?

    I never tried with teensy 4.0, I saw last year they released a fix for teensy 4: https://www.reddit.com/r/FastLED/commen ... 0_support/
  • spectral_flux
    junior Member
    Posts: 4
    Joined: Thu Apr 23, 2020 9:28 pm

    Re: Arduino/Teensy Communication Issue for routing Artnet to USB

    by spectral_flux » Thu Apr 30, 2020 10:56 pm

    Hey,

    I was having the same problem, 1 line sketch works fine, but with 2, nothing.

    After some reading I think is a voltage problem. The 3.3v signal from teensy can't drive the 5v for two strips, 1 yes but 2 too much.
    Not sure.

    I bought that octoW2... thing adaptor that ups de signal to 5v to see if that would solve.

    But I ll only get it in a few weeks.

Who is online

Users browsing this forum: No registered users and 2 guests