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

Search:

Type: Posts; User: Edward

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I'd ask about the power supply you're using, and...

    I'd ask about the power supply you're using, and what that has built into it. From the sounds of it, we're trying to protect against user error, where you (or someone else!) sets the power supply to...
  2. Replies
    13
    Views
    190

    You shouldn't really start a new thread in a...

    You shouldn't really start a new thread in a different category, presumably because you weren't happy with the previous thread. This definitely belongs in the project guidance section (and is very...
  3. Replies
    2
    Views
    225

    The issue could be with what kind of output your...

    The issue could be with what kind of output your sensor has, I'd note in the project linked the sensor output is connected to +5V with a pull-up indicating that it's an open-collector output. is your...
  4. In general, a big capacitor should be placed by...

    In general, a big capacitor should be placed by the source (regulator) and a smaller one(s) by the load(s) (ESP/Teensy).
    Read the regulator datasheet, and it should say if it needs any external...
  5. Replies
    4
    Views
    127

    Hey Rotario, I never got to the bottom of this...

    Hey Rotario,

    I never got to the bottom of this one sadly. I ended up spoofing the behaviour using another hardware timer to check a boolean value, and if it hadn't been reset it performed my ISR...
  6. Replies
    2
    Views
    789

    MIDI lighting messages!

    Hi All,

    I've built a midi controller using a teensy 3.6 and adafruit trellis modules. I've gotten everything working up to a point.
    I'm using the controller to interface with the DJ software...
  7. You can do it this way, but I don't think shift...

    You can do it this way, but I don't think shift registers are what you're really after.
    The questions you pose -
    If in doubt whack some holes/pads for a capacitor and mark as DNE - do not equip....
  8. Replies
    18
    Views
    2,916

    I accept that I have been lazy and omitted to...

    I accept that I have been lazy and omitted to address the ground!
    Actually, that was my first though, but simmetrix (the simulator I use) doesn't have a proper LED symbol.

    I do feel the schematic...
  9. Replies
    18
    Views
    2,916

    If you half wave rectify first, you'll need a...

    If you half wave rectify first, you'll need a lesser optoisolator (without said antiparallel), and you can smooth before the optoisolator - not after, meaning a constant DC signal to the teensy...
  10. Replies
    18
    Views
    2,916

    Use a half wave rectifier to drive an opto...

    Use a half wave rectifier to drive an opto isolator / relay of your choice. Then double check your isolation/grounds like GremlinWrangler suggests.
  11. Replies
    3
    Views
    829

    Nice! Yeah that's going to do the job just fine...

    Nice! Yeah that's going to do the job just fine thanks!
  12. Replies
    3
    Views
    829

    Lambda function not capturing by value

    Hi all,

    what I'm trying to do is create a lamba function to use as an interrupt, to create a class that will automatically generate it's interrupt functions. The end use is for an encoder class,...
  13. Replies
    5
    Views
    1,586

    Well pretty much any teensy can behave as a key...

    Well pretty much any teensy can behave as a key board, and 65 inputs is achievable with any of them - but with different circuits.
    Have a good think about what you need from the device :
    Fast...
  14. Thread: drum pad brain

    by Edward
    Replies
    6
    Views
    1,435

    It's a just a thought, but if you can spare both...

    It's a just a thought, but if you can spare both an analog and digital pin per velocity sensitive input : pass the signal to a comparator with a low threshold to trigger an interrupt when the pad it...
  15. Replies
    2
    Views
    724

    Oh of course that makes perfect sense, thanks for...

    Oh of course that makes perfect sense, thanks for this!
  16. Replies
    6
    Views
    1,233

    Ahh yes, oops. Come to think of it I'm sure I've...

    Ahh yes, oops. Come to think of it I'm sure I've seen a matching transformer with a centre tap used for the phantom power. The problem with those resistors is you'll get about 10mA from them and...
  17. Replies
    6
    Views
    1,233

    Yes you can definitely run from the phantom...

    Yes you can definitely run from the phantom power, but DONT use too much! it's only intended to run small pre amps and so on; so be sure to check your current usuage.

    Those resitors you dont need...
  18. Replies
    10
    Views
    1,605

    How good is your shielding and power supply...

    How good is your shielding and power supply decoupling?
    Can you send pictures/schematics/code?
  19. Sounds like you've done a fair bit of thinking!...

    Sounds like you've done a fair bit of thinking!
    I completely agree with the modular based approach, having some core functionality and building ontop of that as required makes a lot of sense.
    ...
  20. Replies
    10
    Views
    2,045

    You're not wrong, it would be non-trivial! I...

    You're not wrong, it would be non-trivial! I think you'd either end up with some b-e-a-u-tiful wiring, all loomed up and complete with diagrams - or something that looks like a dreadlock!
  21. Replies
    10
    Views
    2,045

    Totally possible! I think if I had a spare 6...

    Totally possible! I think if I had a spare 6 months (and I mean that at 37.5 hours a week) and about 4-5k I could get something done. The platters would be the really difficult bits of hardware,...
  22. Replies
    2
    Views
    637

    Please wrap your code in code tags. [ CODE ] ...

    Please wrap your code in code tags.
    [ CODE ] //your code here [ / CODE ]
    but without the spaces.

    Yes you can probably do that. My first thought is seeing as you're polling all the pins, simply...
  23. Replies
    3
    Views
    1,207

    That's a pretty broad post, and with a lot of...

    That's a pretty broad post, and with a lot of missing detail.
    Pushing buttons to make something happen? Can do
    Get teensy to run DMX? probably, teensy can imitate pretty much any interface you...
  24. Replies
    17
    Views
    2,314

    You need analog inputs to read the outputs of a...

    You need analog inputs to read the outputs of a potentiometer, unless you want the pot to act as a switch. If you look at the reference pictures, they colour code what pins can be used as what.
    ...
  25. Replies
    10
    Views
    2,045

    You could definitely rig a teensy to become a USB...

    You could definitely rig a teensy to become a USB CD player, stream the music from the PC and adjust volume, pause/play skip, even read mutlple tracks and mix them together. 3.x will do that just...
  26. Ah yes, my apologies, my answer is the wrong way...

    Ah yes, my apologies, my answer is the wrong way round!
    Only a single diode is needed if you're preferring an external power source applied to Vin
  27. Replies
    2
    Views
    724

    Initialise member array using const

    Hi All,

    I'm writing a class to handle storage in the EEPROM for my project. What I'd like to do is use arrays of pointers for the various different variables I'd like stored so that when I come to...
  28. Replies
    0
    Views
    308

    Initialise member array using const

    // deleted, wrong category sorry!
  29. I can confirm potatotron's idea. I've been using...

    I can confirm potatotron's idea.
    I've been using Schottky diodes with my teensy 3.2 within a power supply, to power the teensy either from the board or from the USB. It works great and you can...
  30. Replies
    3
    Views
    1,308

    So what you're saying is you tried writing the...

    So what you're saying is you tried writing the data to a file of 0's and 1's but it ended up being encoded as 2 bytes per 0 or 1?
    That would be exactly how I'd expect a text file to behave, though...
  31. Replies
    10
    Views
    2,331

    Yes. Depending on the frequency and accuracy you...

    Yes. Depending on the frequency and accuracy you need there would be different ways to do it.
    The Library interval timer gives you pretty robust access to up to 4 hardware timers.
    What...
  32. Replies
    4
    Views
    895

    What's the application? What's the level of...

    What's the application? What's the level of accuracy on the timings and why? How accurate do you need to read/write your signals? How often do you need to refresh the output?
    Using two audio...
  33. Replies
    13
    Views
    2,732

    So you're at the mercy of your computers USB...

    So you're at the mercy of your computers USB supply, I asume without any decoupling? Whack a big old capacitor across Vin - GND and that should fix it, couple microfarad.

    I can't actually tell,...
  34. Replies
    13
    Views
    2,732

    Are you using two different power supplies, or...

    Are you using two different power supplies, or are you using the same 5V to power the teensy and supply the pedal?
    In either case if you're seeing teensy reset when you connect the pedal it's...
  35. Replies
    10
    Views
    3,677

    You're one click away from the library page!...

    You're one click away from the library page!
    https://www.pjrc.com/teensy/td_libs.html
    is the main reference. Look under Device Control and Signal Output Libraries for a variety of PWM options....
  36. Replies
    10
    Views
    3,677

    The interval timer library allows you to use up...

    The interval timer library allows you to use up to four timers (assuming they're not being used elsewhere) to precisely control events, which would be where to start if you wanted to write all your...
  37. Replies
    5
    Views
    1,713

    Using a voltage divider is a pretty standard way...

    Using a voltage divider is a pretty standard way of scaling an analogue voltage to fit within the range of your ADC and should work fine.
  38. How much did you spend on the wall adaptor? The...

    How much did you spend on the wall adaptor? The tenma 72-10495 is ~150, if you swap it for a 15 wall adaptor you'll notice the difference!
    Particularly you've noticed that different supplies lead...
  39. Generally speaking, you can think of a teensy as...

    Generally speaking, you can think of a teensy as a smaller, more powerful, cheaper and easier to break Arduino!
    You could easily replace the Arduino in that instructable with a teensy, assuming you...
  40. Hey, sound like an epic project. Maybe you could...

    Hey, sound like an epic project. Maybe you could draw some diagrams? That's a big system to get my head around in just words (though maybe I'll be better post coffe)

    I can address the later...
  41. Replies
    10
    Views
    2,458

    If you're just reading from the port you can use...

    If you're just reading from the port you can use a program called "putty" to watch the port; It has an option to save the session data which might be what you need.
  42. Replies
    14
    Views
    3,443

    of course, here is the updated code #ifdef...

    of course, here is the updated code



    #ifdef __cplusplus // not going to pretend I 100% get this wrapper, it's just something I've seen done.
    extern "C" {
    #endif
    void startup_early_hook() {...
  43. Replies
    6
    Views
    2,451

    Fair enough, I mean - hard to do but good to try....

    Fair enough, I mean - hard to do but good to try. I usually pick up my teensy's when ordering PCBs from OSH park, they're about $20 and shipping included - if you're doing PCB design at any point...
  44. Replies
    14
    Views
    3,443

    I've tried those to no avail. I'm digging through...

    I've tried those to no avail. I'm digging through the data sheets and there's a bunch of registers for handling the ISR, but as far as I can tell those two macros should be all that's needed; they do...
  45. Replies
    14
    Views
    3,443

    Yes that's the register for AVR, the ARM version...

    Yes that's the register for AVR, the ARM version is teensy3/kinetis.h WDOG_STCTRLH. I've got the WDT running and resetting the board but I can't get it to trigger the interrupt; and by extention I...
  46. Replies
    14
    Views
    3,443

    I've been through the K20 data sheet a couple of...

    I've been through the K20 data sheet a couple of times and I'm pretty sure I get it. Setting the bit WDOG_STCTRLH_IRQSTEN enables the interrupt, which then appears on the MSB in the register...
  47. Replies
    19
    Views
    6,233

    Starting with the Audio adapters is a good idea;...

    Starting with the Audio adapters is a good idea; it'll make it easier to get you're project going. You'll be stuck using something like I2S becuase you dont have enough physical DACs for four...
  48. Replies
    12
    Views
    2,395

    Well that sounds like progress! If you're sure...

    Well that sounds like progress! If you're sure that you're teensy and dash are happy communicating together (same voltages) then there's other things to check.
    If you've got data coming through but...
  49. Replies
    12
    Views
    2,395

    Ever hear the phrase potential difference? The...

    Ever hear the phrase potential difference? The problem you have is the voltage is not the absolute level of the point, but the difference in electrical potential between that and something else,...
  50. Replies
    14
    Views
    3,443

    Yes that thread was very helpful in getting to...

    Yes that thread was very helpful in getting to the point where the watchdog causes a reset but there's nothing in there about using watchdog_isr(); there's also quite a few different solutions in...
Results 1 to 50 of 64
Page 1 of 2 1 2