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

Search:

Type: Posts; User: grease_lighting

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Why not use a regulator with an ENABLE input to...

    Why not use a regulator with an ENABLE input to control the voltage instead. Something like TLV70233 or TPS7A6133. Feed from a low voltage such as 5.0v to minimize power dissipation. ...
  2. My general purpose Teensy widget utilizes a T3.2,...

    My general purpose Teensy widget utilizes a T3.2, a choice of either ILI9341 or 20x4 TFT display, an SD-Card socket, and optional PB switches. I bring out 6 IO lines 1x analog output and I2C...
  3. Just a count ? Not a frequency ? From the...

    Just a count ? Not a frequency ? From the top of my head I believe the FTM clock inputs are on pins 0 & 1.
  4. According to the schematic at...

    According to the schematic at https://www.pjrc.com/teensy/schematic.html the LED is in series with a 470 ohm resistor. Get your clippers and pick one to snip.
  5. @Joey120373 Buy Display wrote their code in...

    @Joey120373 Buy Display wrote their code in that funky way as it is used as a driver. I don't understand C-code very much, but that is my take on it.

    The Skalwar code throws the errors...
  6. It appears that by changing the CPU speed from...

    It appears that by changing the CPU speed from 72MHz to 24MHz also has the effect of slowing down the SDcard clock speed. I don't see in your original code anything to slow down the SDcard speed...
  7. Ooops, my bad (lazy copy/paste). I just use p3...

    Ooops, my bad (lazy copy/paste). I just use p3 to collect the status of the 'begin' or 'init' operations to check the completion results. You could declare it or delete it as it is optional.
    ...
  8. @brogue I'm initializing my SPI the same...

    @brogue I'm initializing my SPI the same sequence as you are. I don't know how fast the SD card you are using is. Have you tried to slow down the SPI bus for the SD Card by using either

    ...
  9. Look at the card that came with your Teensy 3.2. ...

    Look at the card that came with your Teensy 3.2. It shows where the pins are located. You will also notice some pins are listed in grey text, they are alternate pin assignments. It appears that...
  10. Not sure what you mean here. What do you mean...

    Not sure what you mean here. What do you mean by port number?

    Maybe look at the UDP example I think that references a port number.
  11. Replies
    6
    Views
    604

    I think the temperature library is messing with...

    I think the temperature library is messing with the ADC Resolution, Voltage reference and Averaging. Try to reload the Voltage reference and number of bits to what your default choice was. ...
  12. Can't you just use a schottky diode with the...

    Can't you just use a schottky diode with the cathode to the LBO pin and the anode to the Teensy. Have the input configured INPUT_PULLUP. The diode will block the positive voltage from the...
  13. I do this as @LUNI mentioned by using serial...

    I do this as @LUNI mentioned by using serial commands. On the Teensy end I look for serial events.
  14. That would be a really challenging project. ...

    That would be a really challenging project. Lots of matrix math with SIN() & COS() to move the image points around.
  15. SPI is a serial data transfer with some...

    SPI is a serial data transfer with some handshaking & dedicated CS (chip select). The existing SPI support relies on special hardware in the Teensy chip to make it super fast. The data paths are...
  16. According to the schematic...

    According to the schematic https://www.pjrc.com/store/teensy35.html there is no connection between the built in SD Card slot and the SPI bus. Scroll to the bottom of the page.
  17. @MichaelMeissner did you mis typoe and mean...

    @MichaelMeissner did you mis typoe and mean 'pull-up' resistors?

    @David Leddon is there a common ground wire between the Mega and Teensies?
  18. Things I notice using the GSL1680 touch screen. ...

    Things I notice using the GSL1680 touch screen.

    The GSL1680 touch chip is only a touch sensor. It does not encode pressure information .

    When detecting more than 1 finger information, position...
  19. @Keith_M Would you please clarify the

    @Keith_M Would you please clarify the <half of screen. . . . > Is that like top/bottom half or every other one, (even/odd lines only)? I'm doing a Teensy 3.5 project and will look at that.
  20. Perhaps looking at how the on board SD Card...

    Perhaps looking at how the on board SD Card operates on T3.5 & T3.6 could shed some light on what is required to implement that.
  21. Could you clarify the 4x SPI bit? are you...

    Could you clarify the 4x SPI bit? are you talking 4 seperate SPI ports -OR- were you thinking about an SPI port with 4 data lanes?
  22. I mostly use the displays from buyDisplay.com. ...

    I mostly use the displays from buyDisplay.com.

    tftm043 4.3" diag with ft5206 cap touch controller
    tftm050 5.0" diag with GSL1680 cap touch controller
    tftm070 7.0" diag with ft5206 touch...
  23. That looks great. What did you use on the PC...

    That looks great. What did you use on the PC side to work the image data?

    Thanks.
  24. How would I configure A14/DAC as an analog input?

    On a Teensy 3.2, is there any special way to configure the A14/DAC pin as an analog input? I've seen posts to use analogWrite to set the value but is there any special setup to configure it as an...
  25. Replies
    15
    Views
    1,637

    Although I have zero mileage / experience using...

    Although I have zero mileage / experience using the T4.x I would suggest adding an electrolytic capacitor to the regulated side of the Teensy power grid to reduce the effects of the power transient...
  26. Replies
    4
    Views
    555

    Code to do writes to EEPROM ...

    Code to do writes to EEPROM


    //EEPROM_I2C_Write Use to create EEPROM contents
    // writes are always in groups of 5-bytes * 25 repeats
    // last 3-bytes on page are left un-programmed
    // p6 is...
  27. Replies
    4
    Views
    555

    There are several libraries for I2C EEPROM on...

    There are several libraries for I2C EEPROM on Github. I looked at them for reference purposes when employing a 24C512 to hold firmware for the GSL1680 touch controller. Not too difficult to do. ...
  28. Replies
    3
    Views
    742

    You don't give us much to work with. Is the...

    You don't give us much to work with. Is the Teensy being mounted on another PCB where you could use tiny spring contact pins? Could you pick the +5v from the Vin pin on the corner of the Teensy...
  29. I'm doing something like this with a Teensy 3.2. ...

    I'm doing something like this with a Teensy 3.2.

    In your drawing you have the PowerBoost 5v output going to the T4.1, so it (may) only gets recognised as USB device when it is powered on. Maybe...
  30. I reinstalled/updated both the IDE (1.8.13) ...

    I reinstalled/updated both the IDE (1.8.13) and Teensyduino (1.53) and as suspected, the problem resolved itself.

    Perhaps (???) it was related to the issue discovered here: ...
  31. The display is wired as a 5v unit. The...

    The display is wired as a 5v unit.

    The circuitry is on two (2) different PCBs with traces no longer than 4-inches.

    Screen resolution set for 480x800.

    Since the T32 and T35 have a...
  32. Teensy 3.2 not working with RA8875 display

    I'm working on a new project that uses an RA8875 display and am having problems with the display not functioning. It is a 5-inch Buydisplay.com ER-TFTM050 that uses the GSL1680 touch screen which...
  33. Are you using 10k pull ups on the CS lines? ...

    Are you using 10k pull ups on the CS lines? Initializing the SD card before the display to be sure it is in SPI mode? Show us your wiring and code as it helps us to help you.
  34. Replies
    3
    Views
    926

    Will that sensor act as you expect it to? Do...

    Will that sensor act as you expect it to? Do you have an optical mouse? Try running your hand around it and see how well you may control the cursor position. Try this at different distances. ...
  35. Replies
    12
    Views
    1,483

    Is there a common ground connecting those...

    Is there a common ground connecting those seperate proto boards?
  36. I believe there is about 250mA available from the...

    I believe there is about 250mA available from the 3.3v regulated by the Teensy 3.2. Your calculations seem correct. I2C talks to only one (1) sensor at any time. Decoupling capacitors...
  37. Replies
    4
    Views
    909

    I may be wrong here, but I don't recall Wire.h...

    I may be wrong here, but I don't recall Wire.h supporting the other I2C busses. I do believe it can be edited and renamed as wire1.h to support each additional I2C bus.
  38. Just in case someone else needs to use a bunch of...

    Just in case someone else needs to use a bunch of these DACs in their project, Microchip direct sells these parts pre-programmed to different I2C addresses for about the same cost as they can be...
  39. You probably need to do something like ...

    You probably need to do something like

    #define PIN_D2 2
  40. As stated in #6 above I have modified the...

    As stated in #6 above I have modified the BuyDisplay code example given fro the Arduino DUE. My mod uses the SumoToy RA8875 driver contained in Teensyduino along with different pin assignments. I...
  41. Oh, there is one more thing, the data sheet for...

    Oh, there is one more thing, the data sheet for this (may still) shows conflicting information to the interfacing sheet.
    ...
  42. Replies
    3
    Views
    713

    Did you connect the ground on your device to the...

    Did you connect the ground on your device to the ground on the Teensy?
  43. Replies
    2
    Views
    697

    Where are you probing the ground at? Try...

    Where are you probing the ground at?

    Try using the upper left pin, on the Teensy, above pin-0 or the pin directly across between pins A22 and D13.

    Don't use the analog ground pin as a...
  44. Replies
    1
    Views
    887

    I am finding that I have not fried my display...

    I am finding that I have not fried my display and/or touch screen and am getting closer to resolving my problem(s). Refer to this post for more detail.
    ...
  45. @Keith I too have been having problems with...

    @Keith I too have been having problems with this display, ER-TFTM050A2-3 from BuyDisplay.com.

    I find that in the Wolfman (based on Skallwar) release that the Reset and clear reg routines...
  46. Beware though. I'm not out to bash BuyDisplay,...

    Beware though. I'm not out to bash BuyDisplay, I've used many of their displays in my projects. Mostly the 3-inch ILI9341 display with xpt-2046 resistive touch and the 4.3-inch display with...
  47. Replies
    2
    Views
    735

    ISTR you are using a T3.5 or T3.6. On those ...

    ISTR you are using a T3.5 or T3.6. On those SCK0 is on pin 27 (probably what you meant). I bet Paul used pin #13 as an extension of T3.0 thru T3.2 pins which he tried to make...
  48. @UhClem did you mean to say MAX31855 has no data...

    @UhClem did you mean to say MAX31855 has no data out pin?

    On SPI only those devices that have output pins that don't properly tri-state would require the 74hc125 (or similar) buffer.

    @Bastiaan ...
  49. Teensy 3.2 shows the MOSI as data out and MISO as...

    Teensy 3.2 shows the MOSI as data out and MISO as datain, refer to the Teensy 3.5 card for updated names. Kind of confusing. Do you use other SPI devices on the same bus as they could have...
  50. Look at the respective data sheet for your...

    Look at the respective data sheet for your device. There is a PinConfigurationRegister (PCRx) for each pin. In that register are bits to set the pin as either Im or Out with additional controls to...
Results 1 to 50 of 204
Page 1 of 5 1 2 3 4