Search results

  1. S

    FastLED freezes program with Teensyduino 1.59.0

    Did you guys ever figure out how to actually apply this fix? I downloaded teensyduino 1.59 recently and still having the same issue. I see that Paul made a commit to Github but i'm not really well versed in that site and not sure how to apply it or which .cpp/.h file needs modified.
  2. S

    Do you re-use shipping boxes?

    woops............................ unless you want to send me some fan mail
  3. S

    Do you re-use shipping boxes?

    I just got around to opening up a teensy 3.5 that I had ordered a month and a half ago. I noticed this odd writing on the bottom of the box. Kinda creepy! Not sure if I should open it now lol. https://imgur.com/skUTYpi https://imgur.com/9Yt8bnU
  4. S

    Teensy prop shield amp. Need troubleshooting assistance

    Thank you guys so much! Works just fine now. Can't believe I missed that... I was staring at the SD example code for an hour and still didn't realize SD.begin() was missing.
  5. S

    Teensy prop shield amp. Need troubleshooting assistance

    I don't have an oscilloscope, but I was able to upload my model train code to the teensy and it was outputting audio fine with the OEP20W amplifier.
  6. S

    Teensy prop shield amp. Need troubleshooting assistance

    That's correct. If you look in my code, you can see I have implemented the exact same setup code from the prop shield page with the exception of the mixer gain. https://www.pjrc.com/store/prop_shield.html
  7. S

    Teensy prop shield amp. Need troubleshooting assistance

    I just purchased a new prop shield and teensy 3.5. Both are wired up as seen in the pictures linked below. DAC on the prop is connected to DA0. The only pin not connected is A17 because the pads came off... according to everything I read on this website that shouldn't be used by the prop shield...
  8. S

    SK8612 RGBW Support with audio library...

    **SK6812 SORRY** So, after doing some research, I've come up empty handed on finding any official libraries that support RGBW on teensy. If I understand correctly, I need a library which is capable of running the neopixels without interrupting the audio library. Is there something I could do so...
  9. S

    Using built in filters (Biquad, fir, etc.) to remove noise in dac signal?

    If that's really what you want, here it is...look for startsequence() toward the bottom, that's where I've been messing with the fade function. Most of the code in this program isn't relevant, so I figured no one would want to dig through it all. Also, I did look through the examples in my...
  10. S

    Using built in filters (Biquad, fir, etc.) to remove noise in dac signal?

    Well, I forgot that I had a voltage divider hooked up and was using analogRead, so I removed that and the noise is still there, but not quite as obnoxious.
  11. S

    Using built in filters (Biquad, fir, etc.) to remove noise in dac signal?

    Am currently using a 20w amp with two 5w (8w max each) speakers. Just playing some .wav files through the teensy 3.6's sd card via dac1. I've noticed lots of background noise once the amp's volume pot is above halfway. Is there any way to filter out the incoming signal so that there isn't such a...
  12. S

    Using RC522 on SPI1, Serial1, and SCK1.

    Got it working on a different teensy 3.6 with regular SPI... so at least the card isn't faulty, I guess.
  13. S

    Using RC522 on SPI1, Serial1, and SCK1.

    I should also note that I'm using the teensy's 3.3v power directly which should be enough from what I've read. Perhaps there's something wrong with the reader. Obviously if the firmware check works, the teensy is communicating with the rc522. Is it possible the MISO pin is floating and causing...
  14. S

    Using RC522 on SPI1, Serial1, and SCK1.

    Firmware test seems to be working though.... /* * -------------------------------------------------------------------------------------------------------------------- * Example sketch/program to test your firmware. *...
  15. S

    Using RC522 on SPI1, Serial1, and SCK1.

    Yea I think I've confused myself regarding the serial hookup. I'm pretty sure I can just use the default serial. I modified my code to specify the SPI pins but am still not getting anything from the dumpinfo. /* *...
  16. S

    Using RC522 on SPI1, Serial1, and SCK1.

    Seems odd that I wouldn't be able to use SPI1 and serial1 at the same time with the same device, considering one would use SPI0 and serial0 at the same time with the same device (which is what I'm doing with the nrf24l01).
  17. S

    Using RC522 on SPI1, Serial1, and SCK1.

    The sketch compiles with that code you just posted, but I'm not seeing any output in the serial monitor at all, so my serial output isn't working either. Is it possible that my code for serial output is wrong and I'm just not seeing anything because of that? Maybe I need to tell the RC522 to use...
  18. S

    Using RC522 on SPI1, Serial1, and SCK1.

    I'm attemtping to use an RC522 on spi1, serial1, and sck1 since spi0, serial0, and sck0 are occupied by an nrf24l01. I'm using this library: https://github.com/miguelbalboa/rfid and I've read that "SPI." must be replaced in the library, but I don't even see any "SPI." in the MFRC522.cpp. The...
  19. S

    Connecting to USB while powered up via lipo troubles...

    Thanks for the info about cutting the pad. I think the next time I take this train apart to do maintenance I may do that so I don't accidently damage it with the wrong usb cable. Anyhow, as my post above says, it somehow miraculously started working... I'm still obvlivious to what I might have...
  20. S

    Connecting to USB while powered up via lipo troubles...

    Ok, so I did what you said and tried the blink program, and everything worked! I went back to attempt to upload my other program, and it worked! I have no explanation for this. I was trying for 3 hours to get the damn thing to run. Yes, before the loader was coming up on the taskbar too... had...
  21. S

    Connecting to USB while powered up via lipo troubles...

    So, from what I read here: https://www.pjrc.com/teensy/external_power.html I should cut the red wire on my usb cable before plugging it into my teensy 3.6 so that no damage is done. Currently, in my setup, the teensy 3.6 is hooked up to a constant power source and can't be unplugged. However...
  22. S

    Teensy 3.6 + prop shield playing WAV files

    Thank you manitou! You were right... I mistook that end pin as the clock pin.
  23. S

    Teensy 3.6 + prop shield playing WAV files

    Hello! I'm working on a model train sound board and need to get it playing multiple wav files at once. Right now, I'm just trying to play the test files and not having much luck despite looking through much of the tutorial material. First off, here is the code I am using as of right now: //...
  24. S

    Velocity and distance from Prop shield plus WAV playing issues

    I do apologize for not providing some more info, but it is O gauge. Most manufacturers actually use a flywheel with black/white strips and an optical line sensor like this: https://www.sparkfun.com/products/9453 to get distance, since they know the exact distance traveled for each rotation of...
  25. S

    Velocity and distance from Prop shield plus WAV playing issues

    Ok, I gotcha. I've been looking into it all night and am not having much luck, so any info you can find I would greatly appreciate it. This is not turning out to be as trivial as I was hoping it would be haha... but thank you for all your help so far! I managed to get distance measurements...
  26. S

    Velocity and distance from Prop shield plus WAV playing issues

    How exactly would I go about getting the quaternions out from the Mahoney filter? Would my q[0], q[1], and q[2] just be my roll, pitch, and yaw from the example program? What about q[3]?
  27. S

    Velocity and distance from Prop shield plus WAV playing issues

    Thank you mjs513, dynamic acceleration is definitely what I'm looking for, I'll check out that second link you posted - for some reason it wasn't working at first. I've managed to add distance, and everything seems to be looking much better now, though I'm still not sure how exactly to write the...
  28. S

    Velocity and distance from Prop shield plus WAV playing issues

    Ok, so I've managed to get somewhere on my own. I wrote this for velocity, and it seems to work on the serial plotter! The only problem is damn gravity... if the board isn't held perfectly flat, the velocity reading goes nuts due to gravitational acceleration. Also, it might help to know what...
  29. S

    Velocity and distance from Prop shield plus WAV playing issues

    So my goal here is to replace the electronics of a model train. I'm using a teensy 3.6+prop shield so that later on I can hook up a motor controller and RFID reader that will make use of the teensy 3.6's extra I2c and/or SPI ports (plus it already has an on board sd card). I'd like to be able...
Back
Top