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...
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...
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...
I want to help more, but I really can't. With technical questions, there are really 3 levels.
#1 - Best case is enough information to reproduce the problem.
#2 - Not as good but still possible to answer is when enough info is given to at least...
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)...
Good idea, I've thought about doing the same. As an alternative, I solder DIP sockets in all my projects so i can replace MCU's if needed. For odd shape MCU's (ESP32 and the longer 4.1's) I cut and install multiple DIP's
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 =...
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...
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!
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...
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...
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...
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...
@KrisKasprzak
Morning Kris - amazing. First - dbIII - argh was using that at work for years before retiring - brings back memories or nightmares depending.
Second - great work have a several FLASH (NOR and NAND) from LittleFS days. Also been...
For the last 2 years, I've switched from SD cards to flash chips for storing telemetry data. I wrote a what I feel is a robust database driver where data is stored as records of fields. Just like DBase III, and Microsoft access. My needs are to...
actually you may have to use 0x48 as the address...Wire.h expects 7 bit address, meaning you will need to knock off the (LSB) or the RW bit, so...
10010001
or
10010000
becomes
1001000 which is 0x48 or 72 dec
I agree with above that your...
try Wire.read() as opposed to Wire.receive();?
Are you sure about the address? I took a quick scan of the data sheet and I'm not sure you just send an address to Wire w/o hardware inputs. Pin A0 A1 must be set high / low, LSB indicates...