Search results

  1. Neel

    IMU Adafruit 10-dof correct placement - magnetic error readings

    I found out my problem. My problem isn't the boards. The problem is the USB cable that circles around the IMU. It's always the most simple problems that puts me off balance. Probably because I always think it can't be that simple. :D
  2. Neel

    IMU Adafruit 10-dof correct placement - magnetic error readings

    Hello Everyone! I have a question on the correct placement of the Adafruit 10-DOF IMU Breakout - L3GD20H + LSM303 + BMP180. I have created a circuit board with a couple of Breakout boards attached and after reading the compass values, I realized it is way off. I tried calibrating it with the...
  3. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    I feel like a total idiot! :D I found out my mistake: if (SD.begin()) { Serial.println("SD card is ready to use."); } else { Serial.println("SD card initialization failed"); return; } The return; is my mistake. I guess its the long nights and early mornings that put me...
  4. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Update: I have added pull-ups on every CS to 3.3V. 3k for the pres sensors and 10k for the SD card. The same problem is still present. However, now when the SD card is not inserted no data is transferred from the pres sensors and everything is just 0. But when the SD card is inserted, then the...
  5. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    After some testing, I decided to print out the binary values and found that once the SD card is removed the sensors goes into "command mode". That is for example: 0100111111111110. The 2 first values are the status bits which determine the "Diagnostic Conditions" and should be set to 00, and the...
  6. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    That's a good question. I will check the bytes and if they look fine then it has to be a scaling issue.
  7. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Yeah, the SD works perfectly fine alone. Wiring is as follows: SPI0: SCK - Pin 13 MOSI - Pin 11 MISO - Pin 12 CS_SD - Pin 10 (External SD card) SPI1: SCK1 - Pin 27 MISO1 - Pin 39 CS_HSC1 - Pin 33 (HSCDRRV001PDSA3 - Honeywell differential pressure sensor) CS_HSC2 - Pin 40 (HSCDRRV001PDSA3 -...
  8. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Basically, what I don’t understand is, how can and why do the 2 SPI busses interfere with each other? I thought they were independent of each other.
  9. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Hi Michael, thanks for the reply. I read this already and from my understanding this only applies if its from the same SPI bus. However, I have separated the SD with my pressure sensors therefore using 2 separate SPI busses (SPI0 and SPI1). The 2 pressure sensors run perfectly together on 1 SPI...
  10. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Hello everyone, I got the sensors and connected to the teensy with 2 HSC (pressure sensors) and 1 SD. Both of the HSC sensors worked well together, however, with the addition of the SD card, it started causing alot of problems. I re soldered my circuit board so that both of the HSC sensors are...
  11. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    PaulStoffregen, Thank you so much! That makes a lot of sense!
  12. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Hello PaulStoffregen, Thank you! I have resistors, but I want to try and use as little parts as possible. I will try both methods and then decide later.
  13. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Thank you so much KurtE. I thought it depended on the Teensy but I understood now. I took a look at the data sheet of the pressure sensors. They don't have a pull-up but recommended min 1k. Therefore, I will try the "work around" (without pull-ups) once the sensors have arrived. Regarding the...
  14. Neel

    Teensy 4.1 - Connecting multiple SPI devices

    Hi everyone! I'm new to the forum and teensy/arduino. I have a general question on how I can connect multiple SPI devices, would this work? Teensy 4.1 SCK - Pin 13 MOSI - Pin 11 MISO - Pin 12 CS1 - Pin 10 (External SD card) CS2 - Pin 36 (HSCDRRV001PDSA3 - Honeywell...
Back
Top