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

Search:

Type: Posts; User: grease_lighting

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. 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...
  2. Replies
    4
    Views
    192

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

    You probably need to do something like

    #define PIN_D2 2
  5. 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...
  6. 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.
    ...
  7. Replies
    3
    Views
    179

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

    Did you connect the ground on your device to the ground on the Teensy?
  8. Replies
    2
    Views
    173

    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...
  9. Replies
    1
    Views
    305

    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.
    ...
  10. @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...
  11. 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...
  12. Replies
    2
    Views
    258

    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...
  13. @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 ...
  14. 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...
  15. 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...
  16. If the T4.x series is anything like the T3.x...

    If the T4.x series is anything like the T3.x series, then those pins marked 3.3v are common (the same). They supply up to 250mA total current (I1 + I2). Check the schematic on the website. ...
  17. Although I have not graduated to using the Teensy...

    Although I have not graduated to using the Teensy 4.0 or 4.1 just yet, I have made a battery powered project using a Teensy 3.2 with an ILI9341 display. For that I use an Adafruit Power Boost 1000...
  18. Digging into this some more, I find that in file...

    Digging into this some more, I find that in file <spi_drv.cpp> it defines all the SPI related pins (11, 12, 13) plus some default pins (7, 9, and 10) and assigns them starting state levels. Of...
  19. This morning I tried setting the PCR lock bit for...

    This morning I tried setting the PCR lock bit for D13. The state of D13 did not change after Ethernet.begin() occurred. This shows something is trying to change the pin state. Of course I...
  20. Ooops, My bad. Yes it is a Teensy 3.2 that I'm...

    Ooops, My bad. Yes it is a Teensy 3.2 that I'm using.
  21. Ethernet.begin() upsets state of Pin D13

    I'm making a battery powered project and am using pin D13 to turn it off via the touch screen. I find the when using Ethernet.begin, it interferes with the state of pin D13, causing it to go low. ...
  22. Maybe you can develop code to self load a Teensy....

    Maybe you can develop code to self load a Teensy. You could be a hero in this forum for doing so. I just don't have the time or need to do it. You should investigate the links in the other...
  23. If your 'new version' is Aruino code *.ino then...

    If your 'new version' is Aruino code *.ino then it must be assembled/compiled & loaded by the environment.

    If your code is a hex file then the Teensy loader can handle it. Currently there is...
  24. Use your short pulses to gate a constant current...

    Use your short pulses to gate a constant current into a capacitor of known value then measure the value of the resulting voltage.

    See: ...
  25. Not much info given here. You must load your...

    Not much info given here. You must load your sketch into the Arduino environment (with Teensy 3.6 support selected) Compile it and load it onto the target device to your Teensy 3.6

    I see you...
  26. Sounds like an SPI bus contention issue. Does...

    Sounds like an SPI bus contention issue. Does your SD Card adaptor use Tri-State buffers on the SCLK, MISO & MOSI lines controlled by CS? ISTR some SD Cards play nice while others don't on shared...
  27. Did you use the Teensy board for another project...

    Did you use the Teensy board for another project where you had cut the USB power to Vin trace?
  28. Check out yard sales and flea markets. Get a...

    Check out yard sales and flea markets. Get a bunch of cigar boxes to keep your stuff in. Stack them and put category labels on the box ends.
  29. Is this a valid method to time code execution?

    I'm trying to make an I2C decoder that uses the PORTx_PCRn register to create DMA / IRQ requests as was described in this POST.

    I'm using a TEENSY 3.2 running at 96MHz and would like to be sure...
  30. Replies
    2
    Views
    408

    Found it on the waayback machine...

    Found it on the waayback machine here.https://web.archive.org/web/20180713004819/https://mb-raw.blogspot.com/2018/02/teensy-32-capacitive-touch.html
  31. Replies
    1
    Views
    305

    GSL1680 touch screen problems

    I recently purchased a TFTM050A2 display form Buydisplay.com and am having problems getting the touch screen working. Just to be clear though the display part is functioning thanks to the examples...
  32. @Jim Lee You're quite correct. I sometimes...

    @Jim Lee You're quite correct. I sometimes find others ideas lacking thorough documentation explaining their idea. I too wrote my own using the AdaFruit touch paint example and creating more...
  33. In my hardware I have the CS pins pulled up to...

    In my hardware I have the CS pins pulled up to 3.3v via a 10K resistor to keep the TFT, Touch screen, SD Card and WIZ820/WIZ850 adapters inactive while the Teensy pins are being configured and the...
  34. I have not used the audio shield, but, ISTR that...

    I have not used the audio shield, but, ISTR that pin#13 which is the SPI SCLK on the T3.2 conflicts with the I2S audio connection. To reroute the SPI signals to the alternate pins listed on the card...
  35. Apologies for not getting back sooner. Looks like...

    Apologies for not getting back sooner. Looks like you found the motor driver doc that I was referencing. the ADC library is referenced here ...
  36. The DAC8565 is not an I2C controlled device. You...

    The DAC8565 is not an I2C controlled device. You need to bit bang it with a 24-bit serial stream (pg6). Bet if you looked into the Eurorack Module & its software, you would find the code used to...
  37. 1.) I think NXP has some app note regarding...

    1.) I think NXP has some app note regarding control of motors and monitoring their current. The reference is on my work PC though.
    2.) I think the fellow that wrote the analog stuff, (Mr) Pedvide...
  38. Replies
    7
    Views
    1,148

    You must use external resistors on the I2C lines....

    You must use external resistors on the I2C lines. Tie them to 5v or 3.3v (whatever the FT5206 uses). Just configuring the I2C pins with a 'INPUT-PULLUP' won't work as the I2C driver reconfigures...
  39. Replies
    20
    Views
    1,597

    @Frank, Just an FYI that Microchip has a 12-bit...

    @Frank, Just an FYI that Microchip has a 12-bit quad output I2C DAC, the MCP4728 that can have up to 8 different I2C base addresses. Only the -0 and -1 address versions are available at DigiKey or...
  40. The 12.5pf is a specification of the crystal to...

    The 12.5pf is a specification of the crystal to buy. You do not have to add 12.5pf capacitor to the Teensy board. Just get the crystal indicated a few words later, solder it to the Teensy, connect...
  41. Due to the low output voltage change in the...

    Due to the low output voltage change in the sensor alone, you would only get an ADC count range of 187 max. assume Teensy Vref=1.2v, 12-bits resolution (0.293mV/bit)and 55mV at 1.45psi 55mV /...
  42. Replies
    14
    Views
    801

    I am not familiar with the Teensy 2. But if it...

    I am not familiar with the Teensy 2. But if it has a second serial port available then it can be connected to an FTDI rs232 to USB device and communicate with a different serial on the PC. if you...
  43. Using an FT232 adaptor on say serial1, or serial2...

    Using an FT232 adaptor on say serial1, or serial2 would work to receive commands on a Teensy. If you use serialEvents be sure to specify the port being used. I have done this and have also placed...
  44. Replies
    3
    Views
    302

    Well if I make a guess the Teensy is drawing...

    Well if I make a guess the Teensy is drawing 300mA then the 7805 is dissipating (12-5) * 0.3 = 2.1watts. You didn't say anything about tthe package style of the regulator. If the regulator is...
  45. @Gunnar, you are absolutely correct. I recently...

    @Gunnar, you are absolutely correct. I recently went thru the same learning curve. Those pages you referenced are probably still valid for Arduino and older versions of Teensy. Since you are...
  46. I would recomend looking up your senior engineer...

    I would recomend looking up your senior engineer and inviting him/her out for a drink to discuss this circuit. If he left the company look him up on Linked-in and try to connect there. Try to get a...
  47. Panels as in box panels. They will usually be...

    Panels as in box panels. They will usually be the first ones touched. Like when the user picks up the control box.
  48. I think @GremlinWrangler is right on with the...

    I think @GremlinWrangler is right on with the button rep rate issue. Tapping it slowly in your circuit will function well but nailing it willy nilly helter skelter will cause improper operation. ...
  49. Best is to connect all box panels to ground, at a...

    Best is to connect all box panels to ground, at a point near the connectors mounted on the box.

    It is unclear how your externally powered version will get it's power. From a PC, a wall wart,...
  50. @tonton81 is on the money for controlling...

    @tonton81 is on the money for controlling external devices. To control the whole Teensy circuit you would have to add a device similar to the AdaFruit Push-Button-Powewer switch breakout. That...
Results 1 to 50 of 169
Page 1 of 4 1 2 3 4