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

Search:

Type: Posts; User: Pilot

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. The operations are there to allow the processor...

    The operations are there to allow the processor to pause and consider the existential dread it becomes aware of each time it's powered on.
  2. Beside replacing the RPi, you can also try taking...

    Beside replacing the RPi, you can also try taking all but one Teensy out of the loop and seeing if the problem persists. Trying them in enough combinations may reveal that one of them has a flaky...
  3. Have you plugged a circuit tester into the outlet...

    Have you plugged a circuit tester into the outlet to verify that the ground pin is actually grounded? If you don't have one of those, go to the panel and see if it's grounded. Typically there will be...
  4. What exactly is it that drives this pin? Do...

    What exactly is it that drives this pin?

    Do all of the components share a common ground?

    Is the electrical circuit itself well-grounded? Is it noisy? Can you (and I'm being serious) run a long...
  5. That looks like fun. I remember a few years ago...

    That looks like fun. I remember a few years ago designing a small AVR platform and having Seeed manufacture the boards. It's cool to go from CAD to holding something in your hand.
  6. I'm glad the feedback was useful. In this...

    I'm glad the feedback was useful. In this particular case, I think if the project takes off, people will want to plug in all sorts of different things. It may be that the GPS receiver you used is...
  7. Good stuff. It looks polished. A few comments. ...

    Good stuff. It looks polished. A few comments.

    Protocol buffers seems like a good choice for serialization format.

    The license (whatever it is) should appear at the top of every file.

    It is...
  8. Dead-time control is described here, on Repetier:...

    Dead-time control is described here, on Repetier: https://www.repetier.com/dead-time-control/

    The variable is described in this image:
    22130

    There are only two variables: maximum drive...
  9. I am pretty familiar with PID, and have written a...

    I am pretty familiar with PID, and have written a fair amount about understanding it. What I don't get is whether deadtime isn't more popular because it has some inherent disadvantage, or whether...
  10. Looks really good. Have you thought about using...

    Looks really good. Have you thought about using deadtime instead of PID? I used both for controlling 3D printer hot ends and heated beds. PID requires a lot of trial and error to understand,...
  11. Replies
    36
    Views
    2,744

    That looks really good. I love bare-board stuff...

    That looks really good. I love bare-board stuff like this.
  12. Replies
    7
    Views
    416

    Perhaps you want to use the Teensy to control the...

    Perhaps you want to use the Teensy to control the motors because you have found a way to do it, and you don't know how to achieve the same effect on the Pi, and the project taxes your current skill...
  13. Replies
    7
    Views
    416

    For what purpose, and using what mode of...

    For what purpose, and using what mode of communication?
  14. Replies
    2
    Views
    217

    Well, there are a few ways you can go about this,...

    Well, there are a few ways you can go about this, and the usual solution is not to use ML.

    Drones are normally stabilized by using an IMU (inertial measuring unit) that produces a unit vector...
  15. It sounds like fun! You should upload some photos.

    It sounds like fun! You should upload some photos.
  16. Thread: Mimxrt1062dvj6a

    by Pilot
    Replies
    3
    Views
    276

    If it works, it can be called the Siberian Teensy...

    If it works, it can be called the Siberian Teensy mod.
  17. Replies
    3
    Views
    306

    Agree. This is a great way to write code that's...

    Agree. This is a great way to write code that's "accidentally right," so it's best done with care, and only where necessary.
  18. Replies
    3
    Views
    538

    Interesting. How come you put the buffer in...

    Interesting. How come you put the buffer in DMAMEM?
  19. Replies
    3
    Views
    254

    It's a good idea to look at how other people have...

    It's a good idea to look at how other people have done things, replicate what they did, and then make very small incremental changes - verifying whether it works at each step - to see if you can move...
  20. Replies
    23
    Views
    1,023

    Have you thought about using light instead of...

    Have you thought about using light instead of sound? These sensors are used to calibrate 3D printer Z height, and must be accurate to within (at most) a few tens of microns....
  21. Replies
    11
    Views
    572

    Definitely ARM64 (using the beta.) Everything...

    Definitely ARM64 (using the beta.) Everything from graphics to disk I/O is substantially faster, to the point where I can run KDE, and Chromium doesn't slow down even when a web page is infested with...
  22. Replies
    11
    Views
    572

    I think you're right. It is definitely broken for...

    I think you're right. It is definitely broken for ARM64.
  23. Replies
    11
    Views
    572

    PlatformIO is currently broken for Teensy 4.0, at...

    PlatformIO is currently broken for Teensy 4.0, at least under Linux. The toolchain is missing some stuff. Would be nice if they got that fixed. It looks really nice and I want to try it with VSCode.
  24. Replies
    11
    Views
    493

    How do you know it's stopping? If you put a...

    How do you know it's stopping?

    If you put a delay(1000) and then some code to turn an LED on, just in the setup() function, with no other code in there, does the LED turn on?
  25. Replies
    11
    Views
    493

    It appears all serial code is disabled, so I...

    It appears all serial code is disabled, so I don't see a problem there.

    I have never used analogWrite() on Teensy 4, but from some cursory research, it appears that its range on that chip is 0 -...
  26. Replies
    11
    Views
    493

    Hard to say without taking a look under the hood....

    Hard to say without taking a look under the hood. Post the source code.
  27. Replies
    29
    Views
    1,395

    One of the interesting things I've learned from...

    One of the interesting things I've learned from watching Robert C. Martin videos is that C already had perfect encapsulation (structs) and visibility (static functions, if I recall), and C++ actually...
  28. From a maintainability perspective, it's 100%...

    From a maintainability perspective, it's 100% better to do this in software. Suppose you change your mind about how that should work in six months. Do you want to adjust a few lines of code - or do...
  29. 64-bit ARM (Raspberry Pi) - Teensyduino 1.53 hangs at end of compile due to firewall?

    This doesn't seem like a bug, but it does leave me curious.

    Just today I got a Raspberry Pi 4 set up with the 64-bit version of the OS formerly known as Raspbian. It runs off an SSD, and boots...
  30. Replies
    23
    Views
    5,159

    I would suggest starting a new thread.

    I would suggest starting a new thread.
  31. That means the code is asking the compiler to do...

    That means the code is asking the compiler to do this:
    volatile uint32_t 0x04

    ...which means "create a variable called 0x04", rather than "create a variable called baud and set it to 0x04". So it...
  32. Well, here is a question. Your application is...

    Well, here is a question. Your application is machine learning. Do you really need that high resolution? A lot of ML takes place on 16- and 32-bit floats.

    And another: what is the resolution of...
  33. Replies
    35
    Views
    1,573

    Have you thought about putting this on GitHub?...

    Have you thought about putting this on GitHub? That would mean you don't have to upload zip files.
  34. Replies
    6
    Views
    302

    My guess is that your earlier post about...

    My guess is that your earlier post about petitioning Google would be the way to go, although I would be amazed if they did anything.

    The other option (not sure if possible) would be for Teensy to...
  35. Replies
    6
    Views
    302

    The sudo thing actually makes sense since root is...

    The sudo thing actually makes sense since root is not authorized to talk to the X server (not sure whether it's xorg or wayland.)

    When you plug it in, do you get any new entries under /dev, like...
  36. DMA transfers are not atomic. That is to say, the...

    DMA transfers are not atomic. That is to say, the DMA controller can't "freeze" the memory before transferring its contents. If you write to the buffer while it is being transferred, the DMA...
  37. Is there a way to connect some faster external...

    Is there a way to connect some faster external RAM that would use the DMA controller? 12 address lines would get you to 8MB, and then you could use 8 or 16 lines to transfer data.

    Alternately, is...
  38. Replies
    36
    Views
    2,744

    Did you have this board made, or did you...

    Did you have this board made, or did you fabricate it at home?
  39. I use these in a header file: // Note:...

    I use these in a header file:



    // Note: DO NOT USE WITH CHAR[].
    template <class T> int read(int addr, T& value) {
    //addr *= 4;
    byte* p = (byte*)(void*)&value;
    ...
  40. Replies
    29
    Views
    1,395

    C++ is a very powerful language; but it has 35...

    C++ is a very powerful language; but it has 35 years of baggage which translate into overly complex syntax, bizarre rules, and error messages that sometimes seem deliberately unhelpful. In high-level...
  41. Replies
    6
    Views
    302

    Have you tried switching the ChromeOS channel to...

    Have you tried switching the ChromeOS channel to beta?

    In the Linux terminal, what is the output of lsusb before and after pressing the Program button?

    Does it make a difference if you run the...
  42. Replies
    6
    Views
    335

    If you are going to develop anything connected...

    If you are going to develop anything connected (even if only to an SMS service) you should do some research into security. A lot of people put things online, and it doesn't occur to them that every...
  43. Replies
    85
    Views
    1,716

    It sounds like either the data is not being...

    It sounds like either the data is not being copied into the struct, or the struct is different between the sender and the receiver.

    When you ask the compiler to set aside some memory for a struct,...
  44. Why are you making AmountofpassesWave a global...

    Why are you making AmountofpassesWave a global variable?

    Also... what exactly is this doing? What is an "amount of passes wave"? It's not clear to me what the desired outcome is.
  45. I would try mimicking what the example code does....

    I would try mimicking what the example code does. As Defragster says, the most logical way is to copy in from an SD card. It is possible that you could bake samples directly into the code, but that...
  46. The Teensy 4.x series has 1MB onboard RAM, of...

    The Teensy 4.x series has 1MB onboard RAM, of which 512K is "tightly coupled" and the remaining 512K is on the system bus (a bit slower.)

    It also has support for 8 or 16MB of external RAM. If you...
  47. Also factor in the cost of servicing RMAs (either...

    Also factor in the cost of servicing RMAs (either because the board is defective, or because the customer bit off more than they could chew), having to provide tech support, maintaining ongoing...
  48. No problem. They are both good questions.

    No problem. They are both good questions.
  49. I mean for the ToZero.

    I mean for the ToZero.
  50. Replies
    35
    Views
    1,573

    You asked this a while back, but if anyone is...

    You asked this a while back, but if anyone is still wondering:

    Arduino is weird. It will automatically build all C++ and header files in the same directory as the .ino "for free." If you want to...
Results 1 to 50 of 174
Page 1 of 4 1 2 3 4