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. Replies
    19
    Views
    532

    So if you look at the teensy schematic (3.5 at...

    So if you look at the teensy schematic (3.5 at least) you'll see AGND and GND are connected through a ferrite, and there's a circuit around this for the analog reference. Placing a pot between VDD...
  2. I've just looked a bit deeper into the datasheet...

    I've just looked a bit deeper into the datasheet and it says the USB_VBUS inputs are "not part of the power-on sequence and may be powered at any time". So I was wrong, you can (as other's have...
  3. Replies
    43
    Views
    2,525

    This is great! I've often thought about this...

    This is great!
    I've often thought about this sort of thing as much as I love the teensy's, I really don't care for 0.1" header as I'm almost always dropping them on a PCB. Personally I'd want a...
  4. So with that charger you dont even need the...

    So with that charger you dont even need the switch, if you
    cut the track
    connect Vusb to the charger Vin pins
    connect the battery to the charger Vbat pins
    connect the charger Vout pins to the...
  5. Replies
    2
    Views
    145

    oh, that's embarrassing. I'm supplying my CAN...

    oh, that's embarrassing. I'm supplying my CAN transceiver 3.3 when it needs 5V, that certainly would explain why it's being sketchy. I'll rework the board and see if the problem resolves itself!
  6. Replies
    2
    Views
    145

    CAN bus sporadic failure

    Hi All,

    so I'm working on a project that uses the CAN bus for some command/control and I'm getting an inconsistent problem.
    I'm using the flexCAN library by teachop, and a T3.2. In the setup...
  7. So the trace as you've identified is there to...

    So the trace as you've identified is there to separate the Vin and Vusb pins.
    This is becuase sometimes you want to power the teensy from whatever it's plugged into through Vin, but if you have the...
  8. Replies
    13
    Views
    469

    I confess I've never looked at the power...

    I confess I've never looked at the power consumption, but last year I was working on a project where getting a consistent speed of write was becoming important.
    The SD card itself makes a number of...
  9. You've commented out all the code for sending...

    You've commented out all the code for sending back to the Xbee
  10. You're not powering the teensy properly. If you...

    You're not powering the teensy properly. If you look at the schematic, main chip, top left, N6 and M6 are Vusb inputs, expecting I assume 5V.
    Cutting the Vin-Vusb trace allows you to power the...
  11. Replies
    2
    Views
    171

    In terms of the language, Arduino is C++, and you...

    In terms of the language, Arduino is C++, and you can use both c and C++. Most libraries are c++, but if dig around enough you occasionally come across a bit of c. See? (I'm not sorry for that at...
  12. Varying playback speed sounds simple but really...

    Varying playback speed sounds simple but really isn't, and while I've never used the audio library, I would be 99.9% sure this wasn't built in because it's not something a user would be likely to...
  13. you should always wrap any code you post in code...

    you should always wrap any code you post in code tags so it looks like


    int myExampleFunctions(void *ptr)
    {
    return 7;
    }


    stall detection on stepper motors isn't really as reliable as it...
  14. Replies
    5
    Views
    292

    I thoroughly concur with paul. Steps to your goal...

    I thoroughly concur with paul. Steps to your goal -

    - get a breadboard with mutiple pots working just wiring them to analog pins.
    - get a breadboard with one MUX and one pot working
    - get a...
  15. Replies
    5
    Views
    228

    Sounds sensible. For a diagnostic tool, I imagine...

    Sounds sensible. For a diagnostic tool, I imagine it would be more important to quantify how accurate/reliable the tool is, and give that information to the operator for them to consider. It would...
  16. Replies
    4
    Views
    233

    Arduino doesn't play well with user libraries....

    Arduino doesn't play well with user libraries. It's 100% aimed at those with no/minimal prior coding experience and does lots of things that can really confuse programmers moving to the environment....
  17. Replies
    5
    Views
    228

    Depends on the device and application, "medical"...

    Depends on the device and application, "medical" is pretty broad. You'll want to pick a level of certification that suits your market.
    Is failure of your device liable (even if not likely) to cause...
  18. Replies
    3
    Views
    339

    You've got two functions checkTouch() and...

    You've got two functions checkTouch() and checkTick()

    checkTouch() looks at the values from the touch pins and turns the note on if the value is high enough, and checkTick turns the note off after...
  19. Replies
    19
    Views
    532

    Those both seem like good resources. I'd start...

    Those both seem like good resources. I'd start with the 3- capacitor method in the second link, becuase it wont hurt. Inductors can also help, but if you get the tuning wrong you can make some...
  20. Replies
    19
    Views
    532

    Oh, I see on the controller side, I'd understand...

    Oh, I see on the controller side, I'd understand being worried a bit about noise from the battery, but not elsewhere. I don't think I've ever seen enough noise on a teensy's ADC inputs to actually...
  21. Replies
    19
    Views
    532

    Hi There, this is quite a general post, so...

    Hi There,

    this is quite a general post, so I'll throw some general pointers.

    When you use a voltage/pot combo like this, any noise present on the power supply will make it's way through to the...
  22. 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...
  23. Replies
    17
    Views
    550

    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...
  24. Replies
    2
    Views
    375

    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...
  25. 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...
  26. Replies
    4
    Views
    489

    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...
  27. Replies
    2
    Views
    1,012

    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...
  28. 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....
  29. Replies
    18
    Views
    3,301

    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...
  30. Replies
    18
    Views
    3,301

    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...
  31. Replies
    18
    Views
    3,301

    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.
  32. Replies
    3
    Views
    939

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

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

    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,...
  34. Replies
    5
    Views
    1,771

    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...
  35. Thread: drum pad brain

    by Edward
    Replies
    6
    Views
    1,575

    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...
  36. Replies
    2
    Views
    789

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

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

    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...
  38. Replies
    6
    Views
    1,381

    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...
  39. Replies
    10
    Views
    1,719

    How good is your shielding and power supply...

    How good is your shielding and power supply decoupling?
    Can you send pictures/schematics/code?
  40. 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.
    ...
  41. Replies
    10
    Views
    2,207

    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!
  42. Replies
    10
    Views
    2,207

    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,...
  43. Replies
    2
    Views
    714

    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...
  44. Replies
    3
    Views
    1,343

    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...
  45. Replies
    17
    Views
    2,462

    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.
    ...
  46. Replies
    10
    Views
    2,207

    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...
  47. 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
  48. Replies
    2
    Views
    789

    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...
  49. Replies
    0
    Views
    402

    Initialise member array using const

    // deleted, wrong category sorry!
  50. 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...
Results 1 to 50 of 85
Page 1 of 2 1 2