Search results

  1. D

    I2S audio output and problems w/ I2C IMU

    TLDR: adding 100pf between pin 19/SCL and ground fixed it. I also had this problem and fixed it with the help of this thread! First of all, I am really amazed that Paul figured this out remotely, as it is such an insidious little problem that came from a very unexpected cause. Props!!!! I...
  2. D

    Teensy 3.5+Mosfet+12vDC Air Pump /w Single Power Source

    Not as much fun, but you can do that without $60 worth of electronics... just a hanging bottle and a tube from the bottle to the fountain. Placed correctly, the water level between the two will automatically equalize. You can already buy this no-electronics product ready made, or make it...
  3. D

    Teensy CC Dummy Load +300W

    Reading this thread reminds me that dummy loads were simpler in the 1970s and 80s. You bought a heathkit Cantenna, you added some oil, you fired it up. http://beachpackagingdesign.com/boxvox/the-heathkit-cantenna
  4. D

    Basic optoisolator advice

    Here's the opto circuit I have used in designs for years with no problems. Yes it will invert the signal, but it's trivial to invert again in software. The 10K works fine as the current needed by an input pin is incredibly small. I usually prototype this to figure out the value of the resistor...
  5. D

    Using 1gb eeproms with two chip select pins

    Than you for the excellent explanation! (And thanks for Teensy too.) I'm using SerialFlash, which had me a bit confused as it only works with single die chips. It strikes me now that with the massive flash chip sizes available, it's not really necessary to spec dual die chips.
  6. D

    Newbie SD card questions

    I'd also try running the EraseEverything sketch, and/or first formatting your card with the the official SD association software: SDFormatter.
  7. D

    Using 1gb eeproms with two chip select pins

    I've been trying to figure out how to use dual-die eeproms, like the PeskyProducts 1GB memory board shown here. Dual die chips have two dies stacked on top of eachother, and share all pins except for an independent chip select for each one. This crams twice as much memory into the package, but...
  8. D

    TB6612FNG motor driver not working (Teensy3.6)

    Ah, it's a bit like vero board... It's pretty difficult to see what is going on in the pic, as for some reason you have run all the wiring on the bottom side, and the components are on the other side. Not sure what the black strips are around the motor driver-- sockets or header strips? they...
  9. D

    Stackable 14 pin Female Headers for Teensy?

    4ucon.com is the connector company that supplies basically all of the stacking header for the Arduino ecosystem. Go there, register an account and you can see the prices. You will die when you see that an 8 pin stacking header is worth (guessing) something like 6.762 cents. Cents, not dollars...
  10. D

    TB6612FNG motor driver not working (Teensy3.6)

    They are talking about building your own motor driver, which is what you would do with one or more transistors. You have a motor driver, you do need any more transistors. There are already 8 transistors (MOSFETS actually) inside the B6612FNG. Your code matches what the truth table on page 4 of...
  11. D

    Powering T3.2 or T3.6 from a single LiFePo4 battery

    Here's the schematic for what I use to run a Teensy and a bunch of other chips off of a single 3.7V LiFePo4. It's the TPS61202, a Texas Instruments boost converter. With it, the battery can go as low as a .3 volts (yes, really), and it puts out a rock solid 5V. It also has a programmable...
  12. D

    Teensy 3.6 give 0.33V digital output

    You must be using a 10:1 probe! It's too weird that the reading is exactly 10% of what one would expect.
  13. D

    Teensy & Prop Shield lagging after being on for a short amount of time

    The thing that strikes me is how fast the sensor weill be reading (1000 reads per second? Or perhaps more?) and comparatively how slow the human mind perceives change. I wonder if you are swamping things with all that data throughput, although I am not sure how that sould happen. In any case...
  14. D

    Need help debugging Teensy LC and MPU-9250 (via i2c)

    Hardware thoughts: - ditch the external arduino as power supply - use the teensy +3.3V supply and ground to power the sensor. The Teensy 3.3V supply provides up to 100ma; less than 10ma is needed here. In fact, it's good to think in terms of 3.3V power supplies from now on. 5V is so 1990's...
  15. D

    Output to Serial from functions in .cpp file

    I'm amazed at ho many times you have to say this, and yet, people still do not post their code! Off topic, but perhaps you should change the forum CSS to format that message in huge bold type with a yellow background.
  16. D

    Startup/hard reset problem.

    Solved... Adding a 50uS delay to the readID() function inside of SerialFlashChip.cpp did the trick. Code below. I'm guessing that the fairly large and slow(er) eeprom needed a bit of time to catch up to the Teensy. Of course, I do not really know what I am doing here, i was just following a...
  17. D

    Startup/hard reset problem.

    Thanks for that idea Frank. I thought that was a good idea as well so I gave it a shot with .01, .1 and .22uf, but it did not do anything other than entirely preventing startup in one or two of the combinations. I also put a 560K resistor to ground from the reset pin and measured the voltage...
  18. D

    SerialFlash Library - Max Number of Files allowed?

    If you open SerialFlashDirectory.cpp in the library, one of the first defines is #define DEFAULT_MAXFILES 600 Not sure what happens if you increase it, but worth a try... D
  19. D

    OctoWS2811 basic test behaving erratically

    Double check your wiring, especially in the power supply region... in my experience, high current loads (20 leds x 50ma each(?) - 1 amp) can quickly destabilize the processor power supply. Just a thought. For loads like motors or large led arrays I always try to use a separate power supply.
  20. D

    Startup/hard reset problem.

    Here's the board I am using. It has a charger and step up converter for an 18650 cell, which all works great. The big black block in the middle is the BNO055 position sensor, raised above the board, and the smaller block is a split +9/-9 supply for some very old school high impedance headphones...
  21. D

    Startup/hard reset problem.

    I've got a little board I designed that has these things on it: - Teensy 3.2 - SGTL5000 - S25FL256S flash eeprom (link to Digikey page) - BNO055 position sensor board These are used to play back some sounds (in 8 channels, WOW!) that are stored on the flash. It works great! The hardware, the...
  22. D

    hang when trying to play raw files from SPIflash

    Solved. And it only took me 10 or 15 hours to realize that these two lines were missing: SPI.setSCK(14); // Audio shield has SCK on pin 14 SPI.setMOSI(7); // Audio shield has MOSI on pin 7 The example code ran perfectly because, well, it has those lines. D
  23. D

    hang when trying to play raw files from SPIflash

    One thing I have discovered so far is that the S70FL256P0XMFI001 is a dual die flash chip ( 2 x 128Mbit dies in one package) Therefore it has two chip selects, and each die has to be configured, erased, written and formatted separately. I had the two chip selects tied together. Now I have CS2...
  24. D

    Distort Voice to Something Scary for Halloween?

    You might find something in the code here: https://learn.sparkfun.com/tutorials/vox-imperium-stormtrooper-voice-changer Stormtrooper voice shifting seems like a similar proposition. D
  25. D

    hang when trying to play raw files from SPIflash

    hello folks: I'm wondering if anyone has insight into the problem ia having trying to play raw files from spi flash. I'm using my own board with an SGTL5000 that a Teensy 3.2 plugs into. So far it has worked perfectly to stream WAV files from SD out through the SGTL5000. I've also done...
  26. D

    Happiness with PCB Fab House

    Old thread, but FWIW, I am on my sixth order with ITead and have had zero problems. Several of the orders included tiny WQFN chips, the pads for which were perfectly etched and masked. Total price for the most recetn order, shipped to North America was $36USd for ten pieces. These were 10...
  27. D

    Eagle library with Teensy 3.0 footprint

    Reversed MOSI/MISO pins in library? I just a got a batch of boards back that refused to work. Ultimately I think it traces back to MISO/MOSI being reversed in the Teensy_3.1_DIL package of the library "Teensy_3_and_LC_Series_Boards_v1.1". - published pinouts on this site say MOSI (DIN) is pin...
Back
Top