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.01 seconds.

  1. Hello Smitj11. I would like to confirm that what...

    Hello Smitj11.
    I would like to confirm that what you want as shown in your WANT picture is what you want.
    I'm thinking you don't want to logically code some strip of leds from 0 to 32 and have the...
  2. Works well. triggers on at 6.8Vdc and off at...

    Works well. triggers on at 6.8Vdc and off at 5.4Vdc on 15vAC generator coils.
    https://www.youtube.com/watch?v=fUtgJjUKdVQ
  3. Thanks for the tip. That will work out good if...

    Thanks for the tip. That will work out good if thatís the case. Iíll start it up tomorrow and check how it works and double check my specs and resistor values. They may need slight change as lowest...
  4. Motorcycle tacho using teensy electronics guidance.

    Hello all.
    I got myself a dirt bike and would like to put a tacho on it to display rpm and log it along with engine temp, maybe some other stuff who knows.
    What is a good way to do this?

    The...
  5. Iíve made an assumption itís the hx711 because...

    Iíve made an assumption itís the hx711 because the modified breakout with the internal regulator disabled gave readings that vary less than another 2 that havenít been altered.

    I donít know about...
  6. yep. level converion fixed this issue. 20582...

    yep. level converion fixed this issue.
    20582
    However when I increase supply voltage to the hx711 I get increased noise as seen by the min/max serial print. You can see where it goes from +-.1 to...
  7. MatrixRat.. I hit refresh hoping nobody had...

    MatrixRat.. I hit refresh hoping nobody had replied... got my level converters in hand...
    It will run from anyware below 4.99VDC. The crazy logic 0 on my scope got me confused.
    A bit embarrassing....
  8. Unfortunately this was not my issue. I'm using a...

    Unfortunately this was not my issue. I'm using a version of the library where accommodation has already been made for speedy micro's like teensy. I'm getting a nice 3uS clock pulse.
    Hardware wise I...
  9. No I had not. This sounds like a winner. Iíll...

    No I had not.
    This sounds like a winner. Iíll test as soon as I can.
    I expect scope will show clock pulse is out of spec (less than 0.2uS as per datasheet.
    Thank you PhilB. Iíll post back later.....
  10. I need electronics help. #hx711 #teensy3.2 #logic levels #noise #scopePics

    Hello all.
    I'm building the electronics for a Torsion bar dyno for a mate. It's a device that tests the load at various amounts of twist on a race car torsion bar.
    It is a Teensy 3.2, a load...
  11. You could hang a rpi off your current setup just...

    You could hang a rpi off your current setup just for uploads. Pi zero with cli teensy loader and a wifi hotspot nearby will do. Vnc or ssh into it, run a script to upload. Monitor serial for...
  12. Your pic shows i2c display. Teensy advice is to...

    Your pic shows i2c display. Teensy advice is to use external pull-ups. Your code shows spi so i don’t think you need them.
    Either way, thinking about it,I don’t think your program would care if...
  13. Perhaps your code hangs if your display stops...

    Perhaps your code hangs if your display stops communicating. I don’t know if the library works like that.. you could pull some wires out and check this.
    Put some serial debug messages in setup()....
  14. Are you certain your teensy is freezing or just...

    Are you certain your teensy is freezing or just your display?... perhaps put a debug led to blink. Use onboard one if the pin is free.

    I think I noticed your averaging 9 battery voltage values...
  15. So are you saying you never have this issue when...

    So are you saying you never have this issue when running off usb power?
  16. Replies
    5
    Views
    288

    All the nextion displays I’ve ever used specs...

    All the nextion displays I’ve ever used specs said 3.3V on their website for data lines.... hold on... google,first result,electrical characteristics...says 3.3v. I think u safe unless you got some...
  17. Replies
    3
    Views
    240

    1.However much time the rest of your code has...

    1.However much time the rest of your code has taken.That is, you need to check for > rather than == because your code might be doing other stuff for 2ms between the time you check it.
  18. Replies
    13
    Views
    561

    You could use the teensy and the arduino IDE...

    You could use the teensy and the arduino IDE serial plotter as a logic analyser.
    Turn the encoder and take a photo. It's not ideal but here you can see two good channels.
    Reversing the encoder...
  19. Yes you could do that. You could use your audio...

    Yes you could do that.
    You could use your audio board as the splitter if you setup the mixers.
    I know thats what I did rather than looking into an issues I was having with sdcard playback...
  20. Replies
    13
    Views
    561

    With a crisp image, google translate is helpful...

    With a crisp image, google translate is helpful for this sort of stuff.
  21. My understanding is each ws2811 chip gerates the...

    My understanding is each ws2811 chip gerates the signal for the next chip. Perhaps its a noise issue.
    The popular way people extend the ws2811 signal from your controller is a cheap pair of rs485...
  22. 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:...
  23. 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...
  24. 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.
  25. 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...
  26. 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
  27. Replies
    6
    Views
    323

    Is it because teensy 4.0 is 3.3v?

    Is it because teensy 4.0 is 3.3v?
  28. Replies
    1
    Views
    244

    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...
  29. Replies
    12
    Views
    526

    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.
  30. 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...
  31. Replies
    5
    Views
    408

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

    Schematic shows a 500ma fuse. Has that blown. Should have pads accessible.
  32. 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...
  33. Thread: teensy

    by Gibbedy
    Replies
    1
    Views
    254

    How are pedal electronics wired to pins 2 and 3?

    How are pedal electronics wired to pins 2 and 3?
  34. 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...
  35. 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...
  36. 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...
  37. 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...
  38. 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...
  39. 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.
  40. 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?
  41. 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...
  42. 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.
  43. 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.
  44. 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);...
  45. Replies
    1
    Views
    198

    "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...
  46. Replies
    5
    Views
    414

    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...
  47. Replies
    1
    Views
    198

    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...
  48. Replies
    6
    Views
    414

    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()) {
    ...
  49. Replies
    6
    Views
    414

    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.
  50. 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...
Results 1 to 50 of 274
Page 1 of 6 1 2 3 4