Search results

  1. S

    FTM Interrupt Service Routine Runs Once

    I could use the freqmeasure lib but I'm trying to learn how to write my own libraries. When the ISR fires it does run once in the program I wrote but it never fires again. Does an ISR need to have the interrupt enabled after every event? I tried writing a zero to the ftm1_C0V register and...
  2. S

    FTM Interrupt Service Routine Runs Once

    I am trying to write my own program ISR using the FlexTimer on a Teensy 3.1 but when I run the code I can only get the ISR to run one time and never again. I am connecting 3.3 volts to pin 3 to activate the interrupt which works like I said the first time only. This is driving me nuts because...
  3. S

    Advice for large-scale LED installation

    Looks great! I'd really like to hear about your project and all the problems you encountered and the ways you resolved them. I can finally post about our brand that I've been working on since it was confidential at during the last post, it is called Avastars. We are performing a 3D scan of...
  4. S

    LED Chase Sequence Question

    I'm using an OCTOWS2811 and have 182 LEDs per channel but I'm only using four of the channels. I've been trying to figure out how to make a group of LEDs chase around. The idea is to turn the first 10 LEDs on and the next 10 off etc., then advance the whole set up by one to create a chase...
  5. S

    Keyboard Emulator and OCTO how too.

    I'm trying to find a way to make a keyboard emulator out of a Teensy. I've read a lot of pages that show different ways but I'm unsure of which path to use. Is RAWHID the way to go? Here is what I want to do: 1. Plug the Teensy in and have it automatically be recognized as a keyboard. 2. Have...
  6. S

    ISR on Serial1 Receive help

    Yes, you can run it w/o hardware. Thank you again for all your help.
  7. S

    ISR on Serial1 Receive help

    I am using the 3.1 and only Serial1. I'm not sure if the dma_ch3_isr is for Serial3 or not but if so maybe I could just remove that part of the code.
  8. S

    ISR on Serial1 Receive help

    duff, I added the OctoWS2811 library and now I get an error when compiliing. The error is SerialEvent.cpp:207: multiple definition of `dma_ch3_isr' Since both libraries are using DMA is it possible to use them at the same time? #include <OctoWS2811.h> #include <SerialEvent.h>...
  9. S

    ISR on Serial1 Receive help

    It is working perfectly now, you are amazing and thank you so much for your time and effort on this library. As you were responding to my post I had reloaded the sketches to be sure they were back to original then I commented out the 'loopback' and they worked perfect. Have a good holiday!
  10. S

    ISR on Serial1 Receive help

    duff, thank you so much for this library. Here is what I have: Two Teensy 3.1's connected to each other by two RS485 boards using Serial1. I know this setup was working because I was using a standard send/receive method with poling and was able to communicate back and forth. I loaded your...
  11. S

    Multiple Teensy 3.1 + I2C + Octo2812B

    Tekket, Have a look at this post, it will give you some ideas on communication. http://forum.pjrc.com/threads/25703-One-Teensy-to-communicate-to-Ten-Teensy-s I tried I2C and it worked great up to 15' but I wanted the reliability so I ended up going with RS485, it is rock solid and the modules I...
  12. S

    ISR on Serial1 Receive help

    I tried the SerialEvent() and yes stevech you are correct, it didn't work with 3.1. I followed the directions on PJRC's site describing interrupts and get an error when I compile that says, "Expected contructor or type conversion". It was pointing at the "ISR" method. Here is the code I put...
  13. S

    ISR on Serial1 Receive help

    Thanks stevech but I must have not worded my request properly. I have the serial working perfect and would like to use an interrupt to catch the incoming data instead of polling for received data. Is there an example program that you know of that I can work with. I'm using the Teensy 3.1 and...
  14. S

    ISR on Serial1 Receive help

    I'm trying to find documentation on how to setup an ISR for receiving data on the Serial1 USART. The information on http://www.pjrc.com/teensy/interrupts.html#names left me hanging. I tried importing the header files listed and setup the ISR function but the compile stopped with an error...
  15. S

    Oscilloscope advice

    Thanks to everyone that has given me advice; once again this forum is the best. Finding a scope is difficult and having people that have experienced many different kinds is priceless. I'm very interested in the DS series, that one seems to be one of the most popular choices.
  16. S

    Oscilloscope advice

    I have an old 1960's ish Tektronix scope and want to get a new one. If anyone has used one of these they know how big and heavy they are. Any advice on a handheld type for field work would be great. Of course I don't want to spend a fortune but want a nice one. What I would like to have: 2...
  17. S

    One Teensy to communicate to Ten Teensy's

    I want to thank everyone for offering advice, you all are a tremendous help. After researching all the links that everyone has offered I have decided to go with the RS485 option since it is very robust and proven. I2C would work but I think when I go to pull all the wires and connect each...
  18. S

    Advice for large-scale LED installation

    Stefan, I am working on a project that has 11,000 LEDs and have had every known problem you can think of. To make matters worse I am installing all the controls and LEDs in a large kiosk that is practically all Plexiglass. With Plexi you get a LOT of static so communication has been an issue...
  19. S

    One Teensy to communicate to Ten Teensy's

    I wanted to update on the status and the testing. I am starting with I2C and so far it has been working good. The controllers communicate on a breadboard with no problem and a 4.7K pullup but when I connected a longer CAT6 wire (16') the 'master would hang. The 16' wire had a 4.7K pullup on...
  20. S

    One Teensy to communicate to Ten Teensy's

    Thank you all for your input. Just to elaborate a little more on the project, The communication will be a simple string such as "disco" that gets sent to the master and the master would send that to the appropriate LED controller. The bandwidth will not need to be much, even 9600 would...
  21. S

    One Teensy to communicate to Ten Teensy's

    Is it possible to have one (master) Teensy communicate to many Teensy's? I know that the Basic Stamp can emulate a serial port (software) on each pin, so you have 16 serial ports available. I would like to use a Teensy instead. Using the USB port on the master Teensy makes it perfect but I...
  22. S

    How to setup LED reference struct

    Well, I solved my own problem by just using an Array. I was thinking there would be a better way do do it precompile but the array works just fine. Here is an example if someone else wants to do it this way. int LED[] =...
  23. S

    How to setup LED reference struct

    I am wanting to map my LED layout in a linear fashion even though it isn't. I can use a 'struct' but was wondering if anyone has a better idea. I want to wire my LEDs in a zig-zag pattern so that in the future I can use the VideoDisplay sketch but for now I'm just sending color data to each...
  24. S

    How to ID multiple Teensy's on COMPORT

    Thanks Paul, and yes it is a PC... or maybe not. This project is still being developed so that is why I didn't specify what environment to use, basically it is open right now. I was debating on using a BeagleBone. Another thought was to use Visual Studio and create an app that communicates...
  25. S

    Update Teensy remotely without using the pushbutton

    Thank your stevech for your response. I am planning on remoting in to a PC so I can use the IDE but I was wondering how to get the Teensy into "HalfKay bootloader" mode. Since I can't push the onboard button, does the command line allow you to enter Halfkay?
  26. S

    Update Teensy remotely without using the pushbutton

    Is there a way to update the Teensy without pushing the onboard button? I want to be able to remote in to my PC and update the code. Thank you in advance, Steve
  27. S

    How to ID multiple Teensy's on COMPORT

    Is there a way to ID which Teensy is on what COMPORT? For example: If you have 3 Teensy's connected, how do I know which one is which? One Teensy controls lights, another controls blinds and maybe another controls sprinklers. I want to be sure I send the data to the correct one. If I were to...
  28. S

    movie2Serial first try problem

    This is the answer to this post. First the problem was with Processing, the version 2.1.1 has a problem with two files. I downloaded version 2.1.2 and used the two files I needed from there to overwrite my two files. This link will tell you all about it...
  29. S

    movie2Serial first try problem

    Thank you Paul. I did set it back to "0" and still got the exceptions but the error on line "int xsize = percentageInverse(ledImage[i].width, ledArea[i].width);" got resolved . Processing opens the window but halts after the exceptions stop. Do you think that the imports are not found...
  30. S

    movie2Serial first try problem

    Just an FYI. I tried running three file types: avi, mov and mp4. They all do the same thing. I can open each video on my PC with no problem. I read another thread that mentioned Processing being the problem but there was no resolution on that thread.
  31. S

    movie2Serial first try problem

    I'm trying to connect a Teensy 3.1 running "videoDisplay" and I'm having trouble with "Movie2Serial". I verified my Teensy is running by sending a "?" through serial-monitor and it returned the correct string of numbers. I am using a windows 8.1 machine and trying to load a testmovie.avi and...
  32. S

    Teensy and LED project

    Thank you Headroom. I hope I don't have to buy a new bunch of LEDs since they were a fortune but if the WS2811's are better then I have no choice. If the Teensy's work great then we will be buying a lot of them for production. The video just shows random colors and a simple chase at this time...
  33. S

    Teensy and LED project

    Hi, I am new to this forum and have some questions on what to use for my project. A bit of history: I am building phase 2 of a kiosk that has 11,000 LEDs in it. The current LEDs use the WS2801 chipset and are the tape strip kind. Version one is working with Netduino Plus 2's. There are 7...
Back
Top