Search results

  1. sbfreddie

    How to add a Teensyduino (beta) release to PlatformIO

    Shawn: I just installed your 1.60 update into this 15,503 with 15 libraries used code base and everything is working just fine. (MacOS Sequoia 15.7.4) thanks, Ed
  2. sbfreddie

    Errors using PlatformIO/PIOArduino support for teensy

    Honey: Please show us your platform.ini file, and the complete output from the build. Regards, Ed
  3. sbfreddie

    32 channel Mosfet board??

    Jody: The project you describe is a very trivial project to design. Any first year Eng. student should have no difficulty designing it. A small handful of ordinary 7400 series logic could do this easily. Good luck, Ed
  4. sbfreddie

    MTP Problem

    Denez: Thanks for the advice, I will keep it in mind! Regards, Ed
  5. sbfreddie

    MTP Problem

    I will wait until a release is done, as this is not very important in this current project.
  6. sbfreddie

    MTP Problem

    I must have an old version, using PlatformIO, I put all the non standard libraries into the Lib folder and that is what it uses to build the project. I find this useful most of the time so I don't get stuck somewhere down the road with a new version the blows up my build. I have been using the...
  7. sbfreddie

    MTP Problem

    I just dumped MTP and all the problems disappeared. It is definitely a MTP Library problem. Regards, Ed My platformio.ini settings are the same as the teensy build flags settings.
  8. sbfreddie

    MTP Problem

    Your first statement is incorrect. There is no #include USBHost_t36 anywhere in my entire code base, nor is their any #include SD.h, or for that matter #include EEPROM.h. None of these are anywhere in my codebase. Yet it is compiling these libraries that I have in not included in my code base...
  9. sbfreddie

    MTP Problem

    Here are some quotes from a google search on the matter: All I am saying is that the pre-compiler directive is ignoring the __has_include and including everything after it when it should not. I do not know why, but that is the problem, otherwise it would not be including all these of files...
  10. sbfreddie

    MTP Problem

    I simply ignores it, as you can see it is compiling everything after the ignored directive which is why my build is compiling all these files I did not ask it to compile, which finally leads to the error that it could not find EEPROM.h which I have not included in my build. Regards, Ed
  11. sbfreddie

    MTP Problem

    I disagree with your guess, it is not the compiler at all it is the pre-compiler directive (or whatever they call it) simply ignoring the directive and going on its merry way including every thing it sees after the __has_include directive that it does not understand. I have been using PlatformIO...
  12. sbfreddie

    MTP Problem

    This is an oddball problem that has just come up, maybe because I have not built this piece of code including MTP for quite some time. I received this peculiar error from my build: And in the process of trying to figure out what the problem was, considering that I did not include "USBHost_t36"...
  13. sbfreddie

    CCD Camera and ADC Configuration

    Sk036: It has been over 40 years since I have looked into the CDS system, but from what I can remember (I worked at the original place this tech was invented, we even named this method CDS). This is a very complicated subject involving frontend rise time, accuracy and settling time, sample and...
  14. sbfreddie

    Dead editor

    Keep in mind Visual Studio with Visual Micro is Windows only. It does not work on Linux or Mac platforms.
  15. sbfreddie

    Teensyduino 1.60 Beta #2

    Paul: I am on Monterey, Answer is "B"
  16. sbfreddie

    AD9833 Success With TFT-Touch And T4.1

    Eddie: I am only interested in the AS9833 driver, nothing else. Regards, Ed
  17. sbfreddie

    AD9833 Success With TFT-Touch And T4.1

    Eddie: Any chance you can show your complete project as I have an AD9833 board and was planning on using it for the same type of project? Regards, Ed
  18. sbfreddie

    Teensy 4.1 flashing, very hot and non responsive (cannot be detected by computer)

    Ryan: Most people over the last 50 yrs I have seen use a .1 uF ceramic and something like 5->100uF Electrolytic (Tantalum) right next to every IC on their boards. Now some people only use the .1uF ceramic, which works well for high speed switching parts I personally prefer an Electrolytic as...
  19. sbfreddie

    Teensy 4.1 flashing, very hot and non responsive (cannot be detected by computer)

    General: This circuit was specifically designed to perform 2 functions: Remove any noise from a switching Power supply (DC to DC Converter). Protect from large voltage transients, such as start up problems of DC to DC converters, or high voltage spikes from what ever source. The...
  20. sbfreddie

    Teensy 4.1 flashing, very hot and non responsive (cannot be detected by computer)

    General: Answers to your questions: D1 is a Transzorb and has a voltage rating similar to a Zener diode, except it is super fast, will clamp any over voltage in about 1 nanosecond. L1 is an inductor, which is part of the Pi filter (Or low pass filter) that comprises C1, L1, and C2. It...
  21. sbfreddie

    Teensy 4.1 flashing, very hot and non responsive (cannot be detected by computer)

    General: This circuit will protect your Teensy from just about anything the outside world can throw at it. It was originally designed to protect military circuits from EMP developed from Nuclear weapons. I have been using it on sensitive circuits since 1980, I designed a clock/weather station...
  22. sbfreddie

    Teensy 4.1 Ethernet adapter | Force speed to 10Mbps

    Pfeffer: You are aware I hope that Ethernet wires (cat5 and cat6) are controlled impedance wires (twisted pair). You should not use ordinary wires and connectors for Ethernet cabling. Regards, Ed
  23. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Thanks guys! I will get to this when I finish remodeling my bathroom. Ed
  24. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Here is the code in setup: /// I'm guessing most copies of this display are using external PWM /// backlight control instead of the internal RA8876 PWM. /// Connect a Teensy pin to pin 14 on the display. /// Can use analogWrite() but I suggest you increase the PWM frequency first so...
  25. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    I am still having problems centering both horizontally and vertically. What library are you using? Perhaps I am using a very old or out of date library. Regards, Ed
  26. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Kurt: Close, but no cigar. This is a button class that creates touch buttons. It should look like this:
  27. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Kurt: I am using Arial 16, the rotation is like your picture accept rotated 180 degrees. When the touch screen is touched, it displays a menu with 6 boxes spaced equidistant in two rows (2 rows of 3 rectangles). In each rectangle this is the text: Set Time Preferences in box top left. Set Rain...
  28. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Kurt: Yes, I have been watching the discussion going on in that thread, however I have not seen any mention of changes to the old existing code for SPI, this problem is very specific because it only applies to the size of characters using ILI9341 fonts which are proportional. I simply draw a...
  29. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Kurt: Sorry for not being more specific. I am using the RA8876 7 inch display using the only library I know of for that part: "name": "Ra8876LiteTeensy", "frameworks": "Arduino", "platforms": "Teensy 3.6 - T4", "keywords": "Ra8876_Lite", "description": "wwatson...
  30. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Kurt: I tried using the getTextBounds() sub, but it does not work correctly on the RA8276 7" display. Regards, Ed
  31. sbfreddie

    DMAMEM / RAM2 and detecting first boot after power on alternatively detecting warmboot

    Be aware! The white button on the Teensy is not a restart or reset button, it merely puts the Teensy into program mode. There is no reset button on any Teensy currently shipping. Regards, Ed
  32. sbfreddie

    Using headphone amp with pt8211

    My mistake, I thought he was using the Teensy Audio Adapter.
  33. sbfreddie

    Using headphone amp with pt8211

    Make sure you are using a diff-amp, as the headphone output is not referenced to the Ground pin, but a floating simulated ground.
  34. sbfreddie

    Velocity-sensitive, contactless MIDI keyboard with polyphonic aftertouch for Teensy synth

    Tomas: Here is another test for sensitivity: Setup a large subwoofer speaker, or a large guitar amp speaker, or any amplified music device with large speakers close by with the volume cranked up and playing a serious baseline, and see what you see on the Hall effect sensors, you may be...
  35. sbfreddie

    Velocity-sensitive, contactless MIDI keyboard with polyphonic aftertouch for Teensy synth

    Tomas: Aluminum foil will not shield anything from a magnetic field. What you need for magnetic shielding is mu-metal. It comes as Conetic, and Netic. One shields sensitive circuits, the other shields strong magnetic field emitters. EMF can come from many different sources, and many different...
  36. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    Thanks KurtE! That will solve my issue with centering a small line of text.
  37. sbfreddie

    Highly optimized ILI9341 (320x240 TFT color display) library

    KurtE, et All: Is there a function call to determine the font size (X,Y) in pixels of the ILI fonts? I am writing a Buttons class and have not been able to determine the actual size in pixels of the font Arial 16. Thanks, Ed
  38. sbfreddie

    Slight tick / pop at the start and end of a sound using a PCM5102a DAC (with workaround)

    Did you configure the hardware jumpers on your board? Attached is a reference for doing that. On the front of the board just below the letters SCK there are two rectangular solder points, when soldered together that will short the SCK to ground which is needed if you are not sending SCK to this...
  39. sbfreddie

    Audio board use for magnetometer

    Tom: I apologize for the appearance of being nit-picky. I come from an Aerospace background were our measuring circuitry had to be at least 1000 times better (in every way) than that which we were measuring. My best friend and mentor Paul designed the electronics package on the Voyagers which...
  40. sbfreddie

    Audio board use for magnetometer

    Tom: Keep in mind that the A/D's used in all audio devices are not suitable for generalized digitization of data for measuring anything. You should be using Successive Approximation A/D's for all your instrumentation work. I am sure Mark T. will chime in with more details anytime soon. Regards, Ed
  41. sbfreddie

    Pulse counter using Teensy 4.0

    You could also add another op-amp stage with the gain to raise the output to 3V, or put a comparator in instead of an op-amp. The A/D converter on the 4.x is very fast, and the Teensy 4.x has a 600MHz clock so would not have any problem keeping up with a 100Hz input signal. It just depends on...
  42. sbfreddie

    Pulse counter using Teensy 4.0

    If you boost the gain on your Trans Impedance Amplifier (TIA) to output 0 -> 3.3Volts you could send it directly into the Teensy 4.x and count pulses with no problem, otherwise you could send it into the A/D and then do anything you want with the results of the digitized analog signal. Regards, Ed
  43. sbfreddie

    is TeensyTransfer built for Apple Silicon?

    mykle: MTP is not supported by the MacOS. If you want to use MTP you have to get an .app that will do this for you. Try Macdroid, MTP Mac, or Android file transfer. I have used all three in the past and they do work, although some are clunkier than others. Regards, Ed
  44. sbfreddie

    System works when powered by USB, but behaves weirdly on switching power supplies

    I would also check for continuity between the power supply safety grounds and the V- supply pins of the Power Supplies to make sure you are not creating a ground loop between the safety ground and the Ground pins of the Teensy and Motor Driver. Bad grounding has been a thorn in my side for over...
  45. sbfreddie

    Basic Troubleshooting Help - Teensy 4.1 + Audio Shield + Adafruit MAX 98306

    I would probably use the Teensy's 5V output (at the Vin pin) instead of the 3.3Volt output (4 ohm speakers could be a lot of power at 3.3V). Did you set the jumpers for gain correctly? Here is what the information page says: Five pin-selectable gains: 6dB, 9dB, 12dB, 15dB and 18dB. Select...
  46. sbfreddie

    RA8876LiteTeensy For Teensy T36 and T40

    Thanks Kurt Ed
  47. sbfreddie

    RA8876LiteTeensy For Teensy T36 and T40

    Kurt & Mike: I am sorry to bring this old forum thread back to life, but I have been having difficulties with text sizes ever since I started using the RA8876 instead of the RA8875. Here is the dilemma, in order to determine where to place text on the screen properly (and erase it...
  48. sbfreddie

    Yet Another File Player (and recorder)

    I have made changes to the copy files from SD to Flash code to close any open files for all the error return points as you have suggested, (I think this could have been written a little more elegantly as you so apply have described it), however making these changes nothing. It still thinks it...
Back
Top