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

Search:

Type: Posts; User: superslot

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    6,364

    update: it has been running 24/7 for days now .....

    update: it has been running 24/7 for days now .. not a single glitch: rock solid.

    we can mark this one as SOLVED.
  2. Replies
    16
    Views
    6,364

    Update: so far .. so good. splitting on two...

    Update: so far .. so good.

    splitting on two i2c bus and using a 200kHz freq for the ATTiny85 daisy chain seems to be the solution.
    I'm currently using n.4 ATTiny85 and it did run for more than...
  3. Replies
    16
    Views
    6,364

    Hi folks, I think I got a smoking gun on this...

    Hi folks,
    I think I got a smoking gun on this one...

    Since I'm using Teensy 3.2 I decided to move the Adafruit_SSD1306 lib from using Wire.h to the i2c_t3.h.
    I simply wanted to see if the...
  4. Replies
    16
    Views
    6,364

    mmm ... the ATTiny is running at 8Mhz (internal)...

    mmm ... the ATTiny is running at 8Mhz (internal) to keep the hw to the minimum (the final goal is to attach 16 counters on the bus).

    I'm not setting any custom param on the Teensy so I suppose it...
  5. Replies
    16
    Views
    6,364

    after more debugging I believe the issue is at...

    after more debugging I believe the issue is at protocol level.

    I;ve seen few notes on TinyWireS (i2c slave on ATTiny85) repo in github about issue with i2c on Raspberry Pi because the master (Rpi)...
  6. Replies
    16
    Views
    6,364

    ok. when the display freezes I have SCL at 4v...

    ok.

    when the display freezes I have SCL at 4v (high) and SDA at 0.2v (low).
    These are the levels after the level shifter of course (where 3.3v->5v)

    I removed the atTiny one by one ... nothing...
  7. Replies
    16
    Views
    6,364

    Hi all, just a quick update: I did try another...

    Hi all, just a quick update:
    I did try another level shifter (the BSS138 4ch bidirectional from Adafruit) thinking that the extra n.3 ATTin85 could be the cause of an higher load on the port.
    ...
  8. Replies
    16
    Views
    6,364

    correct, they are all on a different i2c address...

    correct, they are all on a different i2c address (0x0a, 0x0b, 0x0c while the display is 0x3c). I did run the i2cScanner sketch on the teensy multiple times and I can see them to respond to these...
  9. Replies
    16
    Views
    6,364

    mmm ... stronger than 1kohm? really? there is...

    mmm ... stronger than 1kohm? really?

    there is indeed a little bit of voltage drop on the output of the PCA9306, the level is around 4v when the display is working (power supply is a bench supply...
  10. Replies
    16
    Views
    6,364

    Hi Xenoamor, the problem is that I suspect the...

    Hi Xenoamor,
    the problem is that I suspect the display is the one going foobar for some reason.
    infact it does not recover (i.e. reply) even if I remove the attiny.

    but ... trying to debug, I...
  11. Replies
    16
    Views
    6,364

    freeze: Teensy 3.2 + multiple ATTiny85 I2C

    Hi all,
    I'm trying to solve an i2c issue from some time now .. and I'm at a stall point where I really need some hint.

    I'm using a teensy 3.2 with n.1 Adafruit SSD2306 oled display (i2c) and n.3...
  12. Replies
    17
    Views
    5,466

    thanks Paul. agreed on the GI/GO mode :-) yes...

    thanks Paul.
    agreed on the GI/GO mode :-)

    yes ... I have LineIN (both input) wired to GND (!) and I have dumped the input value (see the above pic)
    I see noise and I don't know how to reduce it...
  13. Replies
    17
    Views
    5,466

    excellent suggestion whoellender. I did...

    excellent suggestion whoellender.

    I did already 2, 3,4 (actually I always keep the windowing OFF even if it is not he best to do because of the leackage...) and indeed there is still FFT noise,...
  14. AH! my fault (no surprise...) thanks a lot...

    AH! my fault (no surprise...)

    thanks a lot whoellender!
  15. Replies
    17
    Views
    5,466

    thanks whollender... mmm .. ok ... you are...

    thanks whollender...

    mmm .. ok ... you are right on all points.

    but this is quite a bad news for me .. because if I short to ground the inputs and do an FFT1024 I still see quite a lot of...
  16. Replies
    17
    Views
    5,466

    and adding one more question (sorry Paul ......

    and adding one more question (sorry Paul ... probably this is a very annoying question...)

    is it possible that the noise I'm seeing on the FFT is coming from the board itself?

    looking to the...
  17. Replies
    17
    Views
    5,466

    ok .. here is where I'm so far... my purpose...

    ok .. here is where I'm so far...

    my purpose is to compute the spectrum energy (I want to compute the SPL level from my input LineIN) so I modified a little the FFT1024 to apply the CurveTypeA for...
  18. interesting ... apparenlty adding a small delay...

    interesting ... apparenlty adding a small delay on the main loop makes the peak results clean (but I still need to fix the audio in)



    HWSERIAL.println(peak1.read(),DEC);
    delay(10);

    ...
  19. Audio Shield: LineIN glitches when capturing audio (audio block data has spikes)

    Hi,
    I have a very naive question but I can't find a answer so far... so .. looking for some help from the experts
    :-)

    I have a Teensy3.1 with the Audio Shield.
    I setup the board as from the...
  20. Replies
    17
    Views
    5,466

    Hi, I'm using the fft1024 from...

    Hi,

    I'm using the fft1024 from
    https://github.com/PaulStoffregen/Audio/blob/master/analyze_fft1024.cpp
    window: the default one (Hanning), sampling frequency is 44100, I'm using the audio board...
  21. Replies
    17
    Views
    5,466

    Hi all, there is still one bit of info that is...

    Hi all,
    there is still one bit of info that is not clear to me. :-(

    I'm feeding a 2.2Vpp sine wave (3Khz) to the audio line input.
    I've also set the line input level to 2.2Vpp.

    In the code I...
  22. Replies
    17
    Views
    5,466

    Hi Paul, sorry to ask again but I have another...

    Hi Paul,
    sorry to ask again but I have another question.. the reason for asking is that I want to compute the SPL level.
    For that reason I need to apply the curve (type-A) to the FFT coeff before...
  23. Replies
    17
    Views
    5,466

    Audio Library: question on fft1024

    Hi,
    I have a silly question on FFT1024 from the Audio Library.

    my understanding is that the fft will return the REAL part of the spectrum, and so 512 coeff (N/2), but I would like to know how is...
Results 1 to 23 of 25