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.01 seconds.

  1. 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...
  2. @po ting, these look great.

    @po ting, these look great.
  3. @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...
  4. 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...
  5. 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...
  6. 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...
  7. Replies
    2
    Views
    103

    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...
  8. 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.
  9. 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...
  10. @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...
  11. 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...
  12. Replies
    54
    Views
    2,703

    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...
  13. Replies
    54
    Views
    2,703

    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...
  14. 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...
  15. Replies
    54
    Views
    2,703

    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?
  16. Replies
    54
    Views
    2,703

    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...
  17. Replies
    54
    Views
    2,703

    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...
  18. Replies
    54
    Views
    2,703

    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...
  19. Replies
    54
    Views
    2,703

    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...
  20. Replies
    54
    Views
    2,703

    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...
  21. Replies
    54
    Views
    2,703

    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...
  22. 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
  23. Replies
    54
    Views
    2,703

    @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...
  24. Replies
    54
    Views
    2,703

    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...
  25. Replies
    54
    Views
    2,703

    @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...
  26. Replies
    54
    Views
    2,703

    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...
  27. Replies
    54
    Views
    2,703

    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...
  28. Replies
    54
    Views
    2,703

    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....
  29. Replies
    54
    Views
    2,703

    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...
  30. 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...
  31. 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...
  32. 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...
  33. Replies
    15
    Views
    1,054

    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...
  34. Replies
    4
    Views
    286

    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
  35. 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.
  36. Replies
    7
    Views
    628

    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...
  37. @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.
  38. @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
  39. @dombo66, the below code should get you started ...

    @dombo66, the below code should get you started



    #include "FastLED.h"

    #define NUM_LEDS 60
    #define DATA_PIN 2
    #define CLOCK_PIN 3
    CRGB leds[NUM_LEDS];
  40. @dombo66 have a look at the image converter here,...

    @dombo66 have a look at the image converter here, put in your original image, and choose your output dimensions: http://www.orchardelica.com/poisonic/poi_page.html

    Then copy and paste the output...
  41. mini joystick = 2 axis, gives brightness as well...

    mini joystick = 2 axis, gives brightness as well as tint ;-)
  42. to do the downsampling as Theremingenieur...

    to do the downsampling as Theremingenieur suggests, you can use the image converter that was set up for the POV projects using Teensy. This will give the output array in the dimensions you want, but...
  43. Replies
    4
    Views
    406

    only 16 x 16 pixels! looks great

    only 16 x 16 pixels! looks great
  44. Replies
    54
    Views
    23,804

    hi, have a read of Po Ting work using APA102...

    hi, have a read of Po Ting work using APA102 reading from SD Card for POV. its at the end of the thread here: https://forum.pjrc.com/threads/53088-Venti-POV-v2-0-80HD
  45. [queued] Teensy midi Euclidean sequencer

    this is a four channel usb MIDI euclidean sequencer. the sequencer is running on a Teensy 3.5. The setup consist of four rgb rotary encoders from Sparkfun, a Teensy, an ssd1306 lcd, four momentary...
  46. Replies
    2
    Views
    313

    for scrolling text using octows2811 as the lib,...

    for scrolling text using octows2811 as the lib, you can find some example code for a 'stand alone' build option at the link below:
    It hasn't been used in a while and may cause some errors to be...
  47. Replies
    6
    Views
    515

    great you got working. With one more variable...

    great you got working. With one more variable calculation you could have it so that your input variable was the exact bpm that you want, int tim would then be calculated and give you your INTERVAL.
  48. Replies
    6
    Views
    515

    There a discussion on generating a BPM clock...

    There a discussion on generating a BPM clock signal for midi here: https://forum.pjrc.com/threads/50559-How-to-generate-USB-MIDI-clock-with-Teensy-2-0
    Might be a useful start
  49. yIngu' chu' teensy pa' ghu'vam? ...

    yIngu' chu' teensy pa' ghu'vam?

    http://tradukka.com/translate/en/tlh
  50. @Po Ting - fixing those 80 tiny LEDS into 20cm!...

    @Po Ting - fixing those 80 tiny LEDS into 20cm! amazing.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4