Search results

  1. 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...
  2. KrisKasprzak

    Seeking Arduino/Teensy Expert to Help Build and Program Custom Project (Paid)

    Any chance on giving a synopsis?
  3. 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...
  4. 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...
  5. 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...
  6. 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.
  7. 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.
  8. 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...
  9. 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...
  10. 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...
  11. 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.
  12. 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...
  13. 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...
  14. 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) {...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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.
  20. KrisKasprzak

    SidMaster 2k, updated

    very impressive.
  21. 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...
  22. 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() {...
  23. 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...
  24. KrisKasprzak

    Very stuck sending data from one ESP32 to another using I2C

    All, I realize I'm breaking rules in asking a non Teensy question, but I had communications between 2 ESP32 using I2C working just fine, then I installed the latest Arduino IDE and ESP32 software. Communication fails even with the most basic .inos I have 4k7 pullups on both SDA and SCL on both...
  25. KrisKasprzak

    How do you organize large sketches?

    Well I've been messing around with multiple files resulting with mixed emotions. Love the ability to organize, but search seems to not cross over multiple files. Since the code in my other files is not edited often, this is only a minor nuisance. Not sure if I will continue multiple files...
  26. KrisKasprzak

    PWM help

    Above discussion looks like the circuit will be just switching on and off. I'm curious as to why PWM was mentioned in the original post.
  27. KrisKasprzak

    How do you organize large sketches?

    All, I have a few "large" .ino files, one program is around 8500 lines, it has some 100 functions, and 20 libraries. I'm familiar with where things are in the code and search is helpful, but digging through 8500 lines is a pain. Some areas of code are edited rarely but don't warrant creating a...
  28. KrisKasprzak

    Pixel positioning of text with ILI9341 library

    You can also create graphics screens with text in PowerPoint and use this utility to automatically generate the .ino code. The utility is a PowerPoint slide with an embedded macro--hence you will need the ability to enable macros. Set up the slide(s) with shapes and text, then run the macro...
  29. KrisKasprzak

    Hi,

    what is RST (may be called reset) on the display connected to? I cannot see anything in the photos. And what does you display object create line say (are you specifying the reset line in that statement)?
  30. KrisKasprzak

    Looking at purchasing a Teensy but...

    Will this help?
  31. KrisKasprzak

    ILI9341 Touchscreen ... different names

    I've had displays like that (the 3.5" adafruit with HX8357 chip). It had the YP, XM, YM, XP pins. The only touch lib I could get to work was the https://github.com/adafruit/Adafruit_TouchScreen/blob/master/TouchScreen.h It worked with Teensy 3.2 but not a 4.0--at least as of a few years ago...
  32. KrisKasprzak

    SD Card generate filename from date

    I believe that is correct. Never used that library, but looks right. You have SD.open stuff in a loop, so it's going to continually try to open before the file is closed.
  33. KrisKasprzak

    SD Card generate filename from date

    this snippet may be better. Hopefully you can see how to use sprintf for build a string. sprintf(FileName, "%04d_%02d_%02d.csv", year(), month(), day());
  34. KrisKasprzak

    SD Card generate filename from date

    above code is a snippet, it does not show SD object creation or clock creation. Hence my object names are most likely different from yours you will need to post code or indicated what the compile errors
  35. KrisKasprzak

    SD Card generate filename from date

    or this char FileName[27] = "N_YYYY-MM-DD_NNN.csv"; sprintf(FileName, "N_%04d_%02d_%02d_%03d.csv", ID, year(), month(), day(), FileNumber); // populate ID if (someval == thisval) { FileName[0] = '0'; } else if...
  36. KrisKasprzak

    SD Card generate filename from date

    one way char FileName[25] = "YYYY-MM-DD_NN.csv"; sprintf(FileName, "%04d_%02d_%02d_%02d.csv", year(), month(), day(), DataID); // if you are using SDFat you can also add date/time attributes to the file...
  37. KrisKasprzak

    Dalek Synth

    Nice!
  38. KrisKasprzak

    GPS not working when integrated

    In the above code, if you comment out everything except for the GPS, GPS works? Or is your GPS working in a separate program? Reason I ask is the delay(2000) may be the issue. The GPS example code uses a SmartDelay function where that function continues to read the GPS. Maybe mimic the example?
  39. KrisKasprzak

    Suggested ADC component

    All, I'm looking to expand my analog read pins by using and external ADC chip. Main requirements are 8 analog inputs I2C, SPI, or even analogRead for the communication to the MCU minimum of 12 bit resolution must have Teensy library support single or differential inputs need at least 5000...
  40. KrisKasprzak

    Teensy 4.0 ADC for accelerometer readings

    1. Teensy read speeds are very fast--not sure that will be a concern. 2. What accelerometer are you using? MPU6050 reads at only 1Khz, a ADXL345 is around 3.2Khz, I don't know of any 5K units 3. Are your accelerometers I2C / SPI based (bus speed is probably within limits), if so I don't think...
  41. KrisKasprzak

    Having a heck of a time getting a TFT w/ ST7735 to even compile

    I use the Adafruit_ST7735 lib all the time and have no compile issues. In fact I also wrote a menu system for that driver. I hate to cop out and suggest this, but try 1) reboot your machine 2) delete the lib (display and GFX) and reinstall 3) Maybe delete the Arduino IDE and reinstall as well?
  42. KrisKasprzak

    SOLVED Sorry, non-Teensy question, but I need help getting data from a web server using ESP32

    SOLVED.... posting as this may help others 1. build complex string with url AND token AND any optional switches 2. send same complex URL to begin and POST const char *serverName = "https://api.race-monitor.com/v2/Live/GetSession?apiToken=MY_PERSONAL_TOKEN&raceID=140423"; Then later in code...
  43. KrisKasprzak

    SOLVED Sorry, non-Teensy question, but I need help getting data from a web server using ESP32

    All, I realize this is purely an ESP32 question, and I apologize for asking it here, but this forum is too helpful for me to go elsewhere. I have a working ESP32 can can ping the national weather service for data. I can also get stock data from yahoo. Passing a special URL and i get a JSON...
  44. KrisKasprzak

    [queued] Oh! - Science World Building Lights Controller

    That has to be one of the most impressive implementations of interactive art I've ever seen. This world needs more minds like yours and projects like this. Very inspiring!
  45. KrisKasprzak

    Measuring RPM using a 3144 hall effect sensor gives odd +/- error

    I used floats or doubles initially for that reason, but the lib returns these as uint32_t. There's no difference. If I put a signal generator (square wave from my scope), the frequency is perfect w/o a glitch. If I carefully watch the duty cycle of the 3144 sensor, it fluctuates a percent or...
  46. KrisKasprzak

    Measuring RPM using a 3144 hall effect sensor gives odd +/- error

    Joe, Thanks for caring! Note 1. Teensy 3.2, however 4.0 will not change the results 2. hall effect sensor is a 3144 on a small module board https://www.amazon.com/dp/B09723WH5V?psc=1&ref=ppx_yo2ov_dt_b_product_details 3. Trying a 3144 w/o the board where the out is connected directly to Teensy...
  47. KrisKasprzak

    Measuring RPM using a 3144 hall effect sensor gives odd +/- error

    Thanks to all. I'm now using the FreqMeasureMulti library--I had to cut some traces on my PCB had hard wire the sensor connection. I see little difference in the +/- tolerance when compared to the clock measuring technique--this could be due to the hall effect sensor, magnets, etc. I see very...
  48. KrisKasprzak

    Stereo guitar/bass cabinet emulation

    From one head banger to another....love the sounds!
  49. KrisKasprzak

    Measuring RPM using a 3144 hall effect sensor gives odd +/- error

    All, I have a fairly reliable pulse counter for measuring RPM. I'm using a Teensy 4.0 and a 3144 hall effect sensor. The sensor reads 4 magnets connected to a PC cooling fan that are evenly placed around the fan (this is just a simple test apparatus). My system counts pulses and measures time...
Back
Top