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

Search:

Type: Posts; User: MichaelMeissner

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. You can use the pre-defined macro TEENSYDUINO,...

    You can use the pre-defined macro TEENSYDUINO, i.e.



    #if (TEENSYDUINO < 145)
    #error "You need at least Teensydunio 1.45 to build this module"
    #endif


    You can see what is defined by...
  2. I would say start out small. Get two displays....

    I would say start out small. Get two displays. You should be able to power them with the Teensy and start working on getting them to work. Then after they are working, you can tackle the issues...
  3. Note, I am a software guy, not a hardware guy. ...

    Note, I am a software guy, not a hardware guy. So if any h/w types pipe up, believe them and not me.

    In general, there are several ways to power your project, which needs roughly 1 amp of power....
  4. You could use the dig-ole displays: OLED...

    You could use the dig-ole displays:

    OLED 160x120 or 96x64: http://www.digole.com/index.php?categoryID=207
    LCD, various sizes: http://www.digole.com/index.php?categoryID=208
    Manual:...
  5. I just got mail that there is a new version of...

    I just got mail that there is a new version of the Gamedunio display, the 3x with 4.3" (480x272) and 7" (800x480) versions, using the BT815 chipset (the Gamedunion 3 used a FT810 EVE chip) that...
  6. Note, that most i2c device libraries only talk to...

    Note, that most i2c device libraries only talk to the first i2c device (Wire), which is on pins 19 (SCL) and 18 (SDA). If the library doesn't have support for alternate i2c buses, you will either...
  7. I'll let somebody else answer the hard questions....

    I'll let somebody else answer the hard questions. There are several solutions for accessing the underneath pins:


    ...
  8. One thing to think about is how the display is...

    One thing to think about is how the display is going to be used. How big do you need it to be, and will you need touch screen support?

    If it will be used outdoors where people wear polarized...
  9. Or an alternative solution is to solder a wire to...

    Or an alternative solution is to solder a wire to one of the pads underneath the Teensy 3.2.

    Another alternative solution is to move up to a Teensy 3.5 or 3.6 that gives you more pins brought out...
  10. If you are concerned about the height of the...

    If you are concerned about the height of the headers, you can solder a Teensy 3.2 with right angle headers and use jumper wires to connect the teensy (assuming you have a teensy without headers). ...
  11. Replies
    4
    Views
    210

    If you wanted to compare Teensy's at the Arduino...

    If you wanted to compare Teensy's at the Arduino pin level (rather than the internal level), I created the following google spreadsheet that tries to compare the Teensy 3.0, 3.1/3.2, 3.5, 3.6, and LC...
  12. Note of course if you have a packed structure,...

    Note of course if you have a packed structure, depending on the machine, the code to access the structure elements may be horrible.

    I've seen some machines that would do the equivalent of memcpy...
  13. Replies
    8
    Views
    210

    From an ISO C (and C++) standards point of view,...

    From an ISO C (and C++) standards point of view, your single line of code is indeterminate because you have side effects within the statement that can be done in multiple ways. The end of the...
  14. Well another way is to use cheaper microprocessor...

    Well another way is to use cheaper microprocessor (Teensy LC perhaps) to drive a smaller number of screens. You would write a protocol that just puts out the minimum information from the 3.6, and...
  15. Unfortunately, I haven't delved into the graphics...

    Unfortunately, I haven't delved into the graphics part. I tend to mostly just spit out text.
  16. I really depends on how much you want to dig into...

    I really depends on how much you want to dig into the code.

    Depending on the actual device speeds and how long your wires are, you might be able to bump up the I2C speed. The default speed is 100...
  17. FWIW, Adafruit has recently come out with a...

    FWIW, Adafruit has recently come out with a series of e-ink displays that have a flash memory controller along with the display. This means you don't have to dedicate a large chunk of SRAM to...
  18. Have you investigated whether the Teensy already...

    Have you investigated whether the Teensy already has what you want? Perhaps there isn't an Arduino method to do what you want, but you do have access to the raw machine.

    In terms of relays, you...
  19. Replies
    3,399
    Views
    366,620

    Sure that would be useful.

    Sure that would be useful.
  20. It really depends on what you want to do (and...

    It really depends on what you want to do (and what Teensy you have), and what your soldering skills are.

    I go back and forth of how to mount stuff on Teensys, so perhaps I am not the best person...
  21. I remember that board. The OSH links were...

    I remember that board. The OSH links were originally from a user 'CPT' on Osh park, but those links are now dead (shared_projects/Gnvbt7io on oshpark.com).

    Doing a little google searching shows...
  22. Many of us power our Teensies with lipo...

    Many of us power our Teensies with lipo batteries.

    If you want to incorporate battery charging with the lipo (connecting the VUSB pin to charge the battery) there are several options:

    ...
  23. Replies
    2
    Views
    171

    This thread posted in 2016 had an attachment that...

    This thread posted in 2016 had an attachment that is claimed to have Eagle layouts for various Teensys:

    https://forum.pjrc.com/threads/38096-Teensy-3-6-Eagle-Library?p=120392#post120392

    ...
  24. On Teensy boards (just like many Arduino boards),...

    On Teensy boards (just like many Arduino boards), the pins are overloaded. Pin 13 does have a LED on it, but it is also used for:


    If you are using SPI with the normal pins, it is the SCLK...
  25. Replies
    5
    Views
    283

    Well Adafruit has a basic tutorial: ...

    Well Adafruit has a basic tutorial:

    https://learn.adafruit.com/16-channel-pwm-servo-driver


    If you search the Adafruit learning site, there may be more advanced tutorials.

    In theory, you...
  26. Replies
    5
    Views
    283

    Also, you may want to figure out whether how you...

    Also, you may want to figure out whether how you would power all of those servos. I suspect it may be better to farm out the servos to separate boards that handles power (and power them with more...
  27. I haven't done that type of USB low level...

    I haven't done that type of USB low level programming, but two thoughts occur to me:

    1) If you can change the software on the host, you might switch to using USB HID:...
  28. Replies
    9
    Views
    353

    Well to see how it really works, you have to do a...

    Well to see how it really works, you have to do a deep dive into the library sources and also read the processor manual for the particular processor involved.

    In general, each pin has several...
  29. Replies
    9
    Views
    353

    Note there are places where there are overlaps. ...

    Note there are places where there are overlaps. For example, the built-in LED is on pin 13, and the default SPI SCLK pin is also on pin 13. In this case it doesn't matter, in that SCLK is an output...
  30. Replies
    4
    Views
    462

    Within the USA sources include: PJRC itself:...

    Within the USA sources include:

    PJRC itself: https://www.pjrc.com/store/. My main issue is I'm east coast based, and using the cheaper ground or USPS options means it is a week or so to get the...
  31. As Frank B says, the 3.6 is not tolerant of 5v at...

    As Frank B says, the 3.6 is not tolerant of 5v at all, and you are likely to fry the 3.6 if you use a 5v connection.

    To do it properly, you need a bi-directional i2c level converter that you plug...
  32. It depends on whether you count the Teensy LC as...

    It depends on whether you count the Teensy LC as a Teensy 3.x board (which generally it is, unlike the Teensy 2/2++ boards). Then you would use the following:



    #if defined(__arm__) &&...
  33. Replies
    7
    Views
    381

    Depending on the Teensy, you would might need a...

    Depending on the Teensy, you would might need a voltage divider to bring the voltage down to 0..3.3v. You wouldn't need an analog read, a normal digital read would do.
  34. Note knowing anything about the internals, I...

    Note knowing anything about the internals, I wonder if you could create an Adafruit_GFX 'display' that acts as a normal display and records the screen information for circle, draw line, etc. Each...
  35. Replies
    3
    Views
    134

    It is a convention of the C/C++ libraries that...

    It is a convention of the C/C++ libraries that strings have a null byte at the end. There are alternate versions of the libraries where you pass in the length, but for the default case, always make...
  36. Great! Any thoughts or plans to separate the...

    Great! Any thoughts or plans to separate the Teensy bits to separate files so we can avoid the issue in the future? Ideally the latest Adafruit version would be included in the release and some way...
  37. Or possibly just have a mechanical on/off switch...

    Or possibly just have a mechanical on/off switch (you would need to record into the EEPROM or the flash memory the current file being played to start where you left off).
  38. Replies
    3
    Views
    181

    I put together a google document that goes...

    I put together a google document that goes overboard in terms of compatibility:

    https://docs.google.com/spreadsheets/d/1LSi0c17iqtvpKuNSYksMG306_FpWdJcniSRR6aGNNYQ/edit?usp=sharing


    Note,...
  39. Replies
    3,399
    Views
    366,620

    From a user point of view and not from the view...

    From a user point of view and not from the view of somebody who has grok'ed the internal workings of the data sheet, I would prefer that we have separate Teensy libraries with the optimizations, and...
  40. I haven't used eagle, I just recalled that the...

    I haven't used eagle, I just recalled that the link was posted some time ago.
  41. You might want to look at the zip file mentioned...

    You might want to look at the zip file mentioned in this post. It has entries for both Teensy 3.0-3.2 and Teensy 3.5/3.6:

    ...
  42. Replies
    7
    Views
    312

    And in addition to what defragster says, even on...

    And in addition to what defragster says, even on the Teensy 3.2/3.5 which does support 5v tolerance on the digital pins, any voltage above 3.3v (or the analog reference voltage if you use that) will...
  43. The pins that do not have a digital pin value can...

    The pins that do not have a digital pin value can only be used for analog input or analog output (in the case of two pins). The following pins are analog only:

    Pin A10, analog input (inside row...
  44. Replies
    13
    Views
    453

    I don't know about the ARM compiler, but it is...

    I don't know about the ARM compiler, but it is certainly part of the compiler game. And it has been alleged that various compilers work better for building benchmarks than real code.

    Generally, I...
  45. Replies
    13
    Views
    453

    :D:D:D Quite a bit, and of course some places...

    :D:D:D

    Quite a bit, and of course some places that aren't optimized as well as could be.

    Note, GCC has been worked on by hundreds of people in the 32 years since it was first released in 1987,...
  46. I suspect optimizing 6 displays might be too much...

    I suspect optimizing 6 displays might be too much for the Teensy.

    First of all there is a special optimization for optimizing some displays on the Teensy. In order to use it, you have to use the...
  47. My language of choice is using perl for that, but...

    My language of choice is using perl for that, but then I've been programming that since 1995. For some things I might use Gnu Emacs macros and/or write Elisp macros, but that has an even higher...
  48. Adafruit sells a bunch of arcade button quick...

    Adafruit sells a bunch of arcade button quick connects that it seems would do what you want. I would suggest going with the buttons they sell and mention as being compatible:


    Quick connect...
  49. Replies
    5
    Views
    283

    Teensy 3.2 changed the voltage regulator compared...

    Teensy 3.2 changed the voltage regulator compared to the 3.1, and it moved the location of the reset pad underneath the PCB (and maybe D+/D- pads as well).
  50. Replies
    3,399
    Views
    366,620

    Yeah, I had just noticed that. I was hoping it...

    Yeah, I had just noticed that. I was hoping it might be a known bug. I must admit that I really like the ability in T3 to do Serial print's, not worrying whether the USB was connected or not.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4