Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: markb

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    196

    Solved! I had completely neglected to solder two...

    Solved! I had completely neglected to solder two of the pins on the double-sided header to the Teensy! (I feel pretty dumb, right now!) Those pins were VIN and AGND. So that pretty much explains...
  2. Replies
    9
    Views
    196

    Update: the W5500 does in fact light up when...

    Update: the W5500 does in fact light up when powered on a breadboard. I had a grounding problem before. (I had the W5500 connected to the Teensy's AGND pin rather than the GND pin. Doh!)
    ...
  3. Replies
    9
    Views
    196

    So I checked the voltage between the ground and...

    So I checked the voltage between the ground and 3.3V pins on the W5500, while it was connected to the Teensy and the Teensy was powered by USB. It was only about 2.3V, which seems like a problem. I...
  4. Replies
    9
    Views
    196

    This is a Teensy 3.2, with Teensyduino 1.47.

    This is a Teensy 3.2, with Teensyduino 1.47.
  5. Replies
    9
    Views
    196

    It’s this one:...

    It’s this one: https://www.pjrc.com/store/wiz820_sd_adaptor.html

    It did have a live Ethernet cable attached, yet none of the LEDs lit up at all. I’ll check the voltages when I have a chance.
  6. Replies
    9
    Views
    196

    W5500 ethernet not working

    I can't get this W5500 ethernet module working with Teensy. I'm hoping I just setup something wrong. Can anyone spot a problem? I've tried it with the WebServer example and the TimeNTP example, and...
  7. Replies
    673
    Views
    376,569

    It's a power supply that speaks PMBus. I bought...

    It's a power supply that speaks PMBus. I bought it used, and expected it to follow the datasheet, but the manufacturer tells me it was customized and probably had those commands disabled in firmware....
  8. Replies
    673
    Views
    376,569

    The begin statement is this: ...

    The begin statement is this:



    Wire.begin(I2C_MASTER, 0x01, I2C_PINS_18_19, I2C_PULLUP_EXT, 100000);


    I measured 5 us high and 5us low on SCL, when it's not delayed. That matches the clock...
  9. Replies
    673
    Views
    376,569

    Sorry if this has been covered elsewhere in this...

    Sorry if this has been covered elsewhere in this thread. (I did search for it!)

    I'm seeing delays on the I2C bus between each part of a command. I'll explain with an example. First, the code...
  10. Replies
    11
    Views
    2,124

    Ok, for the sake of testing, I installed the...

    Ok, for the sake of testing, I installed the desktop environment and a VNC server, and was able to run the Arduino IDE that way. (That required hundreds of packages... which is why I was reluctant!)...
  11. Replies
    11
    Views
    2,124

    Minicom doesn't seem to work any better. So far,...

    Minicom doesn't seem to work any better. So far, I've only able to get two lines of output before it stopped. Since then, I haven't been able to get any output at all, even after unplugging and...
  12. Replies
    11
    Views
    2,124

    I'm seeing a problem similar to this, though with...

    I'm seeing a problem similar to this, though with Teensy LC, not 3.1. I'm using a Raspberry Pi 3B+ with Raspbian 9.8. The Teensy LC has been pre-programmed on a different computer, as I have not...
  13. Replies
    4
    Views
    504

    I did take a look at the yield() source code, but...

    I did take a look at the yield() source code, but I didn't follow it all the down. There's a call to EventResponder::runFromYield(). Not really sure what that does, but it's probably nothing...
  14. Replies
    4
    Views
    504

    After some more investigation, I found that...

    After some more investigation, I found that changing "if (Serial.available()) {" to "while (Serial.available()) {" solved the problem! So this suggests that there is too much time between loop()...
  15. Replies
    4
    Views
    504

    USB serial data loss

    I'm using a Teensy 3.2 with Teensyduino 1.44.

    I have an application where I send data from a PC to the Teensy over the USB serial port, and I was noticing data corruption. I wrote this simple...
  16. Replies
    20
    Views
    4,602

    UCS1903 seems to have slightly different timing...

    UCS1903 seems to have slightly different timing from WS2811. I wonder if that could be causing problems for longer strips?
  17. Replies
    20
    Views
    4,602

    It looks like you might have DI2 attached to the...

    It looks like you might have DI2 attached to the positive side of your 24V power supply? That is probably way too much voltage for that pin. In the UCS1903 datasheet I attached above, it should...
  18. Replies
    20
    Views
    4,602

    Looking a little closer at the photo, I see the...

    Looking a little closer at the photo, I see the rightmost LED is different. It has 8 pins instead of 6. I'm betting that LED package has the controller built into it. I would try FastLED, set to...
  19. Replies
    20
    Views
    4,602

    Here's a UCS1903 datasheet that I found: ...

    Here's a UCS1903 datasheet that I found:

    http://www.bestlightingbuy.com/pdf/UCS1903%20datasheet.pdf

    According to that, there is an extra pin to select data speed. Connect to VDD for low speed,...
  20. Replies
    3
    Views
    1,214

    Ok, will do. Yeah, I get that. But can we...

    Ok, will do.



    Yeah, I get that. But can we still have an option for this? Sometimes, that extra 250us is more than I want to give up, and as long as I have compatible pixels, I shouldn't have...
  21. Replies
    3
    Views
    1,214

    OctoWS2811 performance issues

    I noticed some changes to the OctoWS2811 library that have had a negative impact on performance.

    The change with the most impact on performance was this one:
    ...
  22. It's probably possible to do without it, if you...

    It's probably possible to do without it, if you want rework the bootloader code, but it wouldn't be a Teensy, anymore. And it would be much easier to brick with the bootloader on the main processor.
  23. Replies
    4
    Views
    2,087

    I'm curious, how much do you think it would raise...

    I'm curious, how much do you think it would raise the cost?
  24. Replies
    4
    Views
    2,087

    A Teensy LC with twice as much RAM and flash...

    A Teensy LC with twice as much RAM and flash would be fantastic, if prices could be kept down. The price difference for these chips at Digikey is only 61 cents, in quantities of 500, so seems like it...
  25. Replies
    4
    Views
    1,590

    Yeah, I've used that for end caps, since it works...

    Yeah, I've used that for end caps, since it works great for attaching silicone to silicone. But I'm not sure it sticks well to anything else.

    Edit: Website says it "secures glass, metal, plastics,...
  26. Replies
    11
    Views
    2,719

    Perhaps an ifdef, or a maybe a whole separate...

    Perhaps an ifdef, or a maybe a whole separate example for LC? I think it's always good to have a working example, so users have something to try before they start writing their own code.
  27. Replies
    11
    Views
    2,719

    Awesome! Also, as Gibbedy pointed out above,...

    Awesome! Also, as Gibbedy pointed out above, BasicTest doesn't work on LC. (Gibbedy sent me a pull request, which I haven't gotten around to: https://github.com/baysinger/OctoWS2811/pull/1). Not sure...
  28. Thread: TeensyLC 5v Pin?

    by markb
    Replies
    7
    Views
    2,175

    I don't think there is anything 5V specific about...

    I don't think there is anything 5V specific about this part. It's just an LED and an NPN phototransistor together in one package.

    The way that Arduino circuit works is the the 5.6K resistor is a...
  29. Replies
    4
    Views
    1,590

    If they have a waterproof silicone sheath, very...

    If they have a waterproof silicone sheath, very little will stick to it. If not, you have lots of options. I use clips like these: https://www.adafruit.com/products/1644

    Those will work with or...
  30. Replies
    17
    Views
    7,578

    It sure looks like OctoWS2811 supports 3.5 and...

    It sure looks like OctoWS2811 supports 3.5 and 3.6, per the GitHub commits. (I'm taking ws2812s to be plural of ws2812, which speaks the same protocol as ws2812b and ws2811.)
  31. Replies
    17
    Views
    7,578

    The OctoWS2811 library always uses the whole...

    The OctoWS2811 library always uses the whole port. It exploits the fact that copying a byte to one register will update all of the port's outputs at once. You can probably modify the library fairly...
  32. Thanks for trying out my port. Glad you were able...

    Thanks for trying out my port. Glad you were able to get it working! I think Teensy LC should be able to handle a few hundred LEDs easily, as long as they are split up among multiple pins. (Using all...
  33. Replies
    6
    Views
    1,122

    No worries. I'm having fun trying to eek as much...

    No worries. I'm having fun trying to eek as much out of my Teensy LC as it will give!
  34. Replies
    6
    Views
    1,122

    Yeah, I'm a fan of simplicity! If you do want to...

    Yeah, I'm a fan of simplicity! If you do want to try to get OctoWS2811 working on a different port, I can try to help you out. It doesn't look like it should be that hard. But I do not have a Teensy...
  35. This looks like the error: c:/program files...

    This looks like the error:

    c:/program files (x86)/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 120 bytes


    I...
  36. I'm the one who made the port of OctoWS2811 that...

    I'm the one who made the port of OctoWS2811 that Paul linked to above. If you tried it, could you tell me where it went wrong? Thanks!
  37. Replies
    6
    Views
    1,122

    Since you only want to drive one LED strip,...

    Since you only want to drive one LED strip, FastLED might be a better solution for you than OctoWS2811, which is designed to drive eight.

    OctoWS2811 writes to port D, which is spread out among all...
  38. Replies
    11
    Views
    2,719

    I'd certainly be interested in any feedback...

    I'd certainly be interested in any feedback anyone has! Here's my GitHub repo, which might make for easier viewing of the code:

    https://github.com/baysinger/OctoWS2811

    Paul previously posted...
  39. Replies
    11
    Views
    2,719

    Teensy LC port of OctoWS2811

    Here's my attempt at porting OctoWS2811 to Teensy LC. It does seem work, based on my minimal testing. I've tested with a 6-pixel strip of WS2812B chips and a 22-pixel strand of WS2811 chips. In both...
Results 1 to 39 of 39