Search results

  1. S

    AltSoftSerial & parity, e.g. begin(9600, SERIAL_8E1)

    I would very much like to use parity to at least throw away bad data, which I seem to get very so often otherwise. Just spotted that (the or a) parity patch has been submitted to github: https://github.com/PaulStoffregen/AltSoftSerial/pull/52 but not yet committed. It seems no-one is assigned...
  2. S

    AltSoftSerial & parity, e.g. begin(9600, SERIAL_8E1)

    AltSoftSerial Parity I'm in the same boat. The version available through the Arduino IDE does not support the second parameter (eg SERIAL_8E1). Is it somewhere to be had? Or was it so buggy it was dropped? Thanks Graham
  3. S

    Suggest next Teensy with Cortex M7

    Would it be possible to use something like RasPi as if it were a microcontroller? No OS, just arduino-like libraries? Has anyone done something like that?
  4. S

    Arduino or C

    Thanks for this clarity, I'm sure it will help me.
  5. S

    Arduino or C

    Thanks to everyone who has contributed to this thread. The message I'm taking away is to persist with the Arduino paradigm for now, and if it ever truly runs out of steam it won't have painted me into a corner- I will be able to use the Arduino libraries with 'raw' C++ if I need to. If I've...
  6. S

    Arduino or C

    The Arduino paradigm has been great to get going, but I am getting concerned that the Arduino paradigm starts to add some complexity too. If I wanted to use Teensy hardware but without the Arduino environment, what of Paul's magnificent software would I lose? Thanks Graham
  7. S

    Bit-bang multiple I2S inputs simultaneously

    Thanks Paul, good work. The thread started talking about multiple input channels... any chance of that happening? Best, Graham
  8. S

    variable I2S master clock (and sampling) frequency

    Teensy/Audio deaf after power off I have a strange phenomenon, perhaps someone using Kire's code can help... I use Kire's setI2SmasterClock() in an application derived from the FFT example, with FSAMPLE=4096. If I programme teensy with my/Kire's code, it works fine... until I power-cycle...
  9. S

    Linux no longer talking to Teensy 3.1

    Yes, that seems to have solved it. I can't explain how /etc/udev/rules.d/49-teensy.rules went missing but no matter, it is solved. Thanks for your support.
  10. S

    Linux no longer talking to Teensy 3.1

    Thanks for all the suggestions. Removing modemmanager didn't resolve the problem, and it doesn't match any of the other advice at https://www.pjrc.com/teensy/troubleshoot.html I had not recently tried to run the serial monitor, but when I just now tried, I get "Error opening serial port...
  11. S

    Linux no longer talking to Teensy 3.1

    I have two machines running Linux Mint 17.2 which I use to develop code for Teensy 3.1 Suddenly these last few days one of the two can no longer communicate with Teensy 3.1 (programme and reboot it) while the other still can. The difference between the two is that on the one that no longer...
  12. S

    Bat Detector - 96khz sample, FFT and iFFT?

    Phase information from FFT Has anyone done something like that? I'm interested in getting the complex output, because I understand the imaginary part of the complex number resulting from FFT holds phase information, which I would like to have available to deduce direction from the sound...
  13. S

    Bit-bang multiple I2S inputs simultaneously

    Ah, rookie mistake: I was looking at the Teensy Audio board....
  14. S

    Bit-bang multiple I2S inputs simultaneously

    Paul, there's nothing labelled as pin 30 (or pad 30) that I can see. Could you please indicate where it is? Thanks, Graham
  15. S

    Bit-bang multiple I2S inputs simultaneously

    For localisation, you need separation between the microphones. As I understand it, i2s is very short-range, so it would not work for i2s microphones located far apart. I haven't found a distance specified anywhere but the implication is that it is within a circuit board. My intent was to use...
  16. S

    Bit-bang multiple I2S inputs simultaneously

    I am interested in taking input from at least 3 microphones (again, to localise the source of the sound). That's a bit different from the 2 sources x 2 channels described here. How would I approach getting a Teensy 3.1 to consume i2s from 3 or 4 teensy audio boards at once? I have lots of...
  17. S

    Increase impedance

    I would suggest that the shift from hardware to software probably took place a long time ago, and is now facilitating a move back into digital hardware. Feeling quite at home with software and pretty happy with digital hardware doesn't make analog hardware less of a struggle for me...
  18. S

    Increase impedance

    Thanks Theremingenieur, My general education in electronics is zilch, and I just don't have the theory tools to make such a leap. I'm learning, and gathering components and building tools along the way, but I haven't yet put in the hard yards that you have. Maybe I also lack some talent that...
  19. S

    Increase impedance

    My biggest problem with all the recipes I have found is that they all seem to require 9 V power supply, which complicates the circuit.
  20. S

    Increase impedance

    Is there any way to increase the impedance of the Teensy Audio board MIC header? I am using a 35mm piezo disc contact microphone connected direct to the MIC and GND, with a sketch derived from the FFT example, having slowed the i2s master clock using clues from here to get better resolution at...
  21. S

    variable I2S master clock (and sampling) frequency

    Thanks Kire, I have been looking for ways to investigate the lower-frequency end of the spectrum. I managed to get this to compile, output etc. Is it true that reducing the sampling rate this way will result in increased precision at the lower end (more bins/kHz)? Is 8 kHz a lower limit? I...
  22. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Just as a post script- I have replaced the electret with a piezo-electric disc and that works just as well. One of my aims is to make a hydrophone.
  23. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Rob, thank you for all the patient effort you have put in to get me there. It's great to have got there finally- a relief!
  24. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Coincidentally, this is my third day off sick, also with a very muzzy head. Can't strictly blame that for my Teensy troubles, it just means I'm more avaiable to experiment. "I2S from SGTL5000 to MK20DX"... Teensy 3.1 pin 13 (I2S RX) was not connected but pin 22 (i2s TX) was. When I connect i2s...
  25. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Not 'that' novice, though close enough for gummint work... With AUDIO_INPUT_MIC, no microphone connected, there is 2.94 V between MIC and GND. On the other hand if I hold the wire soldered to MIC with my fingers (while nicely not earthed), I see nothing on the serial monitor or screen, and...
  26. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Back to basics- can anyone tell me what sort of microphone Teensy Audio expects to be connected across its dedicated Mic and GND headers? I am naive but I am a bit surprised it needs any external circuitry other than the microphone itself, and that makes me think I might be barking up quite...
  27. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    OK, I bought a couple more of these electrets and built the circuit you suggested * regulated supply 3v3 and GND (not powered from Teensy pins, to eliminate that) * 2k2 resistor between 3v3 supply and the electret + pin * 2k2 resistor between supply GND and electret GND * electret + pin...
  28. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    I have just been out and bought a couple of replacements, and I'll try getting them right first time, this time.
  29. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Thanks Rob. I was approaching that conclusion too... I am going out shortly and hope to come back with a new one to try. Eventually, I want to use a piezo microphone, so I hope all this was not too much up the garden path.
  30. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Thanks again Rob. Results from that: with 2k2 resistors between * Teensy 3v3 pin and electret + * audio shield GND and electret - There's only 0.6 V across the microphone, and no output. If I bypass the + resistor so 3v3 is connected direct to electret I get a tiny bit more voltage across but...
  31. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    No, I don't have a scope unfortunately. I have backed nScope on KickStarter and looking forward to getting that! I have no clue what current is involved, and hence what resistor values to use. I thought to use the LED because I believe it has a predictable voltage drop, independant of current...
  32. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    So sorry, I didn't check my stripped-out version would compile. I have replaced it with an even more stripped out version that does compile... 44032 is just the multiple of 172 Hz (the bin width at FFT256) and 256 bins. It's also divisible by 1024 bins, so it returns integers. Either way I...
  33. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Thanks Rob, I've traced the connections a few times now and I'm pretty sure the mic is oriented correctly. It has only + and GND pins. When in the circuit and powered the voltage across its + and GND is 0.5 V which doesn't sound much but it's the same as between the MIC and GND headers on...
  34. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Data sheet at http://www.electusdistribution.co.nz/products_uploaded/AM4011.pdf sorry I couldn't find a way to attach it to a reply. There is 1 circuit example, which is fine, but aren't I plugging it in to such a circuit on the Teensy Audio board?
  35. S

    Nothing heard from Electret mic on Teensy Audio Mic pins

    Probably a dumb mistake but I have googled the heck out of this- and looked at several threads here- without joy. I want to do an FFT on 'ambient' noise so I can detect changes over time. I've plumbed a Teensy 3.1 with a Teensy Audio board and a ILI9341 display (320x240) so I can get some...
  36. S

    problem with connecting ILI9341 and Audio Board

    @mxxx: thanks, I think I get it now. referencing http://www.pjrc.com/store/display_ili9341.html * Teensy 3.1 Standard config is provided for compatibility with Arduino and the Adafruit libraries * Teensy 3.1 Audio Board config is provided because that's what the audio board always uses-...
  37. S

    problem with connecting ILI9341 and Audio Board

    @Cosford: Makes sense but then why does http://www.pjrc.com/store/display_ili9341.html get us to use different pins for MOSI and SCK?
  38. S

    problem with connecting ILI9341 and Audio Board

    Makes sense but then why does http://www.pjrc.com/store/display_ili9341.html get us to use different pins for MOSI and SCK?
  39. S

    problem with connecting ILI9341 and Audio Board

    @Cosford, thanks, I will try to remember both the [/code] and to post complete code first time, next time! I did what @robsoles suggested and it worked without the SPI.setMOSI(7);
  40. S

    problem with connecting ILI9341 and Audio Board

    @robsoles, thanks, I did the analogous things on mine and it began to work immediately! Any idea about pin 12? Can it really be shared by the display and the audio board?
  41. S

    problem with connecting ILI9341 and Audio Board

    sure. the only mod I made was to the #define lines at the top... /*************************************************** This is our GFX example for the Adafruit ILI9341 Breakout and Shield ----> http://www.adafruit.com/products/1651 Check out the links above for our tutorials and wiring...
  42. S

    problem with connecting ILI9341 and Audio Board

    Yes, if I wire up the display per "Teensy 3.1 Standard" at http://www.pjrc.com/store/display_ili9341.html the display works fine; as in, I can run the Examples; Adafruit_ILI9341; graphicstest sketch. Then, I rewire the display to the Teensy per the "Teensy 3.1 Audio Board" at the same page; I...
  43. S

    problem with connecting ILI9341 and Audio Board

    Hi Kutu, I am at exactly the place you describe here, execpt I am using Arduino 1.6.1 on Linux Mint 17 64-bit. Did you make any progress?
  44. S

    where to install audio library

    Thanks Paul. I have done that, and now only have 2 copies of Audio.h : ~/bin/arduino-1.6.1/hardware/teensy/avr/libraries/Audio/Audio.h ~/bin/arduino-1.6.1/hardware/teensy/Audio/Audio.h IDE seems fine; code is compiling and being loaded to the board!
  45. S

    where to install audio library

    Thanks for all the input. Having restarted the computer (and probably restarting the IDE would have been enough) and selecting Teensy3.1 as the build target: I now get Audio showing up in the Examples. And it contains FFT! so probably it was just that 'magic filter' Nantonos described. I had...
  46. S

    where to install audio library

    I used to have arduino 1.0.5 and teensyduino 1.2.0 on Linux Mint 17 and could build almost everything important to me- including a custom uno-based project with yards of sensors and radio. But I could not get the teensy FFT examples to compile (delay ... not defined in this context) and the...
  47. S

    Passive Sonar

    I'm working on a project to listen for illegal industrial fishing in the ocean and alert law enforcement. So I want to build inexpensive long-loiter self-powered buoys that can discriminate the sounds of fishing activity from the sounds of innocent passage. It seems to me that FFT is a good...
Back
Top