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

Search:

Type: Posts; User: Loren42

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. It almost sounds to me that your wheel is too...

    It almost sounds to me that your wheel is too sensitive. On a real car there shouldn't be a dead zone in the wheel (unless it's a 1960s Chevy), so I think that the wheel is too sensitive. In...
  2. I think there is a security bit that can be...

    I think there is a security bit that can be programed in the MK20DX256VLH7 to prevent that.

    If you don't need USB, why are you using the boot loader chip, which requires USB?

    I think the...
  3. I would say your "proof-of-concept" is pretty...

    I would say your "proof-of-concept" is pretty well accepted. Now a clean implementation would be my next phase.

    Keep in mind that the Teensy 3.2 schematic is a working design that Paul has...
  4. Yes, it sounds like a "layout" issue. As I said,...

    Yes, it sounds like a "layout" issue. As I said, the crystal is probably the most sensitive component on the board. Start there (once you get it running again).

    If you look at various successful...
  5. Yes! I hadn't considered the sockets and a...

    Yes! I hadn't considered the sockets and a picture would be helpful.
  6. I can't see anything wrong with the schematic,...

    I can't see anything wrong with the schematic, but that doesn't mean the implementation is correct. I would "buzz" out the board very carefully to make sure every connection goes where it is intended...
  7. Replies
    6
    Views
    257

    You can put the table in an "include" file and do...

    You can put the table in an "include" file and do a #include. Use: static rom name_of_your_table [] = {,,,}

    You should double check the word rom. I think the compiler should know what it means....
  8. Replies
    7
    Views
    262

    The software is used in different configurations,...

    The software is used in different configurations, depending on how it is implemented and the total number of channels can vary. When I first did this I wanted to create something that would contain...
  9. Replies
    7
    Views
    262

    Yes. Keep struggling with the problem. You will...

    Yes. Keep struggling with the problem. You will get it!

    The algorithm is simply an algebraic average. That is, you take a number of samples, say 8, and write the down on a piece of paper.
    ...
  10. I think you will be better off in the long run...

    I think you will be better off in the long run with the quality.
  11. You are apexing your turns too early. :) I...

    You are apexing your turns too early. :)

    I would sort out a few things first.

    1. Do you know what the no-load resistance of the sensor is?

    2. What is the resistance of the sensor at...
  12. Best to read the manufacture's data sheet on the...

    Best to read the manufacture's data sheet on the A/D operation or ask tech support.
  13. Well, I am thinking you must have created some...

    Well, I am thinking you must have created some sort of system schematic for your device.

    From the picture it looks like the way it is connected is not right. That assumes that the Arduino board's...
  14. I saw flexiforce and assumed it was a flex...

    I saw flexiforce and assumed it was a flex sensor... The specs on device that aren't great, it has high hysteresis, I wouldn't expect miracles
    as it appears to be some sort of squashable...
  15. If it were me, the first thing I would want to do...

    If it were me, the first thing I would want to do is prove that it is real and not some artifact of the system.

    I would need to see the complete schematic, but the way it is wired to the Arduino...
  16. More likely it is the sample and hold circuit...

    More likely it is the sample and hold circuit inside the A/D.
  17. Happy to help any way I can. The foil...

    Happy to help any way I can.

    The foil pressure sensors, I have found, have issues compared to a true load sensor. I went the route you did thinking I was saving money, but the results were...
  18. Read this applications note on oversampling. It...

    Read this applications note on oversampling. It will tell you how to calculate the number of samples required to get X bits of increased resolution. You need a lot of samples, which may render what...
  19. Are you talking about performing oversampling and...

    Are you talking about performing oversampling and averaging as a means to improve resolution (i.e., improving SNR of white noise)?
  20. Why not try using a sliding window averaging...

    Why not try using a sliding window averaging scheme?

    The advantage is that you get new results or new data with every completed analog conversion, but it is simply averaged with the previous raw...
  21. Wow, that is impressive! I think what you are...

    Wow, that is impressive! I think what you are doing is very clever, indeed.

    I have a lot of experience in controls much like that. It's what I do. Personally, I am not that much of a fan of...
  22. How do I remove the Flight Sim C and serial debug USB data from the Joystick program?

    I don't need the USB debug serial port data and I don't need the X-Plan Flightsim USB data. So how do I remove them from the code?

    Teensyduino Tools menu only has USB Type: --> Serial + Keyboard...
  23. Replies
    7
    Views
    262

    I use a sliding window averaging scheme for my...

    I use a sliding window averaging scheme for my game controller. Each pass of the main loop I grab an A/D sample and stuff it into an array that is 16 words deep. I use a counter (Analog_Cnt) that...
  24. I have worked with some of Tekscan products...

    I have worked with some of Tekscan products before.

    Looking at your graph, the vertical axis is the change in A/D value (0 to 1023)?

    What is the horizontal axis? I am guessing it is not force....
  25. Right shift the number two times. Or set the...

    Right shift the number two times.

    Or set the analogReadResolution(10) command.
  26. Replies
    12
    Views
    494

    All you need is Amazon...

    All you need is Amazon!
  27. Replies
    12
    Views
    494

    I think you are going to have far more difficulty...

    I think you are going to have far more difficulty with the thermal coefficients of the resistors and pot to achieve 1 part in 8,000 than the resolution.

    The heat generated by the current through...
  28. I think it does. We'll let others comment on...

    I think it does. We'll let others comment on that. Generally, the stuff Ido doesn't have that kind of loads.
  29. To test the load cell I would disconnect it and...

    To test the load cell I would disconnect it and substitute resistors of the same value. If the noise continues, then it's in the HX711 circuit.

    Is the load cell a full bridge? Did you epoxy this...
  30. I agree. At least look at the data sheet and see...

    I agree. At least look at the data sheet and see what they recommend.

    Also, the 1,000 F cap raises an eyebrow. What are you using for the supply?

    Typically I use a 10 F cap in parallel with...
  31. Replies
    0
    Views
    61

    Teensy 3.2 Clockspeed Question

    When I change the CPU Speed in the Tools menu I would expect that some of the MCG registers would be changed.

    Once I compile I do a Export compiled Binary.

    However, when I flash the chip from...
  32. That looks really good. How many layers to your...

    That looks really good. How many layers to your board?
  33. I've not had that issue with High Sierra 10.13.6....

    I've not had that issue with High Sierra 10.13.6. I'm running Teensy 1.48 and Teensyduino 1.8.12. Board is a Teensy 3.2

    Then again, my files are not that big. 11,776 bytes of flash and 4880...
  34. Replies
    2
    Views
    131

    Paul, Thanks for the reply! I'll give that a...

    Paul,

    Thanks for the reply! I'll give that a try.

    Also, being new here it has taken a little time to understand everything you have done here. I just wanted to say that I am both grateful and...
  35. Replies
    11
    Views
    392

    Are you sure it wasn't the switches? Didn't...

    Are you sure it wasn't the switches?

    Didn't you say you may have miswired them?

    You wrote, "The switches were attached to GND, 3.3v and Pin 14 (A0)."

    Any chance that when you pressed a...
  36. I'm glad you got it working.

    I'm glad you got it working.
  37. Of course, but a sample size of one isn't very...

    Of course, but a sample size of one isn't very telling, statistically speaking.

    There may be other factors that could cause that empirical value to change under different conditions, too. That...
  38. If you are looking for an exact value, I think it...

    If you are looking for an exact value, I think it is somewhat arbitrary by nature.

    The problem is that the Schmitt-Trigger is defined internally to the chip, not some dedicated manufactured part. ...
  39. Replies
    0
    Views
    66

    Multiple Instances of USB HID om My Mac

    When I run the Joystick example program on my Mac I get three instances of the program, only one has the actual joystick data. The other two lists are 'Vender Defined Usage 0x1' and 'Vender Defined...
  40. Why do you ask? The reason I ask is because what...

    Why do you ask? The reason I ask is because what you are asking may not be important to what you need to do.

    Can you explain what you are trying to do?
  41. If this is a time-critical event, then your...

    If this is a time-critical event, then your friend is going to be assembly code.

    However, I would be hesitant to rely on any library routine to do the debounce without careful scrutinization of...
  42. Replies
    2
    Views
    131

    Teensy 3.2 Crystal Oscillator Question

    Is there any reason that one could not use a 16 MHz oscillator instead of a crystal for the external clock?

    I am assuming that the oscillator could drive pin 32 (PTA18)m directly and leave pin 33...
  43. Replies
    0
    Views
    67

    MKL04Z32 Boot Loader for Teensy 3.2

    Can anyone tell me what pin # 9 (PTB1) does on the debugger chip?

    It connects to the MK20DX256VLH7 pin # 24 (PTA2).

    Also, PTA6 on the debugger goes to the Micro-AB USB connector pin 4, which I...
  44. Replies
    6
    Views
    238

    Ah! I understand now. Something like this? ...

    Ah! I understand now.

    Something like this? https://mcuoneclipse.com/2013/11/30/kinetis-unique-identification-register/
  45. Replies
    0
    Views
    79

    Programming a Blank MK20DX256VLH7 chip

    I'm trying to understand how to program a custom board with a MK20DX256VLH7 chip (same as Teensy 3.2). There is no boot loader chip on the board, so I was intending to program it via SWD pins using...
  46. Replies
    6
    Views
    238

    I'm a little confused here. What are the Program...

    I'm a little confused here. What are the Program Once Registers? Are these on the target MCU or the boot loader chip?
  47. Replies
    6
    Views
    238

    Can you put the debug chip into reset? Seems...

    Can you put the debug chip into reset?

    Seems to me that someone else tried what you are doing and found that putting the debug chip into reset via air rest pin caused the rest of the lines to...
  48. Thanks again. Looks like I got what I needed...

    Thanks again. Looks like I got what I needed working! :cool:
  49. I would not expect much in the way of...

    I would not expect much in the way of optimization from the Arduino compiler, but who knows and it probably doesn't matter much with the speed of the Arm.

    Wow, a blue merle, too! Beautiful pup. ...
  50. Thanks, this helps a lot. Ultimately I'm...

    Thanks, this helps a lot.

    Ultimately I'm trying to replicate the structure of something I already have using an 8-bit Pic so that it works with the software on a PC. I want to learn some of the...
Results 1 to 50 of 55
Page 1 of 2 1 2