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

Search:

Type: Posts; User: mortonkopf

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. explore non-blocking ws2811/12 library if using...

    explore non-blocking ws2811/12 library if using less than 600 leds? https://github.com/PaulStoffregen/WS2812Serial
  2. Replies
    30
    Views
    720

    for setting the function of the chip, see page 21...

    for setting the function of the chip, see page 21 of the data sheet : IOCON: I/O EXPANDER CONFIGURATION REGISTER
    this sets out why you have the bit settings as described above.
  3. Replies
    30
    Views
    720

    hi, datasheet:...

    hi, datasheet: http://ww1.microchip.com/downloads/en/devicedoc/20001952c.pdf



    if you have a read of the GitHub repository for the library https://github.com/sumotoy/gpio_expander
    , read the...
  4. Replies
    30
    Views
    720

    good to know that you know which mcp chip is...

    good to know that you know which mcp chip is which re addresses. hopefully you can see which teensy pins are being used for the spi bus, this is going to be crucial in getting the mcp working. on the...
  5. Replies
    30
    Views
    720

    I think that you will save yourself a lot of time...

    I think that you will save yourself a lot of time by seeing if the manufacturer will reprogramme the Teensy. Anyhow, can you see from the traces which pins are being used for SPI? it may be there is...
  6. Replies
    30
    Views
    720

    It looks like this is going to be a long haul....

    It looks like this is going to be a long haul. your best best is to get used to the serial monitor built in with the Arduino IDE, it makes life very simple when Debugging, as you can insert simple...
  7. Replies
    30
    Views
    720

    here is an schematic of the mcp23s17 using inputs...

    here is an schematic of the mcp23s17 using inputs and outputs set and read by the bit read functions
    16945

    you might some reaction from the chips using this code if you know which chip is address...
  8. Replies
    30
    Views
    720

    hi there @Gr8guitar. Happy to try and help out, I...

    hi there @Gr8guitar. Happy to try and help out, I am not sure of how familiar you are with the language and the programming environment, the support for these chips is not the easiest to get your...
  9. Replies
    30
    Views
    720

    The best course of action is to return for...

    The best course of action is to return for reprogramming
  10. Replies
    30
    Views
    720

    these chips have the option to use interrupts, so...

    these chips have the option to use interrupts, so there may have been a set up in code to wait, or it may have been set up to poll. I use Sumotoys library and use polling with the Teensy 3.5, as this...
  11. Replies
    8
    Views
    225

    for multiple strips, follow crees direction and...

    for multiple strips, follow crees direction and instantiate fastled for each pin you want: https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples


    void setup() {
    ...
  12. Also, MCP23S17 port expanders. These are SPI...

    Also, MCP23S17 port expanders. These are SPI based, and work on a single chain, with each of the MCP chips having a separate hardware address. The chain length is limited to 8 chips. there are so...
  13. well, this is my barebones code: /* *This...

    well, this is my barebones code:


    /*
    *This sketch outputs images to persistence of vision led strips
    *It uses FastLed to drive APA102 leds, sending colour values from
    *arrays held in flash...
  14. @po ting, these look great.

    @po ting, these look great.
  15. @abrownnm - sorry, but I haven't used that...

    @abrownnm - sorry, but I haven't used that abstraction of the poi code so can't help with that. However, have you run your setup with just using the firstlight Fastled example in the examples...
  16. oh, nope, its all cool as is its all for sharing,...

    oh, nope, its all cool as is its all for sharing, but thanks for the offer. It s been a collaborative effort by a lot people on this thread / forum...
  17. regarding voltage for lef strips, there have been...

    regarding voltage for lef strips, there have been a lot of different experiences from users here on the forum. I successfully run the 5v led strips from a single. IT seems to be the difference in...
  18. Hi, enjoy build the POV. you don't need to use...

    Hi, enjoy build the POV. you don't need to use the charging circuit, you can use a battery sled. I used one on an earlier version when testing, it was 4 AAA rechargeable (but recharging using a stand...
  19. Replies
    2
    Views
    298

    Hi there. For standard Octows2811 setup, you can...

    Hi there. For standard Octows2811 setup, you can use the following to generate scolling text:



    #include "OctoWS2811.h"

    //fixed values for octoWS2811
    const int ledsPerStrip = 60;
    DMAMEM...
  20. great that it's all going now, no need for...

    great that it's all going now, no need for anything other than the thanks you have already said.
  21. check the spelling of the BMP file in the code....

    check the spelling of the BMP file in the code. At the moment you have a comma, not a point. That may or may not be the issue, but the code should work if you have the right file name, and the file...
  22. @johnwatterson, sorry, missed this, perhaps keep...

    @johnwatterson, sorry, missed this, perhaps keep all questions to the same bitmap thread. Anyhow, you need to put in a timer function of some sort. the easiest way is to count milliseconds. We mark...
  23. I buy regularly from chinese stores on Alibaba....

    I buy regularly from chinese stores on Alibaba. the led strips have been fine, but occasionally I have had to pay duty / tax.
    I see that the apa102 2020 strips are just starting to be produced. It...
  24. Replies
    54
    Views
    3,041

    static text display using the Teensy OctoWS2811...

    static text display using the Teensy OctoWS2811 library
    @JohnWatterson, below is an example of displaying static text using the OctoWS2811 library for Teensy. It should get you going. Just change...
  25. Replies
    54
    Views
    3,041

    hopefully you managed to get the colours in the...

    hopefully you managed to get the colours in the right order now. Regarding the text element, there is code around for displaying text on led arrays. This uses an array to hold char values. are you...
  26. The Glediator example code is running a...

    The Glediator example code is running a 1-byte-at-a-time read. It might be speed things up to change that initial "get it working" sketch to use a buffer? This section, where serialGlediator() is a...
  27. Replies
    54
    Views
    3,041

    great progress! what approach did you go with,...

    great progress! what approach did you go with, the maths zigzag routine I posted above? or the array approach?
  28. Replies
    54
    Views
    3,041

    well, you will now need to remap the pixel data...

    well, you will now need to remap the pixel data to account for the zigzag. This is most usually done in one of two ways.
    1) use a reference array. this is when you set out you led numbers in their...
  29. Replies
    54
    Views
    3,041

    the easiest way is to leave all the pixel data...

    the easiest way is to leave all the pixel data alone in the array buffers, and then as you call the data for setting the leds in the for loop, do some redistribution using a reference array. if you...
  30. Replies
    54
    Views
    3,041

    ok, thats very useful. The other thing to know is...

    ok, thats very useful. The other thing to know is how are you currently redistributing the colour values in the buffer arrays to account for your zigzag pattern of led strips? Also, what is the...
  31. Replies
    54
    Views
    3,041

    I would use a BMP image that has four distinct...

    I would use a BMP image that has four distinct colours, one in each corner, such as blue, red, green, yellow. So you have four rectangles of colour. This way you can also see if you zigzag maths to...
  32. Replies
    54
    Views
    3,041

    the colours are probably off due to my reusing...

    the colours are probably off due to my reusing the colour helper function from a previous project where the R G and B were in a different order. Try a couple of changes.

    1. change the line...
  33. Replies
    54
    Views
    3,041

    Hi, yes you should just replace the filename in...

    Hi, yes you should just replace the filename in bpmDraw("test.bmp"). I did this with three files to test it and did not receive an error. What is the verbose output for the Teensy error? it may be my...
  34. chainable SPI port expanders will give you a lot...

    chainable SPI port expanders will give you a lot of pins. With the MCP23s17 expander You can chain eight to one SPI of the Teensy. works just fine for my MIDI projects
  35. Replies
    54
    Views
    3,041

    @johnwatterson. I haven't been able to run this...

    @johnwatterson. I haven't been able to run this through an array hooked up to the Octows2811 adaptor but it should be a step in the right direction. It put the entire BMP pixel info into three...
  36. Replies
    54
    Views
    3,041

    hi, hopefully I will get a chance to look at this...

    hi, hopefully I will get a chance to look at this tomorrow, but looks like its going to be regarding BUFFPIXEL, or buffer size, as this sketch was only for sending out the bmp colour data to one row...
  37. Replies
    54
    Views
    3,041

    @johnwatterson - stick with it. what you learn on...

    @johnwatterson - stick with it. what you learn on this project you will be able to use on another and get up and running very quickly on the next project. So, to recap, can you post the sketch you...
  38. Replies
    54
    Views
    3,041

    Hi. the pins for the SD card are taken care of...

    Hi. the pins for the SD card are taken care of for you when you define "const int chipSelect = BUILTIN_SDCARD;" the Teensy will library will deal with this if using the onboard sd card slot. Hope...
  39. Replies
    54
    Views
    3,041

    but why not just use OctoWS2811 library for eight...

    but why not just use OctoWS2811 library for eight output strips?

    So, I guess from here it is run a test sketch to ensure that the SD card bitmap is read, run a test sketch to ensure that all...
  40. Replies
    54
    Views
    3,041

    there are a couple of things to consider such as...

    there are a couple of things to consider such as power supply, supply location for longer strips, delay in refresh rate for longer strips, potential delay in SD card read, etc, but yes, should work....
  41. Replies
    54
    Views
    3,041

    only works on pin 2 as that is what is declared...

    only works on pin 2 as that is what is declared in the sketch. the call to the leds is using the Fastled library, and that has been initialised to use pin2 in your setup.
    #define DATA_PIN 2 //the...
  42. hi there. You will find plenty of support on this...

    hi there. You will find plenty of support on this forum to help you through. Unfortunately I am fully committed with paid work right now, so won't be able to take you up on that offer, but glad to...
  43. hi there. if you go to the examples drop down...

    hi there. if you go to the examples drop down menu and then go to the teensy examples and choose SD, in there select cardinfo sketch. When you look inside that sketch you will see that there is a...
  44. you could save the image as a bitmap image of the...

    you could save the image as a bitmap image of the right dimensions to the sd card and read the bitmap out to the leds from there, no need to convert the image to a hex file. A code example for...
  45. Replies
    15
    Views
    1,487

    looking good. re neopixel sketches, you can swap...

    looking good. re neopixel sketches, you can swap the neopixel calls into sketched for fastled lib. The maths in the loops can be used. Depends on what type of lightshow effect you would like. you...
  46. Replies
    4
    Views
    336

    the way you have your array characters set, this...

    the way you have your array characters set, this would be String rather than char? try setting the array as "String keys[ROWS][COLS] = {" ? just a guess
  47. there is some discussion on how many images users...

    there is some discussion on how many images users have been able to store. go to message #62 and #63 in this thread.
  48. Replies
    7
    Views
    837

    for the bluetooth module try to use RXTX on pins...

    for the bluetooth module try to use RXTX on pins 0 and 1, and in your setup add Serial1:
    Serial1.begin(9600); //rx1 and tx1 = pins 0 and 1 on Teensy 3
    a test for receiving and printing it to serial...
  49. @banya1987. I don't have any files for...

    @banya1987. I don't have any files for InvisiBug's project. Perhaps try a GitHub search or contacting the user via PM.
  50. @banya1987 this is the link to the website for...

    @banya1987 this is the link to the website for that build:
    http://kavanet.co.uk/Pages/Projects/Arduino%20Projects/Orbit/Orbit.html
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4