Search results

  1. KrisKasprzak

    8.82-Inch 768x768 Square TFT LCD in Flight Simulator Applications

    I was excitged to see a larger display but just throwing a link over that wall to a drawing is not useful to most of us. 1. are the libraries to drive this display? 2. is there a recommended / required communication path between Teensy and RPI? 3. Are there examples in getting this display to work?
  2. KrisKasprzak

    TeensyUserInterface update to support ST7796

    Glad you found my lib useful. One of my goals in life is to have my name on a building before I leave this world. That is not going to happen, but this is a good alternative.
  3. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    It's not real clear to me which devive initiates the coversation. In loop it "listens" but just once, then sends. I'm not sure there is ample listen time--at least that's what I see. I have a similiar system in my house where a base communicates wirelessly with sensors around the house. The...
  4. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    Agree on above, also send as little data as possible. There are some tricks you can do to trim data. For example I measure outdoor temperature, which is stored as a float which takes 4 bytes (32 bits), but I don't need 5-6 decimals of precision. I'll make a decision on how much precision and how...
  5. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    I leave mine at the default 9600, but I'm only sending 80 bytes or so every second. Some things I've found to get longest range 1) slowest air data rate possible, 2) max transmit power 3) min of 3.5db antennas EBYTE has these Where will your antennas be located?
  6. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    I use these things all the time such as my home monitoring system. EBYTE also offers a 30db unit EBYTE E220-90T30D that will give more range. Caution, you cannot power these from the onboard power regulators, you must power them from an external source.
  7. KrisKasprzak

    Just white display screen

    This may be a long shot, but a common issue causing with these LCD's causing white screens is the reset line. I see you are pulling it low in setup. Looking at how other libs handle the reset is by cycling it with some delays. ... if (_rst < 255) { pinMode(_rst, OUTPUT)...
  8. KrisKasprzak

    Need help getting two ESP32-C3 to communicate through WIFI

    1. Are you only using the ESP's for communications through your network? Could the units be connected wired using Ethernet (or is wireless a requirement) 2. Or are you trying to use the ESP's just for wireless between the Teensy's, meaning if you could communicate Teensy to Teensy using a...
  9. KrisKasprzak

    Teensy remote display

    Thanks for sharing. Used this utility to make a very very very cheap oscilloscope.
  10. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    After days of debugging I’ve found my issue is not with memcpy. I initially thought it was since often the convert from a float to bytes would give 255 255 255 255. Even simple bit shifting to convert a uint165_t would give 255 255--at least that were the saved bytes to the flash chip. After...
  11. KrisKasprzak

    Help Wiring Teensy 4.1 to MCP3208 and MAX31855 for Thermocouple Logging

    I would recommend starting with getting just one device working--say the SD card. There are several YouTube vids and examples search "sd card pinout arduino" There are also good libraries with examples for SD cards Sd_fat is my go to. The add a second device, and go from there.
  12. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    I'll some more detail, but I powered down my 4.0 for a few hours and upon restarting, it seems to be working. I've noticed this, that after several hours of usage, the problem returns. This will be a pain to debug.
  13. KrisKasprzak

    memcpy can fail on a Teensy 4.0, 100% reliable on a 3.2

    All, I have a datalogger project based on a Teensy 3.2 that uses a database library to save telemetry data to a flash chip. Over they last 3 years, I've logged > 100 MB of data and have never lost a single bit. The driver can save a wide variety of data types. I've converted my project to a...
  14. KrisKasprzak

    RPM Sensor for Car

    Correction : Above I said to use pin 23 for the signal with a 4.0 but it’s pin 22.
  15. KrisKasprzak

    RPM Sensor for Car

    Here is the library. I took the examples right out of the box and implemented them in my code. https://github.com/PaulStoffregen/FreqMeasure
  16. KrisKasprzak

    RPM Sensor for Car

    I have tried a similar approach in the past with very poor success. I always ran into bounce issues, amongst many other issues. I finally found a winning solution. Maybe this will work in your case. 1) I had to get off the LED or infrared,sensors and move to a magnetic one, I can give you a...
  17. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    You need to get the latest lib. Amongst some fixes, I've added a routine to calibrate the display touch coordinates.
  18. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    Keypad lib for the Adafruit display lib has been updated fixed to run on a Teensy 4.0.
  19. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    Library fixed. I've made some internal changes as well to reduce memory consumption and speed things up. The init for the number pad includes and extra parameter. I would recommend deleted current installs of the ILI9341_t3_Keypad and getting the latest at...
  20. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    What display lib are you using? The keypad you are trying to use is for the Adafruit_ILI9341 driver. If you are using the ILI9341_t3 driver, you need to use https://github.com/KrisKasprzak/ILI9341_t3_Keypad
  21. KrisKasprzak

    Interface ILI9341 based TFT display with T4.0

    I tried your .ino on a Teensy 4.0 Arduino IDE 2.3.2 Teensyduino 1.57 ILI9341_t3 that delivers with Teensyduino Add default compiler settings (600 mhz/faster) using an ILI9341 with these 3 sizes: 2.2", 2.4" and 2.8" All displays show a red background with text properly drawn Not sure what the...
  22. KrisKasprzak

    Let's talk of possible new accessory boards

    Note some of these exist, but I’m thinking Teensy branded, and with dedicated libraries. Flash chip memory board a Winbond is fine but some board we can plug into PCB or solderless ADC expansion board (8 inputs) Offer low cost 12 bit board Offer precision 16 bit board Must have tri-state...
  23. KrisKasprzak

    ILI9488_T3 Display load flicker

    post a pic of your screen? I've got a lib that draw cartesian graphs--it may help.
  24. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    @h4yn0nnym0u5e and @jmarsh Full marks! I was able to leverage the code to solve this issue.
  25. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    not sure why my copy/paste lost the first set of records. Here's the full record set. Address: 0, Record: 0 - 35-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255-255- Address: 35, Record: 1 -...
  26. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    All, thanks for jumping in. A bit more detail. My chip is the W25Q64JVSSIQ I saw that part about page boundaries. however my write errors are very random. After a full erase and writing 150 records. Oddly I don't get a fail every 256-byte writes. But when it does fails seem to happen at the...
  27. KrisKasprzak

    Writing to Windbond chips--byte-by-byte reliable, write in sequence is unrelaible

    Writing to the Windbon flash chip All, I have a library to write to the Teensy approved Windbon chip and to date has been 100% reliable in writing/reading data. I'll estimate I've written some 100 mb and have not lost even 1 bit. My library writes byte-by-byte and NOT arrays or bytes in...
  28. KrisKasprzak

    Hurt Alert - Performance Gauge

    What a great project. The UI is a work of art and the idea is stellar. I was about to do the same for my car--capture performance parameter and GPS and log to an SD card so driving/racing can be played back. I was going to build and sell. Then... The thought of plugging some test hardware...
  29. KrisKasprzak

    Is this possible to send data between Teensy's using SIM-based modems?

    All, What is the feasibility of transmitting say 50 bytes of data each second for approx. 90 minutes where the receiver is reading data “nearly real time” meaning a second or so of latency is acceptable? I have a telemetry system for race cars (30 mph) and I'm currently transmitting data from...
  30. KrisKasprzak

    Teensy 4.1 seems flashable, but will not boot after flashing

    OK I'm in the same boat. Initially I had a Teensy 4.1 with 3v3 connected to the 3v3 on the Teensy (before I knew you should not do this). All was fine thought. The cutting the VUSB pad powering via 5v0 in the VIN. Eventually The board could no longer be programmed. No lights, no connected port...
  31. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    @AlexBettsUTAS Thanks for the code and hardware tips!. My ADC's fired right up. You being able to decipher that data sheet gives you super genius status. I looked through your code and the data sheet and still cannot figure out how you got it working. I was able to hack a few settings to get...
  32. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    Thanks for the code and tips, I'll look into this.
  33. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    @AlexBettsUTAS That is great news. I'll surely give that a try. If you don't mind giving me your source, that would help tremendously. You can just pm it to me. Thanks a million.
  34. KrisKasprzak

    Best way to power a Teensy 4.1 and devices

    KenHahn, Thanks for the feedback. I'm thinking of doing the same. A 5V0 regulator will power just the Teensy (via VIN) and a few sensors that require it, and that same regulator will feed another DC to DC to get 3V3 for the other sensors, display, etc. I've just bought these thinking they...
  35. KrisKasprzak

    Best way to power a Teensy 4.1 and devices

    All, I'm in the process of redesigning a project, moving from a Teensy 3.2 to a 4.1. What is the best practice in powering a 4.1? I'm paranoid about overloading the onboard regulator as I have a bunch of sensors, display etc. drawing around 200 ma. I would really like to keep power supply...
  36. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    DrM, thanks wiring up the 100 ohm resistor. answering your previous question key objectives are 1. add ADC to get more pins. I need 4-8 more and my have to move to a 4.1 but I'm trying to keep the PCB as small as possible. 2. SPI communication preferred. 3. Current Teensy analogRead with 12...
  37. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    Thanks, I tried many clock times all the way down to 100 kHz, I'll try a 100 ohm. Data sheet said 10 ohm, but I'll try anything at this point.
  38. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    OK this will be my last attempt at trying to get the MCP3564 working before I claim Microchip got the best of me :( It was suggested trying this lib (its the 4 channel version of the 8-channel MCP3564). This person built a dev board with a Teensy 4.1 so I think I'm close to getting this...
  39. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    All, Thanks for helping out, a better schematic is. The author of the library has indicated the current code and apparently there are some issues with the library. It's been suggested I try a different lib. I considered writing my own but after looking at the data sheets programming section...
  40. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    yea, tried that, and the series resistors, nothing helps. I looked at the low level spi call in the library where spi transfers are done and _spi->transfer returns 255 I really have no idea how to proceed. MCP3x6x::status_t MCP3x6x::_transfer(uint8_t *data, uint8_t addr, size_t size) {...
  41. KrisKasprzak

    Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

    I'm having issues getting a reading from my MCP3564 chip. I have tried 2 chips no luck. Anyone have this working and have wiring and some code? I'm using the library https://github.com/nerdyscout/Arduino_MCP3x6x_Library One person has chimed in but still nothing is working. If I run the...
  42. KrisKasprzak

    Getting a W25Q64JVSSIQ-ND FLASH to work with the bottom pads on a Teensy 4.1

    All, I have a Teensy 4.1 and I have a W25Q64JVSSIQ-ND soldered to the bottom (larger pads). If I run LittleFS, using the example LittleFS_Program_Simple_Datalogger.ino the chip is found and I can log some data to the chip. I have written my own database driver for such chips and when used with...
  43. KrisKasprzak

    Best way to store 64 bits of user parameters

    I have several applications that store user settings. I use the EEPROM all the time. I'm storing some 300 bytes and have never lost a bit. Not sure what you are trying to write but EEPROM.put and EEPROM.get let's you write data, and these functions write the necessary bytes based on what's...
  44. KrisKasprzak

    using a buck dc-dc convertor from an unregulated power supply to power Teensy

    I realize this is a complete direction change, but I have a similar system where I can monitor garage door state (open/close) and I can remotely open/close it. My method of monitoring is an ultrasonic distance sensor mounted near the top near the motor. It senses distance to the top of the door...
  45. KrisKasprzak

    Flash-chip database driver for the Teensy (meet TeensyDB)

    Probably not, this lib uses SPI calls to get/save data to the chip, and uses specific codes based on the chip.
  46. KrisKasprzak

    SidMaster 2k, updated

    very impressive.
  47. KrisKasprzak

    Usage of analogReference() on a Teensy 3.2

    All, I was experimenting with using analogReference and have yet to get anything reliable working. I have a Teensy 3.2 powered by a 3v3 buck converter and a 10uf + a 0.1 uf cap across A3 to ground. This setup is used for both analogReference on and off. My voltage applied to A3 is approx...
  48. KrisKasprzak

    Very stuck sending data from one ESP32 to another using I2C

    SOLVED No clue why this works today as I've tried this code in the past. Any way posting for others to use. sender code #include "Wire.h" #define I2C_DEV_ADDR 0x44 byte val = 0; uint8_t error = 0; struct DATA { uint8_t cat = 0; uint8_t dog = 0; }; DATA sender; void setup() {...
  49. KrisKasprzak

    Designing a Bar Meter for my audio conceptions

    I have done something similar and displaying bar data on an ILI9341. See this vid at the 10 sec mark (7:00 as well) Code is here, but the display portion is at line 357 https://github.com/KrisKasprzak/SampleCode/blob/master/CanonMicProcessor_05.ino Mine is segment based but can be more...
Back
Top