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

  1. Replies
    14
    Views
    859

    Most likely on chip it is 3-MOSFETs sized to...

    Most likely on chip it is 3-MOSFETs sized to carry 0.125x output current, 0.25x & 0.5x all connected in parallel. On chip resistors are difficult to make, but, FETs are smaller and more...
  2. According to the link given, 0 is low and 256 is...

    According to the link given, 0 is low and 256 is constant high. If those values don't work, I would just try to >>> digitalWrite(<pin>, HIGH); <<<
    Have you tried measuring with a DVM ? or...
  3. Replies
    2
    Views
    247

    ISTR there is also a clock enable bit that allows...

    ISTR there is also a clock enable bit that allows the comparitor to function. Perhaps it was in a post by @thereminengineer (apologies)
  4. Replies
    1
    Views
    304

    Your code must be able to detect removal or...

    Your code must be able to detect removal or absence of the SD card and also if a card has been inserted (presence) into the SD card slot. When it detects a new card then execute the code to enable...
  5. Replies
    9
    Views
    738

    Although I have not used the T4.x in my projects...

    Although I have not used the T4.x in my projects ISTR it has 3.3v logic levels so no need to level shift them.
  6. SPI relies on the CS pins to control which device...

    SPI relies on the CS pins to control which device is active on the bus. You state each device functions individually but they do not play well together. Can you verify that the CS pins are not...
  7. Replies
    5
    Views
    1,288

    I2C eeprom use with GSL1680 touch controller

    This is the file used to write the GSL1680 program into a local eeprom to eliminate 'all those lines of code'. Run once to program the eeprom contents then remove the 'Wx' jumper to load from...
  8. 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. ...
  9. 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...
  10. 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.
  11. 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.
  12. @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...
  13. 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...
  14. 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.
    ...
  15. @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

    ...
  16. 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...
  17. 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.
  18. Replies
    6
    Views
    1,000

    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. ...
  19. 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...
  20. 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.
  21. 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.
  22. 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...
  23. 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.
  24. @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?
  25. 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...
  26. @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.
  27. 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.
  28. 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?
  29. 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...
  30. 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.
  31. 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...
  32. Replies
    15
    Views
    2,664

    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...
  33. Replies
    5
    Views
    1,288

    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...
  34. Replies
    5
    Views
    1,288

    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. ...
  35. Replies
    3
    Views
    1,261

    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...
  36. 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...
  37. 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: ...
  38. 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...
  39. 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...
  40. 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.
  41. Replies
    3
    Views
    1,389

    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. ...
  42. Replies
    12
    Views
    2,275

    Is there a common ground connecting those...

    Is there a common ground connecting those seperate proto boards?
  43. 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...
  44. Replies
    4
    Views
    1,707

    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.
  45. 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...
  46. You probably need to do something like ...

    You probably need to do something like

    #define PIN_D2 2
  47. 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...
  48. 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.
    ...
  49. Replies
    3
    Views
    1,020

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

    Did you connect the ground on your device to the ground on the Teensy?
  50. Replies
    2
    Views
    953

    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...
Results 1 to 50 of 211
Page 1 of 5 1 2 3 4