Search results

  1. T

    RESOLVED - T4.1 using Bounce2, boolean operators not working as expected.

    Is it just the logic of checking what combination of buttons are pressed...??. This code will scan an array of touchpins (used touch so is simple to try) and give you a binary value of the result that you can use in a select/case or if statement to control what is to happen next. In your case...
  2. T

    Teensyduino 1.59 Released

    Thank you for your replies and good info "Teensyduino 1.59 supports Arduino versions 1.8.5 and 1.8.9 and 1.8.13 and 1.8.15 and 1.8.16 and 1.8.19." In the past I have always used the ZIP versions up to 1.8.19 and T1.57 programs installed on D: using the "portable" folder with sketchbook in it...
  3. T

    Teensyduino 1.59 Released

    I run windows 11 I updated to 2.3.0 and 1.59 using the zip file option....all worked OK. My PC has a small 100GB C: ssd (where windows and some programmes are) and also have a 1TB D: hard drive for other data and programmes. I try to keep the ssd with as much free space as possible and that is...
  4. T

    Teensy Web Page

    Cheers...! ! !...........
  5. T

    Teensy Web Page

    I have noticed this link error for a while now, thought someone may have noticed it by now, so is it my problem or Teensy web problem?? Attached screen dumps to show.....
  6. T

    Bluetooth audio transmission module needed

    What about using some of the Bluetooth audio boards/modules.....BC127 or RN52.....etc Most of these work on I2S or analog audio and controlled via serial port and Bluetooth to portable bluetooth speakers etc
  7. T

    Teensyduino158 and Arduino 202

    Thanks for the replies and pointing me to investigate more....... I think it nearly all works......sort of portable... I edited the arduino-cli.yaml file to change the paths to D drive....I didnt need to create the empty folders on D drive.. I then run the Arduino202.exe in my unzipped folder...
  8. T

    Teensyduino158 and Arduino 202

    Thanks for reply. Hadn't seen the blog I was using the notes in the Teensyduino 1.57 released posted here at top of the forum. on my PC when I read the link for the packages the packages/teensy bit of the line reads pa.......nsy. So when I copied and pasted the first time I didn.t notice the...
  9. T

    Teensyduino158 and Arduino 202

    Just loaded Arduino 2.0.2. I thought I then needed to download Teensyduino and run it, but not the same file structure as older ver. ...?? I am running on Windows 11 desktop PC. I then followed the guidance to paste the packages link to File > Preferences and install teensy board support. I...
  10. T

    PlaySdWav: limit to file size?

    yes, things move on, way back about 6-8 years ago I used WaveHC WaveRP etc I think on a UNO and was able to "seek" part way into a WAV file or maybe a RAW file. I was able to play part of a file or repeat part of a file. Is seek etc still available somewhere ?? When I read the GUI I only see...
  11. T

    PlaySdWav: limit to file size?

    I was doing a project using a Teensy3.6 so I thought I would try this out as the 3.6 has its own SD card. I used the WavePlayer sketch in the Audio Library and set it for AudioAnalogStereo. I then downloaded SDTEST1.WAV to a 16 GB MicroSD, put in teensy3.6 and it played perfect. I then opened...
  12. T

    Snooze on Teensy 3.2

    " I don't believe it" ..... I have just noticed that when compiling and uploading the CPU Speed was at 48 MHz .... I normally keep this at 96 MHz overclocked. So set it back to 96 and teensy now takes about 40 mA running and drops to about 0.6 mA on deepSleep as it had been doing originally...
  13. T

    Snooze on Teensy 3.2

    I have been trying the examples in Teensy library for Snooze deepSleep and hibernate. I get both to work as I think OK. Before I started Teensy was taking about 45 mA when running small sketch eg blink and other examples, not much difference no matter what small sketch. When I loaded and run...
  14. T

    USB Audio Clicking Noise

    Aye......computer always does what it is told to do...........
  15. T

    Teensy 4.1 how can you analogWrite() from 0v going up?

    OR......if you have plenty of spare pins use a R-2R ladder of resistors.
  16. T

    USB Audio Clicking Noise

    I am not in position to do testing at present but just reading your mods.... I assume you have defined #define FRANKB_PATCH somewhere.....couldnt find it in your cpp file ???? Also orig for teensy3.2 the first //left and //right receiveReadonly lines were uncommented...???? #ifdef FRANKB_PATCH...
  17. T

    USB Audio Clicking Noise

    I was only testing on windows10 and Linux for Teensy3.2. FrankB_Patch worked for me as described in #75. You need to add the bits in RED text #DEFINE and #ifdefs etc. This is location for file for Teensy3.2 Teensyduino version 1.53. copy of link in #75 I assume for teensy4.0 it is as below...
  18. T

    PC not detecting Teensy 3.1 plugged in

    Have also checked....... USB Data+ and Data- continuity OK through the 2 x 33 ohm resistors and up to pin5 and pin6 of main chip. Also Id pin 4 of USB OK up to pin 23 main chip. ....... ????
  19. T

    PC not detecting Teensy 3.1 plugged in

    Link below to forum thread on the MINI54....... https://forum.pjrc.com/threads/27497-MINI54-Bringup When I plug in teensy3.1 I see the 56us pulses on the reset pin. If I press the button the pulses disappear, and keep holding the button down the pulses still stay disappeared. If I let go the...
  20. T

    PC not detecting Teensy 3.1 plugged in

    Thanks for replies, I had tried your suggestion and read over the troubleshooting pages, but no further, just measured all the voltages on the board and all seem to be there. Still not found what caused the message "Erasing" just as the fault happened. I don't get it when programming others...
  21. T

    PC not detecting Teensy 3.1 plugged in

    Yes, there probably other things I could check, but I have checked the leads and the PC port and Pressing the button on the board, I have also checked the 5V coming in on the USB and at Vin pin and also the 3.3 volt regulator must be working as 3.3volts are at the 3.3V pins. I have programmed...
  22. T

    PC not detecting Teensy 3.1 plugged in

    I have old Teensy3.1, I think it is 3.1 because 3.2 is not written on the back of it. It has been working for a few years OK until today (it is my demo box I use to try things out ?). I had it plugged into my PC for a few hours and made minor changes to program and all was OK, loaded them and...
  23. T

    AudioSynth Waveforms

    Thanks Paul for all the info. I don't doubt Teensy's capabilities, I think it is great, including all the libraries and the support services you provide. ....it was just to get a discussion on the use of the 2 waveform and waveformMod methods.....Thanks
  24. T

    AudioSynth Waveforms

    Thanks for reply. My question was more on the quality of sound out as a result of using waveform as opposed to waveform for simple playing of waveform and maybe making some changes to freq etc but not fast modulation. This (below) is a simple sketch using 3 methods. I don't see or hear much...
  25. T

    AudioSynth Waveforms

    There is AudioSynthWaveform and AudioSynthWaveformModulated in the Audio library. The main difference is the Mod one has 2 inputs for modulation. If I want to just simply play a waveform at various frequencies does it matter which I use. If I set AudioSynthWaveformDC amplitude level = 0 and...
  26. T

    3.2 Dead? (Newbie)

    if you cannot plug in the Teensy USB from your computer USB how are you going to program it?. Connect the battery between VIN pin and GND pin that should power up teensy and don't plug in onboard USB at same time
  27. T

    Do Teensy Synths with Sine Waves always click?

    Yes I understand envelopes etc are the way to go. Initial post was I assumed to get a basic sine wave playing different notes without clicks. Code below is probably the most basic and play 5 notes no clicks #include <Audio.h> const int16_t tone1[256] = { 0, 628, 1256, 1883, 2509, 3133, 3756...
  28. T

    Do Teensy Synths with Sine Waves always click?

    Post your code a simple version. Yes held notes are OK while playing, I assumed it was the changing of notes from say A to B to C etc was the problem. as a test do that by changing the frequency value of the sound....it should happen smoothly. What is happening will depend how you are generating...
  29. T

    Do Teensy Synths with Sine Waves always click?

    There will be no clicks because continuous. To try it without midi use a for-next loop to increment up and down the frequency
  30. T

    3.2 Dead? (Newbie)

    Will Teensy still work powered on its own USB If you link again the pads you cut with a pin? Do you just want the battery as alternative power source to the onboard USB?
  31. T

    Do Teensy Synths with Sine Waves always click?

    Play a simple continuous sinewave and use the midi note change command to change the frequency of the sinewave for the corresponding note
  32. T

    Teensy 3.2 DAC output Low Amplitude

    This is a variation of my last post. I allows switching between EXTERNAL and INTERNAL Refs for the DAC and hence for 12 bit resolution maps either 1.2 V to 4096 OR 3.3V to 4096 Default for good teensy uses 3.3V and doesn't need the line ..... comment out either line to try both options //...
  33. T

    Teensy 3.2 DAC output Low Amplitude

    This is a simpler sketch and lets you see 0.0. to 3.3 in 0.1V steps on DMM using analog write only an 12 bit resolution // Simple DAC test on Teensy 3.2 // maps 3.3 volts to 4096 in 0.1V intervals // 4096 divided by 33 is 124 counts per 0.1V approx. int val=0; void setup() {...
  34. T

    Teensy 3.2 DAC output Low Amplitude

    How do you know A14 is broken. How are you measuring it. If using a multimeter you will read only the dc value 0.6V or 1.64V if the ac signal is high freq. If using a scope you should see both the ac signal superimposed on the dc value. Try simple sketch in post #8 above
  35. T

    Teensy 3.2 DAC output Low Amplitude

    I don't think your problem is same as mine....... In may case the 1.2V on C2 was low for "broken". What change were you expecting, what were you measuring??. Are you using the Audio Library, use the commands/statements from it to do the changes. You would need a simple test sketch to test...
  36. T

    Teensy 3.2 DAC output Low Amplitude

    No the problem has not been solved. I got the "faulty" Teensy3.2s replaced and they worked OK, Internal Ref and External Ref settings. In my case the voltage on C2 was low. But dont know for what reason except as stated in earlier posts. Would an overload on DAC blow the Internal Ref or simply...
  37. T

    Teensy 3.2 DAC output Low Amplitude

    Thanks for reply. I have checked around this capacitor C2 and cannot see any damage. The closest pins to it had not been soldered. The only pins that had been soldered are 15-19, 22, 23, 25, 32,33,0, and 1. The voltage at C2 is same as 17 on U1. On the faulty teensy for INTERNAL Ref, DAC is...
  38. T

    Teensy 3.2 DAC output Low Amplitude

    I still haven't got to the bottom of this problem. I have connected up maybe 60 Teensy3.2 over the past years and never had this problem until recently. I have connected another 10 this week and found 2 to have this problem. They were given the same connections athe others and the same sketch...
  39. T

    Teensy 3.2 DAC output Low Amplitude

    I have looked all around the board and cannot see anything bridging or shorting any of the pins or the pins on the chip. The only other thing I found is the DC voltage at the DAC pin on a good Teensy is 0.6 volts on my DMM whereas the DC voltage at the DAC pin on the " 2 faulty ones" is 0.16...
  40. T

    Teensy 3.2 DAC output Low Amplitude

    When I change the line dac1.analogreference to INTERNAL in the test sketch from my earlier post the output of the "faulty" teensy is about one quarter amplitude it should be. Comparing to same test on good teensy. When I set it to EXTERNAL the output from both teensy is higher due to EXTERNAL...
  41. T

    Teensy 3.2 DAC output Low Amplitude

    Thanks PaulStoffregen for your reply. Sorry I was typing my last post when you were posting. Yes the "faulty" board is only connected to the USB port of my computer sitting in isolation on my wooden plastic desktop and as far as I can see the nothing is connected to any pins. It had been...
  42. T

    Teensy 3.2 DAC output Low Amplitude

    Thanks for reply, I have always used AGND but have tried both now and dont see any difference, problem still there. I didnt post any test code earlier most teensys dont show the problem and I maybe never noticed the problem on a single teensy. It was only when I was testing a number of them one...
  43. T

    Teensy 3.2 DAC output Low Amplitude

    Did some more checking. I have 15 of teensy3.2 and I checked each with only a lineout jack connected between DAC and analogue Ground. Plugged this into computer linein and recorded each teensy output using Audacity. I had each teensy running a simple waveform sending out to DAC. All 15 gave me...
  44. T

    Teensy 3.2 DAC output Low Amplitude

    Are all Teensy 3.2 the same default configuration. I have been using quite a lot of Teensy3.2 lately and I send the same program sketch to them all using the same version IDE. It basically sends an audio tone out on DAC pin which is connected to an amplified speaker. In general all works fine...
  45. T

    Differences in Timers

    I am trying to play audio waveform at various frequencies by playing the wave array at different speeds using timers. I get it to work with interval timer and frequency timer both give good waveform out but Flexitimer gives me a distorted or modulated type of output wave (the mixed wave output)...
  46. T

    Direct audio samples into Audio Library objects

    Yes, it is probably pitch shifting. playing wave array at various freqs and mixing and filtering. const int16_t tone1[256] = { 0, 628, 1256, 256 element array -1884, -1256, -629 }; const int16_t tone2[256] = { 0, 20872, 25928, 256 element array 25583, -25929, -20872 }; //...
  47. T

    Direct audio samples into Audio Library objects

    Looked at your sketch for recording and playing queues. I think I understand what it does recording mic or linein in a queue for each channel and allowing it to be switched and played etc. As I see it instead of recording I want to play an already recorded array at various rates to give me...
  48. T

    Direct audio samples into Audio Library objects

    Thanks for your fast response, I am replying to your post #4....That is magic it works perfectly...thats the basics, will need to play with it to get different rates of playing sorted etc and controlled by timers etc so as rate not affected by what else the processor is doing. I will take a look...
  49. T

    Direct audio samples into Audio Library objects

    Thanks for reply, I had looked at this, but basically I don't know how or cannot get the "getBuffer()" to look at the data, It compiles outputs just random noise.??? attached is my basic code after reading through the VideoSDcard example. include <Audio.h> //#include <Wire.h> //#include...
  50. T

    Direct audio samples into Audio Library objects

    I can use the audio library to play sounds, waveforms etc and all works very well, but is there a way to directly input the samples from a sound array or waveform and play continuous at various speeds or data rates. I can do similar using and interval timer to analogwrite(A14, data) each data...
Back
Top