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

Search:

Type: Posts; User: Gibbedy

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. Teensy audio design tool and library info and...

    Teensy audio design tool and library info and best place to start:
    https://www.pjrc.com/teensy/td_libs_Audio.html

    Here’s what I did for beat and bpm detection:...
  2. You could run your audio through the audio sheild...

    You could run your audio through the audio sheild and use the audio library to delay the music dynamically based on the bpm of the music to overcome the servo delay.
    You could use the audio library...
  3. cc1plus.exe: out of memory allocating 1846519080...

    cc1plus.exe: out of memory allocating 1846519080 bytes one moment,...

    edit: I give up. Can't get past this error.
  4. for loop of multiExe1 *debug mode*- time:5501 us...

    for loop of multiExe1 *debug mode*-
    time:5501 us
    cyclesPerBlock: 33.006

    original *debug mode*-
    time:1870 us
    cyclesPerBlock: 11.22

    All previous tests were with "faster" option.
    original...
  5. origianal- compile time: 4 mins 20 seconds...

    origianal-
    compile time: 4 mins 20 seconds
    time:1335 us
    cyclesPerBlock:8.01

    for loop of multiExe100-
    compile time: 6.45 seconds
    time:1336 us
    cyclesPerBlock: 8.016
  6. Replies
    6
    Views
    97

    Is it because teensy 4.0 is 3.3v?

    Is it because teensy 4.0 is 3.3v?
  7. Replies
    1
    Views
    57

    1.not sure. Plug in a second generic keyboard and...

    1.not sure. Plug in a second generic keyboard and see if you can trigger the shortcuts you want. If so you could get a teensy todo that.

    2. Yes with a battery. How long you get depends on the...
  8. Replies
    12
    Views
    151

    Is the Rc receiver and the fuel pump both powered...

    Is the Rc receiver and the fuel pump both powered from the hobbyking Bec?
    I’m thinking your rc receiver is getting a really dodgy supply when the pump is running.
  9. I tested my teensy 4.0 powered by 3.3V at 3.3V...

    I tested my teensy 4.0 powered by 3.3V at 3.3V pin and it does indeed work for me.
    I think it may be significant that the high level on usb data line is about 1.5vdc when powered this way. If...
  10. Replies
    5
    Views
    142

    Schematic shows a 500ma fuse. Has that blown....

    Schematic shows a 500ma fuse. Has that blown. Should have pads accessible.
  11. Is leaving trace uncut and removing the regulator...

    Is leaving trace uncut and removing the regulator on the teensy an option?
    Your going to need 5v when using USB.

    Edit:
    Here is my full take in it.. vusb needs 4.5-5v according to a manual I...
  12. Thread: teensy

    by Gibbedy
    Replies
    1
    Views
    86

    How are pedal electronics wired to pins 2 and 3?

    How are pedal electronics wired to pins 2 and 3?
  13. What does the vin voltage measure with this...

    What does the vin voltage measure with this setup.
    I’m just curious (may not matter) what vusb1/2 bus is supplied with when like this.
    Thanks.

    Edit:
    Is usb1/2_vbus used for data line voltages...
  14. Actually looking at schematic your device would...

    Actually looking at schematic your device would not be working if connected to vusb with the trace cut.Are you perhaps putting 3.3v into the vin side then you would be going though onboard 3.3v...
  15. Connect your external 3.3v to the pin labeled as...

    Connect your external 3.3v to the pin labeled as 3.3v. Vusb is connected to usb socket and doing what your doing will be pulling your USB low. I would expect a message to pop up in win10 saying...
  16. I thought the point of cutting that track was to...

    I thought the point of cutting that track was to remove power to vusb.
    If your supplying 3.3v to vusb does that mean your computers usb 5v is pulled down to 3.3v?

    I donít know how this works...
  17. I imagine you just loop through all your leds to...

    I imagine you just loop through all your leds to shift colour up 1.

    Then insert a new colour at the first led.

    Loop through the above 10 times each for red and then white.

    Loop through all...
  18. Sounds like itís working fine unless I...

    Sounds like itís working fine unless I misunderstand your description. Why donít you use the octows2811 library when using the octows2811 board. Then all your pins would work.
  19. Does blue on a standard ethernet cable correspond...

    Does blue on a standard ethernet cable correspond to a valid ws2812Serial pin on the octows2811 board?
  20. Hi Alan. Yes. The fastest possible way, if...

    Hi Alan.

    Yes. The fastest possible way, if using fastLed, will be to include pauls Octows2811.h and #define LED_TYPE OCTOWS2811. There is a fastled wiki somewhere that tells you the exact gains to...
  21. Ooh. Oddson got me thinking. I don’t think that...

    Ooh. Oddson got me thinking. I don’t think that pwm controller can drive any significant power. I .09W maybe. Better check that. My apologies if you already have that covered.
  22. Make sure their example works to start with so...

    Make sure their example works to start with so you know your hardware is hooked up correctly.
  23. Copy example global variable stuff over to your...

    Copy example global variable stuff over to your program.
    Copy example setup stuff into your program setup()
    Wherever you want to light up your lights in your code just put:
    tlc.setLED(x, r, g, b);...
  24. Replies
    1
    Views
    91

    "freqMeasure" on teensy 3.2 is able to get the...

    "freqMeasure" on teensy 3.2 is able to get the correct period of 1.25uS however I need high and low times.
    "freqMeasureMulti" can't give the correct period with the code below of 3.75 or 5.0uS which...
  25. Replies
    5
    Views
    172

    ledsLeft is a CRGB array of size NUM_LEDS....

    ledsLeft is a CRGB array of size NUM_LEDS.
    However array index starts at 0. So your last element will be NUM_LEDS -1
    Adjust your for loop. Currently it’s writing over some bit of memory that causes...
  26. Replies
    1
    Views
    91

    How to measure ws2811 signal timing

    Hello all.
    On monday I start putting up a bunch of ws2811 christams lights:
    18226

    Last year I started having a few led failures and found that not all of the ws2811 strips were compatible.
    Eg...
  27. Replies
    6
    Views
    227

    Yep thats what I'm saying. Below you will be...

    Yep thats what I'm saying.
    Below you will be doing your midi thing if the encoder value changes but that could be up or down.



    void loop() {
    if (enc1.available()) {
    ...
  28. Replies
    6
    Views
    227

    Put your usb stuff inside your...

    Put your usb stuff inside your if(enc1.available()) block. Your holding up your interrupts potentually missing encoder pulses where you have it now.
  29. Your microcontroller + touch sensor is what I’m...

    Your microcontroller + touch sensor is what I’m calling a sensor patch. Is that right?
    And yeah that’s what I’m suggesting. Rs485 is hardware protocol. I’m suggesting using 1 or more serial uarts on...
  30. 1. I imagine you need two way communication from...

    1. I imagine you need two way communication from your controller teensy to your 12 sensorpatches. They need to update the touch info to your controller and your controller needs to update to all 12...
  31. Replies
    4
    Views
    310

    I think breadboard + 2x teensys + 3 wires +...

    I think breadboard + 2x teensys + 3 wires + easytransfer examples straight from arduino ide menu will get you started.
  32. Yeah I’ll get something like that. Thanks.

    Yeah I’ll get something like that.
    Thanks.
  33. Hi Edward. For testing I’m using my adjustable...

    Hi Edward.
    For testing I’m using my adjustable supply,
    For running I’ll use something fixed.
    I’m running xt90 connector and so reverse polarity protection shouldn’t be needed but I’ll have it if...
  34. Ok thanks.. Ill get a high current thyristor...

    Ok thanks..
    Ill get a high current thyristor and experiment.
    Thanks.
  35. It’s 1024 leds in parallel that are rated at...

    It’s 1024 leds in parallel that are rated at 5vdc.

    At the moment I finish a row 128 leds, plug my adjustable power supply in and test.. but I have fears of bumping a preset button on the supply...
  36. 5V overvoltage protection for high power device howto?

    Helllo.
    I have an 8x8 ws2811 cube I've been building that is nearing completion.
    It will have 1024 Leds so around 50A at 5V.

    It runs a teensy3.6/octows2811 and piZero.
    I'm scared of a power...
  37. Thanks for quick reply. That's cleared that up....

    Thanks for quick reply.
    That's cleared that up.

    I regret dropping out of uni (around 15 years ago), but I blame age of empires II more than the universities course structure.
  38. Hello Theremingenieur. 1. Regarding the bypass...

    Hello Theremingenieur.

    1. Regarding the bypass resistor. would the teensy output being pulled low not acheive the same thing?

    2. I don't think I've seen a series resistor going too the gate but...
  39. I dunno. Using twisted pair for your rs485...

    I dunno. Using twisted pair for your rs485 wiring? Gnd connected at the first led and not at power supply. I think I was told this matters. I don’t see 1 strip of lights pulling gnd too high unless...
  40. Can you draw a circuit diagram of how it’s all...

    Can you draw a circuit diagram of how it’s all connected?
  41. Replies
    7
    Views
    431

    I found my detent stability point on the rotary...

    I found my detent stability point on the rotary encoder I purchased always gave gnd on a and b channels.

    The pulses would only appear between the indents. I thought maybe this was normal as some...
  42. The pca and nano that blew up was connected by...

    The pca and nano that blew up was connected by pins/sockets/circuit board with solder tracks I make.. (what u call that) so I’m guessing gnd connection on solder pad or socket or something was crook....
  43. JW I have no pics of the way it was wired for...

    JW I have no pics of the way it was wired for test sorry.
    I only have my own recollection which I wouldn’t expect you to rely on or me really..

    Last night I was a bit more observant but the setup...
  44. I should have re-connected to take a photo. It is...

    I should have re-connected to take a photo. It is all on pcb and glued in position with just a socket for nano and owm board.


    Interestingly last night I added some rotary encoders and used pwm...
  45. Yeah I edited the note but didnít re-do the image

    Yeah I edited the note but didnít re-do the image
  46. Hello JWScotSat. Yes. On last attempt only...

    Hello JWScotSat.
    Yes. On last attempt only PCA9685 and arduino nano connected when the last pair blew up. It ran for a little bit before smoking.
    Nano 5v reg is failing passing full 12v which...
  47. Iím using an Adafruit (clone) pca9685 breakout...

    Iím using an Adafruit (clone) pca9685 breakout board just because I have it to add a buffer between an expensive teensy and the mosfet driver which I donít fully understand. Iím using a nano here to...
  48. Killed another nano and pwm pca9685 board. My...

    Killed another nano and pwm pca9685 board.
    My nanos have regulators marked 1117-5 they are going up in smoke.

    I used a pololu 5v 500ma buck converter board and it is working so far.

    Thats...
  49. Electronics question. Why this blow up. No teensys involved

    Hello.
    I have been playing around with stroboscopic effect and though I would make myself a big strobe light.
    I ordered a few bits and thought this would work:
    15308

    This turns on the led...
  50. Lol.. thanks tonton and defragster.

    Lol.. thanks tonton and defragster.
Results 1 to 50 of 253
Page 1 of 6 1 2 3 4