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

Search:

Type: Posts; User: luni

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    52
    Views
    2,971

    Maybe this helps to set up the differential ADC...

    Maybe this helps to set up the differential ADC in principle. https://forum.pjrc.com/threads/57890-TeensyLoadcell-Direct-Loadcell-Readout-with-T3-2
  2. Replies
    15
    Views
    360

    Very nice! Back in the days when people...

    Very nice!



    Back in the days when people had weird hair cuts, wore flared trousers and CCD chips where extremely expensive there was some hype about opening DRAM chips and using them as CCDs....
  3. Replies
    58
    Views
    1,753

    Thanks a lot for your feedback. Yes, that...

    Thanks a lot for your feedback.


    Yes, that was surprisingly simple


    Actually I have a few lying around but never used them. Will give them a try when I find some time.


    He, he, when I...
  4. Replies
    58
    Views
    1,753

    Not from me, but it is under MIT, so feel free to...

    Not from me, but it is under MIT, so feel free to ask SparkFun, and probably PJRC :-) (According to a comment from the SparkFun CEO on Youtube they already viewed the vid during a company meeting :-)...
  5. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    Here you are:...

    Here you are: https://github.com/luni64/USB-C---MicroB
  6. Replies
    58
    Views
    1,753

    Next step in my deep dive into the MicroMod stuff...

    Next step in my deep dive into the MicroMod stuff was to build a custom carrier board. The compact stepper board can be used with up to four stepper drivers with standard layout (e.g. DRV8825)....
  7. Here a link to the user wiki:...

    Here a link to the user wiki: https://github.com/TeensyUser/doc/wiki
  8. Replies
    10
    Views
    454

    You could try this ...

    You could try this https://github.com/dxinteractive/ResponsiveAnalogRead it usually works wonders out of the box :-)
  9. Replies
    10
    Views
    272

    I'm probably missing something, but why does it...

    I'm probably missing something, but why does it have to be an "official" addon board? Packing an ESP on a simple T3/4 breakout board and communicate to it via serial doesn't sound difficult?
  10. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    No, this would hardly be economical :-). However,...

    No, this would hardly be economical :-). However, If you want, I can put the design files on GitHub so you can order/make them yourself. Board cost (JLPCB) where EUR12 for 10pcs including shipment...
  11. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    Works :-) 2317023169231672316823166

    Works :-)

    2317023169231672316823166
  12. Replies
    6
    Views
    1,098

    Looks like you stumbled over the same issue as...

    Looks like you stumbled over the same issue as already found in another context here: https://forum.pjrc.com/threads/65469-EncoderTool-Problems?p=264465

    Seems to be some weird linker issue. See...
  13. Replies
    58
    Views
    1,753

    Actually, hand soldering it is not _that_...

    Actually, hand soldering it is not _that_ difficult. If I can do it using my 40 year old DIY soldering station anyone can :-). Some cheap loupe glasses help a lot...

    Good thing is that my daughter...
  14. Replies
    58
    Views
    1,753

    To follow that up: Grounding PTA1 works, the SWD...

    To follow that up: Grounding PTA1 works, the SWD pins get tri stated and an external debug probe can connect. Grounding PTA3 does disable the bootloader (it doesn't react to the boot button anymore)...
  15. Replies
    58
    Views
    1,753

    Thanks for the feedback. Meanwhile, I did some...

    Thanks for the feedback. Meanwhile, I did some measurements and found that the boot input pin is permanently low. I assume some shortcut under the bootloader or it simply is broken...

    Anyway, I...
  16. Replies
    58
    Views
    1,753

    Actually I very much hope that Paul is working on...

    Actually I very much hope that Paul is working on it and that the rumors are not just rumors... :cool:

    IMHO, this form factor is really intriguing for integrating processors into custom carrier...
  17. Replies
    58
    Views
    1,753

    Yay... after some delay due to the Christmas...

    Yay... after some delay due to the Christmas holidays the boards for my first DIY Teensy (compatible to the SparkFun MicroMod carriers) arrived today...

    23076

    23077 23082

    .. and I tested...
  18. Replies
    106
    Views
    4,091

    I wouldn't do that, I'd just sum both and...

    I wouldn't do that, I'd just sum both and calculate the percentage. The deviation is relatively small and probably won't disturb anyone. Never confuse users if you want to avoid support (I'm heading...
  19. Replies
    106
    Views
    4,091

    A few hopefully constructive remarks: While...

    A few hopefully constructive remarks:

    While the percentages for ITCM and DTCM are correct technically, they might be misleading since they only show the usage relative to the current ITCM/DTCM...
  20. Replies
    106
    Views
    4,091

    Actually, smalloc is able to use more than one...

    Actually, smalloc is able to use more than one memory pool at the same time. Here an example how to setup an additional pool on DTCM. This example also shows how to use use placement new to construct...
  21. Replies
    13
    Views
    1,012

    ........ ;)

    ........ ;)
  22. Replies
    13
    Views
    1,012

    The dsb is needed to make sure the reset of the...

    The dsb is needed to make sure the reset of the interrupt flag propagated through the caches and busses to the actual timer hardware. Without dsb and a very short ISR (like the one you have) the ISR...
  23. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    :-) Any recommendations on a fuse and the...

    :-)

    Any recommendations on a fuse and the clamping diode?
  24. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    Thanks a lot for the input. Made me recalculating...

    Thanks a lot for the input. Made me recalculating and rereading some stuff.

    Regarding the differential line: IIRC, a rule of thumb says as long as your wires are shorter that 1/10 of the...
  25. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    Not on this board but since you would connect...

    Not on this board but since you would connect power hungry devices to the pin headers I'd say you can always do any required filtering there.
  26. Thread: USB-C Adapter

    by luni
    Replies
    16
    Views
    525

    USB-C Adapter

    Inspired by vjmuzik's thread https://forum.pjrc.com/threads/65633-T4-1-External-USB-C-Connector and my quest to get familiar with KiCad I thought it might be fun to do a simple USB-C adapter board....
  27. Replies
    2
    Views
    232

    Interesting idea and a nice Type-C connector. If...

    Interesting idea and a nice Type-C connector. If you don't mind I'll steal this idea and try to make a small castellated adapter board to add a USB-C connector to the T4.1. Care to mention which one...
  28. Of course these encoders are perfect for some...

    Of course these encoders are perfect for some applications but they are large and the price difference is significant. A standard mech encoder is about 50ct in single quantities. People here are...
  29. Even better :-)

    Even better :-)
  30. Sure, never used them, where can I find info and...

    Sure, never used them, where can I find info and use cases?
  31. Here you are:...

    Here you are: https://github.com/TeensyUser/doc/wiki/Memory-Mapping.
    Might be a good idea to double check all those special cases....
  32. There was an "inline" missing in the destructor...

    There was an "inline" missing in the destructor declaration. I uploaded a fix to GitHub. Can you try if the current version works for you? And, thanks for spotting yet another bug....

    BTW:
    The...
  33. Replies
    58
    Views
    1,753

    I meanwhile finished the design of a MicroMode...

    I meanwhile finished the design of a MicroMode compatible stepper driver carrier. So, I'm ready for the MM Version of the T4 :-) (or, at least I will have something to play with my (hopefully) T3.2...
  34. Replies
    11
    Views
    333

    Actually it runs with 24MHz but it can easily be...

    Actually it runs with 24MHz but it can easily be switched to 150MHz. Here the TeensyTimerTool which Paul mentioned above: https://github.com/luni64/TeensyTimerTool It implements a generic access to...
  35. Mea culpa, as so often, I got distracted and...

    Mea culpa, as so often, I got distracted and never finalized this article. I'll add the missing info about PROGMEM asap.
  36. Replies
    21
    Views
    460

    I uploaded a fix for the wrong conditional to the...

    I uploaded a fix for the wrong conditional to the master branch of the lib.

    BTW: Does anybody know of a working unit test framework for embedded projects? The growing number of boards makes...
  37. Glad it works, and good to know that it handles...

    Glad it works, and good to know that it handles problematic encoders as well.

    The "fix" you did with removing "override" is OK if you don't use the button features of the library. Actually, it...
  38. I agree with KurtE and Defragster. It simply...

    I agree with KurtE and Defragster. It simply doesn't work to have parts of a class in a different memory section. At the end of the day the compiler needs to be able to calculate the size of the...
  39. Replies
    21
    Views
    460

    Well, its more like a baby tree and I had a hard...

    Well, its more like a baby tree and I had a hard time mounting it but it is a self cut tree after all ;)

    22926
  40. Thanks for the shoutout. Here the link to the...

    Thanks for the shoutout. Here the link to the library: https://github.com/luni64/EncoderTool. Actually I'd be quite interested if it works with your problematic encoder (which is quite expensive by...
  41. Replies
    21
    Views
    460

    Yes, wife and daughter made me go in the forest...

    Yes, wife and daughter made me go in the forest to cut a tree :-)
  42. Replies
    21
    Views
    460

    For memory challenged boards you can switch off...

    For memory challenged boards you can switch off the std::function support in config.h.
  43. Replies
    21
    Views
    460

    Ups, can you move the #endif after the closing...

    Ups, can you move the #endif after the closing bracket in EncoderBase.cpp (line 196). The #endif should be the last statement in the file. I need to leave right now, I'll fix it later today
  44. Replies
    134
    Views
    5,658

    Octopart is already quite good at it. Here what...

    Octopart is already quite good at it. Here what it knows about Teensies https://octopart.com/search?q=teensy&currency=USD&specs=1 Currently only the larger distributors are listed but it is growing...
  45. Replies
    134
    Views
    5,658

    Actually he bragged about renaming it but got...

    Actually he bragged about renaming it but got distracted by a few PCBs :-). But now X-mas vacation starts and I'll have time for those things...
  46. Replies
    58
    Views
    1,753

    Yes, they are a bit fragile but I want to check...

    Yes, they are a bit fragile but I want to check the assembly capabilities of JLCPC. Lets see how they manage that :-)
  47. Replies
    58
    Views
    1,753

    I asked them about soldering that MicroMod...

    I asked them about soldering that MicroMod connector. Unfortunately they will only assemble what's in their parts library. This library is suprisingly large and they have a lot of NXP processors (e.g...
  48. Replies
    21
    Views
    460

    Great. Let me know if you find something else. ...

    Great. Let me know if you find something else.


    No, just some things unthought of so far. Would be boring if everything just worked :-).
  49. Replies
    21
    Views
    460

    @fdaniels: I uploaded a fixed version which works...

    @fdaniels: I uploaded a fixed version which works here. Can you give it a try? (it implements the missing _write() which is a bit rude but works)

    @Paul:

    So was I. To test it I placed a...
  50. Replies
    21
    Views
    460

    If I move the definiton of _write from print.cpp...

    If I move the definiton of _write from print.cpp to mk20dx12.c above the definition of _read, it works:



    __attribute__((weak))
    int _write(int file, char *ptr, int len)
    {
    //((class Print...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4