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

Search:

Type: Posts; User: MorganS

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    325
    Views
    8,603

    It comes down to details like the frequency that...

    It comes down to details like the frequency that the display requires. The RA8875/6 is almost infinitely programmable to work with a wide range of displays and the only way of detecting if the...
  2. Replies
    325
    Views
    8,603

    For me the gold standard is Sumotoy's RA8875...

    For me the gold standard is Sumotoy's RA8875 library. A fork of that is included in the standard Teensy distribution so you should probably already have it.

    Look at how the .begin() method takes a...
  3. I've run many Teensie's down to -76C outside...

    I've run many Teensie's down to -76C outside temperature. For avionics your're always going to switch on on the ground and keep them on for the whole flight so the actual internal temperature of the...
  4. I'm moving away from using the BAT54S diodes. The...

    I'm moving away from using the BAT54S diodes. The microcontroller chips all have diodes inside them that are intended to damp voltages higher or lower than the supply rails. The specifications on...
  5. If the screen is black, check you're driving the...

    If the screen is black, check you're driving the backlight correctly.
  6. Replies
    20
    Views
    3,363

    No. Don't connect 3.3V to the center taps. Just...

    No. Don't connect 3.3V to the center taps. Just the capacitor(s)
  7. Replies
    325
    Views
    8,603

    You can't just put headers on. The Raio chip...

    You can't just put headers on. The Raio chip controls those wires. You can't have another master driving the lines. The Raio chip is equally badly-behaved on the regular SPI bus.

    Yes, there's a...
  8. Replies
    325
    Views
    8,603

    The chip may support 400MHz but the RA8875 only...

    The chip may support 400MHz but the RA8875 only has a limited system clock speed.

    Since there doesn't seem to be a write command in the RA8875 register list then perhaps the flash ROM is...
  9. Replies
    325
    Views
    8,603

    You need to think of working with that memory as...

    You need to think of working with that memory as you talking to the RA8875 and telling it what to write. "Write an 'A'" "Did you write it yet?" "OK, write a 'B'"...

    So loading into the flash...
  10. Replies
    325
    Views
    8,603

    Yes, the RA8875 cannot handle as much SPI speed...

    Yes, the RA8875 cannot handle as much SPI speed as the -6.

    Work out the speed yourself. What is 800x480x3x8? That's the minimum number of bits you need to send - just the data. Then divide by...
  11. Replies
    3
    Views
    170

    A 7-segment display will probably be happy on...

    A 7-segment display will probably be happy on 4.4V. It will change brightness, which may be noticeable unless you're using a constant-current driver. Beware of LCD displays with backlights - the...
  12. 1) It points to a value which is volatile. The...

    1) It points to a value which is volatile. The location of the value isn't volatile.
  13. Replies
    3
    Views
    170

    So you want either USB cable to power the pair...

    So you want either USB cable to power the pair but if there are two USB cables plugged in (maybe from different computers on different power supplies) then you don't want power sharing? Is that...
  14. I was just looking at the Sparkfun magjack...

    I was just looking at the Sparkfun magjack schematic yesterday. It appears to include the required capacitor inside the magjack. So no external components are required.
  15. Replies
    325
    Views
    8,603

    What were you expecting this code to do? I'm...

    What were you expecting this code to do?


    I'm coming from the RA8875 end of things. I believe you mostly work with other displays? The RA8875 doesn't rotate what's already on the screen. It just...
  16. Replies
    325
    Views
    8,603

    The other thing to be aware of with rotation is...

    The other thing to be aware of with rotation is how the BTE memory transfer functions work. The low-level functions have two parameters for width...

    Say you are copying a small rectangle from one...
  17. Replies
    325
    Views
    8,603

    The original code expects to send screen...

    The original code expects to send screen coordinates for top-left and bottom-right corners to drawSquare().

    If drawSquare() is expecting top-left and width&height then the maths is wrong. You...
  18. Replies
    6
    Views
    184

    You must be doing something wrong. Can you show...

    You must be doing something wrong. Can you show your code?

    Interrupts should only be disabled for a few lines of your main loop. Just long enough to grab copies of the volatile variables,...
  19. If the sensor power consumption is small enough,...

    If the sensor power consumption is small enough, like under 5mA, then set those pins as outputs and drive them high and low as appropriate. Not all Teensy pins have the same power limitation, so it's...
  20. Replies
    3
    Views
    169

    Which purple test board?

    Which purple test board?
  21. It's been a year since I last looked at it, but I...

    It's been a year since I last looked at it, but I seem to remember the SD library calls the time function as a "Callback". That means any time it creates/updates/closes/syncs a file, it calls the...
  22. Replies
    325
    Views
    8,603

    Well, it wasn't as simple as I thought to plug in...

    Well, it wasn't as simple as I thought to plug in the LittlevGL library. And it doesn't do screen rotations. (Although it might be possible in the driver code you have to write.)

    This is a simple...
  23. The USB test pads can be routed to a header. The...

    The USB test pads can be routed to a header. The Teensy 4.0 doesn't have those pads but it should work on the others. The T4.1 has components on the bottom so it won't sit flat on a board for...
  24. Replies
    325
    Views
    8,603

    Rectangles and other graphic objects are easy....

    Rectangles and other graphic objects are easy. The RA8875 library shows how to do that.

    You do need to be careful with the variables for physical widthXheight and currently-rotated widthXheight...
  25. Replies
    325
    Views
    8,603

    Rotation is one of the issues I looked at. It...

    Rotation is one of the issues I looked at. It seems the way I want to mount these screens is always upside-down from their default rotation.

    Unfortunately it seems like the RA8876 wasn't designed...
  26. Replies
    7
    Views
    358

    I don't see the problem then... You can have...

    I don't see the problem then...

    You can have several USB interfaces on both USB ports. HID+Serial+Keyboard+Joystick+Mouse... whatever you want.

    On the host side of the Teensy, if you're...
  27. Replies
    325
    Views
    8,603

    Kurt, which one did you want? I have almost all...

    Kurt, which one did you want? I have almost all the different ones and I don't need them all right now. I can send one to you for free if there is some expectation to get it back. Are you located in...
  28. "Human readable"? How does a human read a Teensy?...

    "Human readable"? How does a human read a Teensy? Well, the Teensy formats the data and pumps it out as Serial or whatever, to a terminal that the human can read. So store compressed or optimised...
  29. Replies
    28
    Views
    1,395

    I had not seen that one yet. Thankyou. I'm wrong...

    I had not seen that one yet. Thankyou. I'm wrong by 0.005" on the USB header.

    @Phil, yes that looks like a smart way to do it. But the footprint doesn't change. I've got routings that won't work...
  30. Replies
    7
    Views
    358

    The thing about USB is you can have many...

    The thing about USB is you can have many interfaces running down the same cable. Look at the "USB Type" menu in the Arduino IDE when you have a Teensy selected. You can have Serial + Mouse + Joystick...
  31. Replies
    28
    Views
    1,395

    This is what I see... 20119 But I'm on an old...

    This is what I see...
    20119

    But I'm on an old version of Eagle (7.5.0) so maybe that makes a difference in the text size.

    Looking at mine again, I also added "USB Host" next to the USB pins.
    ...
  32. Replies
    28
    Views
    1,395

    You have the Ethernet pins starting at a Y...

    You have the Ethernet pins starting at a Y coordinate of 0.0983" away from the side pins. I think that should probably be 0.1". (Or 0.15" from the closest edge.)

    Your symbol is very crowded. I...
  33. Replies
    325
    Views
    8,603

    I've managed to make image-loading even faster...

    I've managed to make image-loading even faster now. (Pull request coming soon.)

    My basic problem was that SPI.transfer(data, length) locked up hard and required the program button to be pressed to...
  34. Replies
    26
    Views
    5,424

    If you take 10" as "large" then there's not much...

    If you take 10" as "large" then there's not much better than an iPad or Surface. Those are also much higher resolution than you can practically drive with a Teensy. I have a bunch of 10" displays...
  35. Replies
    325
    Views
    8,603

    Thanks for that sketch! I don't have a mouse...

    Thanks for that sketch! I don't have a mouse hooked up but I do have a touchscreen, so I've been experimenting with making an animated graphics cursor in my touchscreen example. The RA8876 lets you...
  36. Replies
    20
    Views
    3,363

    Then you get one of these......

    Then you get one of these... https://www.mouser.com/ProductDetail/Bel-Magnetic-Solutions/0820-1X1T-00-F?qs=sGAEpiMZZMvQhAhQbXdbBhrEwE4Ds1jHaYqXdbGAlwg%3D

    ...which is a combined USB and Ethernet...
  37. Replies
    325
    Views
    8,603

    I've just finished a lot of work on the BTE...

    I've just finished a lot of work on the BTE functions. I got it loading images more than twice as fast. I've opened a pull request on GitHub.

    It turns out the fundamental difference between the...
  38. Replies
    325
    Views
    8,603

    Yes, that's certainly one method to reduce...

    Yes, that's certainly one method to reduce flickering. I use the RA8875 with its two "layers". The RA8876 has a lot of "pages" so I think you should be using 2 pages to do that kind of thing. Paint...
  39. Replies
    325
    Views
    8,603

    ROP Cheat Sheet

    I'm trying out some of the image-loading options. The "Raster Operation" ROP codes were a bit of a mystery so I've made a "cheat sheet"...
    20014

    I'll push the code for this to GitHub as an...
  40. Replies
    15
    Views
    3,309

    If I needed to convert an image, I would not dig...

    If I needed to convert an image, I would not dig deep into Program Files to do it. I'd probably use an online converter first or download the .exe myself from the library creator's website. The...
  41. Replies
    7
    Views
    237

    A very thorough explanation. Well done. One...

    A very thorough explanation. Well done.

    One thing I found with those SMD headers is the plastic collar sits higher than the regular header pins. But if you squish each pin down with pliers before...
  42. Replies
    325
    Views
    8,603

    OK, I found the problem. The wrapper functions...

    OK, I found the problem. The wrapper functions like fillRect() were setting the text foreground color back to the old color. That was white, so it would paint the lower part of the rectangle in...
  43. Replies
    325
    Views
    8,603

    I don't want to mess with the clock yet. That's...

    I don't want to mess with the clock yet. That's another incremental improvement. I just want to use the chip the way it was intended to be used: it does the time-consuming operations while I go do...
  44. Replies
    325
    Views
    8,603

    Today I'm doing more experimenting with the...

    Today I'm doing more experimenting with the speed. I've upgraded to TeensyDuino 1.52 Beta 4 and I've hooked up the oscilloscope to check what's really going on.

    1. The Teensy 4.0 doesn't seem to...
  45. Replies
    325
    Views
    8,603

    The board is usable right now for Teensy 4.1. It...

    The board is usable right now for Teensy 4.1. It will just overhang the end of my board. You can put your own headers or pins directly on the T4.1 to connect whatever else you need. I supposed a...
  46. Replies
    325
    Views
    8,603

    I'm on TeensyDuino 1.51. I will upgrade to check....

    I'm on TeensyDuino 1.51. I will upgrade to check.

    I think the Teensy 4.0 is the big power consumer. That chip gets quite warm.

    I did follow the link to look at that board. It's got a linear...
  47. Replies
    325
    Views
    8,603

    Nope, not pushy at all. You have different uses...

    Nope, not pushy at all. You have different uses planned for what I want to use this for. Between us we will create something useful for us and for others.

    Question on the touchscreen: The RA8875...
  48. Replies
    325
    Views
    8,603

    ... now I see the discussion that fell out of...

    ... now I see the discussion that fell out of this thread and into the T4.1 beta thread.

    I just got my T4.0 + RA8876 display working with the "redo" library. My first attempt did not work but...
  49. Replies
    325
    Views
    8,603

    @WWatson I mostly work with RA8875, so I'm used...

    @WWatson I mostly work with RA8875, so I'm used to using its "internal" touchscreen controller for a resistive touch panel (RTP.)

    I already wired Teensy pin 0 to pin 33 on the connector for the...
  50. Replies
    325
    Views
    8,603

    PCB Design Published

    Here is the board you are dreaming of... https://oshpark.com/shared_projects/nYL18hj4

    This connects a Teensy 3.x or 4.x to any one of the BuyDisplay displays - both RA8875 or RA8876. It connects...
Results 1 to 50 of 63
Page 1 of 2 1 2